gibbon 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gibbon might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3568033ceac76caeac9a0c242498bea98928a54b
4
- data.tar.gz: 5eaee69f08c43608056f4407058ae68db18ae062
3
+ metadata.gz: 84f76dfa6df5af8fe5113bc40b2636c1785a444f
4
+ data.tar.gz: 1972be9d4e48fa14dfc2b9f36e4a50f89d5ca113
5
5
  SHA512:
6
- metadata.gz: 6aee46b63e30a3d8b2178864c76f773edc36d4b2f0dbe9c64feecf5b79fba5e008cbb71ce0af31f9deb1c9ab96a0ff85bbe4cfd443187ee7335e90ad10df6c74
7
- data.tar.gz: 1054e23dc767ec9d60b507febdaecc2c646cfcac98c149b4a35b35cced3ab2c1d98b1e51c25c8c892f8ca0ddbe019ce21dba6a9bdca46b9c94378785998d8566
6
+ metadata.gz: c74ace9fe34feed80a88bfa4aebf22579864a19a11688cf78fa554ffac9dc7ed08b38eb8606f7329fd897aac611eeeb36b3a38d8b7bf8723920b942f801db199
7
+ data.tar.gz: 3156a79ab00e9f224a188644d0b2f8d49529a35bd99e63cd4fe5cf478b291a83d151966d5909eac09f3a24352e8fdcabf1ae1c08f7749ff615159397fc8e0e00
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  ## [Unreleased][unreleased]
2
2
  -
3
+ ## [1.2.1] - 2015-07-30
4
+ - Fix lack of newline issue (contributed by @michaeldawson)
3
5
 
4
6
  ## [1.2.0] - 2015-07-16
5
7
  - Same as 1.1.6 but rereleased because it's a breaking change
@@ -16,6 +18,7 @@
16
18
  ## [1.1.4] - 2012-11-04
17
19
  - Fix JSON::ParserError on export calls that return blank results
18
20
 
19
- [unreleased]: https://github.com/amro/gibbon/compare/v1.1.5...HEAD
21
+ [1.2.1]: https://github.com/amro/gibbon/compare/v1.2.0...v1.2.1
22
+ [1.2.0]: https://github.com/amro/gibbon/compare/v1.1.4...v1.2.0
20
23
  [1.1.4]: https://github.com/amro/gibbon/compare/v1.1.3...v1.1.4
21
24
  [1.1.5]: https://github.com/amro/gibbon/compare/v1.1.4...v1.1.5
data/lib/gibbon/export.rb CHANGED
@@ -34,6 +34,7 @@ module Gibbon
34
34
  last = ''
35
35
  response.read_body do |chunk|
36
36
  next if chunk.nil? or chunk.strip.empty?
37
+ last += "\n" if last[-1, 1]==']'
37
38
  lines = (last+chunk).split("\n")
38
39
  last = lines.pop || ''
39
40
  lines.each do |line|
@@ -1,3 +1,3 @@
1
1
  module Gibbon
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gibbon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amro Mousa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-16 00:00:00.000000000 Z
11
+ date: 2015-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty