mollie-api-ruby 3.1.2 → 3.1.3

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
  SHA256:
3
- metadata.gz: 8f67376b63177add01b3d9989db28fe7bf5111c8d9ff6ae46ec9f569b0617e7d
4
- data.tar.gz: f1140a01884b7b5b829bab7fc3969cfe27c6f723c90168fcd52fc7ee0d5de30c
3
+ metadata.gz: 92e30bbf527f812be7c42ad636d80ad63cff5e6416299e71790f7526c606cb24
4
+ data.tar.gz: e7ed0ddf6fb55cba0c2f4c5e9379c63dc0fc2b101406c1771ffa3e22fc6766cd
5
5
  SHA512:
6
- metadata.gz: 64b025eb70d5a0e4ca3b05337a35c75f81a2d9b973fcda9d9ee6d0db80b8e7ddce3b88982edefe48121a2a195545d1b5512c47c66c09d2b56e5a412a33f529d4
7
- data.tar.gz: ca437f7020f9616e53dcb5013990056ed12ecf287bce83b828f439b1623d821ece731496a3a017c8801aaf7483f63f9dddf8eae16c0090c63f23d7e37219b5c8
6
+ metadata.gz: e4f176da32ab2592c58c565f74f0b7fe5e9f35f144fe8e749a8113e832234948ae90fae65a44ea49f8b1efa523bb893c925977ac7dd5f51e300699f226da57d4
7
+ data.tar.gz: 4e63c3d3327bc0c6117ccd720e41c9e535617f62269bdb31ff4b8c7f9436d6eb1e3e4f17894e8951f147fb5805f3f4f76ad611917b1dccfcebfefb632ac6361c
data/lib/mollie/client.rb CHANGED
@@ -25,7 +25,10 @@ module Mollie
25
25
 
26
26
  # @return [Mollie::Client]
27
27
  def self.instance
28
- Thread.current['MOLLIE_CLIENT'] ||= new(configuration.api_key)
28
+ Thread.current['MOLLIE_CLIENT'] ||= begin
29
+ self.configuration ||= Configuration.new
30
+ new(configuration.api_key)
31
+ end
29
32
  end
30
33
 
31
34
  def self.with_api_key(api_key)
@@ -1,3 +1,3 @@
1
1
  module Mollie
2
- VERSION = "3.1.2"
2
+ VERSION = "3.1.3"
3
3
  end
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mollie-api-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mollie B.V.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-12 00:00:00.000000000 Z
11
+ date: 2018-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -250,7 +250,7 @@ files:
250
250
  - lib/mollie/settlement/refund.rb
251
251
  - lib/mollie/util.rb
252
252
  - lib/mollie/version.rb
253
- - mollie.gemspec
253
+ - mollie-api-ruby.gemspec
254
254
  - test/helper.rb
255
255
  - test/mollie/base_test.rb
256
256
  - test/mollie/chargeback_test.rb