spectus 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 867183006b16f6ab6f0d641efbfd37380a4612b8
4
- data.tar.gz: a478b86f508003282d7544cfd660a6b811b71cb2
3
+ metadata.gz: 50aef8a671220af542bdd9f6d9d186ac3badf254
4
+ data.tar.gz: eb5547363ee02f167239c9439887ea90691fb4df
5
5
  SHA512:
6
- metadata.gz: 252c54bd2591df3ff5eb38b27ae5482855d08346c9679901bea0d6fba059134a678d9d79235a621c94de6d970eaf195f96144d52034f42379ce903ce46de92f7
7
- data.tar.gz: 9576c89c47fa07424278f9bcff57e5fd26cf9075a239fc2e3db2e367eedb696e656296a6a07a4ced7ea923a1fc156f493f62410211970ae10262b69d943ad90c
6
+ metadata.gz: d588c7d420a3b2630ade36ef006efa503358a3d6b95067a82b592fdd0aa961e2e8bc1ff816ea15365758881e33c2948bc1aa0450c5da4e7d65c8845e22652261
7
+ data.tar.gz: f7ccb81efb0a19c78907ecab4704eaee52d2a7193d27c3c2052f1c06134eca3b5cd00bb1641025abc291e6aa370ccaae4b177ccfbfe21ab9fb40bd657eeee2c0
checksums.yaml.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -59,7 +59,7 @@ Spectus.this { 'foo'.valid_encoding? }.SHOULD equal: true # => true
59
59
  **Not recommended** definition:
60
60
 
61
61
  ```ruby
62
- Spectus.this { ''.blank? }.SHOULD_NOT raise_exception: NoMethodError # => false
62
+ Spectus.this { ''.blank? }.SHOULD_NOT raise_exception: NoMethodError # => true
63
63
  ```
64
64
 
65
65
  **Optional** definition:
data/VERSION.semver CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
@@ -70,7 +70,7 @@ module Spectus
70
70
  # @api public
71
71
  #
72
72
  # @example _Not recommended_ definition
73
- # this { ''.blank? }.SHOULD_NOT raise_exception: NoMethodError # => false
73
+ # this { ''.blank? }.SHOULD_NOT raise_exception: NoMethodError # => true
74
74
  #
75
75
  # @param [Hash] definition
76
76
  #
@@ -3,7 +3,7 @@ require 'expect'
3
3
  module Spectus
4
4
  # This class evaluate the expectation with the passed block.
5
5
  #
6
- class Sandbox < BasicObject
6
+ class Sandbox
7
7
  attr_reader :exception, :got
8
8
 
9
9
  # Execute the untested code from the passed block against the definition.
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spectus
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Wack
@@ -33,85 +33,85 @@ cert_chain:
33
33
  date: 2015-02-14 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
+ type: :runtime
36
37
  name: expect
37
- requirement: !ruby/object:Gem::Requirement
38
+ version_requirements: !ruby/object:Gem::Requirement
38
39
  requirements:
39
40
  - - "~>"
40
41
  - !ruby/object:Gem::Version
41
42
  version: 0.0.4
42
- type: :runtime
43
43
  prerelease: false
44
- version_requirements: !ruby/object:Gem::Requirement
44
+ requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
48
  version: 0.0.4
49
49
  - !ruby/object:Gem::Dependency
50
+ type: :development
50
51
  name: bundler
51
- requirement: !ruby/object:Gem::Requirement
52
+ version_requirements: !ruby/object:Gem::Requirement
52
53
  requirements:
53
54
  - - "~>"
54
55
  - !ruby/object:Gem::Version
55
56
  version: '1.8'
56
- type: :development
57
57
  prerelease: false
58
- version_requirements: !ruby/object:Gem::Requirement
58
+ requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
62
  version: '1.8'
63
63
  - !ruby/object:Gem::Dependency
64
+ type: :development
64
65
  name: rake
65
- requirement: !ruby/object:Gem::Requirement
66
+ version_requirements: !ruby/object:Gem::Requirement
66
67
  requirements:
67
68
  - - "~>"
68
69
  - !ruby/object:Gem::Version
69
70
  version: '10.0'
70
- type: :development
71
71
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
72
+ requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
76
  version: '10.0'
77
77
  - !ruby/object:Gem::Dependency
78
+ type: :development
78
79
  name: yard
79
- requirement: !ruby/object:Gem::Requirement
80
+ version_requirements: !ruby/object:Gem::Requirement
80
81
  requirements:
81
82
  - - "~>"
82
83
  - !ruby/object:Gem::Version
83
84
  version: '0.8'
84
- type: :development
85
85
  prerelease: false
86
- version_requirements: !ruby/object:Gem::Requirement
86
+ requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0.8'
91
91
  - !ruby/object:Gem::Dependency
92
+ type: :development
92
93
  name: simplecov
93
- requirement: !ruby/object:Gem::Requirement
94
+ version_requirements: !ruby/object:Gem::Requirement
94
95
  requirements:
95
96
  - - "~>"
96
97
  - !ruby/object:Gem::Version
97
98
  version: 0.9.1
98
- type: :development
99
99
  prerelease: false
100
- version_requirements: !ruby/object:Gem::Requirement
100
+ requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
104
  version: 0.9.1
105
105
  - !ruby/object:Gem::Dependency
106
+ type: :development
106
107
  name: rubocop
107
- requirement: !ruby/object:Gem::Requirement
108
+ version_requirements: !ruby/object:Gem::Requirement
108
109
  requirements:
109
110
  - - "~>"
110
111
  - !ruby/object:Gem::Version
111
112
  version: '0.29'
112
- type: :development
113
113
  prerelease: false
114
- version_requirements: !ruby/object:Gem::Requirement
114
+ requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - "~>"
117
117
  - !ruby/object:Gem::Version
metadata.gz.sig CHANGED
Binary file