service_contract 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/service_contract/mock.rb +2 -2
- data/lib/service_contract/version.rb +1 -1
- data/service_contract.gemspec +1 -1
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 375af4c11c52d3fd5594769255fd23677ecc784f
|
4
|
+
data.tar.gz: 73d98f54671f7a9fec7bd4878f2d38d6d6c33857
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b148df034846a5d796a85ea75a36e05f8400be7df0c2881199cca51a8c1ccc41c95c0511966993388da16ba64f84487b72083ff8e6129d05594aa115af5f240
|
7
|
+
data.tar.gz: c82ee8d3f16eefcfd1c84187571a67e9f3724844432af64501c0906f6553dd81e755f9b159bc9097d0abf6e4a6b96d64e5b4d48795eb8bab3d1513f70858b367
|
data/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'faker'
|
2
2
|
|
3
3
|
module ServiceContract
|
4
4
|
class Mock
|
@@ -45,7 +45,7 @@ module ServiceContract
|
|
45
45
|
when "int", :int
|
46
46
|
Random.new.rand(10000000)
|
47
47
|
when "string", :string
|
48
|
-
|
48
|
+
Faker::Hacker.noun
|
49
49
|
when "float", :float
|
50
50
|
Random.new.rand(10000.0)
|
51
51
|
when "boolean", :boolean
|
data/service_contract.gemspec
CHANGED
@@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency "bundler"
|
23
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
24
24
|
spec.add_development_dependency "minitest", "~> 5"
|
25
|
-
spec.add_development_dependency "
|
25
|
+
spec.add_development_dependency "faker"
|
26
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: service_contract
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Ching
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avro
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '5'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: faker
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
requirements: []
|
152
152
|
rubyforge_project:
|
153
|
-
rubygems_version: 2.
|
153
|
+
rubygems_version: 2.4.8
|
154
154
|
signing_key:
|
155
155
|
specification_version: 4
|
156
156
|
summary: Abstract the definition of a service's interface contract
|
@@ -167,4 +167,3 @@ test_files:
|
|
167
167
|
- test/sample/2/source/search_param.avdl
|
168
168
|
- test/service_test.rb
|
169
169
|
- test/test_helper.rb
|
170
|
-
has_rdoc:
|