protobuf-rspec 1.0.0.rc1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/protobuf/rspec/version.rb +1 -1
- data/protobuf-rspec.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1ef11288c1e87b8f8d80c589faa30680aecc712
|
4
|
+
data.tar.gz: 78012e31b475a3da24cd2258e7a3f2cc6d029890
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3c39261cb6a3d36ed3e8f79dfb1dd91ee1c6c86d2ddc631ce6711f7dab5c441b318e0c0f09040d6be35affb910f463e9081d6a71bc3992f1f879c6b6e4d051e
|
7
|
+
data.tar.gz: b21311e37612e7c26fb7e4834e08f876fd6a8ea2de10014291ddf386458edba23a4c509130c1b79b38222c4447093ba073adf4a9f7ed9632c5e5a73805baa7ed
|
data/README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
protobuf-rspec gem
|
2
2
|
==================
|
3
3
|
|
4
|
-
|
4
|
+
Provides spec helpers for testing client and server [protobuf](https://github.com/localshred/protobuf) code.
|
5
|
+
|
6
|
+
RSpec Helpers are designed to give you mock abstraction of client or service layer. Require as `protobuf/rspec` and include into your running RSpec configuration.
|
5
7
|
|
6
8
|
```ruby
|
7
9
|
# spec_helper.rb
|
@@ -13,8 +15,6 @@ RSpec.configure do |config|
|
|
13
15
|
end
|
14
16
|
```
|
15
17
|
|
16
|
-
**Note:** Tested to work with the [protobuf gem](https://rubygems.org/gems/protobuf) (>= 2.x).
|
17
|
-
|
18
18
|
Unit-Testing Service Behavior
|
19
19
|
-----------------------------
|
20
20
|
|
data/protobuf-rspec.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
-
s.add_runtime_dependency "protobuf", ">= 3.0.0
|
21
|
+
s.add_runtime_dependency "protobuf", ">= 3.0.0"
|
22
22
|
s.add_runtime_dependency "rspec", "~> 2.8"
|
23
23
|
|
24
24
|
s.add_development_dependency "rake"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protobuf-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BJ Neilsen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-02-
|
12
|
+
date: 2014-02-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: protobuf
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '>='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 3.0.0
|
20
|
+
version: 3.0.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '>='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 3.0.0
|
27
|
+
version: 3.0.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rspec
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -113,9 +113,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
113
|
version: '0'
|
114
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- - '
|
116
|
+
- - '>='
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
118
|
+
version: '0'
|
119
119
|
requirements: []
|
120
120
|
rubyforge_project: protobuf-rspec
|
121
121
|
rubygems_version: 2.1.2
|