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: eb70eb8c2685165217395b396a73c7dbb385d367
4
- data.tar.gz: 6ade7807062eb596727247c286485175eddf0dda
3
+ metadata.gz: 7cc90795698759a1dbdc6b6811b835eaa45ea5a0
4
+ data.tar.gz: 1dc36659d117ba56020eedbda0b865b093536caf
5
5
  SHA512:
6
- metadata.gz: 6e60dbb943cbef104cfad42dfc511c7d09426e1545d58ecaec95957207d2caae3c5b982a5f2a78bff1927afeaeb2d0e1b010c867da575d5de726d5a59110e687
7
- data.tar.gz: 860e2834bb5831ce03581e48c5e3f29598e3623df3fd4ce2bb327b4ae738d29429fc53e6c665ffb342190ef0b0805b01e2b8f2c4648572be6fa416ed3179273e
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 'consumer_score'
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 consumer_score
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
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'consumer_score/version'
4
+ require 'consumer_score_naj/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "consumer_score_naj"
@@ -1,3 +1,3 @@
1
1
  module Consumer
2
- VERSION = "0.1.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -1,4 +1,4 @@
1
- require "consumer_score/version"
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.where(query_hash)
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.1.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/consumer_score.rb
87
- - lib/consumer_score/version.rb
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