salesforce_streamer 2.9.0 → 2.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bundler-version +1 -1
- data/.dependabot/config.yml +9 -13
- data/.github/workflows/auto-approve.yml +1 -1
- data/.github/workflows/auto-merge-dependencies.yml +2 -2
- data/.github/workflows/auto-merge.yml +1 -1
- data/.github/workflows/ci.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +49 -42
- data/lib/salesforce_streamer/errors.rb +5 -5
- data/lib/salesforce_streamer/salesforce_client.rb +2 -2
- data/lib/salesforce_streamer/version.rb +1 -1
- data/salesforce_streamer.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2224158723e61b1fe1d6f7db83facc9b4e25c313f53dfae84144fd169bdcad2b
|
4
|
+
data.tar.gz: ae91ed3fc8aec6b472c04b082a51fd0fbfb9d6792310d89bfd39708dcaec811f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31f95b291a0a8ebd4caf2437afa8f7ec49722e64c80a7682254bd04617abb815986f1bc04f3353493552ae9f0abcc9366e97e6e97935c8c9972fc169fc01b8b3
|
7
|
+
data.tar.gz: c992608b2053c88e89e98f8f8565fd3136c92b7df55f03e811f32994f418bf624098cc962390c41ef66df589d8affde044a7d64da629ee2686b826bedd8a6f66
|
data/.bundler-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.6
|
data/.dependabot/config.yml
CHANGED
@@ -1,19 +1,15 @@
|
|
1
|
-
version:
|
1
|
+
version: 2
|
2
2
|
|
3
|
-
|
4
|
-
-
|
3
|
+
updates:
|
4
|
+
- package-ecosystem: "bundler"
|
5
5
|
directory: "/"
|
6
|
-
|
7
|
-
|
6
|
+
schedule:
|
7
|
+
interval: "weekly"
|
8
|
+
day: "monday"
|
9
|
+
time: "08:00"
|
10
|
+
timezone: "UTC"
|
11
|
+
commit-message:
|
8
12
|
prefix: "[dependabot]"
|
9
|
-
allowed_updates:
|
10
|
-
- match:
|
11
|
-
dependency_type: "all"
|
12
|
-
update_type: "security"
|
13
|
-
automerged_updates:
|
14
|
-
- match:
|
15
|
-
dependency_type: "all"
|
16
|
-
update_type: "security:patch"
|
17
13
|
labels:
|
18
14
|
- "automerge"
|
19
15
|
- "dependencies"
|
@@ -8,6 +8,6 @@ jobs:
|
|
8
8
|
runs-on: ubuntu-latest
|
9
9
|
steps:
|
10
10
|
- uses: hmarr/auto-approve-action@v3
|
11
|
-
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev' || contains(
|
11
|
+
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev' || contains(github.event.pull_request.labels.*.name, 'HOTFIX-AUTO-APPROVE') || contains(github.event.pull_request.labels.*.name, 'dependencies')
|
12
12
|
with:
|
13
13
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
@@ -15,10 +15,10 @@ jobs:
|
|
15
15
|
runs-on: ubuntu-latest
|
16
16
|
steps:
|
17
17
|
- name: automerge-dependencies
|
18
|
-
uses: pascalgn/automerge-action@v0.
|
18
|
+
uses: pascalgn/automerge-action@v0.16.2
|
19
19
|
env:
|
20
20
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
21
21
|
MERGE_METHOD: squash
|
22
22
|
MERGE_DELETE_BRANCH: true
|
23
|
-
MERGE_LABELS: dependencies
|
23
|
+
MERGE_LABELS: "dependencies,!automerge blocked"
|
24
24
|
MERGE_REMOVE_LABELS: ""
|
data/.github/workflows/ci.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
Sorted so that the most recent change logs are near the top. Only significant
|
4
4
|
changes are logged in the change log.
|
5
5
|
|
6
|
+
## 2024-02-29 Krzysztof Knapik
|
7
|
+
|
8
|
+
v2.10 Drop ruby 3.0 and add ruby 3.3 support
|
9
|
+
|
6
10
|
## 2023-07-26 Krzysztof Knapik
|
7
11
|
|
8
12
|
v2.9 take default api version from `SALESFORCE_API_VERSION` env var
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
salesforce_streamer (2.
|
4
|
+
salesforce_streamer (2.10.0)
|
5
5
|
cookiejar (~> 0.3)
|
6
6
|
dry-initializer (~> 3.1)
|
7
7
|
eventmachine (~> 1.2)
|
@@ -11,14 +11,15 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
addressable (2.8.
|
14
|
+
addressable (2.8.6)
|
15
15
|
public_suffix (>= 2.0.2, < 6.0)
|
16
16
|
ast (2.4.2)
|
17
|
+
base64 (0.2.0)
|
17
18
|
byebug (11.1.3)
|
18
19
|
codecov (0.6.0)
|
19
20
|
simplecov (>= 0.15, < 0.22)
|
20
|
-
cookiejar (0.3.
|
21
|
-
diff-lcs (1.5.
|
21
|
+
cookiejar (0.3.4)
|
22
|
+
diff-lcs (1.5.1)
|
22
23
|
docile (1.4.0)
|
23
24
|
dry-initializer (3.1.1)
|
24
25
|
em-http-request (1.1.7)
|
@@ -30,14 +31,14 @@ GEM
|
|
30
31
|
em-socksify (0.3.2)
|
31
32
|
eventmachine (>= 1.0.0.beta.4)
|
32
33
|
eventmachine (1.2.7)
|
33
|
-
faraday (2.
|
34
|
-
faraday-net_http (>= 2.0, < 3.1)
|
34
|
+
faraday (2.0.0)
|
35
35
|
ruby2_keywords (>= 0.0.4)
|
36
36
|
faraday-follow_redirects (0.3.0)
|
37
37
|
faraday (>= 1, < 3)
|
38
38
|
faraday-multipart (1.0.4)
|
39
39
|
multipart-post (~> 2)
|
40
|
-
faraday-net_http (3.0
|
40
|
+
faraday-net_http (3.1.0)
|
41
|
+
net-http
|
41
42
|
faye (1.4.0)
|
42
43
|
cookiejar (>= 0.3.0)
|
43
44
|
em-http-request (>= 1.1.6)
|
@@ -51,63 +52,68 @@ GEM
|
|
51
52
|
websocket-driver (>= 0.5.1)
|
52
53
|
hashie (5.0.0)
|
53
54
|
http_parser.rb (0.8.0)
|
54
|
-
json (2.
|
55
|
-
jwt (2.
|
55
|
+
json (2.7.1)
|
56
|
+
jwt (2.8.1)
|
57
|
+
base64
|
56
58
|
language_server-protocol (3.17.0.3)
|
57
59
|
multi_json (1.15.0)
|
58
|
-
multipart-post (2.
|
59
|
-
|
60
|
-
|
60
|
+
multipart-post (2.4.0)
|
61
|
+
net-http (0.4.1)
|
62
|
+
uri
|
63
|
+
parallel (1.24.0)
|
64
|
+
parser (3.3.0.5)
|
61
65
|
ast (~> 2.4.1)
|
62
66
|
racc
|
63
|
-
|
64
|
-
|
65
|
-
|
67
|
+
prism (0.24.0)
|
68
|
+
public_suffix (5.0.4)
|
69
|
+
racc (1.7.3)
|
70
|
+
rack (3.0.9.1)
|
66
71
|
rainbow (3.1.1)
|
67
|
-
rake (13.0
|
68
|
-
regexp_parser (2.
|
69
|
-
restforce (6.2.
|
72
|
+
rake (13.1.0)
|
73
|
+
regexp_parser (2.9.0)
|
74
|
+
restforce (6.2.4)
|
70
75
|
faraday (>= 1.1.0, < 2.8.0)
|
71
76
|
faraday-follow_redirects (<= 0.3.0, < 1.0.0)
|
72
77
|
faraday-multipart (>= 1.0.0, < 2.0.0)
|
73
78
|
faraday-net_http (< 4.0.0)
|
74
79
|
hashie (>= 1.2.0, < 6.0)
|
75
80
|
jwt (>= 1.5.6)
|
76
|
-
rexml (3.2.
|
77
|
-
rspec (3.
|
78
|
-
rspec-core (~> 3.
|
79
|
-
rspec-expectations (~> 3.
|
80
|
-
rspec-mocks (~> 3.
|
81
|
-
rspec-core (3.
|
82
|
-
rspec-support (~> 3.
|
83
|
-
rspec-expectations (3.
|
81
|
+
rexml (3.2.6)
|
82
|
+
rspec (3.13.0)
|
83
|
+
rspec-core (~> 3.13.0)
|
84
|
+
rspec-expectations (~> 3.13.0)
|
85
|
+
rspec-mocks (~> 3.13.0)
|
86
|
+
rspec-core (3.13.0)
|
87
|
+
rspec-support (~> 3.13.0)
|
88
|
+
rspec-expectations (3.13.0)
|
84
89
|
diff-lcs (>= 1.2.0, < 2.0)
|
85
|
-
rspec-support (~> 3.
|
86
|
-
rspec-mocks (3.
|
90
|
+
rspec-support (~> 3.13.0)
|
91
|
+
rspec-mocks (3.13.0)
|
87
92
|
diff-lcs (>= 1.2.0, < 2.0)
|
88
|
-
rspec-support (~> 3.
|
89
|
-
rspec-support (3.
|
90
|
-
rubocop (1.
|
93
|
+
rspec-support (~> 3.13.0)
|
94
|
+
rspec-support (3.13.1)
|
95
|
+
rubocop (1.61.0)
|
91
96
|
json (~> 2.3)
|
92
97
|
language_server-protocol (>= 3.17.0)
|
93
98
|
parallel (~> 1.10)
|
94
|
-
parser (>= 3.
|
99
|
+
parser (>= 3.3.0.2)
|
95
100
|
rainbow (>= 2.2.2, < 4.0)
|
96
101
|
regexp_parser (>= 1.8, < 3.0)
|
97
102
|
rexml (>= 3.2.5, < 4.0)
|
98
|
-
rubocop-ast (>= 1.
|
103
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
99
104
|
ruby-progressbar (~> 1.7)
|
100
105
|
unicode-display_width (>= 2.4.0, < 3.0)
|
101
|
-
rubocop-ast (1.
|
102
|
-
parser (>= 3.
|
103
|
-
|
106
|
+
rubocop-ast (1.31.0)
|
107
|
+
parser (>= 3.3.0.4)
|
108
|
+
prism (>= 0.24.0)
|
109
|
+
rubocop-capybara (2.20.0)
|
110
|
+
rubocop (~> 1.41)
|
111
|
+
rubocop-factory_bot (2.25.1)
|
104
112
|
rubocop (~> 1.41)
|
105
|
-
rubocop-factory_bot (2.23.1)
|
106
|
-
rubocop (~> 1.33)
|
107
113
|
rubocop-rake (0.6.0)
|
108
114
|
rubocop (~> 1.0)
|
109
|
-
rubocop-rspec (2.
|
110
|
-
rubocop (~> 1.
|
115
|
+
rubocop-rspec (2.26.1)
|
116
|
+
rubocop (~> 1.40)
|
111
117
|
rubocop-capybara (~> 2.17)
|
112
118
|
rubocop-factory_bot (~> 2.22)
|
113
119
|
ruby-progressbar (1.13.0)
|
@@ -118,7 +124,8 @@ GEM
|
|
118
124
|
simplecov_json_formatter (~> 0.1)
|
119
125
|
simplecov-html (0.12.3)
|
120
126
|
simplecov_json_formatter (0.1.4)
|
121
|
-
unicode-display_width (2.
|
127
|
+
unicode-display_width (2.5.0)
|
128
|
+
uri (0.13.0)
|
122
129
|
websocket-driver (0.7.6)
|
123
130
|
websocket-extensions (>= 0.1.0)
|
124
131
|
websocket-extensions (0.1.5)
|
@@ -137,4 +144,4 @@ DEPENDENCIES
|
|
137
144
|
salesforce_streamer!
|
138
145
|
|
139
146
|
BUNDLED WITH
|
140
|
-
2.
|
147
|
+
2.5.6
|
@@ -3,31 +3,31 @@ module SalesforceStreamer
|
|
3
3
|
|
4
4
|
class MissingCLIFlagError < StandardError
|
5
5
|
def initialize(flag)
|
6
|
-
super
|
6
|
+
super("Missing required command line flag: #{flag}")
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
10
10
|
class NilQueryError < StandardError
|
11
11
|
def initialize(name)
|
12
|
-
super
|
12
|
+
super("Query not defined for #{name}")
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
16
16
|
class PushTopicHandlerMissingError < StandardError
|
17
17
|
def initialize(message)
|
18
|
-
super
|
18
|
+
super("Unable to load constant #{message}.")
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
22
|
class PushTopicNameTooLongError < StandardError
|
23
23
|
def initialize(name)
|
24
|
-
super
|
24
|
+
super("PushTopic name: #{name} (#{name.size}/25)")
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
28
|
class UnprocessableHandlerError < StandardError
|
29
29
|
def initialize(constant)
|
30
|
-
super
|
30
|
+
super("#{constant} does not repond to .call or .perform_async")
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
data/salesforce_streamer.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
25
|
spec.require_paths = ['lib']
|
26
26
|
|
27
|
-
spec.required_ruby_version = '>= 3.0'
|
27
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 3.1.0')
|
28
28
|
|
29
29
|
spec.add_dependency 'cookiejar', '~> 0.3'
|
30
30
|
spec.add_dependency 'dry-initializer', '~> 3.1'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: salesforce_streamer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Serok
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-02-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cookiejar
|
@@ -139,14 +139,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
139
139
|
requirements:
|
140
140
|
- - ">="
|
141
141
|
- !ruby/object:Gem::Version
|
142
|
-
version:
|
142
|
+
version: 3.1.0
|
143
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
145
|
- - ">="
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
|
-
rubygems_version: 3.
|
149
|
+
rubygems_version: 3.5.3
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: A wrapper around the Restforce Streaming API with a built-in PushTopic manager.
|