cat_router 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cat_router/version.rb +1 -1
- data/lib/cat_router.rb +2 -2
- metadata +3 -3
data/lib/cat_router/version.rb
CHANGED
data/lib/cat_router.rb
CHANGED
@@ -5,8 +5,8 @@ end
|
|
5
5
|
File.join(File.dirname(__FILE__), 'cat_router', 'version.rb'),
|
6
6
|
File.join(File.dirname(__FILE__), '..', 'app', 'models', 'cat_route.rb'),
|
7
7
|
File.join(File.dirname(__FILE__), '..', 'app', 'controllers', 'cat_router_controller.rb'),
|
8
|
-
File.join(Rails.root, 'app', 'models', 'cat_route.rb'),
|
9
|
-
File.join(Rails.root, 'app', 'controllers', 'cat_router_controller.rb')
|
8
|
+
File.join(Rails.root||RAILS_ROOT, 'app', 'models', 'cat_route.rb'),
|
9
|
+
File.join(Rails.root||RAILS_ROOT, 'app', 'controllers', 'cat_router_controller.rb')
|
10
10
|
].each do |path|
|
11
11
|
if File.exists?(path)
|
12
12
|
require path
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cat_router
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kristijan Sedlak
|