json-streamer 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/lib/json/streamer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15f8ae34f74e2fa49f528a81adde9fc20ad85a46
|
4
|
+
data.tar.gz: b856eaaf477457e4a396b1941ca5ff9a7da2b6cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 204b4cf22c6f0e3bac4f41624af13ee858565393dc98d0b9b257711aff7c254a11bbbde4dc2c9effe6343bc0faf98774fad9c836440e310f4302acddf10645fd
|
7
|
+
data.tar.gz: 2ade58734aca4cd8adef60c563db8ae5748f11167f3e251aef82bad545d250b5a735cb7d41c599ebaae41cb4327aecea2e3f9637649508a173d0758cfc74ef94
|
data/README.md
CHANGED
@@ -45,14 +45,16 @@ Or install it yourself as:
|
|
45
45
|
|
46
46
|
## Usage
|
47
47
|
|
48
|
+
Check the unit tests for more examples ([spec/streamer_spec.rb](spec/json/streamer/json_streamer_spec.rb)).
|
49
|
+
|
50
|
+
One `streamer` object handles one set of conditions. For multiple conditions create multiple streamers. For more details see [this discussion](https://github.com/thisismydesign/json-streamer/issues/9).
|
51
|
+
|
48
52
|
```ruby
|
49
53
|
require 'json/streamer'
|
50
54
|
```
|
51
55
|
|
52
56
|
### v1.2 (and above) API
|
53
57
|
|
54
|
-
Check the unit tests for more examples ([spec/streamer_spec.rb](spec/json/streamer/json_streamer_spec.rb)).
|
55
|
-
|
56
58
|
#### Passing IO upfront
|
57
59
|
|
58
60
|
```ruby
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json-streamer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thisismydesign
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|