migration_tools 1.6.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/migration_tools/tasks.rb +1 -3
  3. metadata +11 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 559ef9620f9ab388bc51427bb1d4a661d22c0ab07f440c4e1587dbd048186e5d
4
- data.tar.gz: f46b6a2355613259abe718b355132dc62b3f3e537569907652ac12bab08f9ebc
3
+ metadata.gz: 9dc173afb6ab9e963da510e3c537014db402e19b95fa66d2c81f281f4929c08d
4
+ data.tar.gz: f5cc326cb1f68fba520d83ceb29a8eab1463a598304eabc47a3a45b4ba2e7811
5
5
  SHA512:
6
- metadata.gz: 44a48c610a3565f332fe4c9e51b2275f8c7016efe72c53698010d0f89787d3316e3702816f8bf6574a80c287bdf757fb8fdd3f0daa39c69cb1de30cef546a340
7
- data.tar.gz: 942b0e309ef6104c8f69f368f0f96ce9345a6ec13abc98fff7cd451786d8bdf6a9d6bed5bb8ce425aa348ea3693626d9aa03599dbff784dce8c8a2479a41590e
6
+ metadata.gz: 6fb86f58b2deecfa5ba329ad557bbcbe41a5a8dbed51ebacf3de5052c9ba03b381bbe37e4b1d40425ac846ca9b9bf1c6062e16a6c3cd7ceaab3b7139457c6b5d
7
+ data.tar.gz: e1f8435e00a51f91548b4822c4d28b55c2387e1b4a82880f516465442475f6da5f7d0254551a93d97edc666a740be13ca175241a71676137ee53d4119d1a8dae
@@ -35,10 +35,8 @@ module MigrationTools
35
35
  ).migrations, target_version)
36
36
  elsif ActiveRecord::VERSION::MAJOR == 5 && ActiveRecord::VERSION::MINOR == 2
37
37
  migrate_up(ActiveRecord::MigrationContext.new(migrations_paths).migrations, target_version)
38
- elsif ActiveRecord::VERSION::MAJOR > 3
39
- migrate_up(ActiveRecord::Migrator.migrations(migrations_paths), target_version)
40
38
  else
41
- migrate_up(migrations_paths, target_version)
39
+ migrate_up(ActiveRecord::Migrator.migrations(migrations_paths), target_version)
42
40
  end
43
41
  end
44
42
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: migration_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Morten Primdahl
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-18 00:00:00.000000000 Z
11
+ date: 2022-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.6
19
+ version: 4.2.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.1'
22
+ version: '7.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 3.2.6
29
+ version: 4.2.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.1'
32
+ version: '7.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rake
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -114,20 +114,6 @@ dependencies:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
- - !ruby/object:Gem::Dependency
118
- name: wwtd
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - ">="
122
- - !ruby/object:Gem::Version
123
- version: '0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - ">="
129
- - !ruby/object:Gem::Version
130
- version: '0'
131
117
  description: Rake tasks for Rails that add groups to migrations
132
118
  email: morten@zendesk.com
133
119
  executables: []
@@ -141,7 +127,7 @@ homepage: https://github.com/zendesk/migration_tools
141
127
  licenses:
142
128
  - Apache-2.0
143
129
  metadata: {}
144
- post_install_message:
130
+ post_install_message:
145
131
  rdoc_options: []
146
132
  require_paths:
147
133
  - lib
@@ -149,15 +135,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
149
135
  requirements:
150
136
  - - ">="
151
137
  - !ruby/object:Gem::Version
152
- version: '0'
138
+ version: 2.5.0
153
139
  required_rubygems_version: !ruby/object:Gem::Requirement
154
140
  requirements:
155
141
  - - ">="
156
142
  - !ruby/object:Gem::Version
157
143
  version: '0'
158
144
  requirements: []
159
- rubygems_version: 3.0.3
160
- signing_key:
145
+ rubygems_version: 3.1.6
146
+ signing_key:
161
147
  specification_version: 4
162
148
  summary: Encourage migrations that do not require downtime
163
149
  test_files: []