consumer_score_naj 0.5.0 → 0.6.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: 60bee1bc9af0ef5867430f2b00e290d6c2e29c1d
4
- data.tar.gz: 9c12ccc3cca4ddf7d5de890df68d6301f733a621
3
+ metadata.gz: b45999860c7a48649d0bb566f4f9b426007600ee
4
+ data.tar.gz: b33453c15eafbdb6f1e7d8d64ef0b29ba31f6303
5
5
  SHA512:
6
- metadata.gz: af966a2bbe566b82e465a2b57d9778f7878eee04bd6deb46f780bd29fa7f846f0264c8221797fe481671f591ad174ff4074b5aeec45b230868fb32a533b4b3f5
7
- data.tar.gz: 9cd4e96065ff9ca653d4f7ff84830cda7751ad32d3d9d8758165da190f1da0857d8facff463384bcc362404efa55a6e6afc4048e1919f057feddbbe13717726f
6
+ metadata.gz: 2e6004596f41cd9b82d1c0e1dde0bc2039f8394f7905fcc20444baeaa2108c2d8567b491eea51da4450ad88d9c3c7236d84a936e15f89c07d77caad6e4b32583
7
+ data.tar.gz: b1262d3597453ebd909cd5ba740148bcce7f4f7de36ad492743aac233aa12dbd30a8c7cc8eaea8b7cb00a879c662c96f075ee003251902d6259c8db83eba6fd5
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # ConsumerScore
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/consumer_score`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ The ConsumerScore gem accepts income, age, and zipcode information, and returns a score.
6
4
 
7
5
  ## Installation
8
6
 
@@ -22,6 +20,7 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
23
+ *in your app, or in irb*
25
24
  To fetch a customer score based on income, zipcode, and age:
26
25
  ```ruby
27
26
  Consumer::Score.get_score({income: 5000, zipcode: 60201, age: 50})
@@ -34,4 +34,5 @@ Gem::Specification.new do |spec|
34
34
  spec.add_development_dependency "rake", "~> 10.0"
35
35
  spec.add_development_dependency "rspec", "~> 3.0"
36
36
  spec.add_runtime_dependency "unirest", "1.1.2"
37
+ spec.add_runtime_dependency "webmock", "2.3.2"
37
38
  end
@@ -1,3 +1,3 @@
1
1
  module Consumer
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: consumer_score_naj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - mrjonesbot
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-09 00:00:00.000000000 Z
11
+ date: 2017-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
68
  version: 1.1.2
69
+ - !ruby/object:Gem::Dependency
70
+ name: webmock
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 2.3.2
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 2.3.2
69
83
  description: consumes the consumer-api
70
84
  email:
71
85
  - najones.arch@gmail.com