discountnetwork 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85872155ee30cf7b85f7d9cdf0f28aaa948dae86
4
- data.tar.gz: 2b3b86a1490f866eac4172c02f96d4d992792b23
3
+ metadata.gz: e05dfcc2188e93cee3e118ab12ce66b0de8f13ed
4
+ data.tar.gz: 00b36d16ec5dd7dc84ed5538e7ff4cd915dce61b
5
5
  SHA512:
6
- metadata.gz: fc44ce209f384c8a90e669e1d017190b739637904c4f42c4d62b862a0d627c5ecfad292fd077f501aba831b954b8dba788645f3e04e2ebbd40380a5f00360a6f
7
- data.tar.gz: 93eebef16e0966d970141c16f0c68871dca67d4123b250145a44f1d4a27bb8d9e59ac1a7f790a568be8ab65b6111af31289e4b21d0692b69642241ad1168ff5a
6
+ metadata.gz: 4e234c0ed5f5eab08b2d4257804d8010866b6c7dfd71713a56578085ca65939cf61746fb011e7f86c6396e3dee30c73639546d7d8ac082c9e7123365cd004c6e
7
+ data.tar.gz: 12f37c0c04a0087e6388f08ddcdfb3edfdfd516e908823eb2f4ff12848eafa65d57060737538904c24ff51a14ca55a97c5bf053ebf0de1e5d26b658c3807479a
data/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
  Status](https://travis-ci.org/discountnetwork/discountnetwork-ruby.svg?branch=master)](https://travis-ci.org/discountnetwork/discountnetwork-ruby)
5
5
  [![Code
6
6
  Climate](https://codeclimate.com/github/discountnetwork/discountnetwork-ruby/badges/gpa.svg)](https://codeclimate.com/github/discountnetwork/discountnetwork-ruby)
7
+ [![Gem
8
+ Version](https://badge.fury.io/rb/discountnetwork.svg)](https://badge.fury.io/rb/discountnetwork)
7
9
 
8
10
  Ruby API client for Discount Network API
9
11
 
@@ -12,7 +14,7 @@ Ruby API client for Discount Network API
12
14
  Add this line to your application's Gemfile:
13
15
 
14
16
  ```ruby
15
- gem "discountnetwork", github: "discountnetwork/discountnetwork-ruby"
17
+ gem "discountnetwork", "~> 0.1.1"
16
18
  ```
17
19
 
18
20
  And then execute:
@@ -44,10 +44,11 @@ module DiscountNetworkApi
44
44
  )
45
45
  end
46
46
 
47
- def stub_search_results_api(search_id:)
47
+ def stub_search_results_api(search_id:, **attributes)
48
48
  stub_api_response(
49
49
  :get,
50
50
  ["searches", search_id, "results"].join("/"),
51
+ data: attributes,
51
52
  filename: "results",
52
53
  status: 200
53
54
  )
@@ -1,3 +1,3 @@
1
1
  module Discountnetwork
2
- VERSION = "0.1.0".freeze
2
+ VERSION = "0.1.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discountnetwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abu Nashir
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-21 00:00:00.000000000 Z
11
+ date: 2016-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client