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 +4 -4
- data/README.md +2 -3
- data/consumer_score_naj.gemspec +1 -0
- data/lib/consumer_score_naj/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b45999860c7a48649d0bb566f4f9b426007600ee
|
4
|
+
data.tar.gz: b33453c15eafbdb6f1e7d8d64ef0b29ba31f6303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e6004596f41cd9b82d1c0e1dde0bc2039f8394f7905fcc20444baeaa2108c2d8567b491eea51da4450ad88d9c3c7236d84a936e15f89c07d77caad6e4b32583
|
7
|
+
data.tar.gz: b1262d3597453ebd909cd5ba740148bcce7f4f7de36ad492743aac233aa12dbd30a8c7cc8eaea8b7cb00a879c662c96f075ee003251902d6259c8db83eba6fd5
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# ConsumerScore
|
2
2
|
|
3
|
-
|
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})
|
data/consumer_score_naj.gemspec
CHANGED
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.
|
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-
|
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
|