dwolla_v2 1.2.1 → 1.2.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: 233f41dcb256ee7e2e6f29182e1e3192b8f6be65
4
- data.tar.gz: ae60a2d57d9cd554c3f111c6fbf69e3f5edb986d
3
+ metadata.gz: 9a2ee43a98c62515e2de3909bab7f7ee73aa9da5
4
+ data.tar.gz: e634ade8f9e4081b3e22345e700cfe74e2986aa5
5
5
  SHA512:
6
- metadata.gz: '08ba86fbc3bbaccaf27f22c616862a9c5fdf7e738ef6fb415d91cb082fb6449249fad8b01725391d912339fb0d518bb999974f32d8fc6305b30b8478aef7d6e4'
7
- data.tar.gz: a614b4d58d5c5706f107128761796f43b8217814acefc9147300e4d6cd404e2aee473c2a4db4d8dd882ba89ef42b20f62cd1a1c6a2a04f6c483ae0f8f1e4341d
6
+ metadata.gz: 6a95f2255ae9a19c2f5f7a0213b740a6e8961cb8d112f53fd232c90c00961f7c6005b44515e1b37bd5c0b4f6f3093b4ded24d0f10282845c3b3a72eae7157996
7
+ data.tar.gz: 78b185a5e6f6eb256f68613449976761dd326e9068c512db0b38537ff6117e1bd05920fcdbe50659f05bec5fc2797fc7ee8994d84abc9b030a9cb663cf2ad70c
data/README.md CHANGED
@@ -334,7 +334,8 @@ The gem is available as open source under the terms of the [MIT License](https:/
334
334
 
335
335
  ## Changelog
336
336
 
337
- - **1.2.1** - Update sandbox URLs from sandbox => sandbox.
337
+ - **1.2.2** - Strip domain from URLs provided to `token.*` methods.
338
+ - **1.2.1** - Update sandbox URLs from uat => sandbox.
338
339
  - **1.2.0** - Refer to Client :id as :key in docs/public APIs for consistency.
339
340
  - **1.1.2** - Add support for `verified_account` and `dwolla_landing` auth flags.
340
341
  - **1.1.1** - Add `TooManyRequestsError` and `ConflictError` classes.
@@ -77,6 +77,7 @@ module DwollaV2
77
77
 
78
78
  def self.full_url client, path
79
79
  path = path[:_links][:self][:href] if path.is_a? Hash
80
+ path.sub! /^https?:\/\/[^\/]*/, ""
80
81
  if path.start_with? client.api_url
81
82
  path
82
83
  elsif path.start_with? "/"
@@ -1,3 +1,3 @@
1
1
  module DwollaV2
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dwolla_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Ausman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-30 00:00:00.000000000 Z
11
+ date: 2017-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler