Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
98abcf8
[NPE-691] Drop support for Ruby 2.7
ojameso Aug 14, 2025
38f50ee
[NPE-691] Move AWS to dev-dep
ojameso Aug 14, 2025
8bba640
[NPE-691] Add PubSub client
ojameso Aug 14, 2025
02ab432
[NPE-691] Add Consumer/Publisher for PubSub
ojameso Aug 14, 2025
5317c7a
[NPE-691] Update queue creation tasks
ojameso Aug 14, 2025
c5efb66
[NPE-691] Bump version/Update README/CHANGELOG
ojameso Aug 14, 2025
46c98b9
[NPE-691] Only support pubsub v3.0+
ojameso Aug 14, 2025
3225dbe
[NPE-691] Required version changes
ojameso Aug 20, 2025
1e31c48
[NPE-691] Remove legacy tasks
ojameso Aug 20, 2025
0b0097a
[NPE-691] Remove Chore::Queues::PubSub configurations
ojameso Aug 20, 2025
6123a9c
[NPE-691] Use Chore's polling amount for PubSub
ojameso Aug 20, 2025
7f577c6
[NPE-691] Cleanup code
ojameso Aug 20, 2025
8a2447d
[NPE-691] Fix specs
ojameso Aug 23, 2025
3e15020
[NPE-691] Update Gemfile.lock files
ojameso Aug 23, 2025
2a12024
[NPE-691] Remove -sub suffix from sub-name
ojameso Aug 27, 2025
26561b7
[NPE-691] Base pollsize to config
ojameso Aug 27, 2025
c7b651c
[NPE-691] Update README for clarity regarding pubsub
ojameso Sep 3, 2025
d83a867
[NPE-691] Clean up redundant spec
ojameso Sep 8, 2025
d067715
[NPE-691] Remove errorneous version limit
ojameso Sep 8, 2025
e92363d
[NPE-691] Update names to match
ojameso Sep 9, 2025
136863b
[NPE-691] Make Pubsub handle connections
ojameso Sep 9, 2025
90a6e40
[NPE-691] More spec cleanup
ojameso Sep 9, 2025
520d9af
[NPE-691] Rescue specific GCP error
ojameso Sep 9, 2025
b16a6ec
[NPE-691] Remove logging specs
ojameso Sep 9, 2025
850df19
[NPE-691] Simplify min version check
ojameso Sep 9, 2025
f4efdf5
[NPE-719] Broaden/Refactor Payloadhandling
ojameso Sep 10, 2025
fa22327
Merge pull request #74 from Tapjoy/npe/add_pubsub_payload_handler
ojameso Sep 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/unit_test-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
matrix:
dependency_file:
- Gemfile.latest
- Gemfile.ruby27
- Gemfile.ruby31
- Gemfile.ruby32
uses: ./.github/workflows/unit_test-run.yaml
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

## [master](https://github.com/Tapjoy/chore/tree/master)

**Features**
- Google Pubsub support

**Fixed bugs**
- N/A

**Cleanups**
- Drops Ruby 2.7 support

## [v4.7.5](https://github.com/Tapjoy/chore/tree/v4.7.5)

**Features**
- N/A

Expand Down
88 changes: 86 additions & 2 deletions Gemfile.latest.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
PATH
remote: .
specs:
chore-core (4.7.0)
aws-sdk-sqs (>= 1)
chore-core (5.0.0)
get_process_mem (>= 0.2.0)
multi_json

GEM
remote: https://rubygems.org/
specs:
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
aws-eventstream (1.3.0)
aws-partitions (1.983.0)
aws-sdk-core (3.209.1)
Expand All @@ -21,15 +22,90 @@ GEM
aws-sigv4 (~> 1.5)
aws-sigv4 (1.10.0)
aws-eventstream (~> 1, >= 1.0.2)
base64 (0.3.0)
bigdecimal (3.1.8)
concurrent-ruby (1.3.5)
dalli (3.2.8)
diff-lcs (1.5.1)
faraday (2.13.4)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.4.1)
net-http (>= 0.5.0)
faraday-retry (2.3.2)
faraday (~> 2.0)
ffi (1.17.0)
gapic-common (1.1.0)
faraday (>= 1.9, < 3.a)
faraday-retry (>= 1.0, < 3.a)
google-cloud-env (~> 2.2)
google-logging-utils (~> 0.1)
google-protobuf (>= 3.25, < 5.a)
googleapis-common-protos (~> 1.6)
googleapis-common-protos-types (~> 1.15)
googleauth (~> 1.12)
grpc (~> 1.66)
get_process_mem (1.0.0)
bigdecimal (>= 2.0)
ffi (~> 1.0)
google-cloud-core (1.8.0)
google-cloud-env (>= 1.0, < 3.a)
google-cloud-errors (~> 1.0)
google-cloud-env (2.3.1)
base64 (~> 0.2)
faraday (>= 1.0, < 3.a)
google-cloud-errors (1.5.0)
google-cloud-pubsub (3.0.2)
concurrent-ruby (~> 1.3)
google-cloud-core (~> 1.8)
google-cloud-pubsub-v1 (~> 1.11)
retriable (~> 3.1)
google-cloud-pubsub-v1 (1.11.1)
gapic-common (~> 1.0)
google-cloud-errors (~> 1.0)
google-iam-v1 (~> 1.3)
google-iam-v1 (1.4.0)
gapic-common (~> 1.0)
google-cloud-errors (~> 1.0)
grpc-google-iam-v1 (~> 1.11)
google-logging-utils (0.2.0)
google-protobuf (4.32.0)
bigdecimal
rake (>= 13)
googleapis-common-protos (1.7.0)
google-protobuf (>= 3.18, < 5.a)
googleapis-common-protos-types (~> 1.7)
grpc (~> 1.41)
googleapis-common-protos-types (1.20.0)
google-protobuf (>= 3.18, < 5.a)
googleauth (1.14.0)
faraday (>= 1.0, < 3.a)
google-cloud-env (~> 2.2)
google-logging-utils (~> 0.1)
jwt (>= 1.4, < 3.0)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
grpc (1.74.1)
google-protobuf (>= 3.25, < 5.0)
googleapis-common-protos-types (~> 1.0)
grpc-google-iam-v1 (1.11.0)
google-protobuf (>= 3.18, < 5.a)
googleapis-common-protos (~> 1.7.0)
grpc (~> 1.41)
jmespath (1.6.2)
json (2.13.2)
jwt (2.10.2)
base64
logger (1.7.0)
multi_json (1.15.0)
net-http (0.6.0)
uri
os (1.1.4)
public_suffix (6.0.2)
rake (13.3.0)
retriable (3.1.2)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
Expand All @@ -43,14 +119,22 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
signet (0.20.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
timecop (0.9.10)
uri (1.0.3)

PLATFORMS
ruby

DEPENDENCIES
aws-sdk-sqs (>= 1)
chore-core!
dalli (>= 2)
google-cloud-pubsub (>= 3.0, < 4.0)
rspec (>= 3)
timecop

Expand Down
4 changes: 0 additions & 4 deletions Gemfile.ruby27

This file was deleted.

61 changes: 0 additions & 61 deletions Gemfile.ruby27.lock

This file was deleted.

88 changes: 86 additions & 2 deletions Gemfile.ruby31.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
PATH
remote: .
specs:
chore-core (4.7.0)
aws-sdk-sqs (>= 1)
chore-core (5.0.0)
get_process_mem (>= 0.2.0)
multi_json

GEM
remote: https://rubygems.org/
specs:
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
aws-eventstream (1.3.0)
aws-partitions (1.983.0)
aws-sdk-core (3.209.1)
Expand All @@ -21,15 +22,90 @@ GEM
aws-sigv4 (~> 1.5)
aws-sigv4 (1.10.0)
aws-eventstream (~> 1, >= 1.0.2)
base64 (0.3.0)
bigdecimal (3.1.8)
concurrent-ruby (1.3.5)
dalli (3.2.8)
diff-lcs (1.5.1)
faraday (2.13.4)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.4.1)
net-http (>= 0.5.0)
faraday-retry (2.3.2)
faraday (~> 2.0)
ffi (1.17.0)
gapic-common (1.1.0)
faraday (>= 1.9, < 3.a)
faraday-retry (>= 1.0, < 3.a)
google-cloud-env (~> 2.2)
google-logging-utils (~> 0.1)
google-protobuf (>= 3.25, < 5.a)
googleapis-common-protos (~> 1.6)
googleapis-common-protos-types (~> 1.15)
googleauth (~> 1.12)
grpc (~> 1.66)
get_process_mem (1.0.0)
bigdecimal (>= 2.0)
ffi (~> 1.0)
google-cloud-core (1.8.0)
google-cloud-env (>= 1.0, < 3.a)
google-cloud-errors (~> 1.0)
google-cloud-env (2.3.1)
base64 (~> 0.2)
faraday (>= 1.0, < 3.a)
google-cloud-errors (1.5.0)
google-cloud-pubsub (3.0.2)
concurrent-ruby (~> 1.3)
google-cloud-core (~> 1.8)
google-cloud-pubsub-v1 (~> 1.11)
retriable (~> 3.1)
google-cloud-pubsub-v1 (1.11.1)
gapic-common (~> 1.0)
google-cloud-errors (~> 1.0)
google-iam-v1 (~> 1.3)
google-iam-v1 (1.4.0)
gapic-common (~> 1.0)
google-cloud-errors (~> 1.0)
grpc-google-iam-v1 (~> 1.11)
google-logging-utils (0.2.0)
google-protobuf (4.32.0)
bigdecimal
rake (>= 13)
googleapis-common-protos (1.7.0)
google-protobuf (>= 3.18, < 5.a)
googleapis-common-protos-types (~> 1.7)
grpc (~> 1.41)
googleapis-common-protos-types (1.20.0)
google-protobuf (>= 3.18, < 5.a)
googleauth (1.14.0)
faraday (>= 1.0, < 3.a)
google-cloud-env (~> 2.2)
google-logging-utils (~> 0.1)
jwt (>= 1.4, < 3.0)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
grpc (1.74.1)
google-protobuf (>= 3.25, < 5.0)
googleapis-common-protos-types (~> 1.0)
grpc-google-iam-v1 (1.11.0)
google-protobuf (>= 3.18, < 5.a)
googleapis-common-protos (~> 1.7.0)
grpc (~> 1.41)
jmespath (1.6.2)
json (2.13.2)
jwt (2.10.2)
base64
logger (1.7.0)
multi_json (1.15.0)
net-http (0.6.0)
uri
os (1.1.4)
public_suffix (6.0.2)
rake (13.3.0)
retriable (3.1.2)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
Expand All @@ -43,14 +119,22 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
signet (0.20.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
timecop (0.9.10)
uri (1.0.3)

PLATFORMS
ruby

DEPENDENCIES
aws-sdk-sqs (>= 1)
chore-core!
dalli (>= 2)
google-cloud-pubsub (>= 3.0, < 4.0)
rspec (>= 3)
timecop

Expand Down
Loading