rare_map 1.2.2 → 1.2.3
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
@@ -45,8 +45,8 @@ module RareMap
|
|
45
45
|
def generate_demo
|
46
46
|
f = File.new('demo.rb', 'w')
|
47
47
|
f.write "require 'active_record'\n"
|
48
|
-
f.write "require 'activerecord-jdbc-adapter'
|
49
|
-
f.write "Dir[File.dirname(__FILE__) + '/app/models
|
48
|
+
f.write "require 'activerecord-jdbc-adapter' if RUBY_PLATFORM == 'java'\n"
|
49
|
+
f.write "Dir[File.dirname(__FILE__) + '/app/models/**/*_base.rb'].each { |file| require file }\n"
|
50
50
|
f.write "Dir[File.dirname(__FILE__) + '/app/models/**/*.rb'].each { |file| require file }\n"
|
51
51
|
f.close
|
52
52
|
end
|
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.3
|
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: 2300737203530498091
|
146
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
147
|
none: false
|
148
148
|
requirements:
|