userlist 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee98b5cd1e17b91ed12fce427d0c87ec4593da547349015ca4ed9272dba73100
4
- data.tar.gz: 3ec9d567b7c8c1894841483cd136c76db4e1a667eac7101541fcd3d232b20a8f
3
+ metadata.gz: 4d6e93ef4ff51c272a689c07261fd423941a7244bec1cedf84af7207cd702816
4
+ data.tar.gz: 6c424b3183ec05af8a620dd39dea582bd097fc1514e800f8cd2b63aab342b90f
5
5
  SHA512:
6
- metadata.gz: 68340e08984d801834f1f853102119df452da6455bdca3b1eedf0d743d829c750fc81e234ef661f964402e44173b9951a891f15cb9ed0665929d525fbd0b03df
7
- data.tar.gz: 1d6e7976d2e5486506306b2623135b4addf4cb7c6b6f3c3d81e30fde6d4fb733eb9d289027812ae6390d82b0b7cf4a5742104b0496d88372b0e720a8ed89402d
6
+ metadata.gz: f8ef2403697c2a9369f0b74737a5429cd0f650c4c22f1e09ab18d024dc7750622032077eb1fb392611ee1fa1907ea48b8e2d2aad2afbf6246fe3eb96c7f2fddd
7
+ data.tar.gz: e2578be25dd0be0db2d721d900f14910f238a72554918319ecad8ba16d3fffaac5da982b6e4c306c4af6bc540f12baeea71c6e7a4e9a0c4418a150028cb38fee
data/CHANGELOG.md ADDED
@@ -0,0 +1,84 @@
1
+ # Userlist for Ruby Changelog
2
+
3
+ ## v0.8.1 (2023-11-30)
4
+
5
+ - Fixes issue with customizability of push? and delete? methods on events and relationships
6
+
7
+ ## v0.8.0 (2023-08-02)
8
+
9
+ - Adds a ActiveJob push strategy
10
+ - Adds support for retries of failed requests
11
+ - Adds response logging to the push client
12
+ - Adds support for payloads on delete requests
13
+
14
+ ## v0.7.2 (2022-10-20)
15
+
16
+ - Improves connection handling between requests
17
+ - Improves handling of arguments passed to Sidekiq
18
+
19
+ ## v0.7.1 (2022-02-10)
20
+
21
+ - Fixes issue with Sidekiq payloads (#4)
22
+
23
+ ## v0.7.0 (2022-02-02)
24
+
25
+ - Allows users without an identifier but with an email address
26
+
27
+ ## v0.6.0 (2021-05-14)
28
+
29
+ - Automatically manage one side of the relationships
30
+ - Always requires a user and a company on relationships
31
+
32
+ ## v0.5.0 (2021-01-22)
33
+
34
+ - Adds support for relationships
35
+ - Adds support for company events
36
+ - Adds support for skipping certain operations
37
+ - Adds lazy lookup for push strategies
38
+ - Adds a Sidekiq push strategy
39
+ - Allow numerics as identifiers
40
+ - Improves Userlist::Token to work with more than just strings
41
+ - Improves the way resources are serialized
42
+ - Improves JSON serialization
43
+ - Replaces userlist.io with userlist.com
44
+ - Require at least Ruby 2.4
45
+
46
+ ## v0.4.1 (2020-03-16)
47
+
48
+ - Fixes a problem when configuring the client (#1)
49
+
50
+ ## v0.4.0 (2020-03-06)
51
+
52
+ - Adds improved error messages for configuration errors
53
+ - Adds support for user token generation
54
+ - Require at least Ruby 2.3
55
+
56
+ ## v0.3.0 (2019-06-27)
57
+
58
+ - Adds additional aliases for the create method
59
+ - Adds resource models for User, Company, and Event
60
+ - Adds a more flexible interface to the push client
61
+ - Adds more HTTP methods to the push client
62
+
63
+ ## v0.2.2 (2019-03-18)
64
+
65
+ - Adds support for Ruby 2.2
66
+
67
+ ## v0.2.1 (2019-03-13)
68
+
69
+ - Adds support for Ruby 2.3
70
+
71
+ ## v0.2.0 (2018-11-21)
72
+
73
+ - Adds the ability to adjust the configuration
74
+ - Adds convenience class methods to Userlist::Push
75
+ - Adds track and identify aliases for event and user push methods
76
+ - Adds null strategy that discards everything for testing purposes
77
+ - Adds logging support
78
+ - Adds threaded push strategy to deliver requests without blocking the main thread
79
+ - Adds Userlist::Push as a nicer interface to the push endpoint
80
+ - Require at least Ruby 2.1
81
+
82
+ ## v0.1.0 (2018-01-18)
83
+
84
+ - Initial release
@@ -19,7 +19,7 @@ module Userlist
19
19
  end
20
20
 
21
21
  def push?
22
- (user.nil? || user.push?) && (company.nil? || company.push?)
22
+ super && (user.nil? || user.push?) && (company.nil? || company.push?)
23
23
  end
24
24
  end
25
25
  end
@@ -23,7 +23,7 @@ module Userlist
23
23
  end
24
24
 
25
25
  def push?
26
- user&.push? && company&.push?
26
+ super && user&.push? && company&.push?
27
27
  end
28
28
  end
29
29
  end
@@ -1,3 +1,3 @@
1
1
  module Userlist
2
- VERSION = '0.8.0'.freeze
2
+ VERSION = '0.8.1'.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.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benedikt Deicke
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-02 00:00:00.000000000 Z
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,6 +91,7 @@ files:
91
91
  - ".gitignore"
92
92
  - ".rspec"
93
93
  - ".rubocop.yml"
94
+ - CHANGELOG.md
94
95
  - CODE_OF_CONDUCT.md
95
96
  - Gemfile
96
97
  - Guardfile
@@ -147,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
148
  - !ruby/object:Gem::Version
148
149
  version: '0'
149
150
  requirements: []
150
- rubygems_version: 3.4.6
151
+ rubygems_version: 3.4.21
151
152
  signing_key:
152
153
  specification_version: 4
153
154
  summary: Ruby wrapper for the Userlist API