spree_komoju 0.1.2 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7784a1ce8862a8139658dc03f4f3eba3e788870
4
- data.tar.gz: 07274b9b8e58ff08405341faf8dad83b697caa95
3
+ metadata.gz: 1e612aca6882b7d8d81eb3b0db9b66fba6687db4
4
+ data.tar.gz: 0ea9e4ed84ce5557edc578e7e817f0fd095368a0
5
5
  SHA512:
6
- metadata.gz: e8e12916f9d44f2d40eab8e8629d48db94d37f14de5157816968605685c4a1c96f214c6a58afeb039407bd89f786b88e0d485acb18beddd3fd9ffda1df981f70
7
- data.tar.gz: 54eb2fc4776fa52c987b507f89d0fd419a9973f922d66c21bce88bc6abcf8f2334b69d23b66ea842bddbe294b1c83fc6435f4c242556681187c2f91488ad04c5
6
+ metadata.gz: e0ea49d3c7b7cd01e1df1034286c7cb8a4a3c6495a163be9fc47a6c4dbc81dee0b794b7fd55a910c2a2d3d3e0010ea1ff6d9f38fcbdbadae67c26306401fdcf6
7
+ data.tar.gz: 91bbd075c02f9fa7a0fad7fdf90152fff540870293b5a0cb3f27a6a2e77726192cbda15aefa7e0139ce70fd7265398bff4ca90f7c04f8aaba0691ce4836b7b89
@@ -1,9 +1,9 @@
1
1
  <div class="well clearfix">
2
2
  <% param_prefix = "payment_source[#{payment_method.id}]" %>
3
3
 
4
- <% Spree::Konbini::STORES.each_with_index do |store, index| %>
4
+ <% Spree::Konbini::STORES.each do |store| %>
5
5
  <label>
6
- <%= radio_button "#{param_prefix}", "convenience", store, checked: index.zero? %>
6
+ <%= radio_button "#{param_prefix}", "convenience", store %>
7
7
  <%= image_tag "#{store}.png" %>
8
8
  <span><%= Spree.t("conveniences.#{store}") %></span>
9
9
  </label><br />
@@ -32,7 +32,7 @@ module ActiveMerchant #:nodoc:
32
32
  def purchase(money, payment, options = {})
33
33
  post = {}
34
34
  post[:amount] = amount(money)
35
- post[:locale] = @options[:locale] if @options[:locale]
35
+ post[:locale] = options[:locale] if options[:locale]
36
36
  post[:description] = options[:description]
37
37
  add_payment_details(post, payment, options)
38
38
  post[:currency] = options[:currency] || default_currency
data/spree_komoju.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'spree_komoju'
5
- s.version = '0.1.2'
5
+ s.version = '0.1.3'
6
6
  s.summary = 'Spree Komoju Payment Gateway'
7
7
  s.description = 'Spree Payment gateway for Komoju payment gateway'
8
8
  s.authors = ['Masahiro Saito', 'Chris Salzberg', 'Richard Ramsden']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_komoju
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro Saito
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-12-22 00:00:00.000000000 Z
13
+ date: 2017-01-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: spree_core