nondestructive_migrations 1.1 → 1.1.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: 52efa8e5de4b6c6e944b2f49f50bc6b8c36f15cc
4
- data.tar.gz: bab0c62fa9b1c21b00b3b9f9e9d5001df7ce47c8
3
+ metadata.gz: ddf9841c2c435cbe4ec982c41819f8151a842d9a
4
+ data.tar.gz: 5e71f518728838cc537bf981887764b36c276ef4
5
5
  SHA512:
6
- metadata.gz: dc9c38949a5f361b4cf70ddef8282df6301745bd2bb45e2b1742e5f58f0713f75b4fad42d518bd2c28a8e2d9b7b6b155b94b46d9c4eeb1fd18e7dc6f6c962215
7
- data.tar.gz: 434c533281a6546d3b3c453e333c958adae75e21539657c6d48f17fa7a48ac25ebe40e2257ef9f5b52ea4c05c621c27140213f5f44e7c56c3790de9074804dcc
6
+ metadata.gz: 30639bf99e4b83dae7a2a34a9926e3007cadb582418092a148cf1f9b8fceeff13a903618b7dd18c4778391b82630a927108429d87ce058077f3e44d1662dddd0
7
+ data.tar.gz: 1f960cdabe7c2268885da45857ea65f44fdfaecf53909fd5fe3fbc00080f803a292956b7f3bc56cb1801f95899e4fcb6d79f1802df56f5042251a0e124b2bbc5
@@ -3,21 +3,20 @@ require 'rails/generators/migration'
3
3
  require 'rails/generators/active_record'
4
4
 
5
5
 
6
- module DataMigrations
6
+ module DataMigrations
7
7
  class InstallGenerator < Rails::Generators::Base
8
8
  include Rails::Generators::Migration
9
9
  source_root File.expand_path("../templates", __FILE__)
10
10
 
11
11
  desc "Creates an initializer and copy files to your application."
12
- class_option :orm
12
+ class_option :orm, type: 'boolean'
13
13
  def self.next_migration_number(path)
14
14
  Time.now.utc.strftime("%Y%m%d%H%M%S")
15
15
  end
16
-
16
+
17
17
  def copy_initializer
18
18
  migration_template "create_data_migrations.rb",
19
19
  "db/migrate/create_data_migrations.rb"
20
20
  end
21
- end
21
+ end
22
22
  end
23
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nondestructive_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Fleetwood-Boldt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-12 00:00:00.000000000 Z
11
+ date: 2017-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,17 +16,17 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: '4.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '4.0'
26
+ version: '4.2'
27
27
  description: Separate schema-only migrations from nondestrucitve (data) migrations
28
28
  in your Rails app
29
- email: jason@datatravels.com
29
+ email: jason.fb@datatravels.com
30
30
  executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  version: '0'
60
60
  requirements: []
61
61
  rubyforge_project:
62
- rubygems_version: 2.4.3
62
+ rubygems_version: 2.5.1
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Nondestructive (data-only) migrations for your Rails app