focas-client 0.1.4 → 0.1.5

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
  SHA256:
3
- metadata.gz: e8eaa764deded36176c987d6e4745d41bc22575972a84d1bd9cacd48744831cb
4
- data.tar.gz: 920a967e3145c9a44862bd0d8b78550caf903157350d976d8ce2aeb29a720ce0
3
+ metadata.gz: a4ee135e6e235cece01fd3a79c3734433e6d44aa5e71c260c3685516c5f324c9
4
+ data.tar.gz: 7a804b5355c42126635453e4412f9c259bd72d0bb3f7891149d08c1efec724fb
5
5
  SHA512:
6
- metadata.gz: 67654996060afba1cb162628c4799871dca8298b5b4834f20356ca73aed8a915d849dd05c63fb0bf4083dcfbd06f6ef4108b9056e66474a2e0f9532f72af6b6d
7
- data.tar.gz: 257bced906ad64453bb2b55f093de6fafc5195b738d9244ffd60bf3e239262209e01f22048aa22771c657474fdad7cd92d06d1d7cddb818ebfb4d300c6a2fa40
6
+ metadata.gz: 286f429762664df2516d5077cef22209c150235ef160b276d412483b525cd5063111db658ac8cfa1f65d3afd900eed0dc054e78a544f89119e6d70d3d45c2d78
7
+ data.tar.gz: 47e3a463d22bc59f5a0c1dc079655ba51731d9c20420165e7c3b719d029fa6aa900b5067a58567e7e3ee6538fd4a002313e25ae640aff7aa52f5ff43fdf08f98
data/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- ## 0.1.4 (開發中)
1
+ ## 0.1.5 (開發中)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- focas-client (0.1.4)
4
+ focas-client (0.1.5)
5
5
  activesupport (>= 4.0)
6
6
 
7
7
  GEM
data/lib/focas/payment.rb CHANGED
@@ -101,6 +101,9 @@ module Focas
101
101
  def set_trade_info
102
102
  options = Config.options
103
103
  @trade_info = options.transform_keys(&:to_sym).to_h
104
+ # 應移除 token,不該曝光
105
+ @trade_info.delete(:token)
106
+
104
107
  local_date = Time.now.strftime('%Y%m%d')
105
108
  local_time = Time.now.strftime('%H%M%S')
106
109
  trade_time = "#{local_date}#{local_time}"
data/lib/focas/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Focas
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: focas-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Lin (pct)