rare_map 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ class RareMap
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 2
5
- PATCH = 4
5
+ PATCH = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
data/lib/rare_map.rb CHANGED
@@ -53,7 +53,7 @@ module RareMap
53
53
  end
54
54
 
55
55
  def create_initializer
56
- f = File.new(@rails_root + 'config/initializers/rare_map.rb')
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
59
  f.write " if file =~ /models\/[^\/]+\/[^\/]+_base.rb$/\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
4
+ version: 1.2.5
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: 2043049972341122083
145
+ hash: 2061929338825883236
146
146
  required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  none: false
148
148
  requirements: