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 +4 -4
- data/lib/userlist/push/user.rb +1 -1
- data/lib/userlist/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e20da18840923e5ac9df604853c38b2ffe949d3dea840eb6a9ff10889bb12b4
|
4
|
+
data.tar.gz: eebd30d5ac3e947cdddc60200666e6912e467940e534c6c1e9c80d1995f309b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dbc899903623868bb8b595f02cf38949de23260756134a80c94518dbae826ffdd41ea2c3895201e42e96827f4152157c3518ffee00cd9528e675d2adb1788c0
|
7
|
+
data.tar.gz: 76e7cbd7847f1b5d48468529314198fa813df674bbc40d4d4eaa41f6269b54234bd9be6c850b291ab12250e5b9da8b26082a07b7511d3956c3c96ffde757e996
|
data/lib/userlist/push/user.rb
CHANGED
@@ -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
|
data/lib/userlist/version.rb
CHANGED
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.
|
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:
|
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.
|
152
|
+
rubygems_version: 3.2.32
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: Ruby wrapper for the Userlist API
|