sixarm_ruby_migration_helper_extensions 3.0.1 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Rakefile +1 -0
- data/test/sixarm_ruby_migration_helper_extensions_test.rb +26 -7
- metadata +105 -25
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fd950d267e81dcba654e1bb0a29b5fd5d3c7ee8352622442d0a3087bac4c4dc
|
4
|
+
data.tar.gz: 9ab29cc08595510a81668f3e69efba677c704e2e9658962b5004b9abdda49bff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 818843bef0c81027327799a90e8517d080b7882912d95822c4e1adfe102598eaeeb430aa0d10cbe461fbdda4fb32fc9e2ba9847c5d3174cd548de6a4a924d87d
|
7
|
+
data.tar.gz: 58b6e276e9dc928d1cc72ecb3c3373673b29b8e286c12670e4b1e1de644808c7c1d9c2187ebf8493952b7c729605c71fb31e693eba5656c3e5a6843b52c6f5df
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Rakefile
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
require "minitest/autorun"
|
3
3
|
require "simplecov"
|
4
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
|
5
|
+
SimpleCov::Formatter::HTMLFormatter,
|
6
|
+
])
|
4
7
|
SimpleCov.start
|
8
|
+
|
5
9
|
require "sixarm_ruby_active_record_migration_mock"
|
6
10
|
require "sixarm_ruby_migration_helper_extensions"
|
7
11
|
|
@@ -9,7 +13,22 @@ class Testing < Minitest::Test
|
|
9
13
|
|
10
14
|
def test_columns
|
11
15
|
CreateFoos.up
|
12
|
-
for col in [
|
16
|
+
for col in [
|
17
|
+
:email,
|
18
|
+
:freebase,
|
19
|
+
:height,
|
20
|
+
:length,
|
21
|
+
:width,
|
22
|
+
:depth,
|
23
|
+
:mass,
|
24
|
+
:latitude,
|
25
|
+
:longitude,
|
26
|
+
:altitude,
|
27
|
+
:length,
|
28
|
+
:longitude,
|
29
|
+
:phone,
|
30
|
+
:uri,
|
31
|
+
] do
|
13
32
|
assert(ActiveRecordMigrationMock.tables['foos'].has_column?(col),"has_column?(:#{col})")
|
14
33
|
end
|
15
34
|
end
|
@@ -27,17 +46,17 @@ class CreateFoos < ActiveRecordMigrationMock
|
|
27
46
|
def self.up
|
28
47
|
create_table 'foos', :force => true do |t|
|
29
48
|
t.email
|
30
|
-
t.freebase
|
31
49
|
t.height
|
32
|
-
t.latitude
|
33
|
-
t.latitude
|
34
50
|
t.length
|
51
|
+
t.width
|
52
|
+
t.depth
|
53
|
+
t.mass
|
54
|
+
t.latitude
|
35
55
|
t.longitude
|
56
|
+
t.altitude
|
36
57
|
t.phone
|
37
|
-
t.thickness
|
38
58
|
t.uri
|
39
|
-
t.
|
40
|
-
t.width
|
59
|
+
t.freebase
|
41
60
|
end
|
42
61
|
end
|
43
62
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sixarm_ruby_migration_helper_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SixArm
|
@@ -39,7 +39,7 @@ cert_chain:
|
|
39
39
|
tzpk/VnZXj7Ek/earx+N/Z+Wtnl2xENm5IF8SFPeI1HFa9NH47pqtxF1YKpNIEVc
|
40
40
|
2xa2BNHSePe7tys/2hbmZuyMu8X5ERmovsabSXB3a+YwtJh5c2jhA21wF7986s0q
|
41
41
|
-----END CERTIFICATE-----
|
42
|
-
date: 2018-06-
|
42
|
+
date: 2018-06-24 00:00:00.000000000 Z
|
43
43
|
dependencies:
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: activerecord
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
requirements:
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version:
|
50
|
+
version: 5.0.0
|
51
51
|
- - "<"
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '999'
|
@@ -57,17 +57,37 @@ dependencies:
|
|
57
57
|
requirements:
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
60
|
+
version: 5.0.0
|
61
61
|
- - "<"
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '999'
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: sixarm_ruby_active_record_migration_mock
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 2.1.0
|
71
|
+
- - "<"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '3'
|
74
|
+
type: :development
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 2.1.0
|
81
|
+
- - "<"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '3'
|
64
84
|
- !ruby/object:Gem::Dependency
|
65
85
|
name: minitest
|
66
86
|
requirement: !ruby/object:Gem::Requirement
|
67
87
|
requirements:
|
68
88
|
- - ">="
|
69
89
|
- !ruby/object:Gem::Version
|
70
|
-
version: 5.
|
90
|
+
version: 5.11.3
|
71
91
|
- - "<"
|
72
92
|
- !ruby/object:Gem::Version
|
73
93
|
version: '6'
|
@@ -77,7 +97,7 @@ dependencies:
|
|
77
97
|
requirements:
|
78
98
|
- - ">="
|
79
99
|
- !ruby/object:Gem::Version
|
80
|
-
version: 5.
|
100
|
+
version: 5.11.3
|
81
101
|
- - "<"
|
82
102
|
- !ruby/object:Gem::Version
|
83
103
|
version: '6'
|
@@ -105,29 +125,29 @@ dependencies:
|
|
105
125
|
name: rake
|
106
126
|
requirement: !ruby/object:Gem::Requirement
|
107
127
|
requirements:
|
108
|
-
- - "
|
128
|
+
- - ">="
|
109
129
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
130
|
+
version: 12.3.1
|
111
131
|
- - "<"
|
112
132
|
- !ruby/object:Gem::Version
|
113
|
-
version: '
|
133
|
+
version: '13'
|
114
134
|
type: :development
|
115
135
|
prerelease: false
|
116
136
|
version_requirements: !ruby/object:Gem::Requirement
|
117
137
|
requirements:
|
118
|
-
- - "
|
138
|
+
- - ">="
|
119
139
|
- !ruby/object:Gem::Version
|
120
|
-
version:
|
140
|
+
version: 12.3.1
|
121
141
|
- - "<"
|
122
142
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
143
|
+
version: '13'
|
124
144
|
- !ruby/object:Gem::Dependency
|
125
145
|
name: simplecov
|
126
146
|
requirement: !ruby/object:Gem::Requirement
|
127
147
|
requirements:
|
128
148
|
- - ">="
|
129
149
|
- !ruby/object:Gem::Version
|
130
|
-
version: 0.
|
150
|
+
version: 0.16.1
|
131
151
|
- - "<"
|
132
152
|
- !ruby/object:Gem::Version
|
133
153
|
version: '2'
|
@@ -137,50 +157,110 @@ dependencies:
|
|
137
157
|
requirements:
|
138
158
|
- - ">="
|
139
159
|
- !ruby/object:Gem::Version
|
140
|
-
version: 0.
|
160
|
+
version: 0.16.1
|
141
161
|
- - "<"
|
142
162
|
- !ruby/object:Gem::Version
|
143
163
|
version: '2'
|
144
164
|
- !ruby/object:Gem::Dependency
|
145
|
-
name:
|
165
|
+
name: flog
|
146
166
|
requirement: !ruby/object:Gem::Requirement
|
147
167
|
requirements:
|
148
168
|
- - ">="
|
149
169
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
170
|
+
version: 4.6.2
|
151
171
|
- - "<"
|
152
172
|
- !ruby/object:Gem::Version
|
153
|
-
version: '
|
173
|
+
version: '5'
|
154
174
|
type: :development
|
155
175
|
prerelease: false
|
156
176
|
version_requirements: !ruby/object:Gem::Requirement
|
157
177
|
requirements:
|
158
178
|
- - ">="
|
159
179
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
180
|
+
version: 4.6.2
|
161
181
|
- - "<"
|
162
182
|
- !ruby/object:Gem::Version
|
163
|
-
version: '
|
183
|
+
version: '5'
|
164
184
|
- !ruby/object:Gem::Dependency
|
165
|
-
name:
|
185
|
+
name: flay
|
166
186
|
requirement: !ruby/object:Gem::Requirement
|
167
187
|
requirements:
|
168
188
|
- - ">="
|
169
189
|
- !ruby/object:Gem::Version
|
170
|
-
version:
|
190
|
+
version: 2.12.0
|
171
191
|
- - "<"
|
172
192
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
193
|
+
version: '3'
|
174
194
|
type: :development
|
175
195
|
prerelease: false
|
176
196
|
version_requirements: !ruby/object:Gem::Requirement
|
177
197
|
requirements:
|
178
198
|
- - ">="
|
179
199
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
200
|
+
version: 2.12.0
|
181
201
|
- - "<"
|
182
202
|
- !ruby/object:Gem::Version
|
183
|
-
version: '
|
203
|
+
version: '3'
|
204
|
+
- !ruby/object:Gem::Dependency
|
205
|
+
name: reek
|
206
|
+
requirement: !ruby/object:Gem::Requirement
|
207
|
+
requirements:
|
208
|
+
- - ">="
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: 4.8.1
|
211
|
+
- - "<"
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '5'
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - ">="
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: 4.8.1
|
221
|
+
- - "<"
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: '5'
|
224
|
+
- !ruby/object:Gem::Dependency
|
225
|
+
name: rubycritic
|
226
|
+
requirement: !ruby/object:Gem::Requirement
|
227
|
+
requirements:
|
228
|
+
- - ">="
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: 3.4.0
|
231
|
+
- - "<"
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
version: '4'
|
234
|
+
type: :development
|
235
|
+
prerelease: false
|
236
|
+
version_requirements: !ruby/object:Gem::Requirement
|
237
|
+
requirements:
|
238
|
+
- - ">="
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: 3.4.0
|
241
|
+
- - "<"
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '4'
|
244
|
+
- !ruby/object:Gem::Dependency
|
245
|
+
name: rubocop
|
246
|
+
requirement: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: 0.57.2
|
251
|
+
- - "<"
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '1'
|
254
|
+
type: :development
|
255
|
+
prerelease: false
|
256
|
+
version_requirements: !ruby/object:Gem::Requirement
|
257
|
+
requirements:
|
258
|
+
- - ">="
|
259
|
+
- !ruby/object:Gem::Version
|
260
|
+
version: 0.57.2
|
261
|
+
- - "<"
|
262
|
+
- !ruby/object:Gem::Version
|
263
|
+
version: '1'
|
184
264
|
description: Migration helper extensions for Ruby On Rails development
|
185
265
|
email: sixarm@sixarm.com
|
186
266
|
executables: []
|
@@ -207,7 +287,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
207
287
|
requirements:
|
208
288
|
- - ">="
|
209
289
|
- !ruby/object:Gem::Version
|
210
|
-
version: '2.
|
290
|
+
version: '2.5'
|
211
291
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
292
|
requirements:
|
213
293
|
- - ">="
|
metadata.gz.sig
CHANGED
Binary file
|