wegift-ruby-client 1.7.1 → 1.7.2

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: 8c8d33e34dab238c5e59fb84f6653548713685a2
4
- data.tar.gz: bb8cd55f5134c27bdde0e978803a711693ceb5b2
3
+ metadata.gz: 354e3ffd5e6a48aa62b42f45f18befa65c58a175
4
+ data.tar.gz: 23e9db8aa35458e2fd47c2c5f39b2d87606cac50
5
5
  SHA512:
6
- metadata.gz: e5409f5391c0f2f5a8443bcb85bc11364c94c465be26cb7ca9bf023d85fcfc46abd268c0cbad1d9480065909087378ff624426eb2c333b15efb1978653bad1c5
7
- data.tar.gz: d46762f2f027ebdb10c6f982bc350c09f769af83ae6c2debde2abb9f80910f305cae652f55996b82cf6653a9f2547b05ba0314d8e0da9ebd90bcdd5297f5c1ec
6
+ metadata.gz: 2226058175cac736b14c6810c0482dec1fe8ae5b79f3ed0229340c477319eeb2da5a57e6f7c977ef41c697a57cb13fdf5d3aad683b473e256a990e07b7be0fd8
7
+ data.tar.gz: 7344a534379e21c0999a5f64d890f8359a35706e04ab2d1aac57f8562c014e292c537b1f926365366d5b8d961175b543fce35a1f58b41e524a74d8bd10c838ed
data/README.md CHANGED
@@ -26,7 +26,7 @@ Simple example for ordering a Digital Card
26
26
  ```ruby
27
27
  # a simple client
28
28
  client = Wegift::Client.new(
29
- :api_host => 'http://sandbox.wegift.io',
29
+ :api_host => 'https://playground.wegift.io',
30
30
  :api_path => '/api/b2b-sync/v1',
31
31
  :api_key => ENV['AUTH_NAME'],
32
32
  :api_secret => ENV['AUTH_PASS'],
@@ -91,13 +91,13 @@ rspec
91
91
 
92
92
  It will load all tapes found in `spec/tapes`, we are using [VCR][vcr].
93
93
 
94
- To remaster all recordings, you will need a sandbox account.
94
+ To remaster all recordings, you will need a playground account.
95
95
  Add an `.env` file to your root:
96
96
 
97
97
  ```bash
98
98
  # .env
99
- AUTH_NAME='sandbox_username'
100
- AUTH_PASS='sandbox_password'
99
+ AUTH_NAME='playground_username'
100
+ AUTH_PASS='playground_password'
101
101
  PROXY='proxy_uri'
102
102
  ```
103
103
 
@@ -11,10 +11,10 @@ module Wegift
11
11
  class Client
12
12
  attr_accessor :api_host, :api_path, :api_key, :api_secret, :connection
13
13
 
14
- # supported: basic-http-auth - see: http://sandbox.wegift.io
14
+ # supported: basic-http-auth - see: https://playground.wegift.io
15
15
 
16
16
  def initialize(options = {})
17
- @api_host = options[:api_host] || 'https://api-sandbox.wegift.io'
17
+ @api_host = options[:api_host] || 'https://playground.wegift.io'
18
18
  @api_path = options[:api_path] || '/api/b2b-sync/v1'
19
19
  @api_key = options[:api_key].to_s
20
20
  @api_secret = options[:api_secret]
@@ -1,4 +1,4 @@
1
1
  module Wegift
2
2
  # api-version.lib-build
3
- VERSION = '1.7.1'
3
+ VERSION = '1.7.2'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wegift-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Klaas Endrikat
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-26 00:00:00.000000000 Z
11
+ date: 2018-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -200,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  version: '0'
201
201
  requirements: []
202
202
  rubyforge_project:
203
- rubygems_version: 2.6.11
203
+ rubygems_version: 2.5.2
204
204
  signing_key:
205
205
  specification_version: 4
206
206
  summary: A simple Ruby client for the WEGIFT API