transpec 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.rubocop.yml +1 -0
- data/.travis.yml +1 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +2 -0
- data/README.md +11 -12
- data/README.md.erb +11 -12
- data/lib/transpec/base_rewriter.rb +1 -1
- data/lib/transpec/cli.rb +2 -2
- data/lib/transpec/dynamic_analyzer/rewriter.rb +0 -5
- data/lib/transpec/parser.rb +9 -0
- data/lib/transpec/rspec_dsl.rb +20 -0
- data/lib/transpec/static_context_inspector.rb +2 -1
- data/lib/transpec/syntax/example.rb +2 -1
- data/lib/transpec/syntax/its.rb +1 -1
- data/lib/transpec/syntax/mixin/expectizable.rb +1 -1
- data/lib/transpec/syntax/oneliner_should.rb +2 -1
- data/lib/transpec/syntax/operator_matcher.rb +1 -1
- data/lib/transpec/util.rb +6 -16
- data/lib/transpec/version.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/spec/support/shared_context.rb +1 -1
- data/spec/transpec/static_context_inspector_spec.rb +1 -0
- data/spec/transpec/syntax/example_spec.rb +2 -2
- data/spec/transpec/syntax/its_spec.rb +8 -8
- data/spec/transpec/util_spec.rb +1 -0
- data/tasks/demo.rake +2 -2
- data/tasks/lib/transpec_demo.rb +1 -1
- data/tasks/lib/transpec_test.rb +1 -1
- data/tasks/test.rake +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b8de9ebab18fff6380696a3a783ccf4ce9ed8af
|
4
|
+
data.tar.gz: e193341f8e9614397330090af1eff772a5efe427
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a77f0a729eb8d00145ff1b0c2af16d4ddb86e4187391077ff63a96be47ffebf7d9c641c43ef9c99250f99a89808c1e039d031b6bf109cf6e6bbaea2411b47e6
|
7
|
+
data.tar.gz: a98eb793b1d027164f716938ddec92f5ed2f70a19363fbe0a66d537d872f2e2f4d405f0dd246bada22a965366fecbb4943ffaf76b5ff04f175f7c8a8e31a13a0
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -122,7 +122,7 @@ Then, run `transpec` (using `-m/--generate-commit-message` is recommended) in th
|
|
122
122
|
```bash
|
123
123
|
$ cd some-project
|
124
124
|
$ transpec -m
|
125
|
-
Copying project for dynamic analysis...
|
125
|
+
Copying the project for dynamic analysis...
|
126
126
|
Running dynamic analysis with command "bundle exec rspec"...
|
127
127
|
...............................................................................
|
128
128
|
...................
|
@@ -139,17 +139,16 @@ Converting spec/transpec/ast/node_spec.rb
|
|
139
139
|
|
140
140
|
This will run the specs, convert them, and overwrite all spec files in the `spec` directory.
|
141
141
|
|
142
|
-
After the conversion, run `rspec` again and check whether
|
142
|
+
After the conversion, run `rspec` again and check whether everything is green:
|
143
143
|
|
144
144
|
```bash
|
145
145
|
$ bundle exec rspec
|
146
146
|
```
|
147
147
|
|
148
|
-
If
|
148
|
+
If it's green, commit the changes with auto-generated message:
|
149
149
|
|
150
150
|
```bash
|
151
|
-
$ git
|
152
|
-
$ git commit -eF .git/COMMIT_EDITMSG
|
151
|
+
$ git commit -aeF .git/COMMIT_EDITMSG
|
153
152
|
```
|
154
153
|
|
155
154
|
And you are done!
|
@@ -182,19 +181,19 @@ Skip dynamic analysis and convert with only static analysis. Note that specifyin
|
|
182
181
|
|
183
182
|
### `-c/--rspec-command`
|
184
183
|
|
185
|
-
Specify command to run RSpec that is used for dynamic analysis.
|
184
|
+
Specify a command to run RSpec that is used for dynamic analysis.
|
186
185
|
|
187
186
|
Transpec needs to run your specs in a copied project directory for dynamic analysis.
|
188
|
-
If your project requires some special
|
187
|
+
If your project requires some special setups or commands to run specs, use this option.
|
189
188
|
`bundle exec rspec` is used by default.
|
190
189
|
|
191
190
|
```bash
|
192
|
-
$ transpec --rspec-command "./
|
191
|
+
$ transpec --rspec-command "./special_setup.sh && bundle exec rspec"
|
193
192
|
```
|
194
193
|
|
195
194
|
### `-m/--generate-commit-message`
|
196
195
|
|
197
|
-
Generate commit message that describes conversion summary.
|
196
|
+
Generate a commit message that describes conversion summary.
|
198
197
|
Currently only Git is supported.
|
199
198
|
|
200
199
|
When you commit, you need to run the following command to use the generated message:
|
@@ -227,7 +226,7 @@ See [Supported Conversions](#supported-conversions) for more details.
|
|
227
226
|
|
228
227
|
### `-n/--negative-form`
|
229
228
|
|
230
|
-
Specify negative form of `to` that is used in the `expect` syntax.
|
229
|
+
Specify a negative form of `to` that is used in the `expect` syntax.
|
231
230
|
Either `not_to` or `to_not`.
|
232
231
|
`not_to` is used by default.
|
233
232
|
|
@@ -375,7 +374,7 @@ it { is_expected.to_not matcher } # with `--negative-form to_not`
|
|
375
374
|
|
376
375
|
`is_expected.to` is designed for the consistency with the `expect` syntax.
|
377
376
|
However the one-liner `should` is still _not_ deprecated in RSpec 3.0
|
378
|
-
and available even if the `should` syntax is disabled
|
377
|
+
and available even if the `should` syntax is disabled with `RSpec.configure`.
|
379
378
|
So if you think `is_expected.to` is verbose,
|
380
379
|
feel free to disable this conversion and continue using the one-liner `should`.
|
381
380
|
|
@@ -433,7 +432,7 @@ expect(obj).to be false
|
|
433
432
|
* `be_truthy` and `be_falsey` matchers are renamed version of `be_true` and `be_false` and their behaviors are same.
|
434
433
|
* `be true` and `be false` are not new things. These are combinations of `be` matcher and boolean literals. These pass if expectation subject is exactly equal to boolean value.
|
435
434
|
|
436
|
-
So, converting `be_true`/`be_false` to `be_truthy`/`be_falsey` never breaks your specs and this is the Transpec's default. If you are willing to test boolean values strictly, you can convert them to `be true`/`be false` with `--boolean-matcher true,false` option. Note that this may break your specs if your
|
435
|
+
So, converting `be_true`/`be_false` to `be_truthy`/`be_falsey` never breaks your specs and this is the Transpec's default. If you are willing to test boolean values strictly, you can convert them to `be true`/`be false` with `--boolean-matcher true,false` option. Note that this may break your specs if your application codes don't return exact boolean values.
|
437
436
|
|
438
437
|
---
|
439
438
|
|
data/README.md.erb
CHANGED
@@ -95,7 +95,7 @@ Then, run `transpec` (using `-m/--generate-commit-message` is recommended) in th
|
|
95
95
|
```bash
|
96
96
|
$ cd some-project
|
97
97
|
$ transpec -m
|
98
|
-
Copying project for dynamic analysis...
|
98
|
+
Copying the project for dynamic analysis...
|
99
99
|
Running dynamic analysis with command "bundle exec rspec"...
|
100
100
|
...............................................................................
|
101
101
|
...................
|
@@ -112,17 +112,16 @@ Converting spec/transpec/ast/node_spec.rb
|
|
112
112
|
|
113
113
|
This will run the specs, convert them, and overwrite all spec files in the `spec` directory.
|
114
114
|
|
115
|
-
After the conversion, run `rspec` again and check whether
|
115
|
+
After the conversion, run `rspec` again and check whether everything is green:
|
116
116
|
|
117
117
|
```bash
|
118
118
|
$ bundle exec rspec
|
119
119
|
```
|
120
120
|
|
121
|
-
If
|
121
|
+
If it's green, commit the changes with auto-generated message:
|
122
122
|
|
123
123
|
```bash
|
124
|
-
$ git
|
125
|
-
$ git commit -eF .git/COMMIT_EDITMSG
|
124
|
+
$ git commit -aeF .git/COMMIT_EDITMSG
|
126
125
|
```
|
127
126
|
|
128
127
|
And you are done!
|
@@ -155,19 +154,19 @@ Skip dynamic analysis and convert with only static analysis. Note that specifyin
|
|
155
154
|
|
156
155
|
### `-c/--rspec-command`
|
157
156
|
|
158
|
-
Specify command to run RSpec that is used for dynamic analysis.
|
157
|
+
Specify a command to run RSpec that is used for dynamic analysis.
|
159
158
|
|
160
159
|
Transpec needs to run your specs in a copied project directory for dynamic analysis.
|
161
|
-
If your project requires some special
|
160
|
+
If your project requires some special setups or commands to run specs, use this option.
|
162
161
|
`bundle exec rspec` is used by default.
|
163
162
|
|
164
163
|
```bash
|
165
|
-
$ transpec --rspec-command "./
|
164
|
+
$ transpec --rspec-command "./special_setup.sh && bundle exec rspec"
|
166
165
|
```
|
167
166
|
|
168
167
|
### `-m/--generate-commit-message`
|
169
168
|
|
170
|
-
Generate commit message that describes conversion summary.
|
169
|
+
Generate a commit message that describes conversion summary.
|
171
170
|
Currently only Git is supported.
|
172
171
|
|
173
172
|
When you commit, you need to run the following command to use the generated message:
|
@@ -218,7 +217,7 @@ See [Supported Conversions](#supported-conversions) for more details.
|
|
218
217
|
|
219
218
|
### `-n/--negative-form`
|
220
219
|
|
221
|
-
Specify negative form of `to` that is used in the `expect` syntax.
|
220
|
+
Specify a negative form of `to` that is used in the `expect` syntax.
|
222
221
|
Either `not_to` or `to_not`.
|
223
222
|
`not_to` is used by default.
|
224
223
|
|
@@ -371,7 +370,7 @@ it { is_expected.to_not matcher } # with `--negative-form to_not`
|
|
371
370
|
|
372
371
|
`is_expected.to` is designed for the consistency with the `expect` syntax.
|
373
372
|
However the one-liner `should` is still _not_ deprecated in RSpec 3.0
|
374
|
-
and available even if the `should` syntax is disabled
|
373
|
+
and available even if the `should` syntax is disabled with `RSpec.configure`.
|
375
374
|
So if you think `is_expected.to` is verbose,
|
376
375
|
feel free to disable this conversion and continue using the one-liner `should`.
|
377
376
|
|
@@ -429,7 +428,7 @@ expect(obj).to be false
|
|
429
428
|
* `be_truthy` and `be_falsey` matchers are renamed version of `be_true` and `be_false` and their behaviors are same.
|
430
429
|
* `be true` and `be false` are not new things. These are combinations of `be` matcher and boolean literals. These pass if expectation subject is exactly equal to boolean value.
|
431
430
|
|
432
|
-
So, converting `be_true`/`be_false` to `be_truthy`/`be_falsey` never breaks your specs and this is the Transpec's default. If you are willing to test boolean values strictly, you can convert them to `be true`/`be false` with `--boolean-matcher true,false` option. Note that this may break your specs if your
|
431
|
+
So, converting `be_true`/`be_false` to `be_truthy`/`be_falsey` never breaks your specs and this is the Transpec's default. If you are willing to test boolean values strictly, you can convert them to `be true`/`be false` with `--boolean-matcher true,false` option. Note that this may break your specs if your application codes don't return exact boolean values.
|
433
432
|
|
434
433
|
---
|
435
434
|
|
data/lib/transpec/cli.rb
CHANGED
@@ -110,7 +110,7 @@ module Transpec
|
|
110
110
|
Git.write_commit_message(commit_message.to_s)
|
111
111
|
|
112
112
|
puts
|
113
|
-
puts '
|
113
|
+
puts 'A commit message was generated to .git/COMMIT_EDITMSG.'.color(:cyan)
|
114
114
|
puts 'Use the following command for the next commit:'.color(:cyan)
|
115
115
|
puts ' git commit -eF .git/COMMIT_EDITMSG'
|
116
116
|
end
|
@@ -119,7 +119,7 @@ module Transpec
|
|
119
119
|
return if @report.records.empty?
|
120
120
|
|
121
121
|
puts
|
122
|
-
puts "Done! Now run #{'rspec'.bright} and check if
|
122
|
+
puts "Done! Now run #{'rspec'.bright} and check if everything is green."
|
123
123
|
end
|
124
124
|
|
125
125
|
def warn_syntax_error(error)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
module Transpec
|
4
|
+
module RSpecDSL
|
5
|
+
EXAMPLE_GROUP_METHODS = [
|
6
|
+
:describe, :context,
|
7
|
+
:shared_examples, :shared_context, :share_examples_for, :shared_examples_for
|
8
|
+
].freeze
|
9
|
+
|
10
|
+
EXAMPLE_METHODS = [
|
11
|
+
:example, :it, :specify,
|
12
|
+
:focus, :focused, :fit,
|
13
|
+
:pending, :xexample, :xit, :xspecify
|
14
|
+
].freeze
|
15
|
+
|
16
|
+
HOOK_METHODS = [:before, :after, :around].freeze
|
17
|
+
|
18
|
+
HELPER_METHODS = [:subject, :subject!, :let, :let!].freeze
|
19
|
+
end
|
20
|
+
end
|
@@ -2,12 +2,13 @@
|
|
2
2
|
|
3
3
|
require 'transpec/syntax'
|
4
4
|
require 'transpec/syntax/mixin/send'
|
5
|
+
require 'transpec/rspec_dsl'
|
5
6
|
require 'transpec/util'
|
6
7
|
|
7
8
|
module Transpec
|
8
9
|
class Syntax
|
9
10
|
class Example < Syntax
|
10
|
-
include Mixin::Send, Util
|
11
|
+
include Mixin::Send, RSpecDSL, Util
|
11
12
|
|
12
13
|
METHODS_YIELD_EXAMPLE = (EXAMPLE_METHODS + HOOK_METHODS + HELPER_METHODS).freeze
|
13
14
|
|
data/lib/transpec/syntax/its.rb
CHANGED
@@ -114,7 +114,7 @@ module Transpec
|
|
114
114
|
if attribute_expression.brackets?
|
115
115
|
"describe '[:key]' do subject { super()[:key] }; it { } end"
|
116
116
|
else
|
117
|
-
"describe 'attr' do subject { super().attr }; it { } end"
|
117
|
+
"describe '#attr' do subject { super().attr }; it { } end"
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
@@ -4,13 +4,14 @@ require 'transpec/syntax'
|
|
4
4
|
require 'transpec/syntax/mixin/should_base'
|
5
5
|
require 'transpec/syntax/mixin/send'
|
6
6
|
require 'transpec/syntax/mixin/have_matcher'
|
7
|
+
require 'transpec/rspec_dsl'
|
7
8
|
require 'transpec/util'
|
8
9
|
require 'active_support/inflector/methods'
|
9
10
|
|
10
11
|
module Transpec
|
11
12
|
class Syntax
|
12
13
|
class OnelinerShould < Syntax
|
13
|
-
include Mixin::ShouldBase, Mixin::Send, Mixin::HaveMatcher, Util
|
14
|
+
include Mixin::ShouldBase, Mixin::Send, Mixin::HaveMatcher, RSpecDSL, Util
|
14
15
|
|
15
16
|
attr_reader :current_syntax_type
|
16
17
|
|
@@ -98,7 +98,7 @@ module Transpec
|
|
98
98
|
end
|
99
99
|
|
100
100
|
def parenthesize_single_line!(always)
|
101
|
-
if
|
101
|
+
if in_explicit_parentheses?(arg_node)
|
102
102
|
remove(range_in_between_selector_and_arg)
|
103
103
|
elsif always || arg_node.type == :hash
|
104
104
|
replace(range_in_between_selector_and_arg, '(')
|
data/lib/transpec/util.rb
CHANGED
@@ -2,21 +2,6 @@
|
|
2
2
|
|
3
3
|
module Transpec
|
4
4
|
module Util
|
5
|
-
EXAMPLE_GROUP_METHODS = %w(
|
6
|
-
describe context
|
7
|
-
shared_examples shared_context share_examples_for shared_examples_for
|
8
|
-
).map(&:to_sym).freeze
|
9
|
-
|
10
|
-
EXAMPLE_METHODS = %w(
|
11
|
-
example it specify
|
12
|
-
focus focused fit
|
13
|
-
pending xexample xit xspecify
|
14
|
-
).map(&:to_sym).freeze
|
15
|
-
|
16
|
-
HOOK_METHODS = %w(before after around).map(&:to_sym).freeze
|
17
|
-
|
18
|
-
HELPER_METHODS = %w(subject subject! let let!).map(&:to_sym).freeze
|
19
|
-
|
20
5
|
LITERAL_TYPES = %w(
|
21
6
|
true false nil
|
22
7
|
int float
|
@@ -71,12 +56,17 @@ module Transpec
|
|
71
56
|
here_document?(node) || node.each_descendent_node.any? { |n| here_document?(n) }
|
72
57
|
end
|
73
58
|
|
74
|
-
def
|
59
|
+
def in_explicit_parentheses?(node)
|
75
60
|
return false unless node.type == :begin
|
76
61
|
source = node.loc.expression.source
|
77
62
|
source[0] == '(' && source[-1] == ')'
|
78
63
|
end
|
79
64
|
|
65
|
+
def taking_block?(node)
|
66
|
+
parent_node = node.parent_node
|
67
|
+
parent_node && parent_node.type == :block && parent_node.children.first.equal?(node)
|
68
|
+
end
|
69
|
+
|
80
70
|
def indentation_of_line(arg)
|
81
71
|
line = case arg
|
82
72
|
when AST::Node then arg.loc.expression.source_line
|
data/lib/transpec/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -11,7 +11,7 @@ shared_context 'parsed objects' do
|
|
11
11
|
|
12
12
|
let(:ast) do
|
13
13
|
require 'transpec/ast/builder'
|
14
|
-
require 'parser
|
14
|
+
require 'transpec/parser'
|
15
15
|
builder = Transpec::AST::Builder.new
|
16
16
|
parser = Parser::CurrentRuby.new(builder)
|
17
17
|
parser.parse(source_buffer)
|
@@ -16,7 +16,7 @@ module Transpec
|
|
16
16
|
example_object.convert! unless example.metadata[:no_auto_convert]
|
17
17
|
end
|
18
18
|
|
19
|
-
(
|
19
|
+
(RSpecDSL::EXAMPLE_METHODS + RSpecDSL::HOOK_METHODS).each do |method|
|
20
20
|
context "when it is `#{method} do example end` form" do
|
21
21
|
let(:source) do
|
22
22
|
<<-END
|
@@ -49,7 +49,7 @@ module Transpec
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
|
52
|
+
RSpecDSL::HELPER_METHODS.each do |method|
|
53
53
|
context "when it is `#{method}(:name) do example end` form" do
|
54
54
|
let(:source) do
|
55
55
|
<<-END
|
@@ -67,9 +67,9 @@ module Transpec
|
|
67
67
|
rewritten_source.should == expected_source
|
68
68
|
end
|
69
69
|
|
70
|
-
it "adds record `its(:attr) { }` -> `describe 'attr' do subject { super().attr }; it { } end`" do
|
70
|
+
it "adds record `its(:attr) { }` -> `describe '#attr' do subject { super().attr }; it { } end`" do
|
71
71
|
record.original_syntax.should == 'its(:attr) { }'
|
72
|
-
record.converted_syntax.should == "describe 'attr' do subject { super().attr }; it { } end"
|
72
|
+
record.converted_syntax.should == "describe '#attr' do subject { super().attr }; it { } end"
|
73
73
|
end
|
74
74
|
|
75
75
|
context 'and there is no blank line before #its' do
|
@@ -164,9 +164,9 @@ module Transpec
|
|
164
164
|
rewritten_source.should == expected_source
|
165
165
|
end
|
166
166
|
|
167
|
-
it "adds record `its(:attr) { }` -> `describe 'attr' do subject { super().attr }; it { } end`" do
|
167
|
+
it "adds record `its(:attr) { }` -> `describe '#attr' do subject { super().attr }; it { } end`" do
|
168
168
|
record.original_syntax.should == 'its(:attr) { }'
|
169
|
-
record.converted_syntax.should == "describe 'attr' do subject { super().attr }; it { } end"
|
169
|
+
record.converted_syntax.should == "describe '#attr' do subject { super().attr }; it { } end"
|
170
170
|
end
|
171
171
|
end
|
172
172
|
|
@@ -201,9 +201,9 @@ module Transpec
|
|
201
201
|
rewritten_source.should == expected_source
|
202
202
|
end
|
203
203
|
|
204
|
-
it "adds record `its(:attr) { }` -> `describe 'attr' do subject { super().attr }; it { } end`" do
|
204
|
+
it "adds record `its(:attr) { }` -> `describe '#attr' do subject { super().attr }; it { } end`" do
|
205
205
|
record.original_syntax.should == 'its(:attr) { }'
|
206
|
-
record.converted_syntax.should == "describe 'attr' do subject { super().attr }; it { } end"
|
206
|
+
record.converted_syntax.should == "describe '#attr' do subject { super().attr }; it { } end"
|
207
207
|
end
|
208
208
|
end
|
209
209
|
|
@@ -347,9 +347,9 @@ module Transpec
|
|
347
347
|
rewritten_source.should == expected_source
|
348
348
|
end
|
349
349
|
|
350
|
-
it "adds record `its(:attr) { }` -> `describe 'attr' do subject { super().attr }; it { } end`" do
|
350
|
+
it "adds record `its(:attr) { }` -> `describe '#attr' do subject { super().attr }; it { } end`" do
|
351
351
|
record.original_syntax.should == 'its(:attr) { }'
|
352
|
-
record.converted_syntax.should == "describe 'attr' do subject { super().attr }; it { } end"
|
352
|
+
record.converted_syntax.should == "describe '#attr' do subject { super().attr }; it { } end"
|
353
353
|
end
|
354
354
|
end
|
355
355
|
|
data/spec/transpec/util_spec.rb
CHANGED
data/tasks/demo.rake
CHANGED
@@ -11,11 +11,11 @@ namespace :demo do
|
|
11
11
|
]
|
12
12
|
# rubocop:enable LineLength
|
13
13
|
|
14
|
-
desc '
|
14
|
+
desc 'Publish conversion example on all projects'
|
15
15
|
task all: demos.map(&:name)
|
16
16
|
|
17
17
|
demos.each do |demo|
|
18
|
-
desc "
|
18
|
+
desc "Publish conversion example on #{demo.name} project"
|
19
19
|
task demo.name do
|
20
20
|
demo.run
|
21
21
|
end
|
data/tasks/lib/transpec_demo.rb
CHANGED
data/tasks/lib/transpec_test.rb
CHANGED
data/tasks/test.rake
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transpec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuji Nakayama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parser
|
@@ -226,9 +226,11 @@ files:
|
|
226
226
|
- lib/transpec/file_finder.rb
|
227
227
|
- lib/transpec/git.rb
|
228
228
|
- lib/transpec/option_parser.rb
|
229
|
+
- lib/transpec/parser.rb
|
229
230
|
- lib/transpec/project.rb
|
230
231
|
- lib/transpec/record.rb
|
231
232
|
- lib/transpec/report.rb
|
233
|
+
- lib/transpec/rspec_dsl.rb
|
232
234
|
- lib/transpec/rspec_version.rb
|
233
235
|
- lib/transpec/static_context_inspector.rb
|
234
236
|
- lib/transpec/syntax.rb
|
@@ -318,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
318
320
|
version: '0'
|
319
321
|
requirements: []
|
320
322
|
rubyforge_project:
|
321
|
-
rubygems_version: 2.0.
|
323
|
+
rubygems_version: 2.0.14
|
322
324
|
signing_key:
|
323
325
|
specification_version: 4
|
324
326
|
summary: An RSpec syntax converter
|
@@ -359,4 +361,3 @@ test_files:
|
|
359
361
|
- spec/transpec/syntax/should_spec.rb
|
360
362
|
- spec/transpec/util_spec.rb
|
361
363
|
- spec/transpec_spec.rb
|
362
|
-
has_rdoc:
|