eventboss 1.9.2 → 1.9.3

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: b73ea2f72af8571564b345b0a1057b6184d94f88db0b423d31860a0a443ee069
4
- data.tar.gz: d7ab90cd9a1026245b834326d251a6f21587cc1673b85cb35a14d15ac8498cc5
3
+ metadata.gz: 5b98b816011dadc4b78d9d9d42d185e6022350a98316887769be0df27b8166f5
4
+ data.tar.gz: b0a9384035480f6f0e163f3237635eb671a6a8aeb5b7f2a255cf245d741f1b9f
5
5
  SHA512:
6
- metadata.gz: 7d4ad40fbee3c5f693c2c57f8148f25c82e46e455fd72cf43fe28651bb1e5ee833bdab581f608b86cf5f161d035f233ed64ed673df652c9ba69d69791b8b3632
7
- data.tar.gz: ccfdf0da8efc60f0c52fe30c4eb1e3cb2c8df7b1c15569f1419f668b88673de8b402af48d9d9b67fb65edeb3a721a504126ebaabc730df46902eb463254e7ab6
6
+ metadata.gz: e2033ecc75fea4fc963020358e8e523cdd9730e16f14e2a775cb93db24ab40fc36df69fe9f99780392e6c8dedd560b68bcad7486a568e83ac9d7e1175423e366
7
+ data.tar.gz: 503311b776ad373270eb51be7735dbf2f33f77d638e6a312e6ae5600a5af0b59ebdc6418a8d9bbfeaddaf7e5a4c5ee43bbe1236820cb5994a90b04c93e39467d
@@ -16,6 +16,7 @@ jobs:
16
16
  uses: ruby/setup-ruby@v1
17
17
  with:
18
18
  ruby-version: ${{ matrix.ruby-version }}
19
+ bundler-cache: true
19
20
  - name: Install bundle audit
20
21
  run: gem install bundle-audit
21
22
  - name: Update Ruby Advisory Database
@@ -18,6 +18,7 @@ module Eventboss
18
18
  :eventboss_region,
19
19
  :eventboss_app_name,
20
20
  :eventboss_account_id,
21
+ :eventboss_use_default_credentials,
21
22
  :aws_access_key_id,
22
23
  :aws_secret_access_key,
23
24
  :aws_session_token,
@@ -64,8 +65,12 @@ module Eventboss
64
65
  defined_or_default('sqs_client') do
65
66
  options = {
66
67
  region: eventboss_region,
67
- credentials: credentials
68
68
  }
69
+
70
+ unless eventboss_use_default_credentials
71
+ options[:credentials] = credentials
72
+ end
73
+
69
74
  if aws_sqs_endpoint
70
75
  options[:endpoint] = aws_sqs_endpoint
71
76
  end
@@ -95,6 +100,10 @@ module Eventboss
95
100
  defined_or_default('eventboss_account_id') { ENV['EVENTBOSS_ACCOUNT_ID'] || ENV['EVENTBUS_ACCOUNT_ID'] }
96
101
  end
97
102
 
103
+ def eventboss_use_default_credentials
104
+ defined_or_default('eventboss_use_default_credentials') { ENV['EVENTBOSS_USE_DEFAULT_CREDENTIALS'] == 'true' }
105
+ end
106
+
98
107
  def aws_access_key_id
99
108
  defined_or_default('aws_access_key_id') { ENV['AWS_ACCESS_KEY_ID'] }
100
109
  end
@@ -42,8 +42,12 @@ module Eventboss
42
42
  if configured?
43
43
  options = {
44
44
  region: configuration.eventboss_region,
45
- credentials: credentials
46
45
  }
46
+
47
+ unless configuration.eventboss_use_default_credentials
48
+ options[:credentials] = credentials
49
+ end
50
+
47
51
  if configuration.aws_sns_endpoint
48
52
  options[:endpoint] = configuration.aws_sns_endpoint
49
53
  end
@@ -1,3 +1,3 @@
1
1
  module Eventboss
2
- VERSION = "1.9.2"
2
+ VERSION = "1.9.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventboss
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.2
4
+ version: 1.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - AirHelp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-21 00:00:00.000000000 Z
11
+ date: 2025-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-sqs
@@ -123,7 +123,6 @@ files:
123
123
  - ".travis.yml"
124
124
  - CHANGELOG.md
125
125
  - Gemfile
126
- - Gemfile.lock
127
126
  - Guardfile
128
127
  - LICENSE.txt
129
128
  - README.md
data/Gemfile.lock DELETED
@@ -1,57 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- eventboss (1.9.2)
5
- aws-sdk-sns (>= 1.1.0)
6
- aws-sdk-sqs (>= 1.3.0)
7
- rexml (~> 3.0)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- aws-eventstream (1.3.0)
13
- aws-partitions (1.1040.0)
14
- aws-sdk-core (3.216.0)
15
- aws-eventstream (~> 1, >= 1.3.0)
16
- aws-partitions (~> 1, >= 1.992.0)
17
- aws-sigv4 (~> 1.9)
18
- jmespath (~> 1, >= 1.6.1)
19
- aws-sdk-sns (1.93.0)
20
- aws-sdk-core (~> 3, >= 3.216.0)
21
- aws-sigv4 (~> 1.5)
22
- aws-sdk-sqs (1.91.0)
23
- aws-sdk-core (~> 3, >= 3.216.0)
24
- aws-sigv4 (~> 1.5)
25
- aws-sigv4 (1.11.0)
26
- aws-eventstream (~> 1, >= 1.0.2)
27
- diff-lcs (1.5.1)
28
- dotenv (3.1.0)
29
- jmespath (1.6.2)
30
- rake (13.0.6)
31
- rexml (3.4.0)
32
- rspec (3.13.0)
33
- rspec-core (~> 3.13.0)
34
- rspec-expectations (~> 3.13.0)
35
- rspec-mocks (~> 3.13.0)
36
- rspec-core (3.13.0)
37
- rspec-support (~> 3.13.0)
38
- rspec-expectations (3.13.1)
39
- diff-lcs (>= 1.2.0, < 2.0)
40
- rspec-support (~> 3.13.0)
41
- rspec-mocks (3.13.1)
42
- diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.13.0)
44
- rspec-support (3.13.1)
45
-
46
- PLATFORMS
47
- ruby
48
-
49
- DEPENDENCIES
50
- bundler (>= 1)
51
- dotenv (~> 3.1)
52
- eventboss!
53
- rake (>= 10.0)
54
- rspec (~> 3.0)
55
-
56
- BUNDLED WITH
57
- 2.3.7