handcuffs 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +1 -1
- data/README.md +3 -3
- data/gemfiles/rails_6.gemfile +1 -1
- data/handcuffs.gemspec +1 -1
- data/lib/handcuffs/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91d9834315136aee1b7a94239c9f66ac9d0eb631
|
4
|
+
data.tar.gz: 1ca45f40052fba9fc009cfb1a0b28c9bf94d7405
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e810600a0773709048bbad33a4d41254986fb380739efe3ddb7c81e60d2345052cdaf74a59bccead2a805c4bef1d3d9ed20de53ece2e738776e56d6c991f640
|
7
|
+
data.tar.gz: 833ad454a0d95dd2e8899d566e271645624cc065e492313ce279091fb377da5563564ae438f7e92c8e1f8ad5cca96b2d75b4428d38b8c28abdde2a375601cc88
|
data/Appraisals
CHANGED
data/README.md
CHANGED
@@ -47,7 +47,7 @@ class AddOnSaleIndex < ActiveRecord::Migration
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def down
|
50
|
-
|
50
|
+
remove_index :products, :on_sale
|
51
51
|
end
|
52
52
|
|
53
53
|
end
|
@@ -67,8 +67,8 @@ You can run all migrations using
|
|
67
67
|
rake 'handcuffs:migrate[all]'
|
68
68
|
```
|
69
69
|
|
70
|
-
This differs from running `rake db:migrate` in that
|
71
|
-
_order that the phases are defined in the handcuffs config_.
|
70
|
+
This differs from running `rake db:migrate` in that migrations will be run in
|
71
|
+
the _order that the phases are defined in the handcuffs config_.
|
72
72
|
|
73
73
|
If you run a handcuffs rake task and any migration does not have a phase
|
74
74
|
defined, an error will be raised before any migrations are run. To prevent this
|
data/gemfiles/rails_6.gemfile
CHANGED
data/handcuffs.gemspec
CHANGED
@@ -33,5 +33,5 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.add_development_dependency "pry-byebug"
|
34
34
|
spec.add_development_dependency "rspec-rails", "~> 3.0"
|
35
35
|
|
36
|
-
spec.add_runtime_dependency "rails", ">= 4.0", "
|
36
|
+
spec.add_runtime_dependency "rails", ">= 4.0", "< 6.1"
|
37
37
|
end
|
data/lib/handcuffs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: handcuffs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Urani
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appraisal
|
@@ -87,9 +87,9 @@ dependencies:
|
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '4.0'
|
90
|
-
- - "
|
90
|
+
- - "<"
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: '6.
|
92
|
+
version: '6.1'
|
93
93
|
type: :runtime
|
94
94
|
prerelease: false
|
95
95
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -97,9 +97,9 @@ dependencies:
|
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
99
|
version: '4.0'
|
100
|
-
- - "
|
100
|
+
- - "<"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '6.
|
102
|
+
version: '6.1'
|
103
103
|
description: Allows you to define a phase on Active Record migrations and provides
|
104
104
|
rake tasks for running only migrations tagged with a certain phase
|
105
105
|
email:
|