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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42a4663f71ea58206f1f7b9a7193a15c233aa275701d2e6e669d573a3e2c1d39
4
- data.tar.gz: 19b2c34043928891c949ff9b807905887f8d93ba0a47a14766fe68d270de53d8
3
+ metadata.gz: ca060587087e695989444352447b2505623dad9d722487334c3019fc03107a7d
4
+ data.tar.gz: 8f87c405ec287f13939aac6360db66e78ba53bd9d493497c809b2e541246343b
5
5
  SHA512:
6
- metadata.gz: eb718bb5c42169fe580c53ac1c243da157cf6da1139879c82b5d7db179e08ccaa337ed64aab8d365a114452ce2f12016d802541300168216d6f01a52291f12d1
7
- data.tar.gz: 90fccf36e91e1e9b20929cecf9df935e75f81d58f292ca637f0a48192fb9f019162363155c8e532628063253ca45a0ecaa344df7dbceafc81df6f6df3dc17c68
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
 
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastlyNsq
4
- VERSION = '1.9.1'
4
+ VERSION = '1.9.2'
5
5
  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.9.1
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-06-06 00:00:00.000000000 Z
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.6
271
+ rubygems_version: 2.7.3
272
272
  signing_key:
273
273
  specification_version: 4
274
274
  summary: Fastly NSQ Adapter