ecconnect_rails 0.0.4

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.
Files changed (62) hide show
  1. checksums.yaml +15 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +5 -0
  4. data/Rakefile +29 -0
  5. data/app/controllers/ecconnect_rails/application_controller.rb +4 -0
  6. data/app/controllers/ecconnect_rails/base_controller.rb +170 -0
  7. data/app/controllers/ecconnect_rails/ecconnect_payments_controller.rb +4 -0
  8. data/app/helpers/ecconnect_rails/application_helper.rb +29 -0
  9. data/app/models/ecconnect_rails/ecconnect_payment.rb +202 -0
  10. data/app/views/ecconnect_rails/ecconnect_payments/failure.html.erb +0 -0
  11. data/app/views/ecconnect_rails/ecconnect_payments/new.html.erb +5 -0
  12. data/app/views/ecconnect_rails/ecconnect_payments/notify.html.erb +18 -0
  13. data/app/views/ecconnect_rails/ecconnect_payments/show.html.erb +1 -0
  14. data/app/views/ecconnect_rails/ecconnect_payments/success.html.erb +0 -0
  15. data/config/locales/ecconnect_rails_en.yml +59 -0
  16. data/config/routes.rb +9 -0
  17. data/lib/ecconnect_rails.rb +11 -0
  18. data/lib/ecconnect_rails/engine.rb +5 -0
  19. data/lib/ecconnect_rails/version.rb +3 -0
  20. data/lib/tasks/ecconnect_rails_tasks.rake +4 -0
  21. data/spec/certs/1753970.crt +16 -0
  22. data/spec/certs/1753970.pem +15 -0
  23. data/spec/certs/test-server.cert +16 -0
  24. data/spec/controllers/ecconnect_payments_controller_spec.rb +170 -0
  25. data/spec/dummy/Gemfile +5 -0
  26. data/spec/dummy/Gemfile.lock +106 -0
  27. data/spec/dummy/Rakefile +7 -0
  28. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  29. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  30. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  31. data/spec/dummy/app/controllers/ecconnect_payments_controller.rb +32 -0
  32. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  33. data/spec/dummy/app/models/test.rb +3 -0
  34. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  35. data/spec/dummy/config.ru +4 -0
  36. data/spec/dummy/config/application.rb +65 -0
  37. data/spec/dummy/config/boot.rb +10 -0
  38. data/spec/dummy/config/environment.rb +5 -0
  39. data/spec/dummy/config/environments/development.rb +31 -0
  40. data/spec/dummy/config/environments/production.rb +64 -0
  41. data/spec/dummy/config/environments/test.rb +35 -0
  42. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  43. data/spec/dummy/config/initializers/ecconnect_rails.rb +6 -0
  44. data/spec/dummy/config/initializers/inflections.rb +15 -0
  45. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  46. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  47. data/spec/dummy/config/initializers/session_store.rb +8 -0
  48. data/spec/dummy/config/initializers/wrap_parameters.rb +10 -0
  49. data/spec/dummy/config/locales/en.yml +5 -0
  50. data/spec/dummy/config/mongoid.yml +80 -0
  51. data/spec/dummy/config/routes.rb +4 -0
  52. data/spec/dummy/public/404.html +26 -0
  53. data/spec/dummy/public/422.html +26 -0
  54. data/spec/dummy/public/500.html +25 -0
  55. data/spec/dummy/public/favicon.ico +0 -0
  56. data/spec/dummy/script/rails +6 -0
  57. data/spec/factories/econnect_payment.rb +11 -0
  58. data/spec/features/ecconnect_payments_spec.rb +72 -0
  59. data/spec/models/ecconnect_rails/ecconnect_payment_spec.rb +51 -0
  60. data/spec/routing/ecconnect_rails/ecconnect_payments_routing_spec.rb +15 -0
  61. data/spec/spec_helper.rb +39 -0
  62. metadata +256 -0
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount EcconnectRails::Engine => "/ecconnect"
4
+ end
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,11 @@
1
+ # Read about factories at https://github.com/thoughtbot/factory_girl
2
+
3
+ FactoryGirl.define do
4
+ factory :ecconnect_payment, :class => EcconnectRails::EcconnectPayment do
5
+ amount 20.22
6
+ factory :ecconnect_payment_tran_code do
7
+ amount 20
8
+ tran_code '000'
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,72 @@
1
+ require 'spec_helper'
2
+ require 'capybara/session'
3
+ require 'mongoid'
4
+
5
+ feature "Sources" do
6
+ let(:payment){ FactoryGirl.create :ecconnect_payment }
7
+ let(:session){ Capybara::Session.new(:selenium) }
8
+
9
+ subject { page }
10
+ describe "payments" do
11
+ context "payment new" do
12
+ before do
13
+ visit '/ecconnect/ecconnect_payments/new'
14
+ fill_in('ecconnect_payment_amount', with: payment.amount)
15
+ click_button('Create Ecconnect payment')
16
+ end
17
+ it{ find(:css, '#TotalAmount').value.should == payment.upc_amount.to_s }
18
+ end
19
+ context "payment show" do
20
+ before{ visit "/ecconnect/ecconnect_payments/#{payment.to_param}" }
21
+ it{ find(:css, '#TerminalID').value.should == payment.terminal_id.to_s }
22
+ it{ find(:css, '#MerchantID').value.should == payment.merchant_id.to_s }
23
+ it{ find(:css, '#Currency').value.should == payment.currency_id.to_s }
24
+ it{ find(:css, '#TotalAmount').value.should == payment.upc_amount.to_s }
25
+ it{ find(:css, '#locale').value.should == payment.locale.to_s }
26
+ it{ find(:css, '#PurchaseTime').value.should == payment.purchase_time.to_s }
27
+ it{ find(:css, '#OrderID').value.should == payment.order_id.to_s }
28
+ it{ find(:css, '#Signature').value.should == payment.signature.to_s }
29
+ it{ has_css?('#Delay').should be_false }
30
+ it{ has_css?('#AltTotalAmount').should be_false }
31
+ it{ has_css?('#AltCurrency').should be_false }
32
+ end
33
+ describe "selenium time" do
34
+ let(:card){ nil }
35
+ before(:all) do
36
+ Mongoid.configure do |config|
37
+ config.connect_to "dummy_development"
38
+ end
39
+ end
40
+ after(:all) do
41
+ Mongoid.configure do |config|
42
+ config.connect_to "ecconnect_rails_test"
43
+ end
44
+ end
45
+ before(:each) do
46
+ session.visit("http://127.0.0.1/ecconnect/ecconnect_payments/new")
47
+ session.fill_in('ecconnect_payment_amount', with: payment.amount)
48
+ session.click_button('Create Ecconnect payment')
49
+ session.click_button(I18n.t('ecconnect_rails.ecconnect_form.submit'))
50
+ session.fill_in('CardNumber', with: card)
51
+ session.select('12', :from => 'ExpMonth')
52
+ session.select(Time.now.year.to_s, :from => 'ExpYear')
53
+ session.fill_in('Email', with: 'test@upc.ua')
54
+ session.click_button('>> Proceed')
55
+ session.fill_in('Cvc', with: '999')
56
+ session.click_button('>> Proceed')
57
+ end
58
+ after{ session.driver.browser.quit }
59
+ describe "000" do
60
+ let(:card){ 4999999999990011 }
61
+ before{ session.driver.browser.switch_to.alert.accept; }
62
+ it{ session.current_path.should == "/ecconnect/ecconnect_payments/success" }
63
+ end
64
+ describe "403" do
65
+ let(:card){ 4999999999990102 }
66
+ it{ session.current_url.should == EcconnectRails.default_options[:request_url] }
67
+ end
68
+ end
69
+ end
70
+ end
71
+
72
+
@@ -0,0 +1,51 @@
1
+ require 'spec_helper'
2
+
3
+ describe EcconnectRails::EcconnectPayment do
4
+ let(:payment){ FactoryGirl.build :ecconnect_payment }
5
+
6
+ it{ should belong_to(:payer) }
7
+
8
+ it{ should have_field(:delay).of_type(Boolean) }
9
+ it{ should have_field(:merchant_id).of_type(Integer) }
10
+ it{ should have_field(:created_at).of_type(Time) }
11
+ it{ should have_field(:updated_at).of_type(Time) }
12
+ it{ should have_field(:terminal_id).of_type(String) }
13
+ it{ should have_field(:tran_code).of_type(String) }
14
+ it{ should have_field(:approval_code).of_type(Integer) }
15
+ it{ should have_field(:locale).of_type(String) }
16
+ it{ should have_field(:proxy_pan).of_type(String) }
17
+ it{ should have_field(:currency_id).of_type(Integer) }
18
+ it{ should have_field(:alt_currency_id).of_type(Integer) }
19
+ it{ should have_field(:amount).of_type(Float) }
20
+ it{ should have_field(:alt_amount).of_type(Integer) }
21
+ it{ should have_field(:order_id).of_type(Integer) }
22
+ it{ should have_field(:email).of_type(String) }
23
+ it{ should have_field(:income_signature).of_type(String) }
24
+ it{ should have_field(:purchase_desc).of_type(String) }
25
+ it{ should have_field(:sd).of_type(String) }
26
+ it{ should have_field(:xid).of_type(String) }
27
+ it{ should have_field(:rrn).of_type(String) }
28
+
29
+ it{ should validate_presence_of(:merchant_id) }
30
+ it{ should validate_presence_of(:terminal_id) }
31
+ it{ should validate_presence_of(:currency_id) }
32
+ it{ should validate_presence_of(:amount) }
33
+
34
+ it{ payment.upc_amount.should == (FactoryGirl.attributes_for(:ecconnect_payment)[:amount]*100).to_i }
35
+ it{ payment.signature.should == Base64.encode64(OpenSSL::PKey::RSA.new(File.read(Rails.root.join('certs/1753970.pem').to_s.gsub('dummy/', ''))).sign(OpenSSL::Digest::SHA1.new, (payment.request_data))).gsub(/\n/, '') }
36
+
37
+
38
+ context "after_create" do
39
+ let(:payment){ FactoryGirl.create :ecconnect_payment }
40
+ it{ payment.merchant_id.should == MERCHANT_ID }
41
+ it{ payment.terminal_id.should == TERMINAL_ID }
42
+ it{ payment.currency_id == CURRENCY }
43
+ it{ payment.currency.should == I18n.t("ecconnect_rails.currency_#{CURRENCY}") }
44
+ it{ payment.locale == I18n.locale.to_s }
45
+ it{ payment.purchase_time.should == payment.created_at.strftime("%Y%m%d%H%M%S%z") }
46
+ context "tran code" do
47
+ let(:payment){ FactoryGirl.create :ecconnect_payment_tran_code }
48
+ it{ payment.tran_code == nil }
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,15 @@
1
+ require "spec_helper"
2
+
3
+ describe EcconnectRails::EcconnectPaymentsController do
4
+ routes { EcconnectRails::Engine.routes }
5
+ it{ expect(get: '/ecconnect_payments').not_to be_routable }
6
+ it{ get('/ecconnect_payments/1').should route_to(controller: 'ecconnect_rails/ecconnect_payments', action: 'show', id: '1') }
7
+ it{ get('/ecconnect_payments/new').should route_to(controller: 'ecconnect_rails/ecconnect_payments', action: 'new') }
8
+ it{ post('/ecconnect_payments/success').should route_to(controller: 'ecconnect_rails/ecconnect_payments', action: 'success') }
9
+ it{ post('/ecconnect_payments/failure').should route_to(controller: 'ecconnect_rails/ecconnect_payments', action: 'failure') }
10
+ it{ post('/ecconnect_payments/notify').should route_to(controller: 'ecconnect_rails/ecconnect_payments', action: 'notify') }
11
+ it{ expect(get: 'ecconnect_payments/1/edit').not_to be_routable }
12
+ it{ post('/ecconnect_payments').should route_to(controller: 'ecconnect_rails/ecconnect_payments', action: 'create') }
13
+ it{ expect(put: 'ecconnect_payments/1').not_to be_routable }
14
+ it{ expect(delete: 'ecconnect_payments/1').not_to be_routable }
15
+ end
@@ -0,0 +1,39 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+ ENV["RAILS_ROOT"] ||= File.dirname(__FILE__) + "../../../spec/dummy"
3
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
+ require 'rspec/rails'
5
+ require 'factory_girl_rails'
6
+ require 'mongoid-rspec'
7
+ require 'capybara/rspec'
8
+ Mongoid.configure do |config|
9
+ config.connect_to "ecconnect_rails_test"
10
+ end
11
+ Mongoid.logger = Logger.new($stdout)
12
+
13
+ Capybara.ignore_hidden_elements = false
14
+ Rails.backtrace_cleaner.remove_silencers!
15
+ # Load support files
16
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
17
+ RSpec.configure do |config|
18
+ config.include Mongoid::Matchers, type: :model
19
+ config.mock_with :rspec
20
+ #config.use_transactional_fixtures = true
21
+ config.infer_base_class_for_anonymous_controllers = false
22
+ config.order = "random"
23
+
24
+ MERCHANT_ID = 1753970
25
+ TERMINAL_ID = "E7881970"
26
+ CURRENCY = 980
27
+ PEM_PATH = Rails.root.join('certs/1753970.pem')
28
+ CERT_PATH = Rails.root.join('certs/test-server.cert')
29
+ REQUEST_URL = "https://secure.upc.ua/ecgtest/enter"
30
+ CHECK_URL = "https://secure.upc.ua/ecgtest/service/01"
31
+
32
+ DEFAULT_OPTIONS = { merchant_id: MERCHANT_ID,
33
+ terminal_id: TERMINAL_ID,
34
+ request_url: REQUEST_URL,
35
+ check_url: CHECK_URL,
36
+ cert_path: CERT_PATH,
37
+ pem_path: PEM_PATH,
38
+ currency_id: CURRENCY }
39
+ end
metadata ADDED
@@ -0,0 +1,256 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ecconnect_rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.4
5
+ platform: ruby
6
+ authors:
7
+ - Budnikov Roman
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-09-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '3.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: mongoid
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: 3.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: 3.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: mongoid-autoinc
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.3.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.3.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: capybara
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: selenium-webdriver
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: mongoid-rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec-rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: factory_girl_rails
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: Ecconnect rails gem for easy integration with ECommerceConnect upc.ua
126
+ email:
127
+ - budnikov1990@gmail.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - app/controllers/ecconnect_rails/application_controller.rb
133
+ - app/controllers/ecconnect_rails/base_controller.rb
134
+ - app/controllers/ecconnect_rails/ecconnect_payments_controller.rb
135
+ - app/helpers/ecconnect_rails/application_helper.rb
136
+ - app/models/ecconnect_rails/ecconnect_payment.rb
137
+ - app/views/ecconnect_rails/ecconnect_payments/failure.html.erb
138
+ - app/views/ecconnect_rails/ecconnect_payments/new.html.erb
139
+ - app/views/ecconnect_rails/ecconnect_payments/notify.html.erb
140
+ - app/views/ecconnect_rails/ecconnect_payments/show.html.erb
141
+ - app/views/ecconnect_rails/ecconnect_payments/success.html.erb
142
+ - config/locales/ecconnect_rails_en.yml
143
+ - config/routes.rb
144
+ - lib/ecconnect_rails/engine.rb
145
+ - lib/ecconnect_rails/version.rb
146
+ - lib/ecconnect_rails.rb
147
+ - lib/tasks/ecconnect_rails_tasks.rake
148
+ - MIT-LICENSE
149
+ - Rakefile
150
+ - README.rdoc
151
+ - spec/certs/1753970.crt
152
+ - spec/certs/1753970.pem
153
+ - spec/certs/test-server.cert
154
+ - spec/controllers/ecconnect_payments_controller_spec.rb
155
+ - spec/dummy/app/assets/javascripts/application.js
156
+ - spec/dummy/app/assets/stylesheets/application.css
157
+ - spec/dummy/app/controllers/application_controller.rb
158
+ - spec/dummy/app/controllers/ecconnect_payments_controller.rb
159
+ - spec/dummy/app/helpers/application_helper.rb
160
+ - spec/dummy/app/models/test.rb
161
+ - spec/dummy/app/views/layouts/application.html.erb
162
+ - spec/dummy/config/application.rb
163
+ - spec/dummy/config/boot.rb
164
+ - spec/dummy/config/environment.rb
165
+ - spec/dummy/config/environments/development.rb
166
+ - spec/dummy/config/environments/production.rb
167
+ - spec/dummy/config/environments/test.rb
168
+ - spec/dummy/config/initializers/backtrace_silencers.rb
169
+ - spec/dummy/config/initializers/ecconnect_rails.rb
170
+ - spec/dummy/config/initializers/inflections.rb
171
+ - spec/dummy/config/initializers/mime_types.rb
172
+ - spec/dummy/config/initializers/secret_token.rb
173
+ - spec/dummy/config/initializers/session_store.rb
174
+ - spec/dummy/config/initializers/wrap_parameters.rb
175
+ - spec/dummy/config/locales/en.yml
176
+ - spec/dummy/config/mongoid.yml
177
+ - spec/dummy/config/routes.rb
178
+ - spec/dummy/config.ru
179
+ - spec/dummy/Gemfile
180
+ - spec/dummy/Gemfile.lock
181
+ - spec/dummy/public/404.html
182
+ - spec/dummy/public/422.html
183
+ - spec/dummy/public/500.html
184
+ - spec/dummy/public/favicon.ico
185
+ - spec/dummy/Rakefile
186
+ - spec/dummy/script/rails
187
+ - spec/factories/econnect_payment.rb
188
+ - spec/features/ecconnect_payments_spec.rb
189
+ - spec/models/ecconnect_rails/ecconnect_payment_spec.rb
190
+ - spec/routing/ecconnect_rails/ecconnect_payments_routing_spec.rb
191
+ - spec/spec_helper.rb
192
+ homepage: http://github.com/supro/ecconnect_rails
193
+ licenses: []
194
+ metadata: {}
195
+ post_install_message:
196
+ rdoc_options: []
197
+ require_paths:
198
+ - lib
199
+ required_ruby_version: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - ! '>='
202
+ - !ruby/object:Gem::Version
203
+ version: '0'
204
+ required_rubygems_version: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ! '>='
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ requirements: []
210
+ rubyforge_project:
211
+ rubygems_version: 2.0.7
212
+ signing_key:
213
+ specification_version: 4
214
+ summary: Gem for upc.ua integration
215
+ test_files:
216
+ - spec/certs/1753970.crt
217
+ - spec/certs/1753970.pem
218
+ - spec/certs/test-server.cert
219
+ - spec/controllers/ecconnect_payments_controller_spec.rb
220
+ - spec/dummy/app/assets/javascripts/application.js
221
+ - spec/dummy/app/assets/stylesheets/application.css
222
+ - spec/dummy/app/controllers/application_controller.rb
223
+ - spec/dummy/app/controllers/ecconnect_payments_controller.rb
224
+ - spec/dummy/app/helpers/application_helper.rb
225
+ - spec/dummy/app/models/test.rb
226
+ - spec/dummy/app/views/layouts/application.html.erb
227
+ - spec/dummy/config/application.rb
228
+ - spec/dummy/config/boot.rb
229
+ - spec/dummy/config/environment.rb
230
+ - spec/dummy/config/environments/development.rb
231
+ - spec/dummy/config/environments/production.rb
232
+ - spec/dummy/config/environments/test.rb
233
+ - spec/dummy/config/initializers/backtrace_silencers.rb
234
+ - spec/dummy/config/initializers/ecconnect_rails.rb
235
+ - spec/dummy/config/initializers/inflections.rb
236
+ - spec/dummy/config/initializers/mime_types.rb
237
+ - spec/dummy/config/initializers/secret_token.rb
238
+ - spec/dummy/config/initializers/session_store.rb
239
+ - spec/dummy/config/initializers/wrap_parameters.rb
240
+ - spec/dummy/config/locales/en.yml
241
+ - spec/dummy/config/mongoid.yml
242
+ - spec/dummy/config/routes.rb
243
+ - spec/dummy/config.ru
244
+ - spec/dummy/Gemfile
245
+ - spec/dummy/Gemfile.lock
246
+ - spec/dummy/public/404.html
247
+ - spec/dummy/public/422.html
248
+ - spec/dummy/public/500.html
249
+ - spec/dummy/public/favicon.ico
250
+ - spec/dummy/Rakefile
251
+ - spec/dummy/script/rails
252
+ - spec/factories/econnect_payment.rb
253
+ - spec/features/ecconnect_payments_spec.rb
254
+ - spec/models/ecconnect_rails/ecconnect_payment_spec.rb
255
+ - spec/routing/ecconnect_rails/ecconnect_payments_routing_spec.rb
256
+ - spec/spec_helper.rb