lazy_migrate 0.2.0 → 0.3.0

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,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 533dc8fee11ec5e7cf015cec3419abf24723f4dcb4df6f3b633ace45b1f4ad6e
4
- data.tar.gz: 50e86b492823d2269a3cd054b8c1a0e26a20803caaa7c134799c7714603e5296
3
+ metadata.gz: 293e945f4a1763bcaba3ce55f09f43929f94288ec783582e46b3bcc2c8fac332
4
+ data.tar.gz: 6e8ab04284d88d631efc26fc4f81cb6d356bdba5568af5822c49c54a54bddef1
5
5
  SHA512:
6
- metadata.gz: 7d92645882028de1b22c1a490a615c1936028f9fdddc3670a59a2c6a93bd1ae8031000ccb9ab12968d3f335f2237639660357490bef494087a14f183ff8b8b21
7
- data.tar.gz: 0c5d081bc2e440e9dd43e000dd483301e6bcdde3556492f91d78d535bad9e8555df251bbf41ec2ba7eb55cc0c0590a5b387c726255c952c7b93a510677997ceb
6
+ metadata.gz: 27e9a879d1efeff1b3dfd319a90305290d2ca31dd8281878d7b94de03aaf6c9c3bb0c91c8d2b7c53c4d79a243ddbb742e4c22302bf30438ec3b67662b4df9822
7
+ data.tar.gz: 47c89687f8f6cb0649b878abfd3bbd0fa79dd82e9454f1973f0084c51dd664d3e6b156145cafd5fcf32f818619cfdc415f0d5cd0b04af7216e9be7bd76567cd0
@@ -0,0 +1,43 @@
1
+ name: Tests
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - master
7
+ paths-ignore:
8
+ - 'README.md'
9
+ push:
10
+ branches:
11
+ - master
12
+ paths-ignore:
13
+ - 'README.md'
14
+
15
+ jobs:
16
+ unit_tests:
17
+ name: Unit Tests
18
+ if: "contains(github.event.commits[0].message, '[ci skip]') == false"
19
+ strategy:
20
+ fail-fast: false
21
+ matrix:
22
+ os:
23
+ - ubuntu
24
+ ruby:
25
+ - 2.6
26
+ gemfile:
27
+ - gemfiles/rails_5_1_5.gemfile
28
+ - gemfiles/rails_5_2_4_3.gemfile
29
+ - gemfiles/rails_6_0_3_4.gemfile
30
+ env:
31
+ BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
32
+ runs-on: ${{ matrix.os }}-latest
33
+ continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
34
+ steps:
35
+ - name: Checkout
36
+ uses: actions/checkout@v2
37
+ - name: Setup Ruby
38
+ uses: ruby/setup-ruby@v1
39
+ with:
40
+ ruby-version: ${{ matrix.ruby }}
41
+ bundler-cache: true
42
+ - name: Test
43
+ run: bundle exec rake spec
data/.travis.yml CHANGED
@@ -5,3 +5,9 @@ cache: bundler
5
5
  rvm:
6
6
  - 2.6.3
7
7
  before_install: gem install bundler -v 2.0.2
8
+ gemfile:
9
+ - gemfiles/rails_5_1_5.gemfile
10
+ - gemfiles/rails_5_2_4_3.gemfile
11
+ - gemfiles/rails_6_0_3_4.gemfile
12
+ matrix:
13
+ fast_finish: true
data/Appraisals CHANGED
@@ -1,9 +1,14 @@
1
- appraise "rails-5-1-5" do
1
+ appraise "rails_5_1_5" do
2
2
  gem "rails", "5.1.5"
3
3
  gem 'sqlite3', '~> 1.3.6'
4
4
  end
5
5
 
6
- appraise "rails-5-2-4-3" do
6
+ appraise "rails_5_2_4_3" do
7
7
  gem "rails", "5.2.4.3"
8
8
  gem 'sqlite3', '~> 1.4.2'
9
9
  end
10
+
11
+ appraise "rails_6_0_3_4" do
12
+ gem "rails", "6.0.3.4"
13
+ gem 'sqlite3', '~> 1.4.2'
14
+ end
data/Gemfile.lock CHANGED
@@ -1,63 +1,76 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lazy_migrate (0.1.5)
4
+ lazy_migrate (0.2.0)
5
5
  sorbet-runtime
6
6
  tty-prompt (~> 0.22.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (5.2.4.3)
12
- actionpack (= 5.2.4.3)
11
+ actioncable (6.0.3.4)
12
+ actionpack (= 6.0.3.4)
13
13
  nio4r (~> 2.0)
14
14
  websocket-driver (>= 0.6.1)
15
- actionmailer (5.2.4.3)
16
- actionpack (= 5.2.4.3)
17
- actionview (= 5.2.4.3)
18
- activejob (= 5.2.4.3)
15
+ actionmailbox (6.0.3.4)
16
+ actionpack (= 6.0.3.4)
17
+ activejob (= 6.0.3.4)
18
+ activerecord (= 6.0.3.4)
19
+ activestorage (= 6.0.3.4)
20
+ activesupport (= 6.0.3.4)
21
+ mail (>= 2.7.1)
22
+ actionmailer (6.0.3.4)
23
+ actionpack (= 6.0.3.4)
24
+ actionview (= 6.0.3.4)
25
+ activejob (= 6.0.3.4)
19
26
  mail (~> 2.5, >= 2.5.4)
20
27
  rails-dom-testing (~> 2.0)
21
- actionpack (5.2.4.3)
22
- actionview (= 5.2.4.3)
23
- activesupport (= 5.2.4.3)
28
+ actionpack (6.0.3.4)
29
+ actionview (= 6.0.3.4)
30
+ activesupport (= 6.0.3.4)
24
31
  rack (~> 2.0, >= 2.0.8)
25
32
  rack-test (>= 0.6.3)
26
33
  rails-dom-testing (~> 2.0)
27
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
- actionview (5.2.4.3)
29
- activesupport (= 5.2.4.3)
34
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
+ actiontext (6.0.3.4)
36
+ actionpack (= 6.0.3.4)
37
+ activerecord (= 6.0.3.4)
38
+ activestorage (= 6.0.3.4)
39
+ activesupport (= 6.0.3.4)
40
+ nokogiri (>= 1.8.5)
41
+ actionview (6.0.3.4)
42
+ activesupport (= 6.0.3.4)
30
43
  builder (~> 3.1)
31
44
  erubi (~> 1.4)
32
45
  rails-dom-testing (~> 2.0)
33
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
- activejob (5.2.4.3)
35
- activesupport (= 5.2.4.3)
46
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
+ activejob (6.0.3.4)
48
+ activesupport (= 6.0.3.4)
36
49
  globalid (>= 0.3.6)
37
- activemodel (5.2.4.3)
38
- activesupport (= 5.2.4.3)
39
- activerecord (5.2.4.3)
40
- activemodel (= 5.2.4.3)
41
- activesupport (= 5.2.4.3)
42
- arel (>= 9.0)
43
- activestorage (5.2.4.3)
44
- actionpack (= 5.2.4.3)
45
- activerecord (= 5.2.4.3)
50
+ activemodel (6.0.3.4)
51
+ activesupport (= 6.0.3.4)
52
+ activerecord (6.0.3.4)
53
+ activemodel (= 6.0.3.4)
54
+ activesupport (= 6.0.3.4)
55
+ activestorage (6.0.3.4)
56
+ actionpack (= 6.0.3.4)
57
+ activejob (= 6.0.3.4)
58
+ activerecord (= 6.0.3.4)
46
59
  marcel (~> 0.3.1)
47
- activesupport (5.2.4.3)
60
+ activesupport (6.0.3.4)
48
61
  concurrent-ruby (~> 1.0, >= 1.0.2)
49
62
  i18n (>= 0.7, < 2)
50
63
  minitest (~> 5.1)
51
64
  tzinfo (~> 1.1)
65
+ zeitwerk (~> 2.2, >= 2.2.2)
52
66
  appraisal (2.3.0)
53
67
  bundler
54
68
  rake
55
69
  thor (>= 0.14.0)
56
- arel (9.0.0)
57
70
  builder (3.2.4)
58
71
  byebug (11.1.3)
59
72
  coderay (1.1.3)
60
- concurrent-ruby (1.1.6)
73
+ concurrent-ruby (1.1.7)
61
74
  crass (1.0.6)
62
75
  diff-lcs (1.4.4)
63
76
  erubi (1.9.0)
@@ -65,7 +78,7 @@ GEM
65
78
  activesupport (>= 4.2.0)
66
79
  i18n (1.8.5)
67
80
  concurrent-ruby (~> 1.0)
68
- loofah (2.6.0)
81
+ loofah (2.7.0)
69
82
  crass (~> 1.0.2)
70
83
  nokogiri (>= 1.5.9)
71
84
  mail (2.7.1)
@@ -76,8 +89,8 @@ GEM
76
89
  mimemagic (0.3.5)
77
90
  mini_mime (1.0.2)
78
91
  mini_portile2 (2.4.0)
79
- minitest (5.14.1)
80
- nio4r (2.5.2)
92
+ minitest (5.14.2)
93
+ nio4r (2.5.4)
81
94
  nokogiri (1.10.10)
82
95
  mini_portile2 (~> 2.4.0)
83
96
  pastel (0.8.0)
@@ -91,36 +104,38 @@ GEM
91
104
  rack (2.2.3)
92
105
  rack-test (1.1.0)
93
106
  rack (>= 1.0, < 3)
94
- rails (5.2.4.3)
95
- actioncable (= 5.2.4.3)
96
- actionmailer (= 5.2.4.3)
97
- actionpack (= 5.2.4.3)
98
- actionview (= 5.2.4.3)
99
- activejob (= 5.2.4.3)
100
- activemodel (= 5.2.4.3)
101
- activerecord (= 5.2.4.3)
102
- activestorage (= 5.2.4.3)
103
- activesupport (= 5.2.4.3)
107
+ rails (6.0.3.4)
108
+ actioncable (= 6.0.3.4)
109
+ actionmailbox (= 6.0.3.4)
110
+ actionmailer (= 6.0.3.4)
111
+ actionpack (= 6.0.3.4)
112
+ actiontext (= 6.0.3.4)
113
+ actionview (= 6.0.3.4)
114
+ activejob (= 6.0.3.4)
115
+ activemodel (= 6.0.3.4)
116
+ activerecord (= 6.0.3.4)
117
+ activestorage (= 6.0.3.4)
118
+ activesupport (= 6.0.3.4)
104
119
  bundler (>= 1.3.0)
105
- railties (= 5.2.4.3)
120
+ railties (= 6.0.3.4)
106
121
  sprockets-rails (>= 2.0.0)
107
122
  rails-dom-testing (2.0.3)
108
123
  activesupport (>= 4.2.0)
109
124
  nokogiri (>= 1.6)
110
125
  rails-html-sanitizer (1.3.0)
111
126
  loofah (~> 2.3)
112
- railties (5.2.4.3)
113
- actionpack (= 5.2.4.3)
114
- activesupport (= 5.2.4.3)
127
+ railties (6.0.3.4)
128
+ actionpack (= 6.0.3.4)
129
+ activesupport (= 6.0.3.4)
115
130
  method_source
116
131
  rake (>= 0.8.7)
117
- thor (>= 0.19.0, < 2.0)
132
+ thor (>= 0.20.3, < 2.0)
118
133
  rake (13.0.1)
119
134
  rspec (3.9.0)
120
135
  rspec-core (~> 3.9.0)
121
136
  rspec-expectations (~> 3.9.0)
122
137
  rspec-mocks (~> 3.9.0)
123
- rspec-core (3.9.2)
138
+ rspec-core (3.9.3)
124
139
  rspec-support (~> 3.9.3)
125
140
  rspec-expectations (3.9.2)
126
141
  diff-lcs (>= 1.2.0, < 2.0)
@@ -129,21 +144,21 @@ GEM
129
144
  diff-lcs (>= 1.2.0, < 2.0)
130
145
  rspec-support (~> 3.9.0)
131
146
  rspec-support (3.9.3)
132
- sorbet (0.5.5862)
133
- sorbet-static (= 0.5.5862)
134
- sorbet-runtime (0.5.5862)
135
- sorbet-static (0.5.5862-universal-darwin-14)
147
+ sorbet (0.5.5991)
148
+ sorbet-static (= 0.5.5991)
149
+ sorbet-runtime (0.5.5991)
150
+ sorbet-static (0.5.5991-universal-darwin-14)
136
151
  sprockets (4.0.2)
137
152
  concurrent-ruby (~> 1.0)
138
153
  rack (> 1, < 3)
139
- sprockets-rails (3.2.1)
154
+ sprockets-rails (3.2.2)
140
155
  actionpack (>= 4.0)
141
156
  activesupport (>= 4.0)
142
157
  sprockets (>= 3.0.0)
143
158
  sqlite3 (1.4.2)
144
159
  thor (1.0.1)
145
160
  thread_safe (0.3.6)
146
- tty-color (0.5.1)
161
+ tty-color (0.5.2)
147
162
  tty-cursor (0.7.1)
148
163
  tty-prompt (0.22.0)
149
164
  pastel (~> 0.8)
@@ -159,6 +174,7 @@ GEM
159
174
  websocket-extensions (>= 0.1.0)
160
175
  websocket-extensions (0.1.5)
161
176
  wisper (2.0.1)
177
+ zeitwerk (2.4.0)
162
178
 
163
179
  PLATFORMS
164
180
  ruby
@@ -168,11 +184,11 @@ DEPENDENCIES
168
184
  bundler (~> 2.0)
169
185
  lazy_migrate!
170
186
  pry-byebug (~> 3.9.0)
171
- rails (~> 5.2.4)
187
+ rails (~> 6.0.3)
172
188
  rake (~> 13.0)
173
189
  rspec (~> 3.0)
174
190
  sorbet
175
191
  sqlite3 (~> 1.4.2)
176
192
 
177
193
  BUNDLED WITH
178
- 2.0.2
194
+ 2.1.4
data/README.md CHANGED
@@ -74,8 +74,8 @@ We use [Appraisal](https://github.com/thoughtbot/appraisal) to test the gem agai
74
74
  ```
75
75
  bundle exec appraisal
76
76
 
77
- bundle exec appraisal rails-5-1-5 rspec
78
- bundle exec appraisal rails-5-2-4-3 install
77
+ bundle exec appraisal rails_5_1_5 rspec
78
+ bundle exec appraisal rails_5_2_4_3 install
79
79
  ```
80
80
 
81
81
  ## Contributing
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lazy_migrate (0.1.5)
4
+ lazy_migrate (0.2.0)
5
5
  sorbet-runtime
6
6
  tty-prompt (~> 0.22.0)
7
7
 
@@ -123,7 +123,7 @@ GEM
123
123
  rspec-support (3.9.3)
124
124
  sorbet (0.5.5862)
125
125
  sorbet-static (= 0.5.5862)
126
- sorbet-runtime (0.5.5862)
126
+ sorbet-runtime (0.5.5991)
127
127
  sorbet-static (0.5.5862-universal-darwin-18)
128
128
  sprockets (4.0.2)
129
129
  concurrent-ruby (~> 1.0)
@@ -135,7 +135,7 @@ GEM
135
135
  sqlite3 (1.3.13)
136
136
  thor (1.0.1)
137
137
  thread_safe (0.3.6)
138
- tty-color (0.5.1)
138
+ tty-color (0.5.2)
139
139
  tty-cursor (0.7.1)
140
140
  tty-prompt (0.22.0)
141
141
  pastel (~> 0.8)
@@ -167,4 +167,4 @@ DEPENDENCIES
167
167
  sqlite3 (~> 1.3.6)
168
168
 
169
169
  BUNDLED WITH
170
- 2.0.2
170
+ 2.1.4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lazy_migrate (0.1.5)
4
+ lazy_migrate (0.2.0)
5
5
  sorbet-runtime
6
6
  tty-prompt (~> 0.22.0)
7
7
 
@@ -131,7 +131,7 @@ GEM
131
131
  rspec-support (3.9.3)
132
132
  sorbet (0.5.5862)
133
133
  sorbet-static (= 0.5.5862)
134
- sorbet-runtime (0.5.5862)
134
+ sorbet-runtime (0.5.5991)
135
135
  sorbet-static (0.5.5862-universal-darwin-18)
136
136
  sprockets (4.0.2)
137
137
  concurrent-ruby (~> 1.0)
@@ -143,7 +143,7 @@ GEM
143
143
  sqlite3 (1.4.2)
144
144
  thor (1.0.1)
145
145
  thread_safe (0.3.6)
146
- tty-color (0.5.1)
146
+ tty-color (0.5.2)
147
147
  tty-cursor (0.7.1)
148
148
  tty-prompt (0.22.0)
149
149
  pastel (~> 0.8)
@@ -175,4 +175,4 @@ DEPENDENCIES
175
175
  sqlite3 (~> 1.4.2)
176
176
 
177
177
  BUNDLED WITH
178
- 2.0.2
178
+ 2.1.4
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "6.0.3.4"
6
+ gem "sqlite3", "~> 1.4.2"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,194 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ lazy_migrate (0.2.0)
5
+ sorbet-runtime
6
+ tty-prompt (~> 0.22.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (6.0.3.4)
12
+ actionpack (= 6.0.3.4)
13
+ nio4r (~> 2.0)
14
+ websocket-driver (>= 0.6.1)
15
+ actionmailbox (6.0.3.4)
16
+ actionpack (= 6.0.3.4)
17
+ activejob (= 6.0.3.4)
18
+ activerecord (= 6.0.3.4)
19
+ activestorage (= 6.0.3.4)
20
+ activesupport (= 6.0.3.4)
21
+ mail (>= 2.7.1)
22
+ actionmailer (6.0.3.4)
23
+ actionpack (= 6.0.3.4)
24
+ actionview (= 6.0.3.4)
25
+ activejob (= 6.0.3.4)
26
+ mail (~> 2.5, >= 2.5.4)
27
+ rails-dom-testing (~> 2.0)
28
+ actionpack (6.0.3.4)
29
+ actionview (= 6.0.3.4)
30
+ activesupport (= 6.0.3.4)
31
+ rack (~> 2.0, >= 2.0.8)
32
+ rack-test (>= 0.6.3)
33
+ rails-dom-testing (~> 2.0)
34
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
+ actiontext (6.0.3.4)
36
+ actionpack (= 6.0.3.4)
37
+ activerecord (= 6.0.3.4)
38
+ activestorage (= 6.0.3.4)
39
+ activesupport (= 6.0.3.4)
40
+ nokogiri (>= 1.8.5)
41
+ actionview (6.0.3.4)
42
+ activesupport (= 6.0.3.4)
43
+ builder (~> 3.1)
44
+ erubi (~> 1.4)
45
+ rails-dom-testing (~> 2.0)
46
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
+ activejob (6.0.3.4)
48
+ activesupport (= 6.0.3.4)
49
+ globalid (>= 0.3.6)
50
+ activemodel (6.0.3.4)
51
+ activesupport (= 6.0.3.4)
52
+ activerecord (6.0.3.4)
53
+ activemodel (= 6.0.3.4)
54
+ activesupport (= 6.0.3.4)
55
+ activestorage (6.0.3.4)
56
+ actionpack (= 6.0.3.4)
57
+ activejob (= 6.0.3.4)
58
+ activerecord (= 6.0.3.4)
59
+ marcel (~> 0.3.1)
60
+ activesupport (6.0.3.4)
61
+ concurrent-ruby (~> 1.0, >= 1.0.2)
62
+ i18n (>= 0.7, < 2)
63
+ minitest (~> 5.1)
64
+ tzinfo (~> 1.1)
65
+ zeitwerk (~> 2.2, >= 2.2.2)
66
+ appraisal (2.3.0)
67
+ bundler
68
+ rake
69
+ thor (>= 0.14.0)
70
+ builder (3.2.4)
71
+ byebug (11.1.3)
72
+ coderay (1.1.3)
73
+ concurrent-ruby (1.1.7)
74
+ crass (1.0.6)
75
+ diff-lcs (1.4.4)
76
+ erubi (1.9.0)
77
+ globalid (0.4.2)
78
+ activesupport (>= 4.2.0)
79
+ i18n (1.8.5)
80
+ concurrent-ruby (~> 1.0)
81
+ loofah (2.7.0)
82
+ crass (~> 1.0.2)
83
+ nokogiri (>= 1.5.9)
84
+ mail (2.7.1)
85
+ mini_mime (>= 0.1.1)
86
+ marcel (0.3.3)
87
+ mimemagic (~> 0.3.2)
88
+ method_source (1.0.0)
89
+ mimemagic (0.3.5)
90
+ mini_mime (1.0.2)
91
+ mini_portile2 (2.4.0)
92
+ minitest (5.14.2)
93
+ nio4r (2.5.4)
94
+ nokogiri (1.10.10)
95
+ mini_portile2 (~> 2.4.0)
96
+ pastel (0.8.0)
97
+ tty-color (~> 0.5)
98
+ pry (0.13.1)
99
+ coderay (~> 1.1)
100
+ method_source (~> 1.0)
101
+ pry-byebug (3.9.0)
102
+ byebug (~> 11.0)
103
+ pry (~> 0.13.0)
104
+ rack (2.2.3)
105
+ rack-test (1.1.0)
106
+ rack (>= 1.0, < 3)
107
+ rails (6.0.3.4)
108
+ actioncable (= 6.0.3.4)
109
+ actionmailbox (= 6.0.3.4)
110
+ actionmailer (= 6.0.3.4)
111
+ actionpack (= 6.0.3.4)
112
+ actiontext (= 6.0.3.4)
113
+ actionview (= 6.0.3.4)
114
+ activejob (= 6.0.3.4)
115
+ activemodel (= 6.0.3.4)
116
+ activerecord (= 6.0.3.4)
117
+ activestorage (= 6.0.3.4)
118
+ activesupport (= 6.0.3.4)
119
+ bundler (>= 1.3.0)
120
+ railties (= 6.0.3.4)
121
+ sprockets-rails (>= 2.0.0)
122
+ rails-dom-testing (2.0.3)
123
+ activesupport (>= 4.2.0)
124
+ nokogiri (>= 1.6)
125
+ rails-html-sanitizer (1.3.0)
126
+ loofah (~> 2.3)
127
+ railties (6.0.3.4)
128
+ actionpack (= 6.0.3.4)
129
+ activesupport (= 6.0.3.4)
130
+ method_source
131
+ rake (>= 0.8.7)
132
+ thor (>= 0.20.3, < 2.0)
133
+ rake (13.0.1)
134
+ rspec (3.9.0)
135
+ rspec-core (~> 3.9.0)
136
+ rspec-expectations (~> 3.9.0)
137
+ rspec-mocks (~> 3.9.0)
138
+ rspec-core (3.9.3)
139
+ rspec-support (~> 3.9.3)
140
+ rspec-expectations (3.9.2)
141
+ diff-lcs (>= 1.2.0, < 2.0)
142
+ rspec-support (~> 3.9.0)
143
+ rspec-mocks (3.9.1)
144
+ diff-lcs (>= 1.2.0, < 2.0)
145
+ rspec-support (~> 3.9.0)
146
+ rspec-support (3.9.3)
147
+ sorbet (0.5.5991)
148
+ sorbet-static (= 0.5.5991)
149
+ sorbet-runtime (0.5.5991)
150
+ sorbet-static (0.5.5991-universal-darwin-19)
151
+ sprockets (4.0.2)
152
+ concurrent-ruby (~> 1.0)
153
+ rack (> 1, < 3)
154
+ sprockets-rails (3.2.2)
155
+ actionpack (>= 4.0)
156
+ activesupport (>= 4.0)
157
+ sprockets (>= 3.0.0)
158
+ sqlite3 (1.4.2)
159
+ thor (1.0.1)
160
+ thread_safe (0.3.6)
161
+ tty-color (0.5.2)
162
+ tty-cursor (0.7.1)
163
+ tty-prompt (0.22.0)
164
+ pastel (~> 0.8)
165
+ tty-reader (~> 0.8)
166
+ tty-reader (0.8.0)
167
+ tty-cursor (~> 0.7)
168
+ tty-screen (~> 0.8)
169
+ wisper (~> 2.0)
170
+ tty-screen (0.8.1)
171
+ tzinfo (1.2.7)
172
+ thread_safe (~> 0.1)
173
+ websocket-driver (0.7.3)
174
+ websocket-extensions (>= 0.1.0)
175
+ websocket-extensions (0.1.5)
176
+ wisper (2.0.1)
177
+ zeitwerk (2.4.0)
178
+
179
+ PLATFORMS
180
+ ruby
181
+
182
+ DEPENDENCIES
183
+ appraisal
184
+ bundler (~> 2.0)
185
+ lazy_migrate!
186
+ pry-byebug (~> 3.9.0)
187
+ rails (= 6.0.3.4)
188
+ rake (~> 13.0)
189
+ rspec (~> 3.0)
190
+ sorbet
191
+ sqlite3 (~> 1.4.2)
192
+
193
+ BUNDLED WITH
194
+ 2.1.4
data/lazy_migrate.gemspec CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "appraisal"
32
32
  spec.add_development_dependency "bundler", "~> 2.0"
33
33
  spec.add_development_dependency 'pry-byebug', '~> 3.9.0'
34
- spec.add_development_dependency "rails", "~> 5.2.4"
34
+ spec.add_development_dependency "rails", "~> 6.0.3"
35
35
  spec.add_development_dependency "rake", "~> 13.0"
36
36
  spec.add_development_dependency "rspec", "~> 3.0"
37
37
  spec.add_development_dependency 'sqlite3', '~> 1.4.2'
@@ -15,7 +15,12 @@ module LazyMigrate
15
15
  def initialize
16
16
  # TODO: consider making this a method rather than an instance variable
17
17
  # considering how cheap it is to obtain
18
- @context = T.let(ActiveRecord::MigrationContext.new(Rails.root.join('db', 'migrate')), ActiveRecord::MigrationContext)
18
+ @context = T.let(
19
+ ActiveRecord::MigrationContext.instance_method(:initialize).arity == 2 ?
20
+ ActiveRecord::MigrationContext.new(Rails.root.join('db', 'migrate'), ActiveRecord::SchemaMigration) :
21
+ ActiveRecord::MigrationContext.new(Rails.root.join('db', 'migrate')),
22
+ ActiveRecord::MigrationContext,
23
+ )
19
24
  end
20
25
 
21
26
  sig { override.params(version: Integer).void }
@@ -1,4 +1,4 @@
1
1
  # typed: strict
2
2
  module LazyMigrate
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lazy_migrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Duffield
8
8
  autorequire:
9
9
  bindir: bin/exe
10
10
  cert_chain: []
11
- date: 2020-08-06 00:00:00.000000000 Z
11
+ date: 2021-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 5.2.4
61
+ version: 6.0.3
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 5.2.4
68
+ version: 6.0.3
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -161,6 +161,7 @@ executables:
161
161
  extensions: []
162
162
  extra_rdoc_files: []
163
163
  files:
164
+ - ".github/workflows/tests.yaml"
164
165
  - ".gitignore"
165
166
  - ".rspec"
166
167
  - ".travis.yml"
@@ -179,6 +180,8 @@ files:
179
180
  - gemfiles/rails_5_1_5.gemfile.lock
180
181
  - gemfiles/rails_5_2_4_3.gemfile
181
182
  - gemfiles/rails_5_2_4_3.gemfile.lock
183
+ - gemfiles/rails_6_0_3_4.gemfile
184
+ - gemfiles/rails_6_0_3_4.gemfile.lock
182
185
  - github/demo.gif
183
186
  - lazy_migrate.gemspec
184
187
  - lib/lazy_migrate.rb