gmo-pg 1.0.2 → 1.0.3

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: a8bf2b45ab6caf075907b74263e0079901a54d28
4
- data.tar.gz: 6df5174e4187c5c7c2f1178bcd2409fa096bbdfa
3
+ metadata.gz: 79f1198f3a1aa93e46714f544a05b96fc3cd0f56
4
+ data.tar.gz: 4414551ad4e96bd157a233b906a2b63816f65ba9
5
5
  SHA512:
6
- metadata.gz: 562a65145e61a24690a22f48b7d4125eccfa9a71b078a81e6272e195e536361a63b77d3da3372491a5182f9b93b0386a87ba2850c355dd259e60b1c102830f0d
7
- data.tar.gz: a66a798ee14df3c5852f8a7f4c10f64f1665a6e957ae13120a147c993c4c639c3ebf8c35216f46bf01a31ce08199f8c65d4b9826fa41381ac245de5ca1ed6a0e
6
+ metadata.gz: 5890ff116bf7cb31682c5e8ea7665093eb4dd77f61212c819b7fbd4d1149f6801800592362f05a41ae08a0792bd5b3cb5baf478c1c7b8a4ebc5c714e8a763b62
7
+ data.tar.gz: 377a2646d700907c79b74659dcce70928370dcd29c319dd63de70c04276a196ed22e19f1dd1c50f733e97b8c34c3bf696e85da4f3ff7389f2479a955a806ed31
@@ -1,5 +1,5 @@
1
1
  module GMO
2
2
  module PG
3
- VERSION = '1.0.2'
3
+ VERSION = '1.0.3'
4
4
  end
5
5
  end
data/lib/gmo/pg.rb CHANGED
@@ -15,7 +15,7 @@ module GMO
15
15
  attr_accessor :base_url, :open_timeout, :read_timeout, :proxy, :raise_on_api_error
16
16
  end
17
17
 
18
- def self.connect(&block)
18
+ def self.connect(base_url = self.base_url, &block)
19
19
  dispatcher = Dispatcher.new(base_url) do |d|
20
20
  d.open_timeout = open_timeout
21
21
  d.read_timeout = read_timeout
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gmo-pg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - kissy2go
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-25 00:00:00.000000000 Z
11
+ date: 2017-01-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: GMO-PG is No.1 Payment Gateway in Japan. See https://www.gmo-pg.com for
14
14
  details.