fastly_nsq 1.9.2 → 1.9.3
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.md +20 -7
- data/lib/fastly_nsq/testing.rb +7 -0
- data/lib/fastly_nsq/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 60a5dae5d0ca5d80aae1aff914ea705b6d3303c957ea4380de1d2038d82f9283
|
|
4
|
+
data.tar.gz: ce70c136e7a4d192a077b5b8daf9a62bcb95ee8640e057dd796034b5386b774a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7db6c545ae860e6faf892a6b8f172d02fae61b0c1257a61270bfe3acbb2e3d4c6c19f994b1fdf61db5ade5e38f90d9112afb381302b36b948ff693aa3a8ae0a
|
|
7
|
+
data.tar.gz: a3046c80c90a7f989b3f34e403c383938de9f1c019bfde537354a5d47b8017604008e42311740d0a94bd841df01d6af4ecc184c09d6a0094af29142a9a5cfa7b
|
data/ChangeLog.md
CHANGED
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
# Change Log
|
|
2
|
-
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) as of [Version 1.9.1](#v1.9.1)
|
|
3
|
-
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
4
2
|
|
|
5
|
-
## [
|
|
3
|
+
## [v1.9.3](https://github.com/fastly/fastly_nsq/tree/v1.9.3) (2018-07-13)
|
|
4
|
+
[Full Changelog](https://github.com/fastly/fastly_nsq/compare/v1.9.2...v1.9.3)
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
-
|
|
6
|
+
**Merged pull requests:**
|
|
7
|
+
|
|
8
|
+
- add connected? to consumer testing [\#84](https://github.com/fastly/fastly_nsq/pull/84) ([leklund](https://github.com/leklund))
|
|
9
|
+
|
|
10
|
+
## [v1.9.2](https://github.com/fastly/fastly_nsq/tree/v1.9.2) (2018-07-09)
|
|
11
|
+
[Full Changelog](https://github.com/fastly/fastly_nsq/compare/v1.9.1...v1.9.2)
|
|
12
|
+
|
|
13
|
+
**Merged pull requests:**
|
|
14
|
+
|
|
15
|
+
- implement pop and pop\_without\_blocking for test mode [\#83](https://github.com/fastly/fastly_nsq/pull/83) ([leklund](https://github.com/leklund))
|
|
16
|
+
|
|
17
|
+
## [v1.9.1](https://github.com/fastly/fastly_nsq/tree/v1.9.1) (2018-06-06)
|
|
18
|
+
[Full Changelog](https://github.com/fastly/fastly_nsq/compare/v1.9.0...v1.9.1)
|
|
19
|
+
|
|
20
|
+
**Merged pull requests:**
|
|
21
|
+
|
|
22
|
+
- require pry only if pry is available already [\#82](https://github.com/fastly/fastly_nsq/pull/82) ([alieander](https://github.com/alieander))
|
|
10
23
|
|
|
11
24
|
## [v1.9.0](https://github.com/fastly/fastly_nsq/tree/v1.9.0) (2018-06-04)
|
|
12
25
|
[Full Changelog](https://github.com/fastly/fastly_nsq/compare/v1.8.0...v1.9.0)
|
|
@@ -360,4 +373,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
360
373
|
## [v0.0.1](https://github.com/fastly/fastly_nsq/tree/v0.0.1) (2016-01-30)
|
|
361
374
|
|
|
362
375
|
|
|
363
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
|
376
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/lib/fastly_nsq/testing.rb
CHANGED
|
@@ -271,6 +271,13 @@ module FastlyNsq
|
|
|
271
271
|
FastlyNsq::Testing.enabled? || super
|
|
272
272
|
end
|
|
273
273
|
|
|
274
|
+
def connected?
|
|
275
|
+
return super unless FastlyNsq::Testing.enabled?
|
|
276
|
+
@connected = true if @connected.nil?
|
|
277
|
+
|
|
278
|
+
@connected
|
|
279
|
+
end
|
|
280
|
+
|
|
274
281
|
def empty?
|
|
275
282
|
FastlyNsq::Testing.enabled? ? messages.empty? : super
|
|
276
283
|
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.3
|
|
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-07-
|
|
16
|
+
date: 2018-07-13 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: awesome_print
|