rspec-versioned 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/README.md +4 -0
- data/lib/rspec/versioned/version.rb +1 -1
- data/rspec-versioned.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YWQxZTU3ZDJiODA1ZWFiNmI0Njk3NWJlNDVjZThmMjM2YWY4Yzc5Mw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
Yjg3OWNjOTQ5ZTIwMjE5ODY2MDViZTJhY2Q4Njk1MDE4NjZlZTYzMQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OTgwOTk5ZmZmM2Y5N2U1MWRlZWMwM2Y5MzliYzAxYmNjM2EwMjZmMzE0NjY5
|
|
10
|
+
NjA0NjFjNzA3MGMxMDE2NTEyNzMwMjYwMDcwZTNkNDUyZTRjYjVlNjZlZDBh
|
|
11
|
+
ZTU1ODNlOTYyM2UyYzhlMWQxNmZkMWE2NTQ5ZWI4OGYxNzRmNjE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
N2YwMWZmN2NkNmFhNTJkMTM0NTk2YTBlNWE2NzgzZDU3YjVjNTEyZmFiMWRi
|
|
14
|
+
ZjE0ZTllYjI1NzIwOWY5NGUwYTIxMWUyODE3NGNlYTVhYTQ5MWZmMGVhY2Iy
|
|
15
|
+
N2E0ZGM1YjEzNjE0NmI3ZmQxNDI4MTdhYzZiN2NlMDA5ODI2NDE=
|
data/README.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
# RSpec::Versioned
|
|
2
2
|
|
|
3
|
+
[](http://badge.fury.io/rb/rspec-versioned)
|
|
4
|
+
|
|
3
5
|
Inspired by [RSpec::Retry](https://github.com/y310/rspec-retry), Rspec::Versioned allows RSpec examples and example groups to easily be repeated over different API versions using the [versioned_blocks](https://github.com/devend711/versioned_blocks) gem. Just add the `:versions` option to an example:
|
|
4
6
|
|
|
7
|
+
VersionedBlocks.base_uri = 'http://www.api.com'
|
|
8
|
+
|
|
5
9
|
it 'tests multiple API versions', versions:{from:2, to:4} do |example|
|
|
6
10
|
expect(example.version.uri).to include example.version.number.to_s
|
|
7
11
|
end
|
data/rspec-versioned.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-versioned
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- devend711
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04-
|
|
11
|
+
date: 2015-04-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -45,7 +45,7 @@ dependencies:
|
|
|
45
45
|
- - ! '>='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '0'
|
|
48
|
-
type: :
|
|
48
|
+
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|