spreedly 1.3.5 → 1.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +15 -0
  2. data/{History.txt → HISTORY.md} +24 -16
  3. data/{vendor/httparty/MIT-LICENSE → LICENSE.txt} +10 -8
  4. data/README.md +42 -0
  5. data/lib/spreedly.rb +28 -26
  6. data/lib/spreedly/version.rb +1 -1
  7. metadata +44 -116
  8. data/.gemtest +0 -0
  9. data/Manifest.txt +0 -68
  10. data/README.txt +0 -67
  11. data/Rakefile +0 -49
  12. data/TODO +0 -0
  13. data/test/spreedly_gem_test.rb +0 -319
  14. data/test/test_site.yml +0 -2
  15. data/vendor/httparty/History +0 -108
  16. data/vendor/httparty/Manifest +0 -55
  17. data/vendor/httparty/README +0 -35
  18. data/vendor/httparty/Rakefile +0 -47
  19. data/vendor/httparty/bin/httparty +0 -98
  20. data/vendor/httparty/cucumber.yml +0 -1
  21. data/vendor/httparty/examples/aaws.rb +0 -32
  22. data/vendor/httparty/examples/basic.rb +0 -11
  23. data/vendor/httparty/examples/delicious.rb +0 -37
  24. data/vendor/httparty/examples/google.rb +0 -16
  25. data/vendor/httparty/examples/rubyurl.rb +0 -14
  26. data/vendor/httparty/examples/twitter.rb +0 -31
  27. data/vendor/httparty/examples/whoismyrep.rb +0 -10
  28. data/vendor/httparty/features/basic_authentication.feature +0 -20
  29. data/vendor/httparty/features/command_line.feature +0 -7
  30. data/vendor/httparty/features/deals_with_http_error_codes.feature +0 -26
  31. data/vendor/httparty/features/handles_multiple_formats.feature +0 -34
  32. data/vendor/httparty/features/steps/env.rb +0 -15
  33. data/vendor/httparty/features/steps/httparty_response_steps.rb +0 -26
  34. data/vendor/httparty/features/steps/httparty_steps.rb +0 -15
  35. data/vendor/httparty/features/steps/mongrel_helper.rb +0 -55
  36. data/vendor/httparty/features/steps/remote_service_steps.rb +0 -47
  37. data/vendor/httparty/features/supports_redirection.feature +0 -22
  38. data/vendor/httparty/httparty.gemspec +0 -37
  39. data/vendor/httparty/lib/core_extensions.rb +0 -189
  40. data/vendor/httparty/lib/httparty.rb +0 -201
  41. data/vendor/httparty/lib/httparty/cookie_hash.rb +0 -9
  42. data/vendor/httparty/lib/httparty/exceptions.rb +0 -7
  43. data/vendor/httparty/lib/httparty/logging.rb +0 -35
  44. data/vendor/httparty/lib/httparty/module_inheritable_attributes.rb +0 -25
  45. data/vendor/httparty/lib/httparty/parsers.rb +0 -4
  46. data/vendor/httparty/lib/httparty/parsers/json.rb +0 -74
  47. data/vendor/httparty/lib/httparty/parsers/xml.rb +0 -209
  48. data/vendor/httparty/lib/httparty/request.rb +0 -169
  49. data/vendor/httparty/lib/httparty/response.rb +0 -17
  50. data/vendor/httparty/lib/httparty/version.rb +0 -3
  51. data/vendor/httparty/setup.rb +0 -1585
  52. data/vendor/httparty/spec/fixtures/delicious.xml +0 -23
  53. data/vendor/httparty/spec/fixtures/empty.xml +0 -0
  54. data/vendor/httparty/spec/fixtures/google.html +0 -3
  55. data/vendor/httparty/spec/fixtures/twitter.json +0 -1
  56. data/vendor/httparty/spec/fixtures/twitter.xml +0 -403
  57. data/vendor/httparty/spec/fixtures/undefined_method_add_node_for_nil.xml +0 -2
  58. data/vendor/httparty/spec/hash_spec.rb +0 -49
  59. data/vendor/httparty/spec/httparty/cookie_hash_spec.rb +0 -38
  60. data/vendor/httparty/spec/httparty/parsers/json_spec.rb +0 -44
  61. data/vendor/httparty/spec/httparty/parsers/xml_spec.rb +0 -454
  62. data/vendor/httparty/spec/httparty/request_spec.rb +0 -203
  63. data/vendor/httparty/spec/httparty/response_spec.rb +0 -53
  64. data/vendor/httparty/spec/httparty_spec.rb +0 -259
  65. data/vendor/httparty/spec/spec.opts +0 -3
  66. data/vendor/httparty/spec/spec_helper.rb +0 -21
  67. data/vendor/httparty/spec/string_spec.rb +0 -29
  68. data/vendor/httparty/website/css/common.css +0 -47
  69. data/vendor/httparty/website/index.html +0 -74
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZmY0Y2RmODFjNWRiNDNmNGIzNjAzZWE0YWQ3N2Q5ZDZkZDU1MjVmMA==
5
+ data.tar.gz: !binary |-
6
+ MjA0YTNmMzM0MDFhZDliZDE1NDU3ZGIxYzI3MDM3ZTk5ZjFlZmFiZg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ OTk1ZDQ5MjRkN2NjZDBjMWQyNzYzOGRkZTI4M2Y2ZTBjZTA1YzA1M2ExYmNl
10
+ NDc4OWNhNDg0NWMwY2QzZDEwN2Q0MTI5NjIwYzRjZDU4ZTZmZTBjZTU0MmJj
11
+ MzRiNmQ5OGQyOThmNjczMTI0M2NlMmQ0MzY1ZGI0ZGYyYWJkOWM=
12
+ data.tar.gz: !binary |-
13
+ NDBjYzFmN2IxYTA5NmNmNDIzY2FkYzBiNTM3MDkyYTFlZWIxZjhhZmQzYzI0
14
+ YjljYzYyMDQzODI5ZmQ5M2Q4YjlmZTQwYmUxZDU2MWM1OWUxNTY1ZjQ4NDdk
15
+ N2VmMTkxM2E4ZDFlOWUxYmE3NmMwNmI2YTQ1NmZlZmE2NjU4ODE=
@@ -1,56 +1,64 @@
1
- === 1.3.5
1
+ # Changelog
2
+
3
+ ## 1.3.6
4
+
5
+ * Modernize packaging
6
+ * Improve handling of bad credentials
7
+
8
+ ## 1.3.5
9
+
2
10
  * Move to Spreedly repo.
3
11
 
4
- === 1.3.4
12
+ ## 1.3.4
13
+
5
14
  * Add result body to comp validation failure. [ntalbott]
6
15
 
7
- === 1.3.3
16
+ ## 1.3.3
17
+
8
18
  * Add support for return_url in Spreedly.edit_subscriber_url [jjthrash]
9
19
  * Add support for return_url in Spreedly.subscribe_url [jjthrash]
10
20
 
11
- === 1.3.2
21
+ ## 1.3.2
12
22
 
13
- * Added methods on subscriber: update, allow_free_trial,
23
+ * Added methods on subscriber: update, allow_free_trial,
14
24
  add_fee [mateuszzawisza]
15
- * Fixing tests: generate spreedly url and edit url working with all
25
+ * Fixing tests: generate spreedly url and edit url working with all
16
26
  site names [mateuszzawisza]
17
27
  * Add support for pre-population of the subscribe page via the subscribe
18
28
  url. [davemcp]
19
29
 
20
- === 1.3.1
30
+ ## 1.3.1
21
31
 
22
32
  * Handle new error reporting when creating a subscriber.
23
33
  * Use a more sane way of setting attributes in the mock, and make plans have a
24
34
  plan type [seancribbs].
25
35
  * Allow optional arguments to be passed when creating subscribers [jaknowlden].
26
36
 
27
- === 1.3.0 / 2009-06-04
37
+ ## 1.3.0 / 2009-06-04
28
38
 
29
39
  * Properly handle invalid Subscriber lookup [karnowski].
30
40
  * Added support for stopping auto renew [scottmotte, dsimard].
31
41
 
32
- === 1.2.2 / 2009-05-11
42
+ ## 1.2.2 / 2009-05-11
33
43
 
34
44
  * Fixed an error in the README [karnowski].
35
45
 
36
- === 1.2.1 / 2009-04-30
46
+ ## 1.2.1 / 2009-04-30
37
47
 
38
48
  * A few documentation tweaks.
39
49
 
40
- === 1.2.0 / 2009-04-30
50
+ ## 1.2.0 / 2009-04-30
41
51
 
42
52
  * Added mock support for Subscriber#activate_free_trial [scottmotte].
43
53
  * Added tests for Subscriber#activate_free_trial.
44
54
 
45
- === 1.1.0 / 2009-04-24
55
+ ## 1.1.0 / 2009-04-24
46
56
 
47
57
  * Compatibility with the latest hoe and HTTParty [seancribbs].
48
58
  * Added Subscriber.delete! [scottmotte].
49
59
  * Added Subscriber#activate_free_trial [scottmotte].
50
60
 
51
- === 1.0.0 / 2009-03-17
52
-
53
- * 1 major enhancement
61
+ ## 1.0.0 / 2009-03-17
54
62
 
55
- * Initial release.
63
+ * Initial release.
56
64
 
@@ -1,8 +1,10 @@
1
- Copyright (c) 2008 John Nunemaker
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2013 Spreedly, Inc.. All Rights Reserved.
2
4
 
3
5
  Permission is hereby granted, free of charge, to any person obtaining
4
6
  a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
7
+ 'Software'), to deal in the Software without restriction, including
6
8
  without limitation the rights to use, copy, modify, merge, publish,
7
9
  distribute, sublicense, and/or sell copies of the Software, and to
8
10
  permit persons to whom the Software is furnished to do so, subject to
@@ -11,10 +13,10 @@ the following conditions:
11
13
  The above copyright notice and this permission notice shall be
12
14
  included in all copies or substantial portions of the Software.
13
15
 
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
15
17
  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,42 @@
1
+ # Spreedly gem
2
+
3
+ * https://github.com/spreedly/spreedly-gem
4
+
5
+ ## Description
6
+
7
+ The Spreedly gem provides a convenient Ruby wrapper for the Spreedly
8
+ Subscriptions API.
9
+
10
+ ## Features
11
+
12
+ * Makes it easy to get started.
13
+ * Fully tested.
14
+ * (Mostly) fully substitutable mock implementation for fast tests.
15
+ * Great example code.
16
+
17
+ ## Synopsis
18
+
19
+ # For real
20
+ require 'spreedly'
21
+ Spreedly.configure('site short name', 'crazy hash token')
22
+ url = Spreedly.subscribe_url('customer id', 'plan id')
23
+ subscriber = Spreedly::Subscriber.find('customer id')
24
+ subscriber.active?
25
+
26
+ # For fast tests
27
+ require 'spreedly/mock'
28
+ Spreedly.configure('site short name', 'crazy hash token')
29
+ url = Spreedly.subscribe_url('customer id', 'plan id')
30
+ subscriber = Spreedly::Subscriber.find('customer id')
31
+ subscriber.active?
32
+
33
+ Yup, they're exactly the same except for the require and the speed!
34
+
35
+ ## Requirements
36
+
37
+ * A Spreedly Subscriptions account.
38
+ * HTTParty
39
+
40
+ ## Install
41
+
42
+ $ gem install spreedly
data/lib/spreedly.rb CHANGED
@@ -43,11 +43,11 @@ module Spreedly
43
43
  basic_auth token, 'X'
44
44
  @site_name = site_name
45
45
  end
46
-
46
+
47
47
  def self.site_name # :nodoc:
48
48
  @site_name
49
49
  end
50
-
50
+
51
51
  def self.to_xml_params(hash) # :nodoc:
52
52
  hash.collect do |key, value|
53
53
  tag = key.to_s.tr('_', '-')
@@ -61,16 +61,16 @@ module Spreedly
61
61
  result
62
62
  end.join('')
63
63
  end
64
-
64
+
65
65
  class Resource # :nodoc: all
66
66
  def initialize(data)
67
67
  @data = data
68
68
  end
69
-
69
+
70
70
  def id
71
71
  @data["id"]
72
72
  end
73
-
73
+
74
74
  def method_missing(method, *args, &block)
75
75
  if method.to_s =~ /\?$/
76
76
  send(method.to_s[0..-2])
@@ -90,9 +90,9 @@ module Spreedly
90
90
  def self.wipe!
91
91
  Spreedly.delete('/subscribers.xml')
92
92
  end
93
-
93
+
94
94
  # This will DELETE individual subscribers from the site. Pass in the customer_id.
95
- #
95
+ #
96
96
  # Only works for test sites (enforced on the Spreedly side).
97
97
  def self.delete!(id)
98
98
  Spreedly.delete("/subscribers/#{id}.xml")
@@ -107,7 +107,7 @@ module Spreedly
107
107
  # Spreedly.Subscriber.create!(id, email, screen_name)
108
108
  # Spreedly.Subscriber.create!(id, :email => email, :screen_name => screen_name)
109
109
  # Spreedly.Subscriber.create!(id, email, screen_name, :billing_first_name => first_name)
110
- def self.create!(id, *args)
110
+ def self.create!(id, *args)
111
111
  optional_attrs = args.last.is_a?(::Hash) ? args.pop : {}
112
112
  email, screen_name = args
113
113
  subscriber = {:customer_id => id, :email => email, :screen_name => screen_name}.merge(optional_attrs)
@@ -124,24 +124,28 @@ module Spreedly
124
124
  raise "Could not create subscriber: result code #{result.code}."
125
125
  end
126
126
  end
127
-
127
+
128
128
  # Looks a subscriber up by id.
129
129
  def self.find(id)
130
130
  xml = Spreedly.get("/subscribers/#{id}.xml")
131
- (xml.nil? || xml.empty? ? nil : new(xml['subscriber']))
131
+ if [200, 404].include?(xml.code)
132
+ (xml.nil? || xml.empty? ? nil : new(xml['subscriber']))
133
+ else
134
+ raise "Could not find subscriber: result code #{xml.code}, body '#{xml.body}'"
135
+ end
132
136
  end
133
-
137
+
134
138
  # Returns all the subscribers in your site.
135
139
  def self.all
136
140
  Spreedly.get('/subscribers.xml')['subscribers'].collect{|data| new(data)}
137
141
  end
138
-
142
+
139
143
  # Spreedly calls your id for the user the "customer id". This
140
144
  # gives you a handy alias so you can just call it "id".
141
145
  def id
142
146
  customer_id
143
147
  end
144
-
148
+
145
149
  # Allows you to give a complimentary subscription (if the
146
150
  # subscriber is inactive) or a complimentary time extension (if
147
151
  # the subscriber is active). Automatically figures out which
@@ -167,11 +171,11 @@ module Spreedly
167
171
  raise "Could not comp subscriber: result code #{result.code}."
168
172
  end
169
173
  end
170
-
174
+
171
175
  # Activates a free trial on the subscriber.
172
176
  # Requires plan_id of the free trial plan
173
177
  def activate_free_trial(plan_id)
174
- result = Spreedly.post("/subscribers/#{id}/subscribe_to_free_trial.xml", :body =>
178
+ result = Spreedly.post("/subscribers/#{id}/subscribe_to_free_trial.xml", :body =>
175
179
  Spreedly.to_xml_params(:subscription_plan => {:id => plan_id}))
176
180
  case result.code.to_s
177
181
  when /2../
@@ -185,7 +189,7 @@ module Spreedly
185
189
  raise "Could not activate free trial for subscriber: result code #{result.code}."
186
190
  end
187
191
  end
188
-
192
+
189
193
  # Stop the auto renew of the subscriber such that their recurring subscription will no longer be renewed.
190
194
  # usage: @subscriber.stop_auto_renew
191
195
  def stop_auto_renew
@@ -198,9 +202,7 @@ module Spreedly
198
202
  raise "Could not stop auto renew for subscriber: result code #{result.code}."
199
203
  end
200
204
  end
201
-
202
-
203
-
205
+
204
206
  # Update a Subscriber
205
207
  # usage: @subscriber.update(:email => email, :screen_name => screen_name)
206
208
  def update(args)
@@ -217,7 +219,6 @@ module Spreedly
217
219
  end
218
220
  end
219
221
 
220
-
221
222
  # Allow Another Free Trial
222
223
  # usage: @subscriber.allow_free_trial
223
224
  def allow_free_trial
@@ -230,7 +231,6 @@ module Spreedly
230
231
  end
231
232
  end
232
233
 
233
-
234
234
  # Add a Fee to a Subscriber
235
235
  # usage: @subscriber.add_fee(:amount => amount, :group => group_name, :description => description, :name => name)
236
236
  def add_fee(args)
@@ -246,22 +246,24 @@ module Spreedly
246
246
  raise "Could not add fee to subscriber: result code #{result.code}."
247
247
  end
248
248
  end
249
-
250
-
251
249
  end
252
-
253
250
 
254
251
  class SubscriptionPlan < Resource
255
252
  # Returns all of the subscription plans defined in your site.
256
253
  def self.all
257
- Spreedly.get('/subscription_plans.xml')['subscription_plans'].collect{|data| new(data)}
254
+ xml = Spreedly.get('/subscription_plans.xml')
255
+ if xml.code == 200
256
+ xml['subscription_plans'].collect{|data| new(data)}
257
+ else
258
+ raise "Could not list subscription plans: result code #{xml.code}, body '#{xml.body}'"
259
+ end
258
260
  end
259
261
 
260
262
  # Returns the subscription plan with the given id.
261
263
  def self.find(id)
262
264
  all.detect{|e| e.id.to_s == id.to_s}
263
265
  end
264
-
266
+
265
267
  # Convenience method for determining if this plan is a free trial plan or not.
266
268
  def trial?
267
269
  (plan_type == 'free_trial')
@@ -1,3 +1,3 @@
1
1
  module Spreedly
2
- VERSION = "1.3.5"
2
+ VERSION = "1.3.6"
3
3
  end
metadata CHANGED
@@ -1,167 +1,95 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreedly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.5
5
- prerelease:
4
+ version: 1.3.6
6
5
  platform: ruby
7
6
  authors:
8
- - Nathaniel Talbott
7
+ - Spreedly
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-04-05 00:00:00.000000000 Z
11
+ date: 2013-02-26 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: rdoc
16
- requirement: &70178646230520 !ruby/object:Gem::Requirement
17
- none: false
14
+ prerelease: false
15
+ name: httparty
16
+ requirement: !ruby/object:Gem::Requirement
18
17
  requirements:
19
- - - ~>
18
+ - - ! '>='
20
19
  - !ruby/object:Gem::Version
21
- version: '3.10'
22
- type: :development
23
- prerelease: false
24
- version_requirements: *70178646230520
20
+ version: '0'
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ! '>='
24
+ - !ruby/object:Gem::Version
25
+ version: '0'
26
+ type: :runtime
25
27
  - !ruby/object:Gem::Dependency
28
+ prerelease: false
26
29
  name: shoulda
27
- requirement: &70178646228860 !ruby/object:Gem::Requirement
28
- none: false
30
+ requirement: !ruby/object:Gem::Requirement
29
31
  requirements:
30
32
  - - ! '>='
31
33
  - !ruby/object:Gem::Version
32
34
  version: '0'
33
- type: :development
34
- prerelease: false
35
- version_requirements: *70178646228860
36
- - !ruby/object:Gem::Dependency
37
- name: mechanize
38
- requirement: &70178646227700 !ruby/object:Gem::Requirement
39
- none: false
35
+ version_requirements: !ruby/object:Gem::Requirement
40
36
  requirements:
41
37
  - - ! '>='
42
38
  - !ruby/object:Gem::Version
43
39
  version: '0'
44
40
  type: :development
45
- prerelease: false
46
- version_requirements: *70178646227700
47
41
  - !ruby/object:Gem::Dependency
48
- name: hoe
49
- requirement: &70178646215020 !ruby/object:Gem::Requirement
50
- none: false
42
+ prerelease: false
43
+ name: mechanize
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ~>
47
+ - !ruby/object:Gem::Version
48
+ version: 2.5.1
49
+ version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
51
  - - ~>
53
52
  - !ruby/object:Gem::Version
54
- version: '3.0'
53
+ version: 2.5.1
55
54
  type: :development
56
- prerelease: false
57
- version_requirements: *70178646215020
58
- description: ! 'The Spreedly gem provides a convenient Ruby wrapper for the Spreedly
59
-
60
- Subscriptions API.'
55
+ description: The Spreedly gem provides a convenient Ruby wrapper for the Spreedly
56
+ Subscriptions API.
61
57
  email:
62
58
  - nathaniel@spreedly.com
63
59
  executables: []
64
60
  extensions: []
65
- extra_rdoc_files:
66
- - History.txt
67
- - Manifest.txt
68
- - README.txt
61
+ extra_rdoc_files: []
69
62
  files:
70
- - History.txt
71
- - Manifest.txt
72
- - README.txt
73
- - Rakefile
74
- - TODO
75
- - lib/spreedly.rb
76
63
  - lib/spreedly/common.rb
77
64
  - lib/spreedly/mock.rb
78
65
  - lib/spreedly/test_hacks.rb
79
66
  - lib/spreedly/version.rb
80
- - test/spreedly_gem_test.rb
81
- - test/test_site.yml
82
- - vendor/httparty/History
83
- - vendor/httparty/MIT-LICENSE
84
- - vendor/httparty/Manifest
85
- - vendor/httparty/README
86
- - vendor/httparty/Rakefile
87
- - vendor/httparty/bin/httparty
88
- - vendor/httparty/cucumber.yml
89
- - vendor/httparty/examples/aaws.rb
90
- - vendor/httparty/examples/basic.rb
91
- - vendor/httparty/examples/delicious.rb
92
- - vendor/httparty/examples/google.rb
93
- - vendor/httparty/examples/rubyurl.rb
94
- - vendor/httparty/examples/twitter.rb
95
- - vendor/httparty/examples/whoismyrep.rb
96
- - vendor/httparty/features/basic_authentication.feature
97
- - vendor/httparty/features/command_line.feature
98
- - vendor/httparty/features/deals_with_http_error_codes.feature
99
- - vendor/httparty/features/handles_multiple_formats.feature
100
- - vendor/httparty/features/steps/env.rb
101
- - vendor/httparty/features/steps/httparty_response_steps.rb
102
- - vendor/httparty/features/steps/httparty_steps.rb
103
- - vendor/httparty/features/steps/mongrel_helper.rb
104
- - vendor/httparty/features/steps/remote_service_steps.rb
105
- - vendor/httparty/features/supports_redirection.feature
106
- - vendor/httparty/httparty.gemspec
107
- - vendor/httparty/lib/core_extensions.rb
108
- - vendor/httparty/lib/httparty.rb
109
- - vendor/httparty/lib/httparty/cookie_hash.rb
110
- - vendor/httparty/lib/httparty/exceptions.rb
111
- - vendor/httparty/lib/httparty/logging.rb
112
- - vendor/httparty/lib/httparty/module_inheritable_attributes.rb
113
- - vendor/httparty/lib/httparty/parsers.rb
114
- - vendor/httparty/lib/httparty/parsers/json.rb
115
- - vendor/httparty/lib/httparty/parsers/xml.rb
116
- - vendor/httparty/lib/httparty/request.rb
117
- - vendor/httparty/lib/httparty/response.rb
118
- - vendor/httparty/lib/httparty/version.rb
119
- - vendor/httparty/setup.rb
120
- - vendor/httparty/spec/fixtures/delicious.xml
121
- - vendor/httparty/spec/fixtures/empty.xml
122
- - vendor/httparty/spec/fixtures/google.html
123
- - vendor/httparty/spec/fixtures/twitter.json
124
- - vendor/httparty/spec/fixtures/twitter.xml
125
- - vendor/httparty/spec/fixtures/undefined_method_add_node_for_nil.xml
126
- - vendor/httparty/spec/hash_spec.rb
127
- - vendor/httparty/spec/httparty/cookie_hash_spec.rb
128
- - vendor/httparty/spec/httparty/parsers/json_spec.rb
129
- - vendor/httparty/spec/httparty/parsers/xml_spec.rb
130
- - vendor/httparty/spec/httparty/request_spec.rb
131
- - vendor/httparty/spec/httparty/response_spec.rb
132
- - vendor/httparty/spec/httparty_spec.rb
133
- - vendor/httparty/spec/spec.opts
134
- - vendor/httparty/spec/spec_helper.rb
135
- - vendor/httparty/spec/string_spec.rb
136
- - vendor/httparty/website/css/common.css
137
- - vendor/httparty/website/index.html
138
- - .gemtest
139
- homepage: http://github.com/spreedly/spreedly-gem
140
- licenses: []
67
+ - lib/spreedly.rb
68
+ - README.md
69
+ - LICENSE.txt
70
+ - HISTORY.md
71
+ homepage: https://github.com/spreedly/spreedly-gem
72
+ licenses:
73
+ - MIT
74
+ metadata: {}
141
75
  post_install_message:
142
- rdoc_options:
143
- - --main
144
- - README.txt
76
+ rdoc_options: []
145
77
  require_paths:
146
78
  - lib
147
79
  required_ruby_version: !ruby/object:Gem::Requirement
148
- none: false
149
80
  requirements:
150
81
  - - ! '>='
151
82
  - !ruby/object:Gem::Version
152
83
  version: '0'
153
84
  required_rubygems_version: !ruby/object:Gem::Requirement
154
- none: false
155
85
  requirements:
156
86
  - - ! '>='
157
87
  - !ruby/object:Gem::Version
158
- version: '0'
88
+ version: '1.8'
159
89
  requirements: []
160
- rubyforge_project: spreedly
161
- rubygems_version: 1.8.11
90
+ rubyforge_project:
91
+ rubygems_version: 2.0.0
162
92
  signing_key:
163
- specification_version: 3
164
- summary: The Spreedly gem provides a convenient Ruby wrapper for the Spreedly Subscriptions
165
- API.
166
- test_files:
167
- - test/spreedly_gem_test.rb
93
+ specification_version: 4
94
+ summary: Provides a Ruby wrapper for the Spreedly Subscriptions API.
95
+ test_files: []