mongoid_rails_migrations 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ module Mongoid
8
8
  # older mongoid style; pre 2.0.0.rc.1
9
9
  Config.module_eval do
10
10
  cattr_accessor :timestamped_migrations
11
- @@timestamped_migrations ||= true # default true
11
+ class_variable_set(:@@timestamped_migrations, true) unless class_variable_get(:@@timestamped_migrations)
12
12
 
13
13
  def self.reset
14
14
  @@timestamped_migrations = true
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.platform = Gem::Platform::RUBY
3
3
  s.name = 'mongoid_rails_migrations'
4
- s.version = '0.0.9'
4
+ s.version = '0.0.10'
5
5
  s.summary = 'Data migrations for Mongoid in Active Record style, minus column input.'
6
6
  s.description = 'Migrations for the migrator.'
7
7
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mongoid_rails_migrations
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.9
5
+ version: 0.0.10
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alan Da Costa
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  requirements: []
116
116
 
117
117
  rubyforge_project:
118
- rubygems_version: 1.5.0
118
+ rubygems_version: 1.5.2
119
119
  signing_key:
120
120
  specification_version: 3
121
121
  summary: Data migrations for Mongoid in Active Record style, minus column input.