rare_map 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rare_map/version.rb +1 -1
- data/lib/rare_map.rb +2 -2
- metadata +2 -2
data/lib/rare_map/version.rb
CHANGED
data/lib/rare_map.rb
CHANGED
@@ -56,9 +56,9 @@ module RareMap
|
|
56
56
|
f = File.new(@rails_root + 'config/initializers/rare_map.rb', 'w')
|
57
57
|
f.write "bases = []; models = []\n"
|
58
58
|
f.write "Dir[Rails.root + 'app/models/**/*.rb'].each do |file|\n"
|
59
|
-
f.write " if file =~ /models
|
59
|
+
f.write " if file =~ /models\\/[^\\/]+\\/[^\\/]+_base.rb$/\n"
|
60
60
|
f.write " bases << file\n"
|
61
|
-
f.write " elsif file =~ /models
|
61
|
+
f.write " elsif file =~ /models\\/[^\\/]+\\/[^\\/]+.rb$/\n"
|
62
62
|
f.write " models << file\n"
|
63
63
|
f.write " end\n"
|
64
64
|
f.write "end\n"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rare_map
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -142,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
segments:
|
144
144
|
- 0
|
145
|
-
hash:
|
145
|
+
hash: 4381916711139391972
|
146
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
147
|
none: false
|
148
148
|
requirements:
|