paypal-sdk-adaptiveaccounts 1.102.1 → 1.102.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/Gemfile +0 -8
- data/README.md +4 -25
- data/Rakefile +1 -6
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0e01f2199161df8b9bce77a01109a361ba86c35f645cd67f47661d381cc301ec
|
4
|
+
data.tar.gz: 97d021a2cb57df6c0658ed1e612762d4ccd0dd2663c09844a42e7bf21babb6cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38ebe91f4aea07021b76da19b10ffad542c19c3ea3b365479fdb9915638a15014f40e77a787fe4dd29ab94d49ee4a0f4c4df2ed24493daf14df3f5ea310a341f
|
7
|
+
data.tar.gz: 793cb9ab4ac097dbf7770407ff956968ca5826ebe5111a6aeaf8c25712712d1a1f5d7e6aedd541ca7293400c5c7b2ab572bf969b1da514f942599a25e2c2d103
|
data/Gemfile
CHANGED
@@ -4,14 +4,6 @@ gemspec
|
|
4
4
|
|
5
5
|
gem 'paypal-sdk-core', :git => "https://github.com/paypal/sdk-core-ruby.git"
|
6
6
|
|
7
|
-
if File.exist? File.expand_path('../samples/adaptive_accounts_samples.gemspec', __FILE__)
|
8
|
-
gem 'adaptive_accounts_samples', :path => 'samples', :require => false
|
9
|
-
group :test do
|
10
|
-
gem 'rspec-rails', '~> 2.14.1', :require => false
|
11
|
-
gem 'capybara', '~> 2.0.3', :require => false
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
7
|
group :test do
|
16
8
|
gem 'rspec', '~> 2.14.1'
|
17
9
|
end
|
data/README.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
The PayPal Adaptive Accounts SDK provides Ruby APIs to create and manage PayPal accounts, add payment methods to accounts and obtain account verification status using the PayPal Adaptive Accounts API.
|
4
4
|
|
5
|
+
## Support
|
6
|
+
|
7
|
+
> Please contact [PayPal Technical Support](https://developer.paypal.com/support/) for any live or account issues.
|
8
|
+
|
5
9
|
## Installation
|
6
10
|
|
7
11
|
Add this line to your application's Gemfile:
|
@@ -117,28 +121,3 @@ else
|
|
117
121
|
print @create_account_response.error[0].message
|
118
122
|
end
|
119
123
|
```
|
120
|
-
|
121
|
-
For more samples [paypal-sdk-samples.herokuapp.com/adaptive_accounts/](https://paypal-sdk-samples.herokuapp.com/adaptive_accounts/)
|
122
|
-
|
123
|
-
## Samples App
|
124
|
-
|
125
|
-
Add following line in rails `Gemfile`:
|
126
|
-
|
127
|
-
```ruby
|
128
|
-
gem 'paypal-sdk-adaptiveaccounts'
|
129
|
-
gem 'adaptive_accounts_samples', :git => "https://github.com/paypal/adaptiveaccounts-sdk-ruby.git", :group => :development
|
130
|
-
```
|
131
|
-
|
132
|
-
Configure routes(`config/routes.rb`):
|
133
|
-
|
134
|
-
```ruby
|
135
|
-
mount AdaptiveAccountsSamples::Engine => "/samples" if Rails.env.development?
|
136
|
-
```
|
137
|
-
|
138
|
-
To get default paypal configuration execute:
|
139
|
-
|
140
|
-
```sh
|
141
|
-
rails g paypal:sdk:install
|
142
|
-
```
|
143
|
-
|
144
|
-
Run `rails server` and check the samples.
|
data/Rakefile
CHANGED
@@ -2,13 +2,8 @@ require "bundler/gem_tasks"
|
|
2
2
|
|
3
3
|
desc "Run tests"
|
4
4
|
task :rspec do
|
5
|
-
cmd = "bundle exec rspec
|
5
|
+
cmd = "bundle exec rspec"
|
6
6
|
system(cmd) || raise("#{cmd} failed")
|
7
7
|
end
|
8
8
|
|
9
|
-
desc "View samples"
|
10
|
-
task :samples do
|
11
|
-
system("cd samples/spec/dummy && bundle exec rails server")
|
12
|
-
end
|
13
|
-
|
14
9
|
task :default => :rspec
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paypal-sdk-adaptiveaccounts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.102.
|
4
|
+
version: 1.102.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PayPal
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paypal-sdk-core
|
@@ -24,9 +24,10 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.3.0
|
27
|
-
description: The PayPal Adaptive Accounts SDK provides Ruby APIs to
|
28
|
-
PayPal accounts, add payment methods to accounts and obtain account
|
29
|
-
status using the PayPal Adaptive Accounts API.
|
27
|
+
description: "[Deprecated] The PayPal Adaptive Accounts SDK provides Ruby APIs to
|
28
|
+
create and manage PayPal accounts, add payment methods to accounts and obtain account
|
29
|
+
verification status using the PayPal Adaptive Accounts API. It is recommended to
|
30
|
+
use paypal-server-sdk instead"
|
30
31
|
email:
|
31
32
|
- DL-PP-Platform-Ruby-SDK@paypal.com
|
32
33
|
executables: []
|
@@ -49,7 +50,7 @@ files:
|
|
49
50
|
homepage: https://developer.paypal.com
|
50
51
|
licenses: []
|
51
52
|
metadata: {}
|
52
|
-
post_install_message:
|
53
|
+
post_install_message:
|
53
54
|
rdoc_options: []
|
54
55
|
require_paths:
|
55
56
|
- lib
|
@@ -64,11 +65,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
65
|
- !ruby/object:Gem::Version
|
65
66
|
version: '0'
|
66
67
|
requirements: []
|
67
|
-
|
68
|
-
|
69
|
-
signing_key:
|
68
|
+
rubygems_version: 3.5.23
|
69
|
+
signing_key:
|
70
70
|
specification_version: 4
|
71
|
-
summary:
|
71
|
+
summary: "[Deprecated] It is recommended to use paypal-server-sdk instead"
|
72
72
|
test_files:
|
73
73
|
- spec/adaptive_accounts_spec.rb
|
74
74
|
- spec/config/cert_key.pem
|