consumer_score_naj 0.1.0 → 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cc90795698759a1dbdc6b6811b835eaa45ea5a0
|
4
|
+
data.tar.gz: 1dc36659d117ba56020eedbda0b865b093536caf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dda2c253680ec1475bcc9f97ba26a9d967c64c23b0d60fc58a2078f641f98901d5c4bfa37fd5e3a28be7f4b95028220e3339e5d75b7e12629071b2118840b190
|
7
|
+
data.tar.gz: dad83c4834800a0c75a521d291d60a69ff225516f5169e2b9238cf4c4f1157c9ed6f495a19d7842f2fc04cb304e5067e7b2f35f5ee327614e13f0facfb6b59eb
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ TODO: Delete this and the text above, and describe your gem
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
gem '
|
12
|
+
gem 'consumer_score_naj'
|
13
13
|
```
|
14
14
|
|
15
15
|
And then execute:
|
@@ -18,7 +18,7 @@ And then execute:
|
|
18
18
|
|
19
19
|
Or install it yourself as:
|
20
20
|
|
21
|
-
$ gem install
|
21
|
+
$ gem install consumer_score_naj
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
@@ -38,4 +38,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/mrjone
|
|
38
38
|
## License
|
39
39
|
|
40
40
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
-
|
Binary file
|
data/consumer_score_naj.gemspec
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require "
|
1
|
+
require "consumer_score_naj/version"
|
2
2
|
require "unirest"
|
3
3
|
|
4
4
|
|
@@ -12,7 +12,7 @@ module Consumer
|
|
12
12
|
@age = query_hash["age"]
|
13
13
|
end
|
14
14
|
|
15
|
-
def self.
|
15
|
+
def self.get_score(query_hash)
|
16
16
|
search_string = convert_query_hash_to_string(query_hash)
|
17
17
|
response = Unirest.get("http://localhost:3000/customer_scoring.json?#{search_string}").body
|
18
18
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mrjonesbot
|
@@ -82,9 +82,10 @@ files:
|
|
82
82
|
- Rakefile
|
83
83
|
- bin/console
|
84
84
|
- bin/setup
|
85
|
+
- consumer_score_naj-0.1.0.gem
|
85
86
|
- consumer_score_naj.gemspec
|
86
|
-
- lib/
|
87
|
-
- lib/
|
87
|
+
- lib/consumer_score_naj.rb
|
88
|
+
- lib/consumer_score_naj/version.rb
|
88
89
|
homepage: https://github.com/mrjonesbot/consumer_score
|
89
90
|
licenses:
|
90
91
|
- MIT
|