transpec 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +2 -0
- data/CHANGELOG.md +4 -0
- data/lib/transpec/syntax/have/dynamic_analysis.rb +1 -1
- data/lib/transpec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 130f69705bf8dfb8dff588176c1b0a9233499ba9
|
4
|
+
data.tar.gz: 3824c963a6ae862b7672b0e1285800b2da5c350d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d405ecd3074077e69c480f5802a62bf416710d75bdd523c3bb1b5fe5f745baf4a6efb9b6efb57cba767852e5bd5b5973fa162111ca6ac618e5468fee2442330
|
7
|
+
data.tar.gz: 90249324f5804315dd1cc99322b365001054346184c2a722414965bb5290f91d92ea1c8879741313a2d4aba948f3af279ddfe8aa0fdde37ecd199f06eb3a8113
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
## Development
|
4
4
|
|
5
|
+
## v3.0.2
|
6
|
+
|
7
|
+
* Fix a bug where `have(n).errors_on(:attr)` was unintentionally converted when combined with one-liner `should`. ([#95](https://github.com/yujinakayama/transpec/issues/95))
|
8
|
+
|
5
9
|
## v3.0.1
|
6
10
|
|
7
11
|
* Exclude spec files from the gem package to lighten the package size.
|
@@ -30,7 +30,7 @@ module Transpec
|
|
30
30
|
rewriter.register_request(target_node, key, code, target_type)
|
31
31
|
|
32
32
|
key = :subject_includes_active_model_validations?
|
33
|
-
code =
|
33
|
+
code = "#{subject_code}.is_a?(ActiveModel::Validations)"
|
34
34
|
rewriter.register_request(target_node, key, code, target_type)
|
35
35
|
|
36
36
|
key = :project_requires_collection_matcher?
|
data/lib/transpec/version.rb
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: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuji Nakayama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parser
|