salesforce_streamer 2.11.1 → 2.11.2

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: 780524c05e18382d33e0cb877d6ae13257607cb9ae604bb9391c1c7890349ce4
4
- data.tar.gz: 43d771153ab1d4c285e50b3cc6f7d9e724ede460e0e691ef1359e15d16734c9e
3
+ metadata.gz: 1f88bbea1b6639d218f08d88f3609054e2dda26732b9f43142dbba2c9e7c6bf7
4
+ data.tar.gz: 05f8f869d218f6056893bd08e80466ebe1146e588a4881564dc9ddec54fb67f5
5
5
  SHA512:
6
- metadata.gz: 6f9db9a5eab9014bd44002252cefa62fb753a75d7a4d95fa2f1c638b5bfd267a72315d94a7cfcc9855b27ac56de9c8432cb6755ef01f26fde5fb5c5d2162f23c
7
- data.tar.gz: 7f6e4e6626dc8f0f8cd576e38794ba28f1da0217d08db567a3f8ea9f147183e9b01113350c30f145822c2038a080642791967a098b71d5b8dcc4ed6c712637bc
6
+ metadata.gz: 8fe540f28ac7d260c4d183138b7eb27e86c411742e9c75af140d5b67a282b0ece3410389df297f6965f356b00dfffe314d95b166f1317bcaddf8b4476bc74798
7
+ data.tar.gz: 341b91519ceeeb99cbe13a44fe49bc59ccda4a21e6cba1666877940513568ea937ef130b717cb9d61d365bc3f5f03734630194f986fb587453ef2564075a5283
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.5.7
1
+ 2.5.16
@@ -0,0 +1,15 @@
1
+ version: 2
2
+
3
+ updates:
4
+ - package-ecosystem: "bundler"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "weekly"
8
+ day: "monday"
9
+ time: "08:00"
10
+ timezone: "UTC"
11
+ commit-message:
12
+ prefix: "[dependabot]"
13
+ labels:
14
+ - "automerge"
15
+ - "dependencies"
@@ -1,8 +1,9 @@
1
1
  name: Auto approve dependency upgrades and hot-fix PRs
2
2
  on:
3
3
  pull_request_target:
4
- types: [labeled, unlabeled, edited, ready_for_review, review_requested, auto_merge_enabled]
5
-
4
+ types:
5
+ - labeled
6
+ - ready_for_review
6
7
  jobs:
7
8
  auto-approve:
8
9
  runs-on: ubuntu-latest
@@ -6,9 +6,6 @@ on:
6
6
  check_suite:
7
7
  types:
8
8
  - completed
9
- label:
10
- types:
11
- - created
12
9
  status: {}
13
10
  jobs:
14
11
  automerge:
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: [3.1, 3.2, 3.3]
14
+ ruby-version: [3.2, 3.3]
15
15
 
16
16
  steps:
17
17
  - uses: actions/checkout@v3
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-08-02 Krzysztof Knapik
7
+
8
+ v2.11.2 add SalesforceStreamer.logger
9
+
6
10
  ## 2024-04-05 Krzysztof Knapik
7
11
 
8
12
  v2.11 bump dependency constraints, restforce 7.3+
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- salesforce_streamer (2.11.1)
4
+ salesforce_streamer (2.11.2)
5
5
  cookiejar (~> 0.3)
6
6
  dry-initializer (~> 3.1)
7
7
  eventmachine (~> 1.2)
@@ -11,8 +11,8 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- addressable (2.8.6)
15
- public_suffix (>= 2.0.2, < 6.0)
14
+ addressable (2.8.7)
15
+ public_suffix (>= 2.0.2, < 7.0)
16
16
  ast (2.4.2)
17
17
  base64 (0.2.0)
18
18
  byebug (11.1.3)
@@ -25,16 +25,17 @@ GEM
25
25
  em-socksify (>= 0.3)
26
26
  eventmachine (>= 1.0.3)
27
27
  http_parser.rb (>= 0.6.0)
28
- em-socksify (0.3.2)
28
+ em-socksify (0.3.3)
29
+ base64
29
30
  eventmachine (>= 1.0.0.beta.4)
30
31
  eventmachine (1.2.7)
31
- faraday (2.9.0)
32
- faraday-net_http (>= 2.0, < 3.2)
32
+ faraday (2.0.0)
33
+ ruby2_keywords (>= 0.0.4)
33
34
  faraday-follow_redirects (0.3.0)
34
35
  faraday (>= 1, < 3)
35
36
  faraday-multipart (1.0.4)
36
37
  multipart-post (~> 2)
37
- faraday-net_http (3.1.0)
38
+ faraday-net_http (3.2.0)
38
39
  net-http
39
40
  faye (1.4.0)
40
41
  cookiejar (>= 0.3.0)
@@ -50,71 +51,65 @@ GEM
50
51
  hashie (5.0.0)
51
52
  http_parser.rb (0.8.0)
52
53
  json (2.7.2)
53
- jwt (2.8.1)
54
+ jwt (2.8.2)
54
55
  base64
55
56
  language_server-protocol (3.17.0.3)
56
57
  multi_json (1.15.0)
57
- multipart-post (2.4.0)
58
+ multipart-post (2.4.1)
58
59
  net-http (0.4.1)
59
60
  uri
60
- parallel (1.24.0)
61
- parser (3.3.0.5)
61
+ parallel (1.25.1)
62
+ parser (3.3.4.0)
62
63
  ast (~> 2.4.1)
63
64
  racc
64
- public_suffix (5.0.5)
65
- racc (1.7.3)
66
- rack (3.0.10)
65
+ public_suffix (6.0.1)
66
+ racc (1.8.1)
67
+ rack (3.1.7)
67
68
  rainbow (3.1.1)
68
69
  rake (13.2.1)
69
- regexp_parser (2.9.0)
70
- restforce (7.3.1)
71
- faraday (>= 1.1.0, < 2.10.0)
70
+ regexp_parser (2.9.2)
71
+ restforce (7.4.0)
72
+ faraday (>= 1.1.0, < 2.11.0)
72
73
  faraday-follow_redirects (<= 0.3.0, < 1.0.0)
73
74
  faraday-multipart (>= 1.0.0, < 2.0.0)
74
75
  faraday-net_http (< 4.0.0)
75
76
  hashie (>= 1.2.0, < 6.0)
76
77
  jwt (>= 1.5.6)
77
- rexml (3.2.6)
78
+ rexml (3.3.4)
79
+ strscan
78
80
  rspec (3.13.0)
79
81
  rspec-core (~> 3.13.0)
80
82
  rspec-expectations (~> 3.13.0)
81
83
  rspec-mocks (~> 3.13.0)
82
84
  rspec-core (3.13.0)
83
85
  rspec-support (~> 3.13.0)
84
- rspec-expectations (3.13.0)
86
+ rspec-expectations (3.13.1)
85
87
  diff-lcs (>= 1.2.0, < 2.0)
86
88
  rspec-support (~> 3.13.0)
87
- rspec-mocks (3.13.0)
89
+ rspec-mocks (3.13.1)
88
90
  diff-lcs (>= 1.2.0, < 2.0)
89
91
  rspec-support (~> 3.13.0)
90
92
  rspec-support (3.13.1)
91
- rubocop (1.63.0)
93
+ rubocop (1.65.1)
92
94
  json (~> 2.3)
93
95
  language_server-protocol (>= 3.17.0)
94
96
  parallel (~> 1.10)
95
97
  parser (>= 3.3.0.2)
96
98
  rainbow (>= 2.2.2, < 4.0)
97
- regexp_parser (>= 1.8, < 3.0)
99
+ regexp_parser (>= 2.4, < 3.0)
98
100
  rexml (>= 3.2.5, < 4.0)
99
101
  rubocop-ast (>= 1.31.1, < 2.0)
100
102
  ruby-progressbar (~> 1.7)
101
103
  unicode-display_width (>= 2.4.0, < 3.0)
102
- rubocop-ast (1.31.2)
103
- parser (>= 3.3.0.4)
104
- rubocop-capybara (2.20.0)
105
- rubocop (~> 1.41)
106
- rubocop-factory_bot (2.25.1)
107
- rubocop (~> 1.41)
104
+ rubocop-ast (1.31.3)
105
+ parser (>= 3.3.1.0)
108
106
  rubocop-rake (0.6.0)
109
107
  rubocop (~> 1.0)
110
- rubocop-rspec (2.29.1)
111
- rubocop (~> 1.40)
112
- rubocop-capybara (~> 2.17)
113
- rubocop-factory_bot (~> 2.22)
114
- rubocop-rspec_rails (~> 2.28)
115
- rubocop-rspec_rails (2.28.2)
116
- rubocop (~> 1.40)
108
+ rubocop-rspec (3.0.3)
109
+ rubocop (~> 1.61)
117
110
  ruby-progressbar (1.13.0)
111
+ ruby2_keywords (0.0.5)
112
+ strscan (3.1.0)
118
113
  unicode-display_width (2.5.0)
119
114
  uri (0.13.0)
120
115
  websocket-driver (0.7.6)
@@ -134,4 +129,4 @@ DEPENDENCIES
134
129
  salesforce_streamer!
135
130
 
136
131
  BUNDLED WITH
137
- 2.5.7
132
+ 2.5.16
@@ -8,7 +8,7 @@ module SalesforceStreamer
8
8
  option :name
9
9
  option :query, ->(v) { v.gsub(/\s+/, ' ') }
10
10
  option :handler, ->(v) { prepare_handler_proc(Object.const_get(v)) }
11
- option :replay, ->(v) { v.to_i }, default: -> { -1 }
11
+ option :replay, lambda(&:to_i), default: -> { -1 }
12
12
  option :api_version, proc(&:to_s), default: -> { DEFAULT_API_VERSION }
13
13
  option :notify_for_fields, default: -> { 'Referenced' }
14
14
  option :id, optional: true
@@ -1,3 +1,3 @@
1
1
  module SalesforceStreamer
2
- VERSION = '2.11.1'.freeze
2
+ VERSION = '2.11.2'.freeze
3
3
  end
@@ -59,6 +59,10 @@ module SalesforceStreamer
59
59
  Configuration.instance
60
60
  end
61
61
 
62
+ def self.logger
63
+ config.logger
64
+ end
65
+
62
66
  def self.configure
63
67
  yield Configuration.instance
64
68
  end
@@ -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 = Gem::Requirement.new('>= 3.1.0')
27
+ spec.required_ruby_version = Gem::Requirement.new('>= 3.2.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.11.1
4
+ version: 2.11.2
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: 2024-04-10 00:00:00.000000000 Z
12
+ date: 2024-08-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cookiejar
@@ -96,6 +96,7 @@ files:
96
96
  - ".github/ISSUE_TEMPLATE/config.yml"
97
97
  - ".github/ISSUE_TEMPLATE/story.md"
98
98
  - ".github/PULL_REQUEST_TEMPLATE.md"
99
+ - ".github/dependabot.yml"
99
100
  - ".github/workflows/auto-approve.yml"
100
101
  - ".github/workflows/auto-merge.yml"
101
102
  - ".github/workflows/ci.yml"
@@ -138,14 +139,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
139
  requirements:
139
140
  - - ">="
140
141
  - !ruby/object:Gem::Version
141
- version: 3.1.0
142
+ version: 3.2.0
142
143
  required_rubygems_version: !ruby/object:Gem::Requirement
143
144
  requirements:
144
145
  - - ">="
145
146
  - !ruby/object:Gem::Version
146
147
  version: '0'
147
148
  requirements: []
148
- rubygems_version: 3.5.7
149
+ rubygems_version: 3.5.11
149
150
  signing_key:
150
151
  specification_version: 4
151
152
  summary: A wrapper around the Restforce Streaming API with a built-in PushTopic manager.