wepay-rails 0.1.40 → 0.1.41

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.40
1
+ 0.1.41
@@ -0,0 +1,24 @@
1
+ production:
2
+ client_id: <your wepay client id>
3
+ client_secret: <your wepay client secret code>
4
+ redirect_uri: "<your callback url in your rails app>"
5
+ scope: ['refund_payments','collect_payments','view_balance','view_user']
6
+ #wepay_api_uri: "https://api.wepay.com"
7
+ wepay_api_uri: "https://stage.wepay.com"
8
+ wepay_api_version: "v2"
9
+
10
+ development:
11
+ client_id: 12345
12
+ client_secret: 12345asdfg
13
+ redirect_uri: "http://www.example.com/wepay/authorize"
14
+ scope: ['refund_payments','collect_payments','view_balance','view_user']
15
+ wepay_api_uri: "https://stage.wepay.com"
16
+ wepay_api_version: "v2"
17
+
18
+ test:
19
+ client_id: 12345
20
+ client_secret: 12345asdfg
21
+ redirect_uri: "http://www.example.com/wepay/authorize"
22
+ scope: ['refund_payments','collect_payments','view_balance','view_user']
23
+ wepay_api_uri: "https://stage.wepay.com"
24
+ wepay_api_version: "v2"
data/lib/wepay-rails.rb CHANGED
@@ -16,6 +16,12 @@ module WepayRails
16
16
 
17
17
  attr_accessor :wepay_access_token, :wepay_auth_code, :scope
18
18
 
19
+ # Pass in the wepay access token that we got after the oauth handshake
20
+ # and use it for ongoing comunique with Wepay.
21
+ # This also relies heavily on there being a wepay.yml file in your
22
+ # rails config directory - it must look like this:
23
+ #
24
+ #
19
25
  def initialize(*args)
20
26
  @wepay_access_token = args.first
21
27
 
data/wepay-rails.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wepay-rails}
8
- s.version = "0.1.40"
8
+ s.version = "0.1.41"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Adam Medeiros"]
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
26
26
  "README.rdoc",
27
27
  "Rakefile",
28
28
  "VERSION",
29
+ "lib/examples/wepay.yml",
29
30
  "lib/helpers/controller_helpers.rb",
30
31
  "lib/helpers/model_helpers.rb",
31
32
  "lib/wepay-rails.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wepay-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.40
4
+ version: 0.1.41
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty
17
- requirement: &2151870980 !ruby/object:Gem::Requirement
17
+ requirement: &2151865320 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2151870980
25
+ version_requirements: *2151865320
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: shoulda
28
- requirement: &2151868920 !ruby/object:Gem::Requirement
28
+ requirement: &2151863940 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *2151868920
36
+ version_requirements: *2151863940
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: bundler
39
- requirement: &2151866540 !ruby/object:Gem::Requirement
39
+ requirement: &2151862460 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 1.0.0
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *2151866540
47
+ version_requirements: *2151862460
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: jeweler
50
- requirement: &2151864920 !ruby/object:Gem::Requirement
50
+ requirement: &2151860200 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 1.6.4
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *2151864920
58
+ version_requirements: *2151860200
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: rcov
61
- requirement: &2151863760 !ruby/object:Gem::Requirement
61
+ requirement: &2151857700 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *2151863760
69
+ version_requirements: *2151857700
70
70
  description: Rails gem that interfaces with the WePay API
71
71
  email: adammede@gmail.com
72
72
  executables: []
@@ -84,6 +84,7 @@ files:
84
84
  - README.rdoc
85
85
  - Rakefile
86
86
  - VERSION
87
+ - lib/examples/wepay.yml
87
88
  - lib/helpers/controller_helpers.rb
88
89
  - lib/helpers/model_helpers.rb
89
90
  - lib/wepay-rails.rb
@@ -106,7 +107,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
107
  version: '0'
107
108
  segments:
108
109
  - 0
109
- hash: -3827481191935128799
110
+ hash: 2040360273608526584
110
111
  required_rubygems_version: !ruby/object:Gem::Requirement
111
112
  none: false
112
113
  requirements: