pubsub_client 1.3.0 → 1.4.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 +4 -4
- data/CHANGELOG.txt +11 -7
- data/README.md +11 -1
- data/lib/pubsub_client/publisher.rb +2 -2
- data/lib/pubsub_client/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcd27cf1ed4e02b4b8bae0e9b2f5227d970f158196b68d903cbfa2b031c2b1eb
|
4
|
+
data.tar.gz: 415e17dfb4465a44ad9ffe3aeabe8b116a8f47b79f77e3a408d67da8c44409fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bacbf023017f2ba125de0be70c2040e697c5c7927f24569f6e5af043d78eefc0eee813af9bfaeadbd4fde3213554bbe135ef011a3343408552b69ea217aa4bac
|
7
|
+
data.tar.gz: 9a84a7a5c32ba17ea5523e3b0831935dc162d89a0cc7dcd89d1a3863951796dee63fa59639d583de72965d75e42047ca0ec275b1dde3541ae4b40d818e1e8359
|
data/CHANGELOG.txt
CHANGED
@@ -1,12 +1,16 @@
|
|
1
|
+
Version 1.4.0 2020-10-26
|
2
|
+
------------------------
|
3
|
+
60b8403 Publish attributes
|
4
|
+
|
1
5
|
Version 1.3.0 2020-10-23
|
2
6
|
------------------------
|
3
|
-
e9e87f7 This adds the ability to subscribe to a Pub/Sub topic. Of note, we expose two additional configuration params:
|
4
|
-
- `concurrency`: the number of threads the subscriber will run to process messages (defaults to 8 threads)
|
5
|
-
- `auto_ack`: flag to auto ack messages (default is `true` and _will_ ack messages)
|
6
|
-
|
7
|
-
These changes come with a handful of useful checks:
|
8
|
-
- ensures credentials are configured prior to subscribing
|
9
|
-
- raises an error if the target subscription does not exist
|
7
|
+
e9e87f7 This adds the ability to subscribe to a Pub/Sub topic. Of note, we expose two additional configuration params:
|
8
|
+
- `concurrency`: the number of threads the subscriber will run to process messages (defaults to 8 threads)
|
9
|
+
- `auto_ack`: flag to auto ack messages (default is `true` and _will_ ack messages)
|
10
|
+
|
11
|
+
These changes come with a handful of useful checks:
|
12
|
+
- ensures credentials are configured prior to subscribing
|
13
|
+
- raises an error if the target subscription does not exist
|
10
14
|
- raises an error if attempting to subscribe to a topic that has already been subscribed to
|
11
15
|
|
12
16
|
Version 1.2.0 2020-09-25
|
data/README.md
CHANGED
@@ -81,10 +81,20 @@ end
|
|
81
81
|
|
82
82
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
83
83
|
|
84
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
84
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
85
85
|
|
86
86
|
## Contributing
|
87
87
|
|
88
|
+
To contribute, open a pull request against `main`. Note that once your changes have been made, you should _not_ manually modify the `version.rb` or `CHANGELOG` as these will get updated automatically as part of the release process.
|
89
|
+
|
90
|
+
To release a new version, after you have merged your changes into `main`:
|
91
|
+
1. Run the `gem-release` script. This can be found [here](https://github.com/apartmentlist/scripts/blob/main/bin/gem-release).
|
92
|
+
```
|
93
|
+
path/to/gem-release [major/minor/patch] "Short message with changes"
|
94
|
+
```
|
95
|
+
Note that the `Short message with changes` is what gets reflected in the releases of the repo.
|
96
|
+
1. Run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). This step will update the `version.rb` and `CHANGELOG` files.
|
97
|
+
|
88
98
|
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/pubsub_client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/pubsub_client/blob/master/CODE_OF_CONDUCT.md).
|
89
99
|
|
90
100
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pubsub_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apartment List Platforms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
|
-
rubygems_version: 3.
|
121
|
+
rubygems_version: 3.1.4
|
122
122
|
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: Google Pub/Sub Wrapper
|