From 0380a97230023a78ad08b738c4520e901485ed63 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 10 Dec 2022 09:29:30 -0500 Subject: Added Rails engine for scoreboard refs #13 --- rails/lib/lingo.rb | 6 ++++++ rails/lib/lingo/engine.rb | 7 +++++++ rails/lib/lingo/version.rb | 3 +++ rails/lib/tasks/lingo_tasks.rake | 4 ++++ 4 files changed, 20 insertions(+) create mode 100644 rails/lib/lingo.rb create mode 100644 rails/lib/lingo/engine.rb create mode 100644 rails/lib/lingo/version.rb create mode 100644 rails/lib/tasks/lingo_tasks.rake (limited to 'rails/lib') diff --git a/rails/lib/lingo.rb b/rails/lib/lingo.rb new file mode 100644 index 0000000..fda548f --- /dev/null +++ b/rails/lib/lingo.rb @@ -0,0 +1,6 @@ +require "lingo/version" +require "lingo/engine" + +module Lingo + mattr_accessor :secret_code +end diff --git a/rails/lib/lingo/engine.rb b/rails/lib/lingo/engine.rb new file mode 100644 index 0000000..4275614 --- /dev/null +++ b/rails/lib/lingo/engine.rb @@ -0,0 +1,7 @@ +require 'haml' + +module Lingo + class Engine < ::Rails::Engine + isolate_namespace Lingo + end +end diff --git a/rails/lib/lingo/version.rb b/rails/lib/lingo/version.rb new file mode 100644 index 0000000..4ae1a3e --- /dev/null +++ b/rails/lib/lingo/version.rb @@ -0,0 +1,3 @@ +module Lingo + VERSION = "0.1.0" +end diff --git a/rails/lib/tasks/lingo_tasks.rake b/rails/lib/tasks/lingo_tasks.rake new file mode 100644 index 0000000..e9e78d0 --- /dev/null +++ b/rails/lib/tasks/lingo_tasks.rake @@ -0,0 +1,4 @@ +# desc "Explaining what the task does" +# task :lingo do +# # Task goes here +# end -- cgit 1.4.1