userlist 0.7.1 → 0.7.2

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: 93b343c10d2614536619adc6ab7ecfa1ceb1f2a778e7748425f2fb7df3316a21
4
- data.tar.gz: 55ad33ee9a9aef2ee81b0ffb507016bb25a8fc7844205520c7f0a48ec0de9f76
3
+ metadata.gz: ee5f47b48e2bcc0babdbb7bcc85e84e5b197dacefb777eb19764d6f23e78e682
4
+ data.tar.gz: 53caac6db3e462e9fe280541a7249da39e821a6a8bed7c70373131bebe9a6e19
5
5
  SHA512:
6
- metadata.gz: 0113f93c4b9a64c559f052900edef4677bd0ec0000e97b68daebb81b50614d7df83076d0e668d1cd8f2a65fa973600b92589db0a622ab45d8f5797cbea1e3bef
7
- data.tar.gz: 8dba2559f0660836a11ef6b5b709f76399f1e8b7b2dfdfd4d4caf54ffac2c0cd6f7775bcd7ee801c4dc6bbd10698cd208b4d4b4a672f9636d846265553767f4c
6
+ metadata.gz: 687b4ff1d89c5c98814fc89fe7cb8097577bd0cea63138f40e194eb47d6d6a2807b624c9dd15f2b64868f0473f1baaf268b6f7cb3945b713c20d00150b71739c
7
+ data.tar.gz: 0b72bc8a28a6cba596c5afaff369e62b26cc8a84347f0059f68859c02df270562663c9e7faa8ddbb89a7053cf6d811d7dfcafa75f2f9233c27a36aebd72e4b4a
data/.rspec CHANGED
@@ -1,2 +1,4 @@
1
1
  --format documentation
2
+ --require spec_helper
3
+ --order random
2
4
  --color
@@ -57,6 +57,7 @@ module Userlist
57
57
 
58
58
  logger.debug "Sending #{request.method} to #{URI.join(endpoint, request.path)} with body #{request.body}"
59
59
 
60
+ http.start unless http.started?
60
61
  http.request(request)
61
62
  end
62
63
 
@@ -1,3 +1,3 @@
1
1
  module Userlist
2
- VERSION = '0.7.1'.freeze
2
+ VERSION = '0.7.2'.freeze
3
3
  end
data/lib/userlist.rb CHANGED
@@ -51,6 +51,10 @@ module Userlist
51
51
  yield config
52
52
  end
53
53
 
54
+ def reset!
55
+ @config = nil
56
+ end
57
+
54
58
  attr_writer :logger
55
59
  end
56
60
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: userlist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benedikt Deicke
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-10 00:00:00.000000000 Z
11
+ date: 2022-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  - !ruby/object:Gem::Version
150
150
  version: '0'
151
151
  requirements: []
152
- rubygems_version: 3.2.32
152
+ rubygems_version: 3.3.7
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: Ruby wrapper for the Userlist API