diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 |
commit | 56f5841d4b9c12296cdfcaeff174b2627d59afc8 (patch) | |
tree | 4f7da4ebbe5ee15a1594b26466ed78e2cf10de35 /lib | |
parent | c1b0443ba2aebdbd39291ddab0c189f3f4831320 (diff) | |
download | pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.gz pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.bz2 pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.zip |
Migrate to full rails app
Diffstat (limited to 'lib')
-rw-r--r-- | lib/assets/.keep | 0 | ||||
-rw-r--r-- | lib/pokeviewer.rb | 5 | ||||
-rw-r--r-- | lib/pokeviewer/engine.rb | 29 | ||||
-rw-r--r-- | lib/pokeviewer/version.rb | 3 | ||||
-rw-r--r-- | lib/tasks/.keep | 0 | ||||
-rw-r--r-- | lib/tasks/pokeviewer_tasks.rake | 4 |
6 files changed, 0 insertions, 41 deletions
diff --git a/lib/assets/.keep b/lib/assets/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/assets/.keep | |||
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 @@ | |||
1 | require "pokeviewer/engine" | ||
2 | |||
3 | module Pokeviewer | ||
4 | # Your code goes here... | ||
5 | 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 @@ | |||
1 | require "enumerize" | ||
2 | require "sequenced" | ||
3 | require "haml" | ||
4 | require "sassc-rails" | ||
5 | require "normalize-rails" | ||
6 | require "jquery-rails" | ||
7 | |||
8 | module Pokeviewer | ||
9 | class Engine < ::Rails::Engine | ||
10 | isolate_namespace Pokeviewer | ||
11 | |||
12 | initializer "pokeviewer.assets" do |app| | ||
13 | app.config.assets.paths << root.join("app", "assets", "fonts") | ||
14 | end | ||
15 | |||
16 | initializer "pokeviewer.assets" do |app| | ||
17 | app.config.assets.precompile += | ||
18 | %w(pokeviewer/icons/*.png | ||
19 | pokeviewer/sprites/**/*.png | ||
20 | pokeviewer/sprites/**/*.gif | ||
21 | pokeviewer/types/*.gif | ||
22 | pokeviewer/boxes/*.png | ||
23 | pokeviewer/ribbons/*.png | ||
24 | pokeviewer/items/*.png | ||
25 | pokeviewer/items/**/*.png | ||
26 | pokeviewer/*.png) | ||
27 | end | ||
28 | end | ||
29 | 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 @@ | |||
1 | module Pokeviewer | ||
2 | VERSION = '0.1.0' | ||
3 | end | ||
diff --git a/lib/tasks/.keep b/lib/tasks/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/tasks/.keep | |||
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 @@ | |||
1 | # desc "Explaining what the task does" | ||
2 | # task :pokeviewer do | ||
3 | # # Task goes here | ||
4 | # end | ||