bunq-client 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/bunq/client.rb +5 -1
- data/lib/bunq/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f36ef5a7dda47ca8610f7de424d6205a5a37faccfb68eda0f7a4afe242ab857b
|
4
|
+
data.tar.gz: b98d106de32dc66a735012826f56d63587b5a49863d5543a54ffc77e16d3d341
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6b6ecaaf23b4573451ecc0b7698f8271498416265cabdd9721267edad732e280b652f8877eabdae9dab85161aabbae2491cfcc323427f526ad55c6b55fd8774
|
7
|
+
data.tar.gz: ddbdca897a57d9c0432fbf2f56a3c4a5b4e40fc404840abe4a4b03dcd68897cd02b0f42c789154a97ea37cd0f6fd0c1f3fec3a8faa72423d4afc9139713a094e
|
data/CHANGELOG.md
ADDED
data/lib/bunq/client.rb
CHANGED
@@ -54,7 +54,7 @@ module Bunq
|
|
54
54
|
#
|
55
55
|
def client
|
56
56
|
fail "No configuration! Call Bunq.configure first." unless configuration
|
57
|
-
Client.new(configuration)
|
57
|
+
Client.new(configuration.dup)
|
58
58
|
end
|
59
59
|
end
|
60
60
|
|
@@ -221,6 +221,10 @@ module Bunq
|
|
221
221
|
with_session { user(current_session_user_id) }
|
222
222
|
end
|
223
223
|
|
224
|
+
def with_local_config
|
225
|
+
yield(configuration.dup)
|
226
|
+
end
|
227
|
+
|
224
228
|
def ensure_session!
|
225
229
|
@current_session ||= configuration.session_cache.get { create_session }
|
226
230
|
end
|
data/lib/bunq/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bunq-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lars Vonk
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2019-06-
|
14
|
+
date: 2019-06-11 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rest-client
|
@@ -139,6 +139,7 @@ files:
|
|
139
139
|
- ".rspec"
|
140
140
|
- ".ruby-version"
|
141
141
|
- ".travis.yml"
|
142
|
+
- CHANGELOG.md
|
142
143
|
- CODE_OF_CONDUCT.md
|
143
144
|
- Gemfile
|
144
145
|
- LICENSE.txt
|