From 56f5841d4b9c12296cdfcaeff174b2627d59afc8 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 7 Dec 2024 11:49:49 -0500 Subject: Migrate to full rails app --- lib/assets/.keep | 0 lib/pokeviewer.rb | 5 ----- lib/pokeviewer/engine.rb | 29 ----------------------------- lib/pokeviewer/version.rb | 3 --- lib/tasks/.keep | 0 lib/tasks/pokeviewer_tasks.rake | 4 ---- 6 files changed, 41 deletions(-) create mode 100644 lib/assets/.keep delete mode 100644 lib/pokeviewer.rb delete mode 100644 lib/pokeviewer/engine.rb delete mode 100644 lib/pokeviewer/version.rb create mode 100644 lib/tasks/.keep delete mode 100644 lib/tasks/pokeviewer_tasks.rake (limited to 'lib') diff --git a/lib/assets/.keep b/lib/assets/.keep new file mode 100644 index 0000000..e69de29 diff --git a/lib/pokeviewer.rb b/lib/pokeviewer.rb deleted file mode 100644 index cf19d37..0000000 --- a/lib/pokeviewer.rb +++ /dev/null @@ -1,5 +0,0 @@ -require "pokeviewer/engine" - -module Pokeviewer - # Your code goes here... -end diff --git a/lib/pokeviewer/engine.rb b/lib/pokeviewer/engine.rb deleted file mode 100644 index ca62bed..0000000 --- a/lib/pokeviewer/engine.rb +++ /dev/null @@ -1,29 +0,0 @@ -require "enumerize" -require "sequenced" -require "haml" -require "sassc-rails" -require "normalize-rails" -require "jquery-rails" - -module Pokeviewer - class Engine < ::Rails::Engine - isolate_namespace Pokeviewer - - initializer "pokeviewer.assets" do |app| - app.config.assets.paths << root.join("app", "assets", "fonts") - end - - initializer "pokeviewer.assets" do |app| - app.config.assets.precompile += - %w(pokeviewer/icons/*.png - pokeviewer/sprites/**/*.png - pokeviewer/sprites/**/*.gif - pokeviewer/types/*.gif - pokeviewer/boxes/*.png - pokeviewer/ribbons/*.png - pokeviewer/items/*.png - pokeviewer/items/**/*.png - pokeviewer/*.png) - end - end -end diff --git a/lib/pokeviewer/version.rb b/lib/pokeviewer/version.rb deleted file mode 100644 index 811e01d..0000000 --- a/lib/pokeviewer/version.rb +++ /dev/null @@ -1,3 +0,0 @@ -module Pokeviewer - VERSION = '0.1.0' -end diff --git a/lib/tasks/.keep b/lib/tasks/.keep new file mode 100644 index 0000000..e69de29 diff --git a/lib/tasks/pokeviewer_tasks.rake b/lib/tasks/pokeviewer_tasks.rake deleted file mode 100644 index 6067e58..0000000 --- a/lib/tasks/pokeviewer_tasks.rake +++ /dev/null @@ -1,4 +0,0 @@ -# desc "Explaining what the task does" -# task :pokeviewer do -# # Task goes here -# end -- cgit 1.4.1