fastly_nsq 1.9.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +2 -0
- data/lib/fastly_nsq/testing.rb +8 -0
- data/lib/fastly_nsq/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: ca060587087e695989444352447b2505623dad9d722487334c3019fc03107a7d
|
4
|
+
data.tar.gz: 8f87c405ec287f13939aac6360db66e78ba53bd9d493497c809b2e541246343b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30cd72127ecbf38f388d65a981c3806e109d86b59feb9767aad665447d665ea6120ef7d70580b0d6b8d2c4a9e15bf33d8536e0419cdab69d1f164ccd01349c27
|
7
|
+
data.tar.gz: 00bb4653e5b051a9c53f44100567e54bbce360aedb9eab9596ef8ec7e34ac80e0f25f2cbc78b9cfaa3cee39bf82a5a2876e87a011287d62be37908677fbd69b9
|
data/ChangeLog.md
CHANGED
@@ -3,6 +3,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
|
|
3
3
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
4
4
|
|
5
5
|
## [Unreleased]
|
6
|
+
|
7
|
+
## [v1.9.1](https://rubygems.org/gems/fastly_nsq/versions/1.9.1) (2018-06-06)
|
6
8
|
### Removed
|
7
9
|
- Removed `pry` as an undocumented requirement for `bin/fastly_nsq`
|
8
10
|
|
data/lib/fastly_nsq/testing.rb
CHANGED
@@ -275,6 +275,14 @@ module FastlyNsq
|
|
275
275
|
FastlyNsq::Testing.enabled? ? messages.empty? : super
|
276
276
|
end
|
277
277
|
|
278
|
+
def pop
|
279
|
+
FastlyNsq::Testing.enabled? ? messages(topic)&.pop : super
|
280
|
+
end
|
281
|
+
|
282
|
+
def pop_without_blocking
|
283
|
+
FastlyNsq::Testing.enabled? ? messages(topic)&.pop : super
|
284
|
+
end
|
285
|
+
|
278
286
|
def size
|
279
287
|
FastlyNsq::Testing.enabled? ? messages.size : super
|
280
288
|
end
|
data/lib/fastly_nsq/version.rb
CHANGED
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.9.
|
4
|
+
version: 1.9.2
|
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: 2018-
|
16
|
+
date: 2018-07-09 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: awesome_print
|
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
268
268
|
version: '0'
|
269
269
|
requirements: []
|
270
270
|
rubyforge_project:
|
271
|
-
rubygems_version: 2.7.
|
271
|
+
rubygems_version: 2.7.3
|
272
272
|
signing_key:
|
273
273
|
specification_version: 4
|
274
274
|
summary: Fastly NSQ Adapter
|