payjp 0.0.16 → 1.1.7

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: 4593810bec4a490625f7369e12e324565cef09cff6c0566d9d1ecf5bd0fd79cc
4
- data.tar.gz: 558705e59753ed3a7e995905555adf7990f2a749e0cc285c2891ac16fad94d04
3
+ metadata.gz: 798dc8ea5c0674b152d81916e9be43296cb5021ffc4be7ac2c529eeb9ccb19db
4
+ data.tar.gz: 4ed855efa130d78b5f993de0a0771947c256396fed5dec989cbecdee183dff76
5
5
  SHA512:
6
- metadata.gz: 8a2e1ef948314d3f7a20e509c11e5ba1a2dbe40795729b6e6b323170910673fbe570983a7274a931b3c3765409a66bfe9d7a05e27cc155f1f2d7a5f94ef05b97
7
- data.tar.gz: '011833e6f4bf4b32ed7723ed398384f68241baf94f7690e470e53c84c0e2bb6b0a57cd41ecaf7b42f6239f798eb4f7ea4eb86c68d6342ee0a46a803d18d8b0aa'
6
+ metadata.gz: 10ebe418db5cecc878c57886487893967b759c4a551067c93273f153fd468bc9d8bb4088fcb20bc82e05274938a6516faeb1d6011b748d423b1e0105fe9f20c0
7
+ data.tar.gz: 204df1a1a522a472cc216f3ba33149da363db6989a4b621709e11b4e84b8d91c8838722a05c1897102af98ee290217c96ced205a64d615662246640c587ae602
@@ -8,7 +8,7 @@ jobs:
8
8
  runs-on: ubuntu-20.04
9
9
  strategy:
10
10
  matrix:
11
- ruby-version: [2.3, 2.7, 3.0, 3.1, 3.2, 3.3, jruby-9.2.17.0]
11
+ ruby-version: [2.3, 2.7, 3.0, 3.1, 3.2, 3.3, 3.4, jruby-9.2.17.0]
12
12
  steps:
13
13
  - uses: actions/checkout@v3
14
14
  - name: Set up Ruby ${{ matrix.ruby-version }}
data/lib/payjp/util.rb CHANGED
@@ -71,7 +71,7 @@ module Payjp
71
71
  # (from URI::RFC2396_Parser#escape)
72
72
  key.to_s.gsub(Regexp.new("[^#{URI::PATTERN::UNRESERVED}]")) do
73
73
  us = $&
74
- tmp = ''
74
+ tmp = String.new
75
75
  us.each_byte do |uc|
76
76
  tmp << sprintf('%%%02X', uc)
77
77
  end
data/lib/payjp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Payjp
2
- VERSION = '0.0.16'
2
+ VERSION = '1.1.7'
3
3
  end
data/payjp.gemspec CHANGED
@@ -13,6 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.license = 'MIT'
14
14
 
15
15
  s.add_dependency('rest-client', '~> 2.0')
16
+ s.add_dependency('base64')
16
17
 
17
18
  s.add_development_dependency('mocha', '~> 1.2.1')
18
19
  s.add_development_dependency('activesupport', ['< 5.0', '~> 4.2.7'])
@@ -23,7 +24,7 @@ Gem::Specification.new do |s|
23
24
  s.files = `git ls-files`.split("\n")
24
25
  s.test_files = `git ls-files -- test/*`.split("\n")
25
26
  s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
26
- s.require_paths = ['lib']
27
+ s.require_paths = ['lib']
27
28
  s.metadata = {
28
29
  "source_code_uri" => "https://github.com/payjp/payjp-ruby",
29
30
  }
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payjp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - PAY.JP
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-11-14 00:00:00.000000000 Z
10
+ date: 2025-03-19 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rest-client
@@ -24,6 +23,20 @@ dependencies:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
25
  version: '2.0'
26
+ - !ruby/object:Gem::Dependency
27
+ name: base64
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
27
40
  - !ruby/object:Gem::Dependency
28
41
  name: mocha
29
42
  requirement: !ruby/object:Gem::Requirement
@@ -176,7 +189,6 @@ licenses:
176
189
  - MIT
177
190
  metadata:
178
191
  source_code_uri: https://github.com/payjp/payjp-ruby
179
- post_install_message:
180
192
  rdoc_options: []
181
193
  require_paths:
182
194
  - lib
@@ -191,8 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
203
  - !ruby/object:Gem::Version
192
204
  version: '0'
193
205
  requirements: []
194
- rubygems_version: 3.1.6
195
- signing_key:
206
+ rubygems_version: 3.6.2
196
207
  specification_version: 4
197
208
  summary: Ruby bindings for the Payjp API
198
209
  test_files: