fastly_nsq 1.18.0 → 1.18.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c499298a1a690208afc03693e6bdae6730408f7e61544033f5b6fdbab778364
4
- data.tar.gz: 3c346c1bcb3a7d44508144beb14b91edad7f8bcb2cb07e35cd8a301a67069e57
3
+ metadata.gz: 437c12c3efcf9025c66afa729cc9c3e9ae741712343d27b363cfa76168127f37
4
+ data.tar.gz: 9021787ce6740794c19f607eaefac99967457cf1b2920016fbc9a404009ed47b
5
5
  SHA512:
6
- metadata.gz: b350e9fd2f0d2c993aa3d3a84b24935137faa7cbf65967f0342434c108e7b13213b3dd45b753c2e73de3e487729f2038a8a07045ef1987c1d3e5d55d78797ee3
7
- data.tar.gz: a2f4494d86c8d5d37db0ed59e149edebfecee56888971cc2e1cfecff5d88fbcbd05e65a72cfe5d1d1e6d8758f88296a20b877d43a8ebed06d663519070e6f7fd
6
+ metadata.gz: 222ed5a9d8427dbb31ca9860feca33f31699483c2694c38be62cf1682e8cfaba09150228806af7fad11f20535315b798d00c95f7dd9e851c9897a3454a967861
7
+ data.tar.gz: 56c5e41343492893194f74fe61317d157bc4d27c7b53e2fc69180271d73da0de8cfca47bec5317b333bcfd1262b82b325184e0458f791df3966e9d53aef4c417
@@ -0,0 +1,30 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ jobs:
13
+ test:
14
+
15
+ runs-on: ubuntu-latest
16
+ strategy:
17
+ matrix:
18
+ ruby-version: ['2.7', '3.0', '3.1', '3.2']
19
+
20
+ steps:
21
+ - uses: actions/checkout@v3
22
+ - name: Start NSQ
23
+ run: docker-compose up -d
24
+ - name: Set up Ruby
25
+ uses: ruby/setup-ruby@v1
26
+ with:
27
+ ruby-version: ${{ matrix.ruby-version }}
28
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
29
+ - name: Run tests
30
+ run: bundle exec rake
data/.standard.yml ADDED
@@ -0,0 +1 @@
1
+ ruby_version: 2.7
data/fastly_nsq.gemspec CHANGED
@@ -17,7 +17,6 @@ Gem::Specification.new do |gem|
17
17
  gem.files = `git ls-files`.split("\n")
18
18
 
19
19
  gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
20
- gem.test_files = gem.files.grep(%r{^(test|features)/})
21
20
  gem.require_paths = ["lib"]
22
21
 
23
22
  gem.add_development_dependency "awesome_print", "~> 1.6"
@@ -31,6 +30,6 @@ Gem::Specification.new do |gem|
31
30
  gem.add_development_dependency "yard"
32
31
 
33
32
  gem.add_dependency "concurrent-ruby", "~> 1.0"
34
- gem.add_dependency "nsq-ruby-fastly", "~> 2.4"
33
+ gem.add_dependency "nsq-ruby", "~> 2.4.1"
35
34
  gem.add_dependency "priority_queue_cxx", "~> 0.3"
36
35
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastlyNsq
4
- VERSION = "1.18.0"
4
+ VERSION = "1.18.1"
5
5
  end
@@ -63,7 +63,7 @@ RSpec.describe FastlyNsq::Http::Nsqd, :webmock do
63
63
  stub_request(:post, url)
64
64
  data = {topic: "lol"}
65
65
 
66
- FastlyNsq::Http::Nsqd.send("topic_#{verb}".to_sym, topic: "lol", base_uri: base_uri)
66
+ FastlyNsq::Http::Nsqd.send(:"topic_#{verb}", topic: "lol", base_uri: base_uri)
67
67
 
68
68
  expect(a_request(:post, url).with(query: data)).to have_been_requested
69
69
 
@@ -71,7 +71,7 @@ RSpec.describe FastlyNsq::Http::Nsqd, :webmock do
71
71
  stub_request(:post, url)
72
72
  data = {topic: "lol", channel: "foo"}
73
73
 
74
- FastlyNsq::Http::Nsqd.send("channel_#{verb}".to_sym, topic: "lol", channel: "foo", base_uri: base_uri)
74
+ FastlyNsq::Http::Nsqd.send(:"channel_#{verb}", topic: "lol", channel: "foo", base_uri: base_uri)
75
75
 
76
76
  expect(a_request(:post, url).with(query: data)).to have_been_requested
77
77
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastly_nsq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommy O'Neil
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2022-03-04 00:00:00.000000000 Z
16
+ date: 2024-01-18 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: awesome_print
@@ -156,19 +156,19 @@ dependencies:
156
156
  - !ruby/object:Gem::Version
157
157
  version: '1.0'
158
158
  - !ruby/object:Gem::Dependency
159
- name: nsq-ruby-fastly
159
+ name: nsq-ruby
160
160
  requirement: !ruby/object:Gem::Requirement
161
161
  requirements:
162
162
  - - "~>"
163
163
  - !ruby/object:Gem::Version
164
- version: '2.4'
164
+ version: 2.4.1
165
165
  type: :runtime
166
166
  prerelease: false
167
167
  version_requirements: !ruby/object:Gem::Requirement
168
168
  requirements:
169
169
  - - "~>"
170
170
  - !ruby/object:Gem::Version
171
- version: '2.4'
171
+ version: 2.4.1
172
172
  - !ruby/object:Gem::Dependency
173
173
  name: priority_queue_cxx
174
174
  requirement: !ruby/object:Gem::Requirement
@@ -194,11 +194,12 @@ files:
194
194
  - ".env"
195
195
  - ".git-blame-ignore-revs"
196
196
  - ".github/PULL_REQUEST_TEMPLATE.md"
197
+ - ".github/workflows/ruby.yml"
197
198
  - ".gitignore"
198
199
  - ".overcommit.yml"
199
200
  - ".rdoc_options"
200
201
  - ".ruby-version"
201
- - ".travis.yml"
202
+ - ".standard.yml"
202
203
  - ChangeLog.md
203
204
  - Gemfile
204
205
  - LICENSE.txt
@@ -269,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
270
  - !ruby/object:Gem::Version
270
271
  version: '0'
271
272
  requirements: []
272
- rubygems_version: 3.2.32
273
+ rubygems_version: 3.3.7
273
274
  signing_key:
274
275
  specification_version: 4
275
276
  summary: Fastly NSQ Adapter
data/.travis.yml DELETED
@@ -1,25 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- sudo: false
4
- rvm:
5
- - 2.6.9
6
- - 2.7.5
7
- - 3.0.3
8
- script:
9
- - bundle exec rake
10
- services:
11
- - docker
12
- before_install:
13
- - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
14
- - docker-compose up -d
15
- before_script:
16
- - gem update --system
17
- notifications:
18
- slack:
19
- rooms:
20
- secure: Uo78FoH8dwSbt7BjTcfb62RXW8aU5h2se+bs0fHSXNrzh6D3Zl+JmwzMkgN8u7M6F0WsOy6RhilYggRYAGds4K1CUi0wGJOG86NaXB4igqBIdHa6f6vzMQZoXxJk8ekc/0NFCj2UV+2Obt6FpeUZvF0Y+u029k5gN0SROfrN+ANtSq+jbI8sdsCCsedXHgDWnGsZS1hHleiRF1Q6VfKnBFcewPP/W49gzbABlKk2MjkVhse6kg+7+LRXfnDxh+aaRXBGYfzmGn4+gS6Jey63U0woAa8TdP/THlwhgvvBS0kwMMaCss+Uq1690lnVV5MX84Fsm4C+A9gbdJmlansLrYRRWm4aaAf8IGlqRTwx3F2yNHTaPA2zmkooFtn1kTuz1J8L9NjsVPPkATMAg3rTIhel+YkVK8q0Q9N9A70+P2u+Rp3htgjxVPMN7Ve9GqejUEaw690Wsp4hCK5tINj8Aq42ET/RpQt4Rzx78Vk4jEK+9UsFuuRH+awAJu/UsnA0JMTq9Smgk2kE69McVNfYPXRIRQXWAkV2dc6FwI8AAmqRusTeyWMK9SOQNXhlmry5ltWfAnHtuKdq9delbc1iOkcj8u9sCBkTz0ZogsI2oHpLlrw2oHFe49kSOkB5HMSQo8IOR7yXHAZ41lmd87/T367bak9HGqsCrweJL7Vz2Mw=
21
- on_success: change
22
- on_failure: change
23
- email:
24
- on_success: never
25
- on_failure: never