spectus 3.0.5 → 3.0.6

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: 57c3716f6ecf160770dd681440cc6c4dd2d12169
4
- data.tar.gz: 457c23b98001c0ce50f6b01a5fddb2d850c21c52
3
+ metadata.gz: 1df7f54d9d8df90f55dbbe97bb06970be7460c6d
4
+ data.tar.gz: 3c00fb807ca789c34be1a6fb6688b4f0d54a0a35
5
5
  SHA512:
6
- metadata.gz: 58d8b8d0dacfb26cc773205414c34d68cceb18ffca64293c55a81d38fd0dfd4984d4ad48cec7b92b94be7cbdd826037fa7423ee0957f5acef8f9fb2c799e99f7
7
- data.tar.gz: 88e303942a218c8b4d71e7da8b73c3a6a558f6fe83c82761aca1addc6c59005f983bbe9b474edb40f1c65106dd040b076b8d5adf2f6081810964b6dcc12ce9ef
6
+ metadata.gz: 2902b73d562bc9531cdb5eb650b54c938728f4e4c61311b91eeed24a2f8dd2497e334b5d869ce08b69cf83d02ac53572c297c51b5079d33b19305ab2a1007de5
7
+ data.tar.gz: d49b1d11fb444f1e3599f8fb59d8b6531644a3a7c57c06890f189b73fd83f27807e964711f18ac33962a15c59903117daaf07e2061531fb960e68bdb0f0f3565
data/.travis.yml CHANGED
@@ -1,14 +1,29 @@
1
1
  language: ruby
2
2
  sudo: false
3
3
  cache: bundler
4
- script: 'bundle exec rake test:coverage --trace'
5
4
  before_install:
6
5
  - gem install bundler
6
+ script:
7
+ - bundle exec rubocop
8
+ - bundle exec rake test
7
9
  rvm:
8
- - 1.9.3
9
10
  - 2.0
10
11
  - 2.1
11
12
  - 2.2
12
- - jruby
13
+ - 2.3.3
14
+ - 2.4.0
15
+ - ruby-head
13
16
  - jruby-head
14
- - rbx-2
17
+ - rbx-3
18
+ matrix:
19
+ allow_failures:
20
+ - rvm: ruby-head
21
+ - rvm: jruby-head
22
+ - rvm: rbx-3
23
+ notifications:
24
+ webhooks:
25
+ urls:
26
+ - https://webhooks.gitter.im/e/a44b19cc5cf6db25fa87
27
+ on_success: change
28
+ on_failure: always
29
+ on_start: never
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2014 Cyril Wack
3
+ Copyright (c) 2014 Cyril Kato
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Spectus
2
2
 
3
3
  [![Build Status](https://travis-ci.org/fixrb/spectus.svg?branch=master)][travis]
4
+ [![Code Climate](https://codeclimate.com/github/fixrb/spectus/badges/gpa.svg)][codeclimate]
5
+ [![Dependency Status](https://gemnasium.com/fixrb/spectus.svg)][gemnasium]
4
6
  [![Gem Version](https://badge.fury.io/rb/spectus.svg)][gem]
5
7
  [![Inline docs](http://inch-ci.org/github/fixrb/spectus.svg?branch=master)][inchpages]
6
8
  [![Documentation](http://img.shields.io/:yard-docs-38c800.svg)][rubydoc]
@@ -182,11 +184,13 @@ See `LICENSE.md` file.
182
184
 
183
185
  [gem]: https://rubygems.org/gems/spectus
184
186
  [travis]: https://travis-ci.org/fixrb/spectus
185
- [inchpages]: http://inch-ci.org/github/fixrb/spectus/
187
+ [codeclimate]: https://codeclimate.com/github/fixrb/spectus
188
+ [gemnasium]: https://gemnasium.com/fixrb/spectus
189
+ [inchpages]: http://inch-ci.org/github/fixrb/spectus
186
190
  [rubydoc]: http://rubydoc.info/gems/spectus/frames
187
191
 
188
192
  ***
189
193
 
190
194
  This project is sponsored by:
191
195
 
192
- [![Sashite](http://www.sashite.com/assets/img/sashite.png)](http://www.sashite.com/)
196
+ [![Sashite](http://sashite.com/img/sashite.png)](http://sashite.com/)
data/Rakefile CHANGED
@@ -18,4 +18,4 @@ namespace :test do
18
18
  end
19
19
 
20
20
  task(:doc_stats) { ruby '-S yard stats' }
21
- task default: [:test, :doc_stats, :rubocop]
21
+ task default: %i[test doc_stats rubocop]
data/VERSION.semver CHANGED
@@ -1 +1 @@
1
- 3.0.5
1
+ 3.0.6
@@ -0,0 +1 @@
1
+ b1cf82dc5b578e2adb29623bb4782f17b636af603b784bcd90bda8fb3dd5e57e94424b9cb2fb6ab7029d31c7bda84cda0c11e527539651ffe302d6b44dcf8d83
@@ -50,18 +50,18 @@ module Spectus
50
50
  #
51
51
  # @return [Result::Pass] Pass the spec.
52
52
  def pass!(state)
53
- msg = Report.new(matcher, negate?, state, true)
53
+ r = Report.new(matcher, negate?, state, true)
54
54
 
55
- Result::Pass.new(msg, *result_signature(state))
55
+ Result::Pass.new(r, *result_signature(state))
56
56
  end
57
57
 
58
58
  # @param state [Sandbox] The sandbox that tested the code.
59
59
  #
60
60
  # @raise [Result::Fail] Fail the spec.
61
61
  def fail!(state)
62
- msg = Report.new(matcher, negate?, state, false)
62
+ r = Report.new(matcher, negate?, state, false)
63
63
 
64
- fail Result::Fail.new(msg, *result_signature(state)), msg, caller[2..-1]
64
+ raise Result::Fail.new(r, *result_signature(state)), r, caller[2..-1]
65
65
  end
66
66
 
67
67
  # @param state [Sandbox] The sandbox that tested the code.
data/spectus.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'spectus'
3
3
  spec.version = File.read('VERSION.semver').chomp
4
- spec.authors = ['Cyril Wack']
4
+ spec.authors = ['Cyril Kato']
5
5
  spec.email = ['contact@cyril.email']
6
6
 
7
7
  spec.summary = 'Expectation library with RFC 2119 keywords.'
@@ -14,15 +14,15 @@ Gem::Specification.new do |spec|
14
14
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
15
15
  spec.require_paths = ['lib']
16
16
 
17
- spec.add_dependency 'aw', '~> 0.1.0'
18
- spec.add_dependency 'defi', '~> 1.1.0'
19
- spec.add_dependency 'matchi', '~> 1.0.1'
17
+ spec.add_dependency 'aw', '~> 0.1.1'
18
+ spec.add_dependency 'defi', '~> 1.1.1'
19
+ spec.add_dependency 'matchi', '~> 1.0.2'
20
20
 
21
- spec.add_development_dependency 'bundler', '~> 1.10'
22
- spec.add_development_dependency 'rake', '~> 10.4'
23
- spec.add_development_dependency 'yard', '~> 0.8'
24
- spec.add_development_dependency 'simplecov', '~> 0.10'
25
- spec.add_development_dependency 'rubocop', '~> 0.35'
21
+ spec.add_development_dependency 'bundler', '~> 1.14'
22
+ spec.add_development_dependency 'rake', '~> 12.0'
23
+ spec.add_development_dependency 'yard', '~> 0.9'
24
+ spec.add_development_dependency 'simplecov', '~> 0.14'
25
+ spec.add_development_dependency 'rubocop', '~> 0.48'
26
26
 
27
27
  spec.cert_chain = ['certs/gem-fixrb-public_cert.pem']
28
28
  private_key = File.expand_path('~/.ssh/gem-fixrb-private_key.pem')
metadata CHANGED
@@ -1,36 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spectus
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
- - Cyril Wack
7
+ - Cyril Kato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMRAwDgYDVQQDDAdjb250
14
- YWN0MRUwEwYKCZImiZPyLGQBGRYFY3lyaWwxFTATBgoJkiaJk/IsZAEZFgVlbWFp
15
- bDAeFw0xNTA3MzExMjExMDZaFw0xNjA3MzAxMjExMDZaMEAxEDAOBgNVBAMMB2Nv
16
- bnRhY3QxFTATBgoJkiaJk/IsZAEZFgVjeXJpbDEVMBMGCgmSJomT8ixkARkWBWVt
17
- YWlsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6hUEYoxnn1mtoaiK
18
- NiwjzVPqPgQCR9ZeYdWjLJ3UUG2h5Q6awJCnbaGr8LGGcKtveCDbOJRjtdKNuOTH
19
- O2FLTkf46nrMGiF+6/j//qh8o0EQHBRKIVMYkxZxZe4Fcqtdf1bWNMZuXeyoDjdt
20
- 4yiGfizbbTOu0gBf7Yrsv5DsL0a5CU/We7zxMfgGXCVb9PYkD+OWUMcTARYDKfYa
21
- nN9ECI7CFm/yXcsof/eIQA5EmJNmQnhx8B+8L6jDqQeSUAUrBZnC9CdloKOoqmEL
22
- weqM2g6LM932Ba74rEl4QlFRYDcs8kjr71UcvseHRCUkFr36j26OU8+gKelsTNdO
23
- 7OZNKQIDAQABo3kwdzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU
24
- LSJTN9h29D6bqOhp+vyvhyM0AF4wHgYDVR0RBBcwFYETY29udGFjdEBjeXJpbC5l
25
- bWFpbDAeBgNVHRIEFzAVgRNjb250YWN0QGN5cmlsLmVtYWlsMA0GCSqGSIb3DQEB
26
- BQUAA4IBAQArqCC1rUyGJlF0DF9ZhUOgggyROvO0/WroSI5zWgzdB8EU7RJpsDIV
27
- caGnpji7h0rQIGWQuJ6TL2fTFLfeGRFdIzRZwWC7TeXhcXngJHZxSjDBt2OpfM8A
28
- P5eElSQS9iJCetBGGMyt354PfgZkg3URaC+JA6mdEisdtEdo64ElnMsLg9shCqye
29
- JSR3BbejbyPVva0/MHKD+dR6RswlcM9KMiYOXQml7a/kH6huOHvVq9gj5xC2ih8W
30
- dzJvWzQ1+dJU6WQv75E9ddSkaQrK3nhdgQVu+/wgvGSrsMvOGNz+LXaSDxQqZuwX
31
- 0KNQFuIukfrdk8URwRnHoAnvx4U93iUw
32
- -----END CERTIFICATE-----
33
- date: 2015-11-26 00:00:00.000000000 Z
11
+ - certs/gem-fixrb-public_cert.pem
12
+ date: 2017-04-29 00:00:00.000000000 Z
34
13
  dependencies:
35
14
  - !ruby/object:Gem::Dependency
36
15
  name: aw
@@ -38,112 +17,112 @@ dependencies:
38
17
  requirements:
39
18
  - - "~>"
40
19
  - !ruby/object:Gem::Version
41
- version: 0.1.0
20
+ version: 0.1.1
42
21
  type: :runtime
43
22
  prerelease: false
44
23
  version_requirements: !ruby/object:Gem::Requirement
45
24
  requirements:
46
25
  - - "~>"
47
26
  - !ruby/object:Gem::Version
48
- version: 0.1.0
27
+ version: 0.1.1
49
28
  - !ruby/object:Gem::Dependency
50
29
  name: defi
51
30
  requirement: !ruby/object:Gem::Requirement
52
31
  requirements:
53
32
  - - "~>"
54
33
  - !ruby/object:Gem::Version
55
- version: 1.1.0
34
+ version: 1.1.1
56
35
  type: :runtime
57
36
  prerelease: false
58
37
  version_requirements: !ruby/object:Gem::Requirement
59
38
  requirements:
60
39
  - - "~>"
61
40
  - !ruby/object:Gem::Version
62
- version: 1.1.0
41
+ version: 1.1.1
63
42
  - !ruby/object:Gem::Dependency
64
43
  name: matchi
65
44
  requirement: !ruby/object:Gem::Requirement
66
45
  requirements:
67
46
  - - "~>"
68
47
  - !ruby/object:Gem::Version
69
- version: 1.0.1
48
+ version: 1.0.2
70
49
  type: :runtime
71
50
  prerelease: false
72
51
  version_requirements: !ruby/object:Gem::Requirement
73
52
  requirements:
74
53
  - - "~>"
75
54
  - !ruby/object:Gem::Version
76
- version: 1.0.1
55
+ version: 1.0.2
77
56
  - !ruby/object:Gem::Dependency
78
57
  name: bundler
79
58
  requirement: !ruby/object:Gem::Requirement
80
59
  requirements:
81
60
  - - "~>"
82
61
  - !ruby/object:Gem::Version
83
- version: '1.10'
62
+ version: '1.14'
84
63
  type: :development
85
64
  prerelease: false
86
65
  version_requirements: !ruby/object:Gem::Requirement
87
66
  requirements:
88
67
  - - "~>"
89
68
  - !ruby/object:Gem::Version
90
- version: '1.10'
69
+ version: '1.14'
91
70
  - !ruby/object:Gem::Dependency
92
71
  name: rake
93
72
  requirement: !ruby/object:Gem::Requirement
94
73
  requirements:
95
74
  - - "~>"
96
75
  - !ruby/object:Gem::Version
97
- version: '10.4'
76
+ version: '12.0'
98
77
  type: :development
99
78
  prerelease: false
100
79
  version_requirements: !ruby/object:Gem::Requirement
101
80
  requirements:
102
81
  - - "~>"
103
82
  - !ruby/object:Gem::Version
104
- version: '10.4'
83
+ version: '12.0'
105
84
  - !ruby/object:Gem::Dependency
106
85
  name: yard
107
86
  requirement: !ruby/object:Gem::Requirement
108
87
  requirements:
109
88
  - - "~>"
110
89
  - !ruby/object:Gem::Version
111
- version: '0.8'
90
+ version: '0.9'
112
91
  type: :development
113
92
  prerelease: false
114
93
  version_requirements: !ruby/object:Gem::Requirement
115
94
  requirements:
116
95
  - - "~>"
117
96
  - !ruby/object:Gem::Version
118
- version: '0.8'
97
+ version: '0.9'
119
98
  - !ruby/object:Gem::Dependency
120
99
  name: simplecov
121
100
  requirement: !ruby/object:Gem::Requirement
122
101
  requirements:
123
102
  - - "~>"
124
103
  - !ruby/object:Gem::Version
125
- version: '0.10'
104
+ version: '0.14'
126
105
  type: :development
127
106
  prerelease: false
128
107
  version_requirements: !ruby/object:Gem::Requirement
129
108
  requirements:
130
109
  - - "~>"
131
110
  - !ruby/object:Gem::Version
132
- version: '0.10'
111
+ version: '0.14'
133
112
  - !ruby/object:Gem::Dependency
134
113
  name: rubocop
135
114
  requirement: !ruby/object:Gem::Requirement
136
115
  requirements:
137
116
  - - "~>"
138
117
  - !ruby/object:Gem::Version
139
- version: '0.35'
118
+ version: '0.48'
140
119
  type: :development
141
120
  prerelease: false
142
121
  version_requirements: !ruby/object:Gem::Requirement
143
122
  requirements:
144
123
  - - "~>"
145
124
  - !ruby/object:Gem::Version
146
- version: '0.35'
125
+ version: '0.48'
147
126
  description: Expectation library with RFC 2119's requirement levels.
148
127
  email:
149
128
  - contact@cyril.email
@@ -191,6 +170,7 @@ files:
191
170
  - checksum/spectus-3.0.1.gem.sha512
192
171
  - checksum/spectus-3.0.2.gem.sha512
193
172
  - checksum/spectus-3.0.3.gem.sha512
173
+ - checksum/spectus-3.0.5.gem.sha512
194
174
  - lib/spectus.rb
195
175
  - lib/spectus/expectation_target.rb
196
176
  - lib/spectus/matchers.rb
@@ -225,9 +205,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
205
  version: '0'
226
206
  requirements: []
227
207
  rubyforge_project:
228
- rubygems_version: 2.4.5.1
208
+ rubygems_version: 2.6.11
229
209
  signing_key:
230
210
  specification_version: 4
231
211
  summary: Expectation library with RFC 2119 keywords.
232
212
  test_files: []
233
- has_rdoc:
checksums.yaml.gz.sig DELETED
Binary file
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
@@ -1,2 +0,0 @@
1
- b(>�ޙ� /w k�(���3�]Ԭe�eʹ�II1���J��f������`�
2
- r\Y�7Fb;�s�??ݯZ��x �)M�R�ߛ��K � "��������=��F\裏M���|ȶֻ���w��_��<�N�8Եnh]�����bC�2�����݁�'0vcG�2����ϥeM������C��������<5ޜ�#�m��CbiO��rJ���Ќ�;