spreedly_subscriptions 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3547fe55b0cda379b977a598c9a4de32c8735892
4
+ data.tar.gz: 2516a5318cf392a6fe9c4707bdfb8721b7051598
5
+ SHA512:
6
+ metadata.gz: 50ba633fd07bcf351073fb6476793932be36dab41577bbe528b6c18ac19d05340f8ee717c3bc793b1c6f893b199a23f61bd85c9072e3f6d3d5c32b33c7891958
7
+ data.tar.gz: 9e93158568738c4b59cc01120af2a895bacaaef89b12acae0b0a680c6e3d6d5ff08256ab53ed3ba11a02295847c7ec17310a0db60e76719a037bf988be98ecdc
@@ -4,7 +4,7 @@ require 'httparty'
4
4
  raise "Mock Spreedly already required!" if defined?(Spreedly::MOCK)
5
5
 
6
6
  =begin rdoc
7
- Provides a convenient wrapper around the https://spreedly.com/info/integration
7
+ Provides a convenient wrapper around the https://subs.pinpayments.com/info/integration
8
8
  API. Instead of mucking around with http you can just
9
9
  Spreedly::Subscriptions.configure and Spreedly::Subscriber.find. Much of the
10
10
  functionality is hung off of the Spreedly::Subscriptions::Subscriber class, and there's also a
@@ -25,7 +25,7 @@ module Spreedly
25
25
  screen_name = options.delete(:screen_name)
26
26
  params = %w(email first_name last_name return_url).select{|e| options[e.to_sym]}.collect{|e| "#{e}=#{options[e.to_sym]}"}.join('&')
27
27
 
28
- url = "https://spreedly.com/#{site_name}/subscribers/#{id}/subscribe/#{plan}"
28
+ url = "https://subs.pinpayments.com/#{site_name}/subscribers/#{id}/subscribe/#{plan}"
29
29
  url << "/#{screen_name}" if screen_name
30
30
  url << '?' << params unless params == ''
31
31
 
@@ -36,7 +36,7 @@ module Spreedly
36
36
  # token is returned with the subscriber info (i.e. by
37
37
  # Subscriber.find).
38
38
  def self.edit_subscriber_url(token, return_url = nil)
39
- "https://spreedly.com/#{site_name}/subscriber_accounts/#{token}" +
39
+ "https://subs.pinpayments.com/#{site_name}/subscriber_accounts/#{token}" +
40
40
  if return_url
41
41
  "?return_url=#{URI.escape(return_url)}"
42
42
  else
@@ -1,5 +1,5 @@
1
1
  module Spreedly
2
2
  module Subscriptions
3
- VERSION = "2.0.2"
3
+ VERSION = "2.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,96 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreedly_subscriptions
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 2.0.2
4
+ version: 2.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Spreedly
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-12-09 00:00:00.000000000 Z
11
+ date: 2014-03-07 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- prerelease: false
16
14
  name: bundler
17
- type: :development
18
- version_requirements: !ruby/object:Gem::Requirement
15
+ requirement: !ruby/object:Gem::Requirement
19
16
  requirements:
20
- - - ~>
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
19
  version: '1.3'
23
- none: false
24
- requirement: !ruby/object:Gem::Requirement
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
25
23
  requirements:
26
- - - ~>
24
+ - - "~>"
27
25
  - !ruby/object:Gem::Version
28
26
  version: '1.3'
29
- none: false
30
27
  - !ruby/object:Gem::Dependency
31
- prerelease: false
32
28
  name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
33
34
  type: :development
35
+ prerelease: false
34
36
  version_requirements: !ruby/object:Gem::Requirement
35
37
  requirements:
36
- - - ! '>='
38
+ - - ">="
37
39
  - !ruby/object:Gem::Version
38
40
  version: '0'
39
- none: false
41
+ - !ruby/object:Gem::Dependency
42
+ name: httparty
40
43
  requirement: !ruby/object:Gem::Requirement
41
44
  requirements:
42
- - - ! '>='
45
+ - - ">="
43
46
  - !ruby/object:Gem::Version
44
47
  version: '0'
45
- none: false
46
- - !ruby/object:Gem::Dependency
47
- prerelease: false
48
- name: httparty
49
48
  type: :runtime
49
+ prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- none: false
55
+ - !ruby/object:Gem::Dependency
56
+ name: shoulda
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
- - - ! '>='
59
+ - - ">="
59
60
  - !ruby/object:Gem::Version
60
61
  version: '0'
61
- none: false
62
- - !ruby/object:Gem::Dependency
63
- prerelease: false
64
- name: shoulda
65
62
  type: :development
63
+ prerelease: false
66
64
  version_requirements: !ruby/object:Gem::Requirement
67
65
  requirements:
68
- - - ! '>='
69
- - !ruby/object:Gem::Version
70
- version: '0'
71
- none: false
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - ! '>='
66
+ - - ">="
75
67
  - !ruby/object:Gem::Version
76
68
  version: '0'
77
- none: false
78
69
  - !ruby/object:Gem::Dependency
79
- prerelease: false
80
70
  name: mechanize
81
- type: :development
82
- version_requirements: !ruby/object:Gem::Requirement
71
+ requirement: !ruby/object:Gem::Requirement
83
72
  requirements:
84
- - - ~>
73
+ - - "~>"
85
74
  - !ruby/object:Gem::Version
86
75
  version: 2.5.1
87
- none: false
88
- requirement: !ruby/object:Gem::Requirement
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
89
79
  requirements:
90
- - - ~>
80
+ - - "~>"
91
81
  - !ruby/object:Gem::Version
92
82
  version: 2.5.1
93
- none: false
94
83
  description: This gem provides a convenient Ruby wrapper for the Spreedly Subscriptions
95
84
  API.
96
85
  email:
@@ -99,40 +88,36 @@ executables: []
99
88
  extensions: []
100
89
  extra_rdoc_files: []
101
90
  files:
91
+ - HISTORY.md
92
+ - LICENSE.txt
93
+ - README.md
94
+ - lib/spreedly/subscriptions.rb
102
95
  - lib/spreedly/subscriptions/common.rb
103
96
  - lib/spreedly/subscriptions/mock.rb
104
97
  - lib/spreedly/subscriptions/test_hacks.rb
105
98
  - lib/spreedly/subscriptions/version.rb
106
- - lib/spreedly/subscriptions.rb
107
- - README.md
108
- - LICENSE.txt
109
- - HISTORY.md
110
99
  homepage: https://github.com/spreedly/spreedly_subscriptions_gem
111
100
  licenses:
112
101
  - MIT
102
+ metadata: {}
113
103
  post_install_message:
114
104
  rdoc_options: []
115
105
  require_paths:
116
106
  - lib
117
107
  required_ruby_version: !ruby/object:Gem::Requirement
118
108
  requirements:
119
- - - ! '>='
109
+ - - ">="
120
110
  - !ruby/object:Gem::Version
121
- segments:
122
- - 0
123
- hash: 328138580627250677
124
111
  version: '0'
125
- none: false
126
112
  required_rubygems_version: !ruby/object:Gem::Requirement
127
113
  requirements:
128
- - - ! '>='
114
+ - - ">="
129
115
  - !ruby/object:Gem::Version
130
116
  version: '1.8'
131
- none: false
132
117
  requirements: []
133
118
  rubyforge_project:
134
- rubygems_version: 1.8.23
119
+ rubygems_version: 2.2.0
135
120
  signing_key:
136
- specification_version: 3
121
+ specification_version: 4
137
122
  summary: Provides a Ruby wrapper for the Spreedly Subscriptions API.
138
123
  test_files: []