exceptional 2.0.31 → 2.0.32

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,3 +3,8 @@ class Regexp
3
3
  "\"#{self.to_s}\""
4
4
  end
5
5
  end
6
+ class Fixnum
7
+ def to_json(options = {})
8
+ to_s
9
+ end
10
+ end
@@ -1,3 +1,3 @@
1
1
  module Exceptional
2
- VERSION = '2.0.31'
2
+ VERSION = '2.0.32'
3
3
  end
@@ -5,4 +5,7 @@ describe Regexp do
5
5
  it "should output a correctly formatted string" do
6
6
  /hello/.to_json.should == "\"(?-mix:hello)\""
7
7
  end
8
+ it "should output a correctly formatted string" do
9
+ 2.to_json.should == "2"
10
+ end
8
11
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exceptional
3
3
  version: !ruby/object:Gem::Version
4
- hash: 49
4
+ hash: 79
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 31
10
- version: 2.0.31
9
+ - 32
10
+ version: 2.0.32
11
11
  platform: ruby
12
12
  authors:
13
13
  - Contrast
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-16 00:00:00 +00:00
18
+ date: 2010-12-17 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency