rails-data-migrations 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd8fa69e3aae4557a60469ec690dcbce05a8b638
4
- data.tar.gz: e1c22693e81608e190ac621e0fd6ba8e0d9ac0fd
3
+ metadata.gz: 22ee18a3ab4b6485ef10ad1fa5c46b28b54db4f7
4
+ data.tar.gz: 6ea85d2b16f7b5f1298c0132845ed5665760f295
5
5
  SHA512:
6
- metadata.gz: 6da47b9b84a17d895e1594aef400cf17b8fcc228818c41604f41a75b03ad733e6a4c025380929a361edaa3f2931c3eb992d76bf2a887e8dd046c39ec63ba206d
7
- data.tar.gz: f719da860422cb6eb984af9a32f046dcab37e221a7fb12fecaf0ae102a6bef0056588d798542c9ae594991db28e539cddc3de14d499c820bcd7bde9b34b46b04
6
+ metadata.gz: 17878d736176ba8adc80acdbc3f96b898d6293f01a29674bd30ab7294191e1bad299a5b207f20917ae88b2530e4ce64a5637563b9e12873b49b205cfd9d5087a
7
+ data.tar.gz: 52852c2dcd20bc6c8e8e22452febab5eaaa4dfc352db5f22556643c34bcaf0c0699daa85385c3e30d9357d1822a1aa9fb3d9b2463ae90e14f3ad449655fe392e
@@ -1,4 +1,5 @@
1
1
  require 'rails/generators'
2
+ require 'rails-data-migrations'
2
3
 
3
4
  class DataMigrationGenerator < Rails::Generators::NamedBase
4
5
  source_root File.expand_path('../templates', __FILE__)
@@ -9,4 +10,4 @@ class DataMigrationGenerator < Rails::Generators::NamedBase
9
10
  content.sub(/ClassName/, file_name.camelize)
10
11
  end
11
12
  end
12
- end
13
+ end
@@ -1,5 +1,6 @@
1
1
  module RailsDataMigrations
2
2
  class Migrator < ::ActiveRecord::Migrator
3
+ MIGRATOR_SALT = 2053462855
3
4
 
4
5
  def record_version_state_after_migrating(version)
5
6
  if down?
@@ -1,3 +1,3 @@
1
1
  module RailsDataMigrations
2
- VERSION = '1.0.4'
2
+ VERSION = '1.0.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-data-migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Glukhov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-05 00:00:00.000000000 Z
11
+ date: 2017-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails