salesforce_streamer 2.6.0 → 2.8.0

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: e2bf462cd8fca814d8d40e393aa0f42dcfdb41da4723a114cd5192d2d9501ff5
4
- data.tar.gz: 0b99425e8dc09388a7d7fdc4c8e60e3621f9aaf24d8664c73e9c97262e9b0ca2
3
+ metadata.gz: 1d6ae7e694530c826f92d21697ecdecfa669d4cffb9dbe373532d204356e9d8a
4
+ data.tar.gz: 42e5de80a42463d164f58a90474911d9c06ec60c04f99415a5d649ea82554090
5
5
  SHA512:
6
- metadata.gz: af7e8f335e4955d6b4de0c699c3391d4df0e761dbcf23c94b0d48de210179f9f79b239b8c694ace8aefe553ae1fa33949d0df07b7b8ac6c081f08409c01510c1
7
- data.tar.gz: efdaba381d66bbb79fe74ecd0441f6ac1a6a9f52523c0c990a7ef770663a1e020e8ca38dfb3bf237c90ea1c3926c114b52bc3fb8bf9a624133b47555d52c554e
6
+ metadata.gz: ee7ca51c256e077f42ed010e5286a05353a6be4f39298d6d6f3cf1b198aa65d31e4594c72302d308e5748211beab5221d05c348f59f997f69bf36af3ee96c0ee
7
+ data.tar.gz: b698338a1f1c3161bdfb7ad9a70840b8ae45c85efb8cfcf70c77732a86158ff89e1e2a040b9f7fc2dc55a8ece15706270d6b9f673dc8df50f84e4cc14222f6c2
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.3.11
1
+ 2.4.5
@@ -14,3 +14,6 @@ update_configs:
14
14
  - match:
15
15
  dependency_type: "all"
16
16
  update_type: "security:patch"
17
+ labels:
18
+ - "automerge"
19
+ - "dependencies"
@@ -0,0 +1,24 @@
1
+ name: automerge-dependencies
2
+ on:
3
+ pull_request_review:
4
+ types:
5
+ - submitted
6
+ check_suite:
7
+ types:
8
+ - completed
9
+ label:
10
+ types:
11
+ - created
12
+ status: {}
13
+ jobs:
14
+ automerge:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: automerge-dependencies
18
+ uses: pascalgn/automerge-action@v0.15.5
19
+ env:
20
+ GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
21
+ MERGE_METHOD: squash
22
+ MERGE_DELETE_BRANCH: true
23
+ MERGE_LABELS: dependencies
24
+ MERGE_REMOVE_LABELS: ""
@@ -6,13 +6,16 @@ on:
6
6
  check_suite:
7
7
  types:
8
8
  - completed
9
+ label:
10
+ types:
11
+ - created
9
12
  status: {}
10
13
  jobs:
11
14
  automerge:
12
15
  runs-on: ubuntu-latest
13
16
  steps:
14
17
  - name: automerge
15
- uses: "pascalgn/automerge-action@v0.12.0"
18
+ uses: pascalgn/automerge-action@v0.15.5
16
19
  env:
17
20
  GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
18
21
  MERGE_METHOD: squash
@@ -14,12 +14,9 @@ jobs:
14
14
  ruby-version: ['3.0', 3.1]
15
15
 
16
16
  steps:
17
- - uses: actions/checkout@v2
17
+ - uses: actions/checkout@v3
18
18
  - name: Set up Ruby
19
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
20
- # change this to (see https://github.com/ruby/setup-ruby#versioning):
21
- # uses: ruby/setup-ruby@v1
22
- uses: ruby/setup-ruby@bd94d6a504586da892a5753afdd1480096ed30df
19
+ uses: ruby/setup-ruby@v1
23
20
  with:
24
21
  ruby-version: ${{ matrix.ruby-version }}
25
22
  bundler-cache: true # runs 'bundle install' and caches installed gems automatically
data/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
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
+ ## 2023-02-14 Krzysztof Knapik
7
+
8
+ v2.8 bump dependency constraints, restforce 6.2+
9
+
10
+ ## 2022-08-01 Krzysztof Knapik
11
+
12
+ v2.7 bump dependency constraints
13
+
14
+ ## 2022-04-10 Krzysztof Knapik
15
+
16
+ v2.6 drops ruby 2.7 support and adds ruby 3.1 support
17
+
6
18
  ## 2020-08-17 Scott Serok [scott@renofi.com](mailto:scott@renofi.com)
7
19
 
8
20
  v2.1 changes the expected interface of `Configuration#replay_adapter`.
data/Gemfile CHANGED
@@ -1,4 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in salesforce_streamer.gemspec
4
3
  gemspec
4
+
5
+ gem 'byebug'
6
+ gem 'codecov'
7
+ gem 'rake'
8
+ gem 'rspec'
9
+ gem 'rubocop'
10
+ gem 'rubocop-rake'
11
+ gem 'rubocop-rspec'
data/Gemfile.lock CHANGED
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- salesforce_streamer (2.6.0)
5
- cookiejar (~> 0.3.0)
6
- dry-initializer (~> 3.0)
4
+ salesforce_streamer (2.8.0)
5
+ cookiejar (~> 0.3)
6
+ dry-initializer (~> 3.1)
7
7
  eventmachine (~> 1.2)
8
8
  faye (~> 1.4)
9
- restforce (~> 5.0)
9
+ restforce (~> 6.2)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- addressable (2.8.0)
15
- public_suffix (>= 2.0.2, < 5.0)
14
+ addressable (2.8.1)
15
+ public_suffix (>= 2.0.2, < 6.0)
16
16
  ast (2.4.2)
17
17
  byebug (11.1.3)
18
18
  codecov (0.6.0)
@@ -30,27 +30,14 @@ GEM
30
30
  em-socksify (0.3.2)
31
31
  eventmachine (>= 1.0.0.beta.4)
32
32
  eventmachine (1.2.7)
33
- faraday (1.8.0)
34
- faraday-em_http (~> 1.0)
35
- faraday-em_synchrony (~> 1.0)
36
- faraday-excon (~> 1.1)
37
- faraday-httpclient (~> 1.0.1)
38
- faraday-net_http (~> 1.0)
39
- faraday-net_http_persistent (~> 1.1)
40
- faraday-patron (~> 1.0)
41
- faraday-rack (~> 1.0)
42
- multipart-post (>= 1.2, < 3)
33
+ faraday (2.7.4)
34
+ faraday-net_http (>= 2.0, < 3.1)
43
35
  ruby2_keywords (>= 0.0.4)
44
- faraday-em_http (1.0.0)
45
- faraday-em_synchrony (1.0.0)
46
- faraday-excon (1.1.0)
47
- faraday-httpclient (1.0.1)
48
- faraday-net_http (1.0.1)
49
- faraday-net_http_persistent (1.2.0)
50
- faraday-patron (1.0.0)
51
- faraday-rack (1.0.0)
52
- faraday_middleware (1.2.0)
53
- faraday (~> 1.0)
36
+ faraday-follow_redirects (0.3.0)
37
+ faraday (>= 1, < 3)
38
+ faraday-multipart (1.0.4)
39
+ multipart-post (~> 2)
40
+ faraday-net_http (3.0.2)
54
41
  faye (1.4.0)
55
42
  cookiejar (>= 0.3.0)
56
43
  em-http-request (>= 1.1.6)
@@ -64,51 +51,58 @@ GEM
64
51
  websocket-driver (>= 0.5.1)
65
52
  hashie (5.0.0)
66
53
  http_parser.rb (0.8.0)
67
- jwt (2.3.0)
54
+ json (2.6.3)
55
+ jwt (2.7.0)
68
56
  multi_json (1.15.0)
69
- multipart-post (2.1.1)
57
+ multipart-post (2.3.0)
70
58
  parallel (1.22.1)
71
- parser (3.1.2.0)
59
+ parser (3.2.1.0)
72
60
  ast (~> 2.4.1)
73
- public_suffix (4.0.7)
74
- rack (2.2.3)
61
+ public_suffix (5.0.1)
62
+ rack (3.0.4.1)
75
63
  rainbow (3.1.1)
76
64
  rake (13.0.6)
77
- regexp_parser (2.3.0)
78
- restforce (5.2.4)
79
- faraday (>= 0.9.0, < 1.9.0)
80
- faraday_middleware (>= 0.8.8, <= 2.0)
65
+ regexp_parser (2.7.0)
66
+ restforce (6.2.1)
67
+ faraday (>= 1.1.0, < 2.8.0)
68
+ faraday-follow_redirects (<= 0.3.0, < 1.0.0)
69
+ faraday-multipart (>= 1.0.0, < 2.0.0)
70
+ faraday-net_http (< 4.0.0)
81
71
  hashie (>= 1.2.0, < 6.0)
82
72
  jwt (>= 1.5.6)
83
73
  rexml (3.2.5)
84
- rspec (3.11.0)
85
- rspec-core (~> 3.11.0)
86
- rspec-expectations (~> 3.11.0)
87
- rspec-mocks (~> 3.11.0)
88
- rspec-core (3.11.0)
89
- rspec-support (~> 3.11.0)
90
- rspec-expectations (3.11.0)
74
+ rspec (3.12.0)
75
+ rspec-core (~> 3.12.0)
76
+ rspec-expectations (~> 3.12.0)
77
+ rspec-mocks (~> 3.12.0)
78
+ rspec-core (3.12.1)
79
+ rspec-support (~> 3.12.0)
80
+ rspec-expectations (3.12.2)
91
81
  diff-lcs (>= 1.2.0, < 2.0)
92
- rspec-support (~> 3.11.0)
93
- rspec-mocks (3.11.1)
82
+ rspec-support (~> 3.12.0)
83
+ rspec-mocks (3.12.3)
94
84
  diff-lcs (>= 1.2.0, < 2.0)
95
- rspec-support (~> 3.11.0)
96
- rspec-support (3.11.0)
97
- rubocop (1.27.0)
85
+ rspec-support (~> 3.12.0)
86
+ rspec-support (3.12.0)
87
+ rubocop (1.45.1)
88
+ json (~> 2.3)
98
89
  parallel (~> 1.10)
99
- parser (>= 3.1.0.0)
90
+ parser (>= 3.2.0.0)
100
91
  rainbow (>= 2.2.2, < 4.0)
101
92
  regexp_parser (>= 1.8, < 3.0)
102
- rexml
103
- rubocop-ast (>= 1.16.0, < 2.0)
93
+ rexml (>= 3.2.5, < 4.0)
94
+ rubocop-ast (>= 1.24.1, < 2.0)
104
95
  ruby-progressbar (~> 1.7)
105
- unicode-display_width (>= 1.4.0, < 3.0)
106
- rubocop-ast (1.17.0)
107
- parser (>= 3.1.1.0)
96
+ unicode-display_width (>= 2.4.0, < 3.0)
97
+ rubocop-ast (1.26.0)
98
+ parser (>= 3.2.1.0)
99
+ rubocop-capybara (2.17.0)
100
+ rubocop (~> 1.41)
108
101
  rubocop-rake (0.6.0)
109
102
  rubocop (~> 1.0)
110
- rubocop-rspec (2.10.0)
111
- rubocop (~> 1.19)
103
+ rubocop-rspec (2.18.1)
104
+ rubocop (~> 1.33)
105
+ rubocop-capybara (~> 2.17)
112
106
  ruby-progressbar (1.11.0)
113
107
  ruby2_keywords (0.0.5)
114
108
  simplecov (0.21.2)
@@ -117,18 +111,13 @@ GEM
117
111
  simplecov_json_formatter (~> 0.1)
118
112
  simplecov-html (0.12.3)
119
113
  simplecov_json_formatter (0.1.4)
120
- unicode-display_width (2.1.0)
114
+ unicode-display_width (2.4.2)
121
115
  websocket-driver (0.7.5)
122
116
  websocket-extensions (>= 0.1.0)
123
117
  websocket-extensions (0.1.5)
124
118
 
125
119
  PLATFORMS
126
- aarch64-linux-musl
127
- x86_64-darwin-18
128
- x86_64-darwin-19
129
- x86_64-darwin-20
130
- x86_64-darwin-21
131
- x86_64-linux
120
+ ruby
132
121
 
133
122
  DEPENDENCIES
134
123
  byebug
@@ -141,4 +130,4 @@ DEPENDENCIES
141
130
  salesforce_streamer!
142
131
 
143
132
  BUNDLED WITH
144
- 2.2.29
133
+ 2.3.26
data/Rakefile CHANGED
@@ -6,4 +6,4 @@ RSpec::Core::RakeTask.new(:spec)
6
6
  RuboCop::RakeTask.new
7
7
 
8
8
  task ci: %i[spec rubocop]
9
- task default: %i[spec rubocop:auto_correct]
9
+ task default: %i[spec rubocop:autocorrect]
@@ -1,3 +1,3 @@
1
1
  module SalesforceStreamer
2
- VERSION = '2.6.0'.freeze
2
+ VERSION = '2.8.0'.freeze
3
3
  end
@@ -26,19 +26,14 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.required_ruby_version = '>= 3.0'
28
28
 
29
- spec.add_dependency 'cookiejar', '~> 0.3.0'
30
- spec.add_dependency 'dry-initializer', '~> 3.0'
29
+ spec.add_dependency 'cookiejar', '~> 0.3'
30
+ spec.add_dependency 'dry-initializer', '~> 3.1'
31
31
  spec.add_dependency 'faye', '~> 1.4'
32
- spec.add_dependency 'restforce', '~> 5.0'
33
- # # When you have issues installing eventmachine on osx and ruby 3, try:
32
+ spec.add_dependency 'restforce', '~> 6.2'
33
+ # When you have issues installing eventmachine on osx and ruby 3, try:
34
+ # export LDFLAGS="-L/opt/homebrew/opt/openssl@1.1/lib"
35
+ # export CPPFLAGS="-I/opt/homebrew/opt/openssl@1.1/include"
36
+ # export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@1.1/lib/pkgconfig"
34
37
  # gem install eventmachine -- --with-openssl-dir=/usr/local/opt/openssl@1.1
35
38
  spec.add_dependency 'eventmachine', '~> 1.2'
36
-
37
- spec.add_development_dependency 'byebug'
38
- spec.add_development_dependency 'codecov'
39
- spec.add_development_dependency 'rake'
40
- spec.add_development_dependency 'rspec'
41
- spec.add_development_dependency 'rubocop'
42
- spec.add_development_dependency 'rubocop-rake'
43
- spec.add_development_dependency 'rubocop-rspec'
44
39
  end
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.6.0
4
+ version: 2.8.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: 2022-04-20 00:00:00.000000000 Z
12
+ date: 2023-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cookiejar
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 0.3.0
20
+ version: '0.3'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 0.3.0
27
+ version: '0.3'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: dry-initializer
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '3.0'
34
+ version: '3.1'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '3.0'
41
+ version: '3.1'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: faye
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -59,14 +59,14 @@ dependencies:
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '5.0'
62
+ version: '6.2'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '5.0'
69
+ version: '6.2'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: eventmachine
72
72
  requirement: !ruby/object:Gem::Requirement
@@ -81,104 +81,6 @@ dependencies:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
83
  version: '1.2'
84
- - !ruby/object:Gem::Dependency
85
- name: byebug
86
- requirement: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: '0'
91
- type: :development
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - ">="
96
- - !ruby/object:Gem::Version
97
- version: '0'
98
- - !ruby/object:Gem::Dependency
99
- name: codecov
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- version: '0'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - ">="
110
- - !ruby/object:Gem::Version
111
- version: '0'
112
- - !ruby/object:Gem::Dependency
113
- name: rake
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- version: '0'
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - ">="
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- - !ruby/object:Gem::Dependency
127
- name: rspec
128
- requirement: !ruby/object:Gem::Requirement
129
- requirements:
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- version: '0'
133
- type: :development
134
- prerelease: false
135
- version_requirements: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - ">="
138
- - !ruby/object:Gem::Version
139
- version: '0'
140
- - !ruby/object:Gem::Dependency
141
- name: rubocop
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - ">="
145
- - !ruby/object:Gem::Version
146
- version: '0'
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - ">="
152
- - !ruby/object:Gem::Version
153
- version: '0'
154
- - !ruby/object:Gem::Dependency
155
- name: rubocop-rake
156
- requirement: !ruby/object:Gem::Requirement
157
- requirements:
158
- - - ">="
159
- - !ruby/object:Gem::Version
160
- version: '0'
161
- type: :development
162
- prerelease: false
163
- version_requirements: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - ">="
166
- - !ruby/object:Gem::Version
167
- version: '0'
168
- - !ruby/object:Gem::Dependency
169
- name: rubocop-rspec
170
- requirement: !ruby/object:Gem::Requirement
171
- requirements:
172
- - - ">="
173
- - !ruby/object:Gem::Version
174
- version: '0'
175
- type: :development
176
- prerelease: false
177
- version_requirements: !ruby/object:Gem::Requirement
178
- requirements:
179
- - - ">="
180
- - !ruby/object:Gem::Version
181
- version: '0'
182
84
  description:
183
85
  email:
184
86
  - scott@renofi.com
@@ -195,6 +97,7 @@ files:
195
97
  - ".github/ISSUE_TEMPLATE/story.md"
196
98
  - ".github/PULL_REQUEST_TEMPLATE.md"
197
99
  - ".github/workflows/auto-approve.yml"
100
+ - ".github/workflows/auto-merge-dependencies.yml"
198
101
  - ".github/workflows/auto-merge.yml"
199
102
  - ".github/workflows/ci.yml"
200
103
  - ".gitignore"
@@ -202,7 +105,6 @@ files:
202
105
  - CHANGELOG.md
203
106
  - Gemfile
204
107
  - Gemfile.lock
205
- - LICENSE.txt
206
108
  - README.md
207
109
  - Rakefile
208
110
  - exe/streamer
@@ -243,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
145
  - !ruby/object:Gem::Version
244
146
  version: '0'
245
147
  requirements: []
246
- rubygems_version: 3.3.11
148
+ rubygems_version: 3.4.6
247
149
  signing_key:
248
150
  specification_version: 4
249
151
  summary: A wrapper around the Restforce Streaming API with a built-in PushTopic manager.
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2019 Scott Serok
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.