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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de1b84d326918fd88fa607bde5fd543e6f5d5be6
4
- data.tar.gz: 195cf4b9033d39e665340c2a68711f9c4e7bad87
3
+ metadata.gz: 91d9834315136aee1b7a94239c9f66ac9d0eb631
4
+ data.tar.gz: 1ca45f40052fba9fc009cfb1a0b28c9bf94d7405
5
5
  SHA512:
6
- metadata.gz: 26ba39595b3ec99e188ec308c71025a613e53078369154059bab59e6d4c9bc0d980ec54fa50e824eae2da20f8c2f4a53751025aa60fb47a9e7333b5779d2e40e
7
- data.tar.gz: 6157ce2375dea622597e6baeaabdb8b54305f3e39b9eea2e77e14f85d9b9bdb58a9c894dd5b1e8272952c5a816fc11043238d7a03cca432ef2e534af95502f3f
6
+ metadata.gz: 5e810600a0773709048bbad33a4d41254986fb380739efe3ddb7c81e60d2345052cdaf74a59bccead2a805c4bef1d3d9ed20de53ece2e738776e56d6c991f640
7
+ data.tar.gz: 833ad454a0d95dd2e8899d566e271645624cc065e492313ce279091fb377da5563564ae438f7e92c8e1f8ad5cca96b2d75b4428d38b8c28abdde2a375601cc88
data/Appraisals CHANGED
@@ -23,6 +23,6 @@ end
23
23
  # Rails >= 6 requires Ruby >= 2.5
24
24
  if RUBY_VERSION >= "2.5"
25
25
  appraise "rails-6" do
26
- gem "rails", "~> 6.0.0"
26
+ gem "rails", "~> 6.0.1"
27
27
  end
28
28
  end
data/README.md CHANGED
@@ -47,7 +47,7 @@ class AddOnSaleIndex < ActiveRecord::Migration
47
47
  end
48
48
 
49
49
  def down
50
- remove_column :products, :on_sale
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 specs will be run in the
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 6.0.0"
5
+ gem "rails", "~> 6.0.1"
6
6
 
7
7
  gemspec path: "../"
@@ -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", "<= 6.0"
36
+ spec.add_runtime_dependency "rails", ">= 4.0", "< 6.1"
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module Handcuffs
2
- VERSION = "1.3.0"
2
+ VERSION = "1.4.0"
3
3
  end
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.3.0
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-19 00:00:00.000000000 Z
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.0'
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.0'
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: