minitest_to_rspec 0.7.0 → 0.7.1
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 +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +6 -0
- data/.rubocop_todo.yml +279 -0
- data/CHANGELOG.md +15 -0
- data/README.md +14 -14
- data/Rakefile +7 -1
- data/lib/minitest_to_rspec/version.rb +1 -1
- data/minitest_to_rspec.gemspec +3 -4
- metadata +24 -10
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a44d60bad5a0cb758c25862d1737497fa1c7efe9
|
|
4
|
+
data.tar.gz: 406146633e3d0abefe4f02e88b0c1d48233f2e53
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da5f6a050e22ae6a74e9f7366cd7576a9d0ab297814aa9fa3426d8d663d3c0775744deb722870cade29b7841634d33477895c8f48bac9a3926929780fd753dbb
|
|
7
|
+
data.tar.gz: 573d6aa172492ab68373a441480eb0a2b65396c4c994193b91a84f48047c2db33c4238b4610d5415c90a611ddaf86015828452eaa29fb932edf0fb21fe34d777
|
data/.gitignore
CHANGED
data/.rubocop.yml
ADDED
data/.rubocop_todo.yml
ADDED
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
# This configuration was generated by
|
|
2
|
+
# `rubocop --auto-gen-config`
|
|
3
|
+
# on 2016-08-09 12:46:17 -0400 using RuboCop version 0.42.0.
|
|
4
|
+
# The point is for the user to remove these configuration records
|
|
5
|
+
# one by one as the offenses are removed from the code base.
|
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
|
8
|
+
|
|
9
|
+
# Offense count: 1
|
|
10
|
+
Lint/AmbiguousRegexpLiteral:
|
|
11
|
+
Exclude:
|
|
12
|
+
- 'spec/fixtures/07_assert_match/in.rb'
|
|
13
|
+
|
|
14
|
+
# Offense count: 1
|
|
15
|
+
Lint/Void:
|
|
16
|
+
Exclude:
|
|
17
|
+
- 'spec/fixtures/17_expects/out.rb'
|
|
18
|
+
|
|
19
|
+
# Offense count: 2
|
|
20
|
+
# Configuration parameters: CountComments.
|
|
21
|
+
Metrics/ClassLength:
|
|
22
|
+
Max: 241
|
|
23
|
+
|
|
24
|
+
# Offense count: 5
|
|
25
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
|
|
26
|
+
# URISchemes: http, https
|
|
27
|
+
Metrics/LineLength:
|
|
28
|
+
Max: 92
|
|
29
|
+
|
|
30
|
+
# Offense count: 3
|
|
31
|
+
# Configuration parameters: CountComments.
|
|
32
|
+
Metrics/MethodLength:
|
|
33
|
+
Max: 18
|
|
34
|
+
|
|
35
|
+
# Offense count: 3
|
|
36
|
+
# Configuration parameters: CountComments.
|
|
37
|
+
Metrics/ModuleLength:
|
|
38
|
+
Max: 282
|
|
39
|
+
|
|
40
|
+
# Offense count: 1
|
|
41
|
+
# Cop supports --auto-correct.
|
|
42
|
+
Performance/StringReplacement:
|
|
43
|
+
Exclude:
|
|
44
|
+
- 'lib/minitest_to_rspec/cli.rb'
|
|
45
|
+
|
|
46
|
+
# Offense count: 11
|
|
47
|
+
# Cop supports --auto-correct.
|
|
48
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
|
49
|
+
# SupportedStyles: with_first_parameter, with_fixed_indentation
|
|
50
|
+
Style/AlignParameters:
|
|
51
|
+
Exclude:
|
|
52
|
+
- 'lib/minitest_to_rspec/subprocessors/call.rb'
|
|
53
|
+
- 'spec/lib/subprocessors/klass_spec.rb'
|
|
54
|
+
|
|
55
|
+
# Offense count: 6
|
|
56
|
+
Style/AsciiIdentifiers:
|
|
57
|
+
Exclude:
|
|
58
|
+
- 'spec/fixtures/16_stabby_lambda/in.rb'
|
|
59
|
+
- 'spec/fixtures/16_stabby_lambda/out.rb'
|
|
60
|
+
|
|
61
|
+
# Offense count: 18
|
|
62
|
+
# Cop supports --auto-correct.
|
|
63
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
|
|
64
|
+
# SupportedStyles: line_count_based, semantic, braces_for_chaining
|
|
65
|
+
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
|
66
|
+
# FunctionalMethods: let, let!, subject, watch
|
|
67
|
+
# IgnoredMethods: lambda, proc, it
|
|
68
|
+
Style/BlockDelimiters:
|
|
69
|
+
Exclude:
|
|
70
|
+
- 'lib/minitest_to_rspec/model/iter.rb'
|
|
71
|
+
- 'lib/minitest_to_rspec/model/klass.rb'
|
|
72
|
+
- 'lib/minitest_to_rspec/subprocessors/call.rb'
|
|
73
|
+
- 'lib/minitest_to_rspec/subprocessors/iter.rb'
|
|
74
|
+
- 'spec/lib/cli_spec.rb'
|
|
75
|
+
- 'spec/lib/model/call_spec.rb'
|
|
76
|
+
- 'spec/lib/sexp_assertions_spec.rb'
|
|
77
|
+
- 'spec/lib/subprocessors/call_spec.rb'
|
|
78
|
+
- 'spec/lib/subprocessors/iter_spec.rb'
|
|
79
|
+
- 'spec/lib/subprocessors/klass_spec.rb'
|
|
80
|
+
|
|
81
|
+
# Offense count: 16
|
|
82
|
+
# Cop supports --auto-correct.
|
|
83
|
+
Style/ClosingParenthesisIndentation:
|
|
84
|
+
Exclude:
|
|
85
|
+
- 'lib/minitest_to_rspec/subprocessors/base.rb'
|
|
86
|
+
- 'lib/minitest_to_rspec/subprocessors/call.rb'
|
|
87
|
+
- 'lib/minitest_to_rspec/subprocessors/iter.rb'
|
|
88
|
+
- 'spec/lib/subprocessors/base_spec.rb'
|
|
89
|
+
- 'spec/lib/subprocessors/call_spec.rb'
|
|
90
|
+
- 'spec/lib/subprocessors/klass_spec.rb'
|
|
91
|
+
|
|
92
|
+
# Offense count: 9
|
|
93
|
+
Style/Documentation:
|
|
94
|
+
Exclude:
|
|
95
|
+
- 'spec/**/*'
|
|
96
|
+
- 'test/**/*'
|
|
97
|
+
- 'lib/minitest_to_rspec.rb'
|
|
98
|
+
- 'lib/minitest_to_rspec/cli.rb'
|
|
99
|
+
- 'lib/minitest_to_rspec/converter.rb'
|
|
100
|
+
- 'lib/minitest_to_rspec/errors.rb'
|
|
101
|
+
- 'lib/minitest_to_rspec/processor.rb'
|
|
102
|
+
- 'lib/minitest_to_rspec/subprocessors/base.rb'
|
|
103
|
+
- 'lib/minitest_to_rspec/subprocessors/call.rb'
|
|
104
|
+
- 'lib/minitest_to_rspec/subprocessors/iter.rb'
|
|
105
|
+
- 'lib/minitest_to_rspec/subprocessors/klass.rb'
|
|
106
|
+
|
|
107
|
+
# Offense count: 7
|
|
108
|
+
# Cop supports --auto-correct.
|
|
109
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
110
|
+
# SupportedStyles: leading, trailing
|
|
111
|
+
Style/DotPosition:
|
|
112
|
+
Exclude:
|
|
113
|
+
- 'lib/minitest_to_rspec/cli.rb'
|
|
114
|
+
- 'lib/minitest_to_rspec/model/call.rb'
|
|
115
|
+
- 'lib/minitest_to_rspec/model/calls/returns.rb'
|
|
116
|
+
|
|
117
|
+
# Offense count: 5
|
|
118
|
+
# Cop supports --auto-correct.
|
|
119
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
120
|
+
# SupportedStyles: empty_lines, no_empty_lines
|
|
121
|
+
Style/EmptyLinesAroundBlockBody:
|
|
122
|
+
Exclude:
|
|
123
|
+
- 'spec/lib/converter_spec.rb'
|
|
124
|
+
- 'spec/lib/model/calls/returns_spec.rb'
|
|
125
|
+
- 'spec/lib/subprocessors/call_spec.rb'
|
|
126
|
+
- 'spec/lib/subprocessors/klass_spec.rb'
|
|
127
|
+
|
|
128
|
+
# Offense count: 2
|
|
129
|
+
# Cop supports --auto-correct.
|
|
130
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
131
|
+
# SupportedStyles: empty_lines, no_empty_lines
|
|
132
|
+
Style/EmptyLinesAroundClassBody:
|
|
133
|
+
Exclude:
|
|
134
|
+
- 'lib/minitest_to_rspec/subprocessors/call.rb'
|
|
135
|
+
- 'lib/minitest_to_rspec/subprocessors/klass.rb'
|
|
136
|
+
|
|
137
|
+
# Offense count: 8
|
|
138
|
+
# Cop supports --auto-correct.
|
|
139
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
140
|
+
# SupportedStyles: empty_lines, no_empty_lines
|
|
141
|
+
Style/EmptyLinesAroundModuleBody:
|
|
142
|
+
Exclude:
|
|
143
|
+
- 'lib/minitest_to_rspec/model/base.rb'
|
|
144
|
+
- 'lib/minitest_to_rspec/model/call.rb'
|
|
145
|
+
- 'lib/minitest_to_rspec/model/calls/returns.rb'
|
|
146
|
+
- 'lib/minitest_to_rspec/model/hash_exp.rb'
|
|
147
|
+
- 'lib/minitest_to_rspec/model/iter.rb'
|
|
148
|
+
- 'lib/minitest_to_rspec/model/klass.rb'
|
|
149
|
+
- 'lib/minitest_to_rspec/sexp_assertions.rb'
|
|
150
|
+
- 'spec/lib/sexp_assertions_spec.rb'
|
|
151
|
+
|
|
152
|
+
# Offense count: 10
|
|
153
|
+
# Cop supports --auto-correct.
|
|
154
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
|
155
|
+
# SupportedStyles: consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
|
|
156
|
+
Style/FirstParameterIndentation:
|
|
157
|
+
Exclude:
|
|
158
|
+
- 'spec/lib/subprocessors/call_spec.rb'
|
|
159
|
+
- 'spec/lib/subprocessors/klass_spec.rb'
|
|
160
|
+
|
|
161
|
+
# Offense count: 73
|
|
162
|
+
# Cop supports --auto-correct.
|
|
163
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
164
|
+
# SupportedStyles: when_needed, always
|
|
165
|
+
Style/FrozenStringLiteralComment:
|
|
166
|
+
Enabled: false
|
|
167
|
+
|
|
168
|
+
# Offense count: 1
|
|
169
|
+
# Configuration parameters: MinBodyLength.
|
|
170
|
+
Style/GuardClause:
|
|
171
|
+
Enabled: false
|
|
172
|
+
|
|
173
|
+
# Offense count: 1
|
|
174
|
+
# Cop supports --auto-correct.
|
|
175
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
|
176
|
+
# SupportedStyles: ruby19, ruby19_no_mixed_keys, hash_rockets
|
|
177
|
+
Style/HashSyntax:
|
|
178
|
+
Exclude:
|
|
179
|
+
- 'Rakefile'
|
|
180
|
+
|
|
181
|
+
# Offense count: 3
|
|
182
|
+
# Cop supports --auto-correct.
|
|
183
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
184
|
+
# SupportedStyles: line_count_dependent, lambda, literal
|
|
185
|
+
Style/Lambda:
|
|
186
|
+
Exclude:
|
|
187
|
+
- 'spec/fixtures/16_stabby_lambda/out.rb'
|
|
188
|
+
- 'spec/lib/subprocessors/call_spec.rb'
|
|
189
|
+
- 'spec/lib/subprocessors/iter_spec.rb'
|
|
190
|
+
|
|
191
|
+
# Offense count: 15
|
|
192
|
+
# Cop supports --auto-correct.
|
|
193
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
194
|
+
# SupportedStyles: symmetrical, new_line, same_line
|
|
195
|
+
Style/MultilineMethodCallBraceLayout:
|
|
196
|
+
Exclude:
|
|
197
|
+
- 'lib/minitest_to_rspec/subprocessors/base.rb'
|
|
198
|
+
- 'lib/minitest_to_rspec/subprocessors/call.rb'
|
|
199
|
+
- 'lib/minitest_to_rspec/subprocessors/iter.rb'
|
|
200
|
+
- 'spec/lib/subprocessors/base_spec.rb'
|
|
201
|
+
- 'spec/lib/subprocessors/call_spec.rb'
|
|
202
|
+
- 'spec/lib/subprocessors/klass_spec.rb'
|
|
203
|
+
|
|
204
|
+
# Offense count: 6
|
|
205
|
+
# Cop supports --auto-correct.
|
|
206
|
+
Style/MutableConstant:
|
|
207
|
+
Exclude:
|
|
208
|
+
- 'lib/minitest_to_rspec/cli.rb'
|
|
209
|
+
- 'lib/minitest_to_rspec/converter.rb'
|
|
210
|
+
- 'lib/minitest_to_rspec/errors.rb'
|
|
211
|
+
- 'lib/minitest_to_rspec/model/calls/returns.rb'
|
|
212
|
+
- 'lib/minitest_to_rspec/subprocessors/call.rb'
|
|
213
|
+
- 'spec/lib/converter_spec.rb'
|
|
214
|
+
|
|
215
|
+
# Offense count: 4
|
|
216
|
+
# Cop supports --auto-correct.
|
|
217
|
+
# Configuration parameters: PreferredDelimiters.
|
|
218
|
+
Style/PercentLiteralDelimiters:
|
|
219
|
+
Exclude:
|
|
220
|
+
- 'lib/minitest_to_rspec/converter.rb'
|
|
221
|
+
- 'lib/minitest_to_rspec/model/calls/returns.rb'
|
|
222
|
+
- 'lib/minitest_to_rspec/subprocessors/call.rb'
|
|
223
|
+
|
|
224
|
+
# Offense count: 5
|
|
225
|
+
# Cop supports --auto-correct.
|
|
226
|
+
Style/RedundantFreeze:
|
|
227
|
+
Exclude:
|
|
228
|
+
- 'lib/minitest_to_rspec/cli.rb'
|
|
229
|
+
|
|
230
|
+
# Offense count: 1
|
|
231
|
+
# Cop supports --auto-correct.
|
|
232
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
233
|
+
# SupportedStyles: only_raise, only_fail, semantic
|
|
234
|
+
Style/SignalException:
|
|
235
|
+
Exclude:
|
|
236
|
+
- 'spec/lib/cli_spec.rb'
|
|
237
|
+
|
|
238
|
+
# Offense count: 1
|
|
239
|
+
# Cop supports --auto-correct.
|
|
240
|
+
# Configuration parameters: SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
|
241
|
+
# SupportedStyles: space, no_space
|
|
242
|
+
Style/SpaceInsideBlockBraces:
|
|
243
|
+
EnforcedStyle: space
|
|
244
|
+
|
|
245
|
+
# Offense count: 1
|
|
246
|
+
# Cop supports --auto-correct.
|
|
247
|
+
Style/SpaceInsideParens:
|
|
248
|
+
Exclude:
|
|
249
|
+
- 'lib/minitest_to_rspec/subprocessors/call.rb'
|
|
250
|
+
|
|
251
|
+
# Offense count: 383
|
|
252
|
+
# Cop supports --auto-correct.
|
|
253
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
|
|
254
|
+
# SupportedStyles: single_quotes, double_quotes
|
|
255
|
+
Style/StringLiterals:
|
|
256
|
+
Enabled: false
|
|
257
|
+
|
|
258
|
+
# Offense count: 1
|
|
259
|
+
# Cop supports --auto-correct.
|
|
260
|
+
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
|
|
261
|
+
# SupportedStyles: comma, consistent_comma, no_comma
|
|
262
|
+
Style/TrailingCommaInArguments:
|
|
263
|
+
Exclude:
|
|
264
|
+
- 'lib/minitest_to_rspec/subprocessors/call.rb'
|
|
265
|
+
|
|
266
|
+
# Offense count: 2
|
|
267
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
268
|
+
# SupportedStyles: snake_case, camelCase
|
|
269
|
+
Style/VariableName:
|
|
270
|
+
Exclude:
|
|
271
|
+
- 'spec/fixtures/16_stabby_lambda/in.rb'
|
|
272
|
+
- 'spec/fixtures/16_stabby_lambda/out.rb'
|
|
273
|
+
|
|
274
|
+
# Offense count: 1
|
|
275
|
+
# Cop supports --auto-correct.
|
|
276
|
+
# Configuration parameters: MaxLineLength.
|
|
277
|
+
Style/WhileUntilModifier:
|
|
278
|
+
Exclude:
|
|
279
|
+
- 'lib/minitest_to_rspec/subprocessors/iter.rb'
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,21 @@ Change Log
|
|
|
4
4
|
This project follows [semver 2.0.0][1] and the recommendations
|
|
5
5
|
of [keepachangelog.com][2].
|
|
6
6
|
|
|
7
|
+
0.7.1
|
|
8
|
+
-----
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
None
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
None
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Update sexp2ruby to 0.0.4 (was 0.0.3)
|
|
21
|
+
|
|
7
22
|
0.7.0
|
|
8
23
|
-----
|
|
9
24
|
|
data/README.md
CHANGED
|
@@ -9,8 +9,7 @@ Converts [minitest][8] files to [rspec][9].
|
|
|
9
9
|
- Selected methods from [mocha][28] are converted to [rspec-mocks][24].
|
|
10
10
|
(Experimental)
|
|
11
11
|
|
|
12
|
-
Example
|
|
13
|
-
-------
|
|
12
|
+
## Example
|
|
14
13
|
|
|
15
14
|
Input:
|
|
16
15
|
|
|
@@ -38,14 +37,19 @@ RSpec.describe Array do
|
|
|
38
37
|
end
|
|
39
38
|
```
|
|
40
39
|
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
## Install
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
gem install minitest_to_rspec
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Usage
|
|
43
47
|
|
|
44
48
|
### CLI
|
|
45
49
|
|
|
46
50
|
```bash
|
|
47
|
-
|
|
48
|
-
|
|
51
|
+
mt2rspec [--rails] [--mocha] source_file [target_file]
|
|
52
|
+
mt2rspec --help
|
|
49
53
|
```
|
|
50
54
|
|
|
51
55
|
### Ruby
|
|
@@ -57,8 +61,7 @@ converter.convert("assert('banana')")
|
|
|
57
61
|
#=> "expect(\"banana\").to(be_truthy)"
|
|
58
62
|
```
|
|
59
63
|
|
|
60
|
-
Output
|
|
61
|
-
------
|
|
64
|
+
## Output
|
|
62
65
|
|
|
63
66
|
The primary goal is correctness, but [code style][34] is also important. To
|
|
64
67
|
allow us to configure our output, we use [sexp2ruby][33] instead of
|
|
@@ -68,8 +71,7 @@ use of them.
|
|
|
68
71
|
Comments are discarded by [ruby_parser][14], so we have no way of
|
|
69
72
|
preserving them.
|
|
70
73
|
|
|
71
|
-
Supported Assertions
|
|
72
|
-
--------------------
|
|
74
|
+
## Supported Assertions
|
|
73
75
|
|
|
74
76
|
Selected assertions from [minitest][8], [Test::Unit][26], and
|
|
75
77
|
[ActiveSupport][27]. See [doc/supported_assertions.md][5] for rationale.
|
|
@@ -91,8 +93,7 @@ assert_not_nil | |
|
|
|
91
93
|
refute | |
|
|
92
94
|
refute_equal | |
|
|
93
95
|
|
|
94
|
-
Supported Mocha
|
|
95
|
-
---------------
|
|
96
|
+
## Supported Mocha
|
|
96
97
|
|
|
97
98
|
Mocha | Arity | Block | Notes
|
|
98
99
|
--------------------- | ----- | ----- | -------
|
|
@@ -106,8 +107,7 @@ Mocha | Arity | Block | Notes
|
|
|
106
107
|
|
|
107
108
|
To do: [at_least, never, raises, etc.][30]
|
|
108
109
|
|
|
109
|
-
Acknowledgements
|
|
110
|
-
----------------
|
|
110
|
+
## Acknowledgements
|
|
111
111
|
|
|
112
112
|
This project would not be possible without [ruby_parser][14],
|
|
113
113
|
[sexp_processor][15], and [ruby2ruby][16] by [Ryan Davis][17].
|
data/Rakefile
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
require 'cane/rake_task'
|
|
2
2
|
require 'rspec/core/rake_task'
|
|
3
|
+
require 'rubocop/rake_task'
|
|
4
|
+
|
|
5
|
+
RuboCop::RakeTask.new
|
|
3
6
|
|
|
4
7
|
desc 'Check quality metrics'
|
|
5
8
|
Cane::RakeTask.new(:quality) do |cane|
|
|
@@ -16,4 +19,7 @@ RSpec::Core::RakeTask.new(:spec) do |t|
|
|
|
16
19
|
t.verbose = false
|
|
17
20
|
end
|
|
18
21
|
|
|
19
|
-
task
|
|
22
|
+
# Default task: lint then test
|
|
23
|
+
task default: [] # in case it hasn't been set
|
|
24
|
+
Rake::Task[:default].clear
|
|
25
|
+
task default: [:rubocop, :quality, :spec]
|
data/minitest_to_rspec.gemspec
CHANGED
|
@@ -12,9 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
|
|
13
13
|
spec.summary = "Converts minitest files to rspec"
|
|
14
14
|
spec.description = <<-EOS
|
|
15
|
-
A command-line tool for converting minitest files to rspec.
|
|
16
|
-
Ryan Davis' excellent libraries: ruby_parser, sexp_processor, and
|
|
17
|
-
ruby2ruby.
|
|
15
|
+
A command-line tool for converting minitest files to rspec.
|
|
18
16
|
EOS
|
|
19
17
|
spec.homepage = "https://github.com/jaredbeck/minitest_to_rspec"
|
|
20
18
|
spec.license = "MIT"
|
|
@@ -26,7 +24,7 @@ ruby2ruby.
|
|
|
26
24
|
spec.required_ruby_version = ">= 2.0.0"
|
|
27
25
|
|
|
28
26
|
spec.add_runtime_dependency "ruby_parser", "~> 3.7"
|
|
29
|
-
spec.add_runtime_dependency "sexp2ruby", "~> 0.0.
|
|
27
|
+
spec.add_runtime_dependency "sexp2ruby", "~> 0.0.4"
|
|
30
28
|
spec.add_runtime_dependency "trollop", "~> 2.1"
|
|
31
29
|
|
|
32
30
|
spec.add_development_dependency "bundler", "~> 1.7"
|
|
@@ -34,6 +32,7 @@ ruby2ruby.
|
|
|
34
32
|
spec.add_development_dependency "codeclimate-test-reporter", "~> 0.4.7"
|
|
35
33
|
spec.add_development_dependency "rake", "~> 10.4"
|
|
36
34
|
spec.add_development_dependency "rspec", "~> 3.2"
|
|
35
|
+
spec.add_development_dependency "rubocop", "~> 0.42.0"
|
|
37
36
|
spec.add_development_dependency "pry", "~> 0.10.1"
|
|
38
37
|
spec.add_development_dependency "pry-nav", "~> 0.2.4"
|
|
39
38
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: minitest_to_rspec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jared Beck
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-08-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ruby_parser
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.0.
|
|
33
|
+
version: 0.0.4
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.0.
|
|
40
|
+
version: 0.0.4
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: trollop
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -122,6 +122,20 @@ dependencies:
|
|
|
122
122
|
- - "~>"
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: '3.2'
|
|
125
|
+
- !ruby/object:Gem::Dependency
|
|
126
|
+
name: rubocop
|
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
|
128
|
+
requirements:
|
|
129
|
+
- - "~>"
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: 0.42.0
|
|
132
|
+
type: :development
|
|
133
|
+
prerelease: false
|
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
- - "~>"
|
|
137
|
+
- !ruby/object:Gem::Version
|
|
138
|
+
version: 0.42.0
|
|
125
139
|
- !ruby/object:Gem::Dependency
|
|
126
140
|
name: pry
|
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -150,10 +164,9 @@ dependencies:
|
|
|
150
164
|
- - "~>"
|
|
151
165
|
- !ruby/object:Gem::Version
|
|
152
166
|
version: 0.2.4
|
|
153
|
-
description:
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
ruby2ruby.
|
|
167
|
+
description: 'A command-line tool for converting minitest files to rspec.
|
|
168
|
+
|
|
169
|
+
'
|
|
157
170
|
email:
|
|
158
171
|
- jared@jaredbeck.com
|
|
159
172
|
executables:
|
|
@@ -162,7 +175,8 @@ extensions: []
|
|
|
162
175
|
extra_rdoc_files: []
|
|
163
176
|
files:
|
|
164
177
|
- ".gitignore"
|
|
165
|
-
- ".
|
|
178
|
+
- ".rubocop.yml"
|
|
179
|
+
- ".rubocop_todo.yml"
|
|
166
180
|
- ".travis.yml"
|
|
167
181
|
- CHANGELOG.md
|
|
168
182
|
- CODE_OF_CONDUCT.md
|
|
@@ -216,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
216
230
|
version: '0'
|
|
217
231
|
requirements: []
|
|
218
232
|
rubyforge_project:
|
|
219
|
-
rubygems_version: 2.
|
|
233
|
+
rubygems_version: 2.5.1
|
|
220
234
|
signing_key:
|
|
221
235
|
specification_version: 4
|
|
222
236
|
summary: Converts minitest files to rspec
|
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.2.1
|