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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2500dee2d99d62c1cbda9f39db4fa93486341c6d
4
- data.tar.gz: 9a68b256129b0395383cae942a640a3d38d0b8c0
3
+ metadata.gz: 375af4c11c52d3fd5594769255fd23677ecc784f
4
+ data.tar.gz: 73d98f54671f7a9fec7bd4878f2d38d6d6c33857
5
5
  SHA512:
6
- metadata.gz: c02902798d1f64c288823a7fd9806d754f32e6537ece8c334cbe25bb9424da937bed97baefd6b2632506f995d67679acd07640c982f2f2a77837b2bd4c9c7eb8
7
- data.tar.gz: db3a3117c4bd7fd5ac940d5287adef22c3a0dccd245169e7f5d7c2ff35415d074f76c831fd909de671716b1f0d55a2651ffa5299a3bd6ac1e42827e799435566
6
+ metadata.gz: 2b148df034846a5d796a85ea75a36e05f8400be7df0c2881199cca51a8c1ccc41c95c0511966993388da16ba64f84487b72083ff8e6129d05594aa115af5f240
7
+ data.tar.gz: c82ee8d3f16eefcfd1c84187571a67e9f3724844432af64501c0906f6553dd81e755f9b159bc9097d0abf6e4a6b96d64e5b4d48795eb8bab3d1513f70858b367
data/Gemfile CHANGED
@@ -5,5 +5,5 @@ gemspec
5
5
 
6
6
  group :test do
7
7
  gem 'codeclimate-test-reporter', require: nil
8
- gem 'random-word'
8
+ gem 'faker'
9
9
  end
@@ -1,4 +1,4 @@
1
- require 'random-word'
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
- RandomWord.nouns.next
48
+ Faker::Hacker.noun
49
49
  when "float", :float
50
50
  Random.new.rand(10000.0)
51
51
  when "boolean", :boolean
@@ -1,3 +1,3 @@
1
1
  module ServiceContract
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -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 "random-word"
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.2.1
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-02-20 00:00:00.000000000 Z
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: random-word
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.2.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: