solidus_paybright 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 428533288de6df5ad9fa6ee5049fc880786f4f54
4
- data.tar.gz: 263bad7f16a2dacaeac90c92c8787ae1f5e1cf54
3
+ metadata.gz: b86c4396a0e72f2c9ff063f8840ac68dcdc714e7
4
+ data.tar.gz: 851053e56a769d4fe0c8d2d32a94303fd96be15c
5
5
  SHA512:
6
- metadata.gz: 082000ec87e0ea6d4db5751a827998775a57c05666ab05c882b73a14534d7971f138d28f726a3bbe51775be783f201a1d09fac54e7126eeaf2e1c69ec20d2d16
7
- data.tar.gz: 6e24fbd70d6e193e23d37ce64009dde7471676a64e2d58fb8e6af9a2c2ca38ee2594fe036d9612839f80f0e3e971284bf1dc72d428c6beee007d44e3083c051b
6
+ metadata.gz: accf2b405541a94a7902d3c431c02c1e3171a0906ae4f03fb79269698d33e4817402f03818471e7eacdd44be447a4778da9e887312892ec8d80eaa92901e666a
7
+ data.tar.gz: 2f498bea41b4642c79808591b1354cc75c55a1f3167e9cc4c9207a1a85ee6fce2a85e3b3500b4181352998e6e7f65b665bbf31fa1a08d6fed891f3cc725e0692
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # SolidusPaybright
2
2
 
3
+ [![Build Status](https://travis-ci.org/StemboltHQ/solidus_paybright.svg?branch=master)](https://travis-ci.org/StemboltHQ/solidus_paybright)
4
+
3
5
  This extension provides the [Paybright](https://paybright.com/) payment option
4
6
  for your Solidus storefront
5
7
 
@@ -1,5 +1,8 @@
1
1
  module Spree
2
2
  class PaybrightController < Spree::BaseController
3
+ # We can't use CSRF protection on a route that's hit by an external service
4
+ skip_before_action :verify_authenticity_token, only: :callback, raise: false
5
+
3
6
  # Server2server call that gets parameters about the results of the Paybright
4
7
  # transaction.
5
8
  def callback
@@ -7,7 +7,7 @@ module SolidusPaybright
7
7
 
8
8
  attr_writer :live_redirect_url
9
9
  def live_redirect_url
10
- @live_redirect_url ||= "https://app.healthsmartfinancial.com/checkout/appform.aspx"
10
+ @live_redirect_url ||= "https://app.paybright.com/checkout/appform.aspx"
11
11
  end
12
12
 
13
13
  attr_writer :test_api_endpoint
@@ -1,3 +1,3 @@
1
1
  module SolidusPaybright
2
- VERSION = '0.0.1'
2
+ VERSION = '1.0.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_paybright
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Lepore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-05 00:00:00.000000000 Z
11
+ date: 2018-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_frontend
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: poltergeist
70
+ name: coffee-rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: coffee-rails
84
+ name: database_cleaner
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: sass-rails
98
+ name: factory_girl
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -109,7 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: database_cleaner
112
+ name: mysql2
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
@@ -123,7 +123,21 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: factory_girl
126
+ name: pg
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0.21'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.21'
139
+ - !ruby/object:Gem::Dependency
140
+ name: poltergeist
127
141
  requirement: !ruby/object:Gem::Requirement
128
142
  requirements:
129
143
  - - ">="
@@ -178,6 +192,20 @@ dependencies:
178
192
  - - '='
179
193
  - !ruby/object:Gem::Version
180
194
  version: 1.4.0
195
+ - !ruby/object:Gem::Dependency
196
+ name: sass-rails
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
181
209
  - !ruby/object:Gem::Dependency
182
210
  name: simplecov
183
211
  requirement: !ruby/object:Gem::Requirement
@@ -259,7 +287,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
259
287
  version: '0'
260
288
  requirements: []
261
289
  rubyforge_project:
262
- rubygems_version: 2.5.1
290
+ rubygems_version: 2.5.2
263
291
  signing_key:
264
292
  specification_version: 4
265
293
  summary: Solidus extension for the Paybright payment method