yaml-write-stream 1.0.1 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1676094e4f0cad1f9cd41e5051316048b740090
4
- data.tar.gz: c88fe5e6427bcbef25df5ae2daefc3261d2421fa
3
+ metadata.gz: 107519550465c7b9032c5eb05c621385cc868a32
4
+ data.tar.gz: 7ef14e1fb90206f91f808f4a5c65fbea9892b418
5
5
  SHA512:
6
- metadata.gz: b9529ece89cebfbf5e9c9665917fc6d8883448208ac2f3c16049c6bc74c341fc7ff97b5c08404fe8922e8b3f865bbcbd39295ab8961277add44b8ede64c93f48
7
- data.tar.gz: 127a870309e9e8ebb42a50e5bc09c3f0654dc1e442f9c0d61dc7186b56b864ce5b7616630a85b2320605548213e8b4bea71fba14bb1204690a36db795b1a6b47
6
+ metadata.gz: f4d9fbd1689b5f9671f646f5a603474f486c56eeb4678babfaf385b0ac832a7078046076c5770a9ed7b412444f6436cbbd73cb07bbcfe36c1f961c4c81e83b23
7
+ data.tar.gz: f47f0602e05a89515713dc7fae16d6dfc4c9a58e37f7e416e842e407cca4e88ab87f30548a746015aef58ff6c239f470c701e44c1f1b10d90a092779bc00ab9b
data/History.txt CHANGED
@@ -1,3 +1,11 @@
1
1
  == 1.0.0
2
2
 
3
3
  * Birthday!
4
+
5
+ == 1.0.1
6
+
7
+ * Adding flush method to streams.
8
+
9
+ == 1.0.2
10
+
11
+ * Flush the underlying stream too.
@@ -37,6 +37,7 @@ class YamlWriteStream
37
37
 
38
38
  emitter.end_document(true)
39
39
  emitter.end_stream
40
+ stream.flush
40
41
  @closed = true
41
42
  nil
42
43
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  class YamlWriteStream
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yaml-write-stream
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Dutro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-10 00:00:00.000000000 Z
11
+ date: 2014-10-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: An easy, streaming way to generate YAML.
14
14
  email: