stripe 1.5.14 → 1.5.15
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/stripe.rb +6 -0
- data/lib/stripe/version.rb +1 -1
- data/vendor/stripe-json/lib/json/common.rb +3 -0
- metadata +6 -8
data/lib/stripe.rb
CHANGED
@@ -13,6 +13,12 @@ begin
|
|
13
13
|
rescue LoadError
|
14
14
|
raise if defined?(JSON)
|
15
15
|
require File.join(File.dirname(__FILE__), '../vendor/stripe-json/lib/json/pure')
|
16
|
+
|
17
|
+
# moderately ugly hack to deal with the clobbering that
|
18
|
+
# ActiveSupport's JSON subjects us to
|
19
|
+
class JSON::Pure::Generator::State
|
20
|
+
attr_reader :encoder, :only, :except
|
21
|
+
end
|
16
22
|
end
|
17
23
|
|
18
24
|
require File.join(File.dirname(__FILE__), 'stripe/version')
|
data/lib/stripe/version.rb
CHANGED
@@ -107,6 +107,9 @@ module JSON
|
|
107
107
|
# This exception is raised, if a parser error occurs.
|
108
108
|
class ParserError < JSONError; end
|
109
109
|
|
110
|
+
# this is what activesupport expects :(
|
111
|
+
class ParseError < ParserError; end
|
112
|
+
|
110
113
|
# This exception is raised, if the nesting of parsed datastructures is too
|
111
114
|
# deep.
|
112
115
|
class NestingError < ParserError; end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 29
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 1.5.
|
9
|
+
- 15
|
10
|
+
version: 1.5.15
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ross Boucher
|
@@ -16,8 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
20
|
-
default_executable:
|
19
|
+
date: 2011-09-05 00:00:00 Z
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
23
22
|
name: rest-client
|
@@ -95,7 +94,6 @@ files:
|
|
95
94
|
- vendor/stripe-json/lib/json/version.rb
|
96
95
|
- vendor/stripe-json/lib/json/pure/generator.rb
|
97
96
|
- vendor/stripe-json/lib/json/pure/parser.rb
|
98
|
-
has_rdoc: true
|
99
97
|
homepage: https://stripe.com/api
|
100
98
|
licenses: []
|
101
99
|
|
@@ -125,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
123
|
requirements: []
|
126
124
|
|
127
125
|
rubyforge_project:
|
128
|
-
rubygems_version: 1.
|
126
|
+
rubygems_version: 1.8.8
|
129
127
|
signing_key:
|
130
128
|
specification_version: 3
|
131
129
|
summary: Ruby bindings for the Stripe API
|