transpec 3.1.2 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/.rubocop_todo.yml +98 -0
- data/.travis.yml +1 -0
- data/CHANGELOG.md +4 -0
- data/README.md +2 -1
- data/README.md.erb +1 -0
- data/lib/transpec/processed_source.rb +1 -0
- data/lib/transpec/version.rb +2 -2
- data/transpec.gemspec +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: 24998882f9a56b533e6027ecb48dd839d12058a2
|
4
|
+
data.tar.gz: b1d95a3546c84a823b42215c04212aebdf56d1ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ee8237a85015f4350103edea5bd432ec7be47c06cc92f620148e048ce3ad467992742c8820fa3be7634cb0100c69a2382e0dc68395e75c87248398543652e5e
|
7
|
+
data.tar.gz: 451f3ab8aaa8fb53cd716ffc0cfb5fcc49019ef4592e9a060e0c24ab54a82caa2186d77dc0b430584dbf3d90774bf54ed5451eb3a7224ef9dff17eacf9c0d989
|
data/.rubocop.yml
CHANGED
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2016-02-06 17:34:16 +0900 using RuboCop version 0.37.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: 4
|
10
|
+
# Cop supports --auto-correct.
|
11
|
+
Lint/UnneededDisable:
|
12
|
+
Exclude:
|
13
|
+
- 'spec/transpec/dynamic_analyzer/rewriter_spec.rb'
|
14
|
+
|
15
|
+
# Offense count: 4
|
16
|
+
# Cop supports --auto-correct.
|
17
|
+
Performance/RedundantMatch:
|
18
|
+
Exclude:
|
19
|
+
- 'lib/transpec/syntax/operator.rb'
|
20
|
+
- 'lib/transpec/util.rb'
|
21
|
+
- 'spec/transpec/commit_message_spec.rb'
|
22
|
+
|
23
|
+
# Offense count: 13
|
24
|
+
# Cop supports --auto-correct.
|
25
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
26
|
+
# SupportedStyles: prefer_alias, prefer_alias_method
|
27
|
+
Style/Alias:
|
28
|
+
Exclude:
|
29
|
+
- 'lib/transpec/converter.rb'
|
30
|
+
- 'lib/transpec/dynamic_analyzer.rb'
|
31
|
+
- 'lib/transpec/record.rb'
|
32
|
+
- 'lib/transpec/static_context_inspector.rb'
|
33
|
+
- 'lib/transpec/syntax/have.rb'
|
34
|
+
- 'lib/transpec/syntax/its.rb'
|
35
|
+
- 'lib/transpec/syntax/rspec_configure.rb'
|
36
|
+
- 'lib/transpec/syntax/should_receive.rb'
|
37
|
+
|
38
|
+
# Offense count: 1
|
39
|
+
# Cop supports --auto-correct.
|
40
|
+
# Configuration parameters: SingleLineConditionsOnly.
|
41
|
+
Style/ConditionalAssignment:
|
42
|
+
Exclude:
|
43
|
+
- 'lib/transpec/syntax/method_stub.rb'
|
44
|
+
|
45
|
+
# Offense count: 2
|
46
|
+
Style/IfInsideElse:
|
47
|
+
Exclude:
|
48
|
+
- 'lib/transpec/spec_file_finder.rb'
|
49
|
+
- 'lib/transpec/syntax/method_stub.rb'
|
50
|
+
|
51
|
+
# Offense count: 2
|
52
|
+
# Cop supports --auto-correct.
|
53
|
+
# Configuration parameters: SupportedStyles, IndentationWidth.
|
54
|
+
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
55
|
+
Style/IndentArray:
|
56
|
+
EnforcedStyle: consistent
|
57
|
+
|
58
|
+
# Offense count: 11
|
59
|
+
# Cop supports --auto-correct.
|
60
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
61
|
+
# SupportedStyles: aligned, indented
|
62
|
+
Style/MultilineMethodCallIndentation:
|
63
|
+
Enabled: false
|
64
|
+
|
65
|
+
# Offense count: 14
|
66
|
+
# Cop supports --auto-correct.
|
67
|
+
Style/MutableConstant:
|
68
|
+
Exclude:
|
69
|
+
- 'lib/transpec/cli/option_parser.rb'
|
70
|
+
- 'lib/transpec/dynamic_analyzer/constants.rb'
|
71
|
+
- 'lib/transpec/dynamic_analyzer/rewriter.rb'
|
72
|
+
- 'lib/transpec/git.rb'
|
73
|
+
- 'lib/transpec/record.rb'
|
74
|
+
- 'lib/transpec/syntax/example_group.rb'
|
75
|
+
- 'lib/transpec/syntax/hook.rb'
|
76
|
+
- 'lib/transpec/syntax/matcher_definition.rb'
|
77
|
+
- 'lib/transpec/syntax/method_stub.rb'
|
78
|
+
- 'tasks/lib/demo.rb'
|
79
|
+
|
80
|
+
# Offense count: 1
|
81
|
+
# Cop supports --auto-correct.
|
82
|
+
Style/RedundantParentheses:
|
83
|
+
Exclude:
|
84
|
+
- 'lib/transpec/static_context_inspector.rb'
|
85
|
+
|
86
|
+
# Offense count: 47
|
87
|
+
# Cop supports --auto-correct.
|
88
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
89
|
+
# SupportedStyles: only_raise, only_fail, semantic
|
90
|
+
Style/SignalException:
|
91
|
+
Enabled: false
|
92
|
+
|
93
|
+
# Offense count: 2
|
94
|
+
# Cop supports --auto-correct.
|
95
|
+
Style/UnneededInterpolation:
|
96
|
+
Exclude:
|
97
|
+
- 'lib/transpec/syntax/current_example.rb'
|
98
|
+
- 'lib/transpec/syntax/have/record_builder.rb'
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1456,12 +1456,13 @@ Transpec is tested on the following Ruby implementations:
|
|
1456
1456
|
* 2.0.0
|
1457
1457
|
* 2.1
|
1458
1458
|
* 2.2
|
1459
|
+
* 2.3
|
1459
1460
|
* JRuby
|
1460
1461
|
* 1.7 in 1.9 mode
|
1461
1462
|
* 9.0.0.0
|
1462
1463
|
|
1463
1464
|
## License
|
1464
1465
|
|
1465
|
-
Copyright (c) 2013–
|
1466
|
+
Copyright (c) 2013–2016 Yuji Nakayama
|
1466
1467
|
|
1467
1468
|
See the [LICENSE.txt](LICENSE.txt) for details.
|
data/README.md.erb
CHANGED
data/lib/transpec/version.rb
CHANGED
data/transpec.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.required_ruby_version = '>= 1.9.3'
|
25
25
|
|
26
|
-
spec.add_runtime_dependency 'parser', '~> 2.
|
26
|
+
spec.add_runtime_dependency 'parser', '~> 2.3'
|
27
27
|
spec.add_runtime_dependency 'astrolabe', '~> 1.2'
|
28
28
|
spec.add_runtime_dependency 'bundler', '~> 1.3'
|
29
29
|
spec.add_runtime_dependency 'rainbow', '>= 1.99.1', '< 3.0'
|
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: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuji Nakayama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parser
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2.
|
26
|
+
version: '2.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: astrolabe
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -117,6 +117,7 @@ extra_rdoc_files: []
|
|
117
117
|
files:
|
118
118
|
- ".gitignore"
|
119
119
|
- ".rubocop.yml"
|
120
|
+
- ".rubocop_todo.yml"
|
120
121
|
- ".travis.yml"
|
121
122
|
- CHANGELOG.md
|
122
123
|
- CONTRIBUTING.md
|