payza_payments 0.1.0
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 +7 -0
- data/.gitignore +19 -0
- data/.travis.yml +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +135 -0
- data/Rakefile +1 -0
- data/lib/payza_payments.rb +23 -0
- data/lib/payza_payments/base.rb +17 -0
- data/lib/payza_payments/button_generator.rb +41 -0
- data/lib/payza_payments/ipn_handler.rb +44 -0
- data/lib/payza_payments/version.rb +3 -0
- data/payza_payments.gemspec +29 -0
- data/spec/payza_payments/button_generator_spec.rb +24 -0
- data/spec/spec_helper.rb +6 -0
- data/test/dummy/.gitignore +16 -0
- data/test/dummy/Gemfile +54 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +16 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/controllers/dummy_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/.keep +0 -0
- data/test/dummy/app/models/.keep +0 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/dummy/index.html.haml +1 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +4 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/payza.rb +4 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/payza.yml +14 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/db/schema.rb +16 -0
- data/test/dummy/db/seeds.rb +7 -0
- data/test/dummy/dump.rdb +0 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/lib/tasks/.keep +0 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/robots.txt +5 -0
- data/test/dummy/spec/controllers/dummy_controller_spec.rb +43 -0
- data/test/dummy/spec/spec_helper.rb +43 -0
- data/test/dummy/vendor/assets/javascripts/.keep +0 -0
- data/test/dummy/vendor/assets/stylesheets/.keep +0 -0
- metadata +263 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
development:
|
2
|
+
ipn_security_code: U1234567
|
3
|
+
merchant_email: support@freedomvpn.info
|
4
|
+
sandbox: true
|
5
|
+
|
6
|
+
production:
|
7
|
+
ipn_security_code: U1234567
|
8
|
+
merchant_email: support@freedomvpn.info
|
9
|
+
sandbox: false
|
10
|
+
|
11
|
+
test:
|
12
|
+
ipn_security_code: U1234567
|
13
|
+
merchant_email: support@freedomvpn.info
|
14
|
+
sandbox: false
|
@@ -0,0 +1,58 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
|
3
|
+
root 'dummy#index'
|
4
|
+
# The priority is based upon order of creation: first created -> highest priority.
|
5
|
+
# See how all your routes lay out with "rake routes".
|
6
|
+
|
7
|
+
# You can have the root of your site routed with "root"
|
8
|
+
# root 'welcome#index'
|
9
|
+
|
10
|
+
# Example of regular route:
|
11
|
+
# get 'products/:id' => 'catalog#view'
|
12
|
+
|
13
|
+
# Example of named route that can be invoked with purchase_url(id: product.id)
|
14
|
+
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
15
|
+
|
16
|
+
# Example resource route (maps HTTP verbs to controller actions automatically):
|
17
|
+
# resources :products
|
18
|
+
|
19
|
+
# Example resource route with options:
|
20
|
+
# resources :products do
|
21
|
+
# member do
|
22
|
+
# get 'short'
|
23
|
+
# post 'toggle'
|
24
|
+
# end
|
25
|
+
#
|
26
|
+
# collection do
|
27
|
+
# get 'sold'
|
28
|
+
# end
|
29
|
+
# end
|
30
|
+
|
31
|
+
# Example resource route with sub-resources:
|
32
|
+
# resources :products do
|
33
|
+
# resources :comments, :sales
|
34
|
+
# resource :seller
|
35
|
+
# end
|
36
|
+
|
37
|
+
# Example resource route with more complex sub-resources:
|
38
|
+
# resources :products do
|
39
|
+
# resources :comments
|
40
|
+
# resources :sales do
|
41
|
+
# get 'recent', on: :collection
|
42
|
+
# end
|
43
|
+
# end
|
44
|
+
|
45
|
+
# Example resource route with concerns:
|
46
|
+
# concern :toggleable do
|
47
|
+
# post 'toggle'
|
48
|
+
# end
|
49
|
+
# resources :posts, concerns: :toggleable
|
50
|
+
# resources :photos, concerns: :toggleable
|
51
|
+
|
52
|
+
# Example resource route within a namespace:
|
53
|
+
# namespace :admin do
|
54
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
55
|
+
# # (app/controllers/admin/products_controller.rb)
|
56
|
+
# resources :products
|
57
|
+
# end
|
58
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 0) do
|
15
|
+
|
16
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# This file should contain all the record creation needed to seed the database with its default values.
|
2
|
+
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
3
|
+
#
|
4
|
+
# Examples:
|
5
|
+
#
|
6
|
+
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
7
|
+
# Mayor.create(name: 'Emanuel', city: cities.first)
|
data/test/dummy/dump.rdb
ADDED
Binary file
|
File without changes
|
File without changes
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/404.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
54
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/422.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The change you wanted was rejected.</h1>
|
54
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/500.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>We're sorry, but something went wrong.</h1>
|
54
|
+
</div>
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
56
|
+
</body>
|
57
|
+
</html>
|
File without changes
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe DummyController do
|
4
|
+
render_views
|
5
|
+
context 'show the pay button' do
|
6
|
+
before { get :index }
|
7
|
+
it { should respond_with :success }
|
8
|
+
it { should render_template :index }
|
9
|
+
it 'should contain the form' do
|
10
|
+
response.body.should have_xpath './/form[@action="https://secure.payza.com/checkout"]'
|
11
|
+
end
|
12
|
+
it 'should contain ap_purchasetype' do
|
13
|
+
response.body.should have_xpath './/input[@name="ap_purchasetype"]'
|
14
|
+
end
|
15
|
+
it 'should contain ap_merchant' do
|
16
|
+
response.body.should have_xpath './/input[@name="ap_merchant"]'
|
17
|
+
end
|
18
|
+
it 'should contain ap_itemname' do
|
19
|
+
response.body.should have_xpath './/input[@name="ap_itemname"]'
|
20
|
+
end
|
21
|
+
it 'should contain ap_currency' do
|
22
|
+
response.body.should have_xpath './/input[@name="ap_currency"]'
|
23
|
+
end
|
24
|
+
it 'should contain ap_amount' do
|
25
|
+
response.body.should have_xpath './/input[@name="ap_amount"]'
|
26
|
+
end
|
27
|
+
it 'should contain ap_description' do
|
28
|
+
response.body.should have_xpath './/input[@name="ap_description"]'
|
29
|
+
end
|
30
|
+
it 'should contain ap_returnurl' do
|
31
|
+
response.body.should have_xpath './/input[@name="ap_returnurl"]'
|
32
|
+
end
|
33
|
+
it 'should contain ap_cancelurl' do
|
34
|
+
response.body.should have_xpath './/input[@name="ap_cancelurl"]'
|
35
|
+
end
|
36
|
+
it 'should contain apc_1' do
|
37
|
+
response.body.should have_xpath './/input[@name="apc_1"]'
|
38
|
+
end
|
39
|
+
it 'should contain ap_image' do
|
40
|
+
response.body.should have_xpath './/input[@name="ap_image"]'
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
#require 'simplecov'
|
3
|
+
#SimpleCov.start 'rails'
|
4
|
+
ENV["RAILS_ENV"] ||= 'test'
|
5
|
+
require File.expand_path("../../config/environment", __FILE__)
|
6
|
+
require 'rspec/rails'
|
7
|
+
require 'rspec/autorun'
|
8
|
+
require 'capybara/rspec'
|
9
|
+
require 'capybara/rails'
|
10
|
+
|
11
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
12
|
+
# in spec/support/ and its subdirectories.
|
13
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
14
|
+
|
15
|
+
RSpec.configure do |config|
|
16
|
+
# ## Mock Framework
|
17
|
+
#
|
18
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
19
|
+
#
|
20
|
+
# config.mock_with :mocha
|
21
|
+
# config.mock_with :flexmock
|
22
|
+
# config.mock_with :rr
|
23
|
+
|
24
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
25
|
+
#config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
26
|
+
|
27
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
28
|
+
# examples within a transaction, remove the following line or assign false
|
29
|
+
# instead of true.
|
30
|
+
#config.use_transactional_fixtures = true
|
31
|
+
|
32
|
+
# If true, the base class of anonymous controllers will be inferred
|
33
|
+
# automatically. This will be the default behavior in future versions of
|
34
|
+
# rspec-rails.
|
35
|
+
#config.infer_base_class_for_anonymous_controllers = false
|
36
|
+
|
37
|
+
# Run specs in random order to surface order dependencies. If you find an
|
38
|
+
# order dependency and want to debug it, you can fix the order by providing
|
39
|
+
# the seed, which is printed after each run.
|
40
|
+
# --seed 1234
|
41
|
+
config.order = "random"
|
42
|
+
config.include Capybara::DSL
|
43
|
+
end
|
File without changes
|
File without changes
|
metadata
ADDED
@@ -0,0 +1,263 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: payza_payments
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Patricio Cano
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-07-30 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: attr_required
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.0.5
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.0.5
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: httparty
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.10.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.10.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rails
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.2.14
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.2.14
|
111
|
+
description: Validate Payza IPN payments and create payment buttons
|
112
|
+
email:
|
113
|
+
- admin@insomniware.com
|
114
|
+
executables: []
|
115
|
+
extensions: []
|
116
|
+
extra_rdoc_files: []
|
117
|
+
files:
|
118
|
+
- .gitignore
|
119
|
+
- .travis.yml
|
120
|
+
- Gemfile
|
121
|
+
- LICENSE.txt
|
122
|
+
- README.md
|
123
|
+
- Rakefile
|
124
|
+
- lib/payza_payments.rb
|
125
|
+
- lib/payza_payments/base.rb
|
126
|
+
- lib/payza_payments/button_generator.rb
|
127
|
+
- lib/payza_payments/ipn_handler.rb
|
128
|
+
- lib/payza_payments/version.rb
|
129
|
+
- payza_payments.gemspec
|
130
|
+
- spec/payza_payments/button_generator_spec.rb
|
131
|
+
- spec/spec_helper.rb
|
132
|
+
- test/dummy/.gitignore
|
133
|
+
- test/dummy/Gemfile
|
134
|
+
- test/dummy/README.rdoc
|
135
|
+
- test/dummy/Rakefile
|
136
|
+
- test/dummy/app/assets/images/.keep
|
137
|
+
- test/dummy/app/assets/javascripts/application.js
|
138
|
+
- test/dummy/app/assets/stylesheets/application.css
|
139
|
+
- test/dummy/app/controllers/application_controller.rb
|
140
|
+
- test/dummy/app/controllers/concerns/.keep
|
141
|
+
- test/dummy/app/controllers/dummy_controller.rb
|
142
|
+
- test/dummy/app/helpers/application_helper.rb
|
143
|
+
- test/dummy/app/mailers/.keep
|
144
|
+
- test/dummy/app/models/.keep
|
145
|
+
- test/dummy/app/models/concerns/.keep
|
146
|
+
- test/dummy/app/views/dummy/index.html.haml
|
147
|
+
- test/dummy/app/views/layouts/application.html.erb
|
148
|
+
- test/dummy/bin/bundle
|
149
|
+
- test/dummy/bin/rails
|
150
|
+
- test/dummy/bin/rake
|
151
|
+
- test/dummy/config.ru
|
152
|
+
- test/dummy/config/application.rb
|
153
|
+
- test/dummy/config/boot.rb
|
154
|
+
- test/dummy/config/database.yml
|
155
|
+
- test/dummy/config/environment.rb
|
156
|
+
- test/dummy/config/environments/development.rb
|
157
|
+
- test/dummy/config/environments/production.rb
|
158
|
+
- test/dummy/config/environments/test.rb
|
159
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
160
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
161
|
+
- test/dummy/config/initializers/inflections.rb
|
162
|
+
- test/dummy/config/initializers/mime_types.rb
|
163
|
+
- test/dummy/config/initializers/payza.rb
|
164
|
+
- test/dummy/config/initializers/secret_token.rb
|
165
|
+
- test/dummy/config/initializers/session_store.rb
|
166
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
167
|
+
- test/dummy/config/locales/en.yml
|
168
|
+
- test/dummy/config/payza.yml
|
169
|
+
- test/dummy/config/routes.rb
|
170
|
+
- test/dummy/db/schema.rb
|
171
|
+
- test/dummy/db/seeds.rb
|
172
|
+
- test/dummy/dump.rdb
|
173
|
+
- test/dummy/lib/assets/.keep
|
174
|
+
- test/dummy/lib/tasks/.keep
|
175
|
+
- test/dummy/public/404.html
|
176
|
+
- test/dummy/public/422.html
|
177
|
+
- test/dummy/public/500.html
|
178
|
+
- test/dummy/public/favicon.ico
|
179
|
+
- test/dummy/public/robots.txt
|
180
|
+
- test/dummy/spec/controllers/dummy_controller_spec.rb
|
181
|
+
- test/dummy/spec/spec_helper.rb
|
182
|
+
- test/dummy/vendor/assets/javascripts/.keep
|
183
|
+
- test/dummy/vendor/assets/stylesheets/.keep
|
184
|
+
homepage: https://github.com/supernova32/payza_payments
|
185
|
+
licenses:
|
186
|
+
- MIT
|
187
|
+
metadata: {}
|
188
|
+
post_install_message:
|
189
|
+
rdoc_options: []
|
190
|
+
require_paths:
|
191
|
+
- lib
|
192
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
193
|
+
requirements:
|
194
|
+
- - '>='
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '0'
|
197
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - '>='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
requirements: []
|
203
|
+
rubyforge_project:
|
204
|
+
rubygems_version: 2.0.5
|
205
|
+
signing_key:
|
206
|
+
specification_version: 4
|
207
|
+
summary: You can generate buy now and subscription buttons for your application, and
|
208
|
+
then validate the IPN request sent.
|
209
|
+
test_files:
|
210
|
+
- spec/payza_payments/button_generator_spec.rb
|
211
|
+
- spec/spec_helper.rb
|
212
|
+
- test/dummy/.gitignore
|
213
|
+
- test/dummy/Gemfile
|
214
|
+
- test/dummy/README.rdoc
|
215
|
+
- test/dummy/Rakefile
|
216
|
+
- test/dummy/app/assets/images/.keep
|
217
|
+
- test/dummy/app/assets/javascripts/application.js
|
218
|
+
- test/dummy/app/assets/stylesheets/application.css
|
219
|
+
- test/dummy/app/controllers/application_controller.rb
|
220
|
+
- test/dummy/app/controllers/concerns/.keep
|
221
|
+
- test/dummy/app/controllers/dummy_controller.rb
|
222
|
+
- test/dummy/app/helpers/application_helper.rb
|
223
|
+
- test/dummy/app/mailers/.keep
|
224
|
+
- test/dummy/app/models/.keep
|
225
|
+
- test/dummy/app/models/concerns/.keep
|
226
|
+
- test/dummy/app/views/dummy/index.html.haml
|
227
|
+
- test/dummy/app/views/layouts/application.html.erb
|
228
|
+
- test/dummy/bin/bundle
|
229
|
+
- test/dummy/bin/rails
|
230
|
+
- test/dummy/bin/rake
|
231
|
+
- test/dummy/config.ru
|
232
|
+
- test/dummy/config/application.rb
|
233
|
+
- test/dummy/config/boot.rb
|
234
|
+
- test/dummy/config/database.yml
|
235
|
+
- test/dummy/config/environment.rb
|
236
|
+
- test/dummy/config/environments/development.rb
|
237
|
+
- test/dummy/config/environments/production.rb
|
238
|
+
- test/dummy/config/environments/test.rb
|
239
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
240
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
241
|
+
- test/dummy/config/initializers/inflections.rb
|
242
|
+
- test/dummy/config/initializers/mime_types.rb
|
243
|
+
- test/dummy/config/initializers/payza.rb
|
244
|
+
- test/dummy/config/initializers/secret_token.rb
|
245
|
+
- test/dummy/config/initializers/session_store.rb
|
246
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
247
|
+
- test/dummy/config/locales/en.yml
|
248
|
+
- test/dummy/config/payza.yml
|
249
|
+
- test/dummy/config/routes.rb
|
250
|
+
- test/dummy/db/schema.rb
|
251
|
+
- test/dummy/db/seeds.rb
|
252
|
+
- test/dummy/dump.rdb
|
253
|
+
- test/dummy/lib/assets/.keep
|
254
|
+
- test/dummy/lib/tasks/.keep
|
255
|
+
- test/dummy/public/404.html
|
256
|
+
- test/dummy/public/422.html
|
257
|
+
- test/dummy/public/500.html
|
258
|
+
- test/dummy/public/favicon.ico
|
259
|
+
- test/dummy/public/robots.txt
|
260
|
+
- test/dummy/spec/controllers/dummy_controller_spec.rb
|
261
|
+
- test/dummy/spec/spec_helper.rb
|
262
|
+
- test/dummy/vendor/assets/javascripts/.keep
|
263
|
+
- test/dummy/vendor/assets/stylesheets/.keep
|