userlist 0.6.0 → 0.7.0

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: 1f8e5ee8f9d8d18f98ebc7744ced642b9641ec6bd156fff4fbf0352be37dbaa2
4
- data.tar.gz: a532a136941e347e7c7dc454f3ec7a735990f53abd8ddaff1bdf50eb67a3c219
3
+ metadata.gz: 8e20da18840923e5ac9df604853c38b2ffe949d3dea840eb6a9ff10889bb12b4
4
+ data.tar.gz: eebd30d5ac3e947cdddc60200666e6912e467940e534c6c1e9c80d1995f309b0
5
5
  SHA512:
6
- metadata.gz: 9065b7f9af8fc5692b334bcfa97410ee3260544f02cd6440cea57150d3daceb1e62c5b8fba8780f4309da764603966842b59064baad786918f1f23381a8ba0b5
7
- data.tar.gz: f01918dafbaa9a837b25503f667b1387998036a5a626cce75fe3f45ef80539cb6e57aa9ab512bf8813f039b959eb138039ab0086bd98342dec5ef61f2d129969
6
+ metadata.gz: 3dbc899903623868bb8b595f02cf38949de23260756134a80c94518dbae826ffdd41ea2c3895201e42e96827f4152157c3518ffee00cd9528e675d2adb1788c0
7
+ data.tar.gz: 76e7cbd7847f1b5d48468529314198fa813df674bbc40d4d4eaa41f6269b54234bd9be6c850b291ab12250e5b9da8b26082a07b7511d3956c3c96ffde757e996
@@ -10,7 +10,7 @@ module Userlist
10
10
 
11
11
  def initialize(payload = {}, config = Userlist.config)
12
12
  raise Userlist::ArgumentError, 'Missing required payload' unless payload
13
- raise Userlist::ArgumentError, 'Missing required parameter :identifier' unless payload[:identifier]
13
+ raise Userlist::ArgumentError, 'Missing required parameter :identifier or :email' unless payload[:identifier] || payload[:email]
14
14
 
15
15
  super
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module Userlist
2
- VERSION = '0.6.0'.freeze
2
+ VERSION = '0.7.0'.freeze
3
3
  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.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benedikt Deicke
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-14 00:00:00.000000000 Z
11
+ date: 2022-02-02 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.1.4
152
+ rubygems_version: 3.2.32
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: Ruby wrapper for the Userlist API