spec_combos 0.2.0 → 0.3.0

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: 70820418ff04ef8f2f40f0382ba4ed28d2375211
4
- data.tar.gz: 4adfb37fcde42123dad029c4514c40ba651b3dfa
3
+ metadata.gz: fadb64f05d201f0e02141296ba851252788974b3
4
+ data.tar.gz: 8cb1ce8c5c1d0ed71bd0a669a9f9e123aee6b9eb
5
5
  SHA512:
6
- metadata.gz: 6ac030cb28dc2164a38fb605440a0ad0dd4bfac1dcf869ed9a615e79c6a3bd938ccbd4637eace6db9cf8d98f06bddf5bc34c30d65063a1cc6aa169038436066a
7
- data.tar.gz: c6fced32dc8f7eb9b20777ba55074996fa5977fa136ffe2c9c9def008d9e4b6374d8d862bb5d1eb2a3ee3ed98161fa95236d00137c43a79345cce76e83c600e7
6
+ metadata.gz: 4048d1a22b2d5151443a3ad285d794b574b7228fe60a87acd36cd614e4adb310fd3c8a68fbdd8f76dd67719a685b9b06f0a88fc4ec832085b64a2771de44083d
7
+ data.tar.gz: cba844e0559dfc250c6bcf6c466ddb15d604c0d510d7c59d492a3bd2be10da34e5cdab24b294f19aef87f57cf9d9df983ae31011c5bc5c61e866beeb888a54d1
data/.gitignore CHANGED
@@ -17,3 +17,4 @@ test/tmp
17
17
  test/version_tmp
18
18
  tmp
19
19
  *~
20
+ vendor
@@ -1,10 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.2
4
- - 1.9.3
5
- - 2.0.0
6
- - jruby-19mode
7
- - jruby-20mode
8
- - rbx-19mode
9
- - rbx-20mode
10
- script: bundle exec rake
3
+ - 2.3.1
4
+ - 2.2.5
5
+ script: bundle exec rake
6
+ addons:
7
+ code_climate:
8
+ repo_token: fb989d7074228d42d517d6eaae724e7d4ce1a0c5e7cd3ba38e7433fa63c646eb
data/README.md CHANGED
@@ -1,11 +1,15 @@
1
+ [![Build Status](https://travis-ci.org/philou/spec_combos.svg?branch=master)](https://travis-ci.org/philou/spec_combos) [![Test Coverage](https://codeclimate.com/github/philou/spec_combos/badges/coverage.svg)](https://codeclimate.com/github/philou/spec_combos) [![Code Climate](https://codeclimate.com/github/philou/spec_combos/badges/gpa.svg)](https://codeclimate.com/github/philou/spec_combos)
2
+
1
3
  # SpecCombos
2
4
 
3
- Rspec matchers that can combine other matchers together, to allow precise testing elements of a sequence for example. The goal is to get :
5
+ Rspec 2.0 matchers that can combine other matchers together, to allow precise testing elements of a sequence for example. The goal is to get :
4
6
 
5
7
  * concise and readable specs
6
8
  * factorized code
7
9
  * explicit assertion failure messages
8
10
 
11
+ Similar matchers are built-in Rspec 3.0.
12
+
9
13
  ## Installation
10
14
 
11
15
  Add this line to your application's Gemfile:
@@ -0,0 +1,8 @@
1
+ spec-combos:
2
+ image: ruby:2.3.1
3
+ command: bash
4
+ working_dir: /usr/src/app
5
+ environment:
6
+ BUNDLE_PATH: 'vendor/bundle'
7
+ volumes:
8
+ - '.:/usr/src/app'
@@ -1,3 +1,3 @@
1
1
  module SpecCombos
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -1 +1,4 @@
1
+ require "simplecov"
2
+ SimpleCov.start
3
+
1
4
  require 'spec_combos'
@@ -20,7 +20,9 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_dependency "rspec", "~> 2.11"
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.3"
24
- spec.add_development_dependency "rake", "~> 10.1"
25
- spec.add_development_dependency "guard-rspec", "~> 3.0"
23
+ spec.add_development_dependency "bundler"
24
+ spec.add_development_dependency "rake", "< 12"
25
+ spec.add_development_dependency "guard-rspec"
26
+ spec.add_development_dependency "simplecov"
27
+ spec.add_development_dependency "codeclimate-test-reporter"
26
28
  end
metadata CHANGED
@@ -1,94 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spec_combos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philou
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDkjCCAnqgAwIBAgIBATANBgkqhkiG9w0BAQUFADBHMRkwFwYDVQQDDBBwaGls
14
- aXBwZS5ib3VyZ2F1MRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/Is
15
- ZAEZFgNjb20wHhcNMTMwOTIzMTEwOTA3WhcNMTQwOTIzMTEwOTA3WjBHMRkwFwYD
16
- VQQDDBBwaGlsaXBwZS5ib3VyZ2F1MRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzAR
17
- BgoJkiaJk/IsZAEZFgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
18
- AQC8CpoqZwEbzXr55EUxdSplgn0MYZ9xPGO/XmRa8bD63n+JYWF0AS+mj452ZY18
19
- rwM+yKrKhtsA+aJJdlOafgIUnY5SrZOr7v7kgc6T2YNoUj+M00Um2jv+shQbOtV6
20
- qGp0Jw1HfPNUMVa+3pXZyAGCecN6rTnsZJIuW6KNaJUq6lEMVXanoTHgAKrH5aHd
21
- Y6ofwQL86d6LDkC1S4p86iMUWvF34w8h5ItVo+JKlPRR22rzsK/ZKgNH3lfjbS6i
22
- JWqPva70rL2xz5kCVn6DL7XhNZtqnAO4kvCQyQeWezvcoGXEnbHacKky7B+/WKec
23
- OIWEwedl6j+X0OD5OYki3QaTAgMBAAGjgYgwgYUwCQYDVR0TBAIwADALBgNVHQ8E
24
- BAMCBLAwHQYDVR0OBBYEFJnLz40Onu/dfpLSipU5FgTy6WLmMCUGA1UdEQQeMByB
25
- GnBoaWxpcHBlLmJvdXJnYXVAZ21haWwuY29tMCUGA1UdEgQeMByBGnBoaWxpcHBl
26
- LmJvdXJnYXVAZ21haWwuY29tMA0GCSqGSIb3DQEBBQUAA4IBAQBGoH72KWYACGZl
27
- cMHMJ9d/DRU7rynJ8c4xuuM4c3Ri8bGPqI/a1BAp4QPJApS4+ANXXJ220hslrekP
28
- 9/ExEKFiqiywh1clih9ttuN4cHqJzCP6QHqJznQrvaYToZLxGARDf3Mwz4mFSh4W
29
- snSep53DZ1vrY2Gzmig/4PuBF4q3nhwPgxV6H3SH4/Py7QF5COZPQlCdBwPYczqW
30
- XxIbXhRVXcgjBHT0w2HsXkOwmmYvBzbrfqtTx5NswwHcIeQZB/NID7berIf9awx3
31
- yLcl1cmm5ALtJ/+Bkkmp0i4amXeTDMvq9r8PBsVsQwxYOYJBP+Umxz3PX6HjFHrQ
32
- XdkXx3oZ
33
- -----END CERTIFICATE-----
34
- date: 2013-09-23 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2016-12-17 00:00:00.000000000 Z
35
12
  dependencies:
36
13
  - !ruby/object:Gem::Dependency
37
14
  name: rspec
38
15
  requirement: !ruby/object:Gem::Requirement
39
16
  requirements:
40
- - - ~>
17
+ - - "~>"
41
18
  - !ruby/object:Gem::Version
42
19
  version: '2.11'
43
20
  type: :runtime
44
21
  prerelease: false
45
22
  version_requirements: !ruby/object:Gem::Requirement
46
23
  requirements:
47
- - - ~>
24
+ - - "~>"
48
25
  - !ruby/object:Gem::Version
49
26
  version: '2.11'
50
27
  - !ruby/object:Gem::Dependency
51
28
  name: bundler
52
29
  requirement: !ruby/object:Gem::Requirement
53
30
  requirements:
54
- - - ~>
31
+ - - ">="
55
32
  - !ruby/object:Gem::Version
56
- version: '1.3'
33
+ version: '0'
57
34
  type: :development
58
35
  prerelease: false
59
36
  version_requirements: !ruby/object:Gem::Requirement
60
37
  requirements:
61
- - - ~>
38
+ - - ">="
62
39
  - !ruby/object:Gem::Version
63
- version: '1.3'
40
+ version: '0'
64
41
  - !ruby/object:Gem::Dependency
65
42
  name: rake
66
43
  requirement: !ruby/object:Gem::Requirement
67
44
  requirements:
68
- - - ~>
45
+ - - "<"
69
46
  - !ruby/object:Gem::Version
70
- version: '10.1'
47
+ version: '12'
71
48
  type: :development
72
49
  prerelease: false
73
50
  version_requirements: !ruby/object:Gem::Requirement
74
51
  requirements:
75
- - - ~>
52
+ - - "<"
76
53
  - !ruby/object:Gem::Version
77
- version: '10.1'
54
+ version: '12'
78
55
  - !ruby/object:Gem::Dependency
79
56
  name: guard-rspec
80
57
  requirement: !ruby/object:Gem::Requirement
81
58
  requirements:
82
- - - ~>
59
+ - - ">="
83
60
  - !ruby/object:Gem::Version
84
- version: '3.0'
61
+ version: '0'
85
62
  type: :development
86
63
  prerelease: false
87
64
  version_requirements: !ruby/object:Gem::Requirement
88
65
  requirements:
89
- - - ~>
66
+ - - ">="
90
67
  - !ruby/object:Gem::Version
91
- version: '3.0'
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: codeclimate-test-reporter
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
92
97
  description: Rspec matchers to combine matchers together
93
98
  email:
94
99
  - philippe.bourgau@gmail.com
@@ -96,14 +101,15 @@ executables: []
96
101
  extensions: []
97
102
  extra_rdoc_files: []
98
103
  files:
99
- - .gitignore
100
- - .rspec
101
- - .travis.yml
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".travis.yml"
102
107
  - Gemfile
103
108
  - Guardfile
104
109
  - LICENSE.txt
105
110
  - README.md
106
111
  - Rakefile
112
+ - docker-compose.yml
107
113
  - lib/spec_combos.rb
108
114
  - lib/spec_combos/all_matcher.rb
109
115
  - lib/spec_combos/and_matcher.rb
@@ -127,17 +133,17 @@ require_paths:
127
133
  - lib
128
134
  required_ruby_version: !ruby/object:Gem::Requirement
129
135
  requirements:
130
- - - '>='
136
+ - - ">="
131
137
  - !ruby/object:Gem::Version
132
138
  version: '0'
133
139
  required_rubygems_version: !ruby/object:Gem::Requirement
134
140
  requirements:
135
- - - '>='
141
+ - - ">="
136
142
  - !ruby/object:Gem::Version
137
143
  version: '0'
138
144
  requirements: []
139
145
  rubyforge_project:
140
- rubygems_version: 2.0.3
146
+ rubygems_version: 2.6.8
141
147
  signing_key:
142
148
  specification_version: 4
143
149
  summary: Allows to build up matchers able to precisely match item from a collection
Binary file
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file