json_builder 2.0.2 → 2.0.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.
@@ -51,7 +51,7 @@ module JSONBuilder
51
51
  @compiled[@compiled.length-1] = @compiled.last + "\"#{sym}\":#{text}"
52
52
  @indent_next = false
53
53
  else
54
- @compiled << "\"#{sym}\":#{text}"
54
+ @compiled << "\"#{sym}\": #{text}"
55
55
  end
56
56
  end
57
57
  end
@@ -88,7 +88,7 @@ module JSONBuilder
88
88
  when FalseClass then 'false'
89
89
  when NilClass then 'null'
90
90
  when DateTime, Time, Date then "\"#{text.strftime('%Y-%m-%dT%H:%M:%S%z')}\""
91
- when Fixnum then text
91
+ when Fixnum, Bignum then text
92
92
  end
93
93
  end
94
94
 
@@ -1,3 +1,3 @@
1
1
  module JSONBuilder
2
- VERSION = '2.0.2'.freeze
2
+ VERSION = '2.0.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_builder
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 2
10
- version: 2.0.2
9
+ - 3
10
+ version: 2.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Garrett Bjerkhoel