migration_opener 0.0.2 → 0.0.3
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 +7 -0
- data/lib/migration_opener.rb +3 -0
- data/lib/migration_opener/version.rb +1 -1
- metadata +11 -14
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 781ecba420321d53b525f62970d44ece47e2def8
|
|
4
|
+
data.tar.gz: 3429f1dfbbc748115d48a9705718c7f6195bc925
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 33ce730f32b37d2c6510c6fa37452303bc9ba1f355142d8045a6734d46ace62fbc4a9d841b253e9a3d737f3c2f1b4fe03db5f67e896986c13029872269a5488f
|
|
7
|
+
data.tar.gz: 23fad014b5142437cb9f44c9fdcfc152143296ea8e2bc096b6aa0371e7034dc3bc460ed8f8cfaf822701682e97e3f32f7197ab676f310710136a78687097e8cc
|
data/lib/migration_opener.rb
CHANGED
|
@@ -12,6 +12,9 @@ module MigrationOpener
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
if defined?(Rails::Generators::Migration)
|
|
15
|
+
# force load Thor (it's not autoloaded in Rails 4.1)
|
|
16
|
+
Thor::Actions::CreateFile
|
|
17
|
+
|
|
15
18
|
Rails::Generators::Migration.class_eval do
|
|
16
19
|
alias_method :origin_migration_template, :migration_template
|
|
17
20
|
|
metadata
CHANGED
|
@@ -1,30 +1,27 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: migration_opener
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.0.3
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Kir Shatrov
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2014-10-20 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: rails
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
|
-
- -
|
|
17
|
+
- - ">="
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
21
19
|
version: '0'
|
|
22
20
|
type: :runtime
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
|
-
- -
|
|
24
|
+
- - ">="
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
26
|
version: '0'
|
|
30
27
|
description: Tiny gem open to migration after it's generated throught rails generate
|
|
@@ -35,7 +32,7 @@ executables: []
|
|
|
35
32
|
extensions: []
|
|
36
33
|
extra_rdoc_files: []
|
|
37
34
|
files:
|
|
38
|
-
- .gitignore
|
|
35
|
+
- ".gitignore"
|
|
39
36
|
- Gemfile
|
|
40
37
|
- LICENSE.txt
|
|
41
38
|
- README.md
|
|
@@ -45,27 +42,27 @@ files:
|
|
|
45
42
|
- migration_opener.gemspec
|
|
46
43
|
homepage: https://github.com/evrone/migration_opener
|
|
47
44
|
licenses: []
|
|
45
|
+
metadata: {}
|
|
48
46
|
post_install_message:
|
|
49
47
|
rdoc_options: []
|
|
50
48
|
require_paths:
|
|
51
49
|
- lib
|
|
52
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
53
|
-
none: false
|
|
54
51
|
requirements:
|
|
55
|
-
- -
|
|
52
|
+
- - ">="
|
|
56
53
|
- !ruby/object:Gem::Version
|
|
57
54
|
version: '0'
|
|
58
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
|
-
none: false
|
|
60
56
|
requirements:
|
|
61
|
-
- -
|
|
57
|
+
- - ">="
|
|
62
58
|
- !ruby/object:Gem::Version
|
|
63
59
|
version: '0'
|
|
64
60
|
requirements: []
|
|
65
61
|
rubyforge_project:
|
|
66
|
-
rubygems_version:
|
|
62
|
+
rubygems_version: 2.2.1
|
|
67
63
|
signing_key:
|
|
68
|
-
specification_version:
|
|
64
|
+
specification_version: 4
|
|
69
65
|
summary: Tiny gem open to migration after it's generated throught rails generate migration
|
|
70
66
|
...
|
|
71
67
|
test_files: []
|
|
68
|
+
has_rdoc:
|