solidus_nexio 0.6.3 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,6 +42,7 @@ module SolidusNexio
42
42
  # include js script only once per request
43
43
  return if @__nexio_checkout_script
44
44
 
45
+ # `cd #{::SolidusNexio.gem_dir}; yarn webpack --config webpack.config.js` if Rails.env.development?
45
46
  content_for(:head) do
46
47
  javascript_tag("window.nexioErrorMessages = #{I18n.t('nexio.errors').to_json};") +
47
48
  javascript_include_tag('solidus_nexio/checkout.js')
@@ -1 +1 @@
1
- json.call(payment_source, :id, :kind, :gateway_payment_profile_id, :created_at)
1
+ json.call(payment_source, :id, :kind, :gateway_payment_profile_id)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusNexio
4
- VERSION = '0.6.3'
4
+ VERSION = '0.6.5'
5
5
  end
data/lib/solidus_nexio.rb CHANGED
@@ -17,4 +17,8 @@ module SolidusNexio
17
17
  yield @config if block_given?
18
18
  @config
19
19
  end
20
+
21
+ def self.gem_dir
22
+ File.dirname __dir__
23
+ end
20
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_nexio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Whitespectre
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-19 00:00:00.000000000 Z
11
+ date: 2022-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nexio_activemerchant
@@ -93,7 +93,6 @@ files:
93
93
  - README.md
94
94
  - Rakefile
95
95
  - app/assets/javascripts/solidus_nexio/checkout.js
96
- - app/assets/javascripts/solidus_nexio/checkout.js.LICENSE.txt
97
96
  - app/controllers/solidus_nexio/alternative_payments_controller.rb
98
97
  - app/controllers/solidus_nexio/base_payment_controller.rb
99
98
  - app/controllers/solidus_nexio/credit_cards_controller.rb
@@ -155,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
154
  - !ruby/object:Gem::Version
156
155
  version: '0'
157
156
  requirements: []
158
- rubygems_version: 3.1.2
157
+ rubygems_version: 3.1.6
159
158
  signing_key:
160
159
  specification_version: 4
161
160
  summary: Solidus integration with Nexio
@@ -1,8 +0,0 @@
1
- /**
2
- * @fileOverview
3
- * @name asn1-1.0.js
4
- * @author Kenji Urushima kenji.urushima@gmail.com
5
- * @version asn1 1.0.13 (2017-Jun-02)
6
- * @since jsrsasign 2.1
7
- * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
8
- */