nondestructive_migrations 0.9.0 → 0.9.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9cf0da1d4be9482eae4ee35c471bafa2338ba137
4
- data.tar.gz: c34192e8955b41e60f002ae9dc7c1275e7341fc6
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ODRlMmE0OGQxMTU5MDk0M2FkNTcwN2EwNDgyZTI5MDhiZGNkN2VkYQ==
5
+ data.tar.gz: !binary |-
6
+ OGQzMjMzOTgwMWJjYmZlNTAwYWM4ZTA5NmQxOWIzOTgzNTYxMjNhMg==
5
7
  SHA512:
6
- metadata.gz: b9817cf6e87c2047f19da2e39914bd4b51001adccfd91299e49cfaf582303f487078134e42b50db83fdd9261ae49a1ef0d5e193b8b2f6c735cf45a7f97d15685
7
- data.tar.gz: 756c7e6cbb0ac7c020add8e43a87a4783bbf15344762831b8e459ab22cb2ce9311252e431a017c9a22220734313bd14894c2bdbd22854a0504c10b0051ab084f
8
+ metadata.gz: !binary |-
9
+ MTc5ZGE2YjdhMTYyNjdlZGIxNjE0NzA4MGVjODBkZGEyYmE0YjZiMjE5YzFj
10
+ YTYyMWYwZGQzNGNkMGExMDlhMTY0NDJmMjQyMGVhYmJiYWY4Y2I0ZDE5NTdm
11
+ YjY4MGRlMDUyZjMwMWM0MGEzZjU4NzkxYTE4ODIyMjcwNTUzOTA=
12
+ data.tar.gz: !binary |-
13
+ NDVkMTUyNDFmY2EwYzk3OTNmYmJlMGE4MzA2ODA4MmQ4YTE1ZGJmY2ExZDUy
14
+ MzQ3YTkzOWNiYmRiMjExMWIxNDY1YjQyODE5MmVkYzBhYzkwYTM4YjJlNDVi
15
+ ZGYwZjljYWMyMGE5NjZmMTdhYWQ1YTExZGZlNzM5NDY0Y2RhYTc=
@@ -0,0 +1,23 @@
1
+ require 'rails/generators'
2
+ require 'rails/generators/migration'
3
+ require 'rails/generators/active_record'
4
+
5
+
6
+ module DataMigrations
7
+ class InstallGenerator < Rails::Generators::Base
8
+ include Rails::Generators::Migration
9
+ source_root File.expand_path("../templates", __FILE__)
10
+
11
+ desc "Creates an initializer and copy files to your application."
12
+ class_option :orm
13
+ def self.next_migration_number(path)
14
+ Time.now.utc.strftime("%Y%m%d%H%M%S")
15
+ end
16
+
17
+ def copy_initializer
18
+ migration_template "create_data_migrations.rb",
19
+ "db/migrate/create_data_migrations.rb"
20
+ end
21
+ end
22
+ end
23
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nondestructive_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Fleetwood-Boldt
@@ -17,6 +17,7 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - lib/generators/data_migration_install_generator.rb
20
21
  - lib/nondestructive_migrations.rb
21
22
  homepage: https://github.com/jasonfb/nondestructive_migrations
22
23
  licenses:
@@ -28,12 +29,12 @@ require_paths:
28
29
  - lib
29
30
  required_ruby_version: !ruby/object:Gem::Requirement
30
31
  requirements:
31
- - - ">="
32
+ - - ! '>='
32
33
  - !ruby/object:Gem::Version
33
34
  version: '0'
34
35
  required_rubygems_version: !ruby/object:Gem::Requirement
35
36
  requirements:
36
- - - ">="
37
+ - - ! '>='
37
38
  - !ruby/object:Gem::Version
38
39
  version: '0'
39
40
  requirements: []
@@ -43,3 +44,4 @@ signing_key:
43
44
  specification_version: 4
44
45
  summary: Nondestructive (data-only) migrations for your Rails app
45
46
  test_files: []
47
+ has_rdoc: