payjp 0.0.4 → 0.0.5

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: 73a26dcd390d3d68c2fba6c82f17ca3dee4c629d
4
- data.tar.gz: 1c5731750ab0c3aeb61db20af7dbdb78206d95fd
3
+ metadata.gz: 4894124d5ba9c96bcf0d10613cb90b7b6ee33927
4
+ data.tar.gz: 612f883bc15553c9c2551fed5df636e7d936f78d
5
5
  SHA512:
6
- metadata.gz: 4906c39eb253dc0b2361c8752354c91c5c6e52c734f7a54bebbc188c7d3042901bd68e1abec0f0cce44280c374e4143f8023b0b7b8c2271a65950b549efbb6d9
7
- data.tar.gz: c2455852728ca0bfadd8fcf3328788f3fbf5f90148660ac9427d528f56801bc51808b90fb04e92bc60ff68128570c997634fc69cd79f49c76d091499bee3b73c
6
+ metadata.gz: ec9130790d73529bfe759c9198b3613db623f0fb5df87cfece9e6ea9aeb78356bd3a88bd7b7b1e6fcf15e20325c1b40e64a29c803d6cadab794052588b189267
7
+ data.tar.gz: 7f89a815d3a03162c94fb2bab7a797367f9c9323f1f737243494d1666cd76de9f1854b924e924c163adaff9bd63b4ad0a8ab4c720af2fd35fc7d1a32f3df9aca
data/.gitignore CHANGED
@@ -1,7 +1,55 @@
1
- /payjp-*.gem
2
- /Gemfile.lock
1
+ ### https://raw.github.com/github/gitignore/e287eac7617fc65e49cf6e9d61ba23ff64e5994e/Ruby.gitignore
2
+
3
+ *.gem
4
+ *.rbc
5
+ /.config
6
+ /coverage/
7
+ /InstalledFiles
8
+ /pkg/
9
+ /spec/reports/
10
+ /spec/examples.txt
11
+ /test/tmp/
12
+ /test/version_tmp/
13
+ /tmp/
14
+
15
+ # Used by dotenv library to load environment variables.
16
+ # .env
17
+
18
+ ## Specific to RubyMotion:
19
+ .dat*
20
+ .repl_history
21
+ build/
22
+ *.bridgesupport
23
+ build-iPhoneOS/
24
+ build-iPhoneSimulator/
25
+
26
+ ## Specific to RubyMotion (use of CocoaPods):
27
+ #
28
+ # We recommend against adding the Pods directory to your .gitignore. However
29
+ # you should judge for yourself, the pros and cons are mentioned at:
30
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
31
+ #
32
+ # vendor/Pods/
33
+
34
+ ## Documentation cache and generated files:
35
+ /.yardoc/
36
+ /_yardoc/
37
+ /doc/
38
+ /rdoc/
39
+
40
+ ## Environment normalization:
41
+ /.bundle/
42
+ /vendor/bundle
43
+ /lib/bundler/man/
44
+
45
+ # for a library or gem, you might want to ignore these files since the code is
46
+ # intended to run in multiple environments; otherwise, check them in:
47
+ # Gemfile.lock
48
+ # .ruby-version
49
+ # .ruby-gemset
50
+
51
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
3
52
  .rvmrc
53
+
54
+
4
55
  Gemfile.lock
5
- .idea/*
6
- .ruby-version
7
- pkg/*
@@ -1,21 +1,10 @@
1
1
  language: ruby
2
2
 
3
3
  rvm:
4
- - 1.9.2
5
- - 1.9.3
6
4
  - 2.0.0
7
5
  - 2.1
8
6
  - 2.2
9
- - jruby-19mode
10
-
11
- gemfile:
12
- - gemfiles/default-with-activesupport.gemfile
13
- - gemfiles/json.gemfile
14
- - gemfiles/yajl.gemfile
15
-
16
- matrix:
17
- exclude:
18
- - rvm: jruby-19mode
19
- gemfile: gemfiles/yajl.gemfile
7
+ - 2.3.0
8
+ - jruby-9.0.5.0
20
9
 
21
10
  sudo: false
data/Gemfile CHANGED
@@ -1,8 +1,2 @@
1
1
  source "https://rubygems.org"
2
- gemspec
3
-
4
- if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('1.9.3')
5
- gem 'i18n', '< 0.7'
6
- gem 'rest-client', '~> 1.6.8'
7
- gem 'activesupport', '~> 3.2'
8
- end
2
+ gemspec
@@ -17,9 +17,9 @@ If you want to build the gem from source:
17
17
 
18
18
  == Requirements
19
19
 
20
- * Ruby 1.9.3 or above.
20
+ * Ruby 2.0.0 or above.
21
21
 
22
- * rest-client, json
22
+ * rest-client
23
23
 
24
24
  == Bundler
25
25
 
@@ -1,3 +1,3 @@
1
1
  module Payjp
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
@@ -12,13 +12,14 @@ Gem::Specification.new do |s|
12
12
  s.homepage = 'https://pay.jp'
13
13
  s.license = 'MIT'
14
14
 
15
- s.add_dependency('rest-client', '~> 1.4')
16
- s.add_dependency('json', '~> 1.8.1')
15
+ s.add_dependency('rest-client', '~> 2.0')
17
16
 
18
- s.add_development_dependency('mocha', '~> 0.13.2')
19
- s.add_development_dependency('shoulda', '~> 3.4.0')
20
- s.add_development_dependency('test-unit')
21
- s.add_development_dependency('rake')
17
+ s.add_development_dependency('mocha', '~> 1.2.1')
18
+ s.add_development_dependency('activesupport', ['< 5.0', '~> 4.2.7'])
19
+ s.add_development_dependency('shoulda', '~> 3.3.2')
20
+ s.add_development_dependency('test-unit', '~> 3.2.2')
21
+ s.add_development_dependency('rake', '~> 11.3.0')
22
+ s.add_development_dependency('bundler', '>= 1.7.6')
22
23
 
23
24
  s.files = `git ls-files`.split("\n")
24
25
  s.test_files = `git ls-files -- test/*`.split("\n")
metadata CHANGED
@@ -1,99 +1,119 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payjp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - PAY.JP
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-16 00:00:00.000000000 Z
11
+ date: 2016-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '1.4'
19
+ version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '1.4'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: json
28
+ name: mocha
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 1.8.1
34
- type: :runtime
33
+ version: 1.2.1
34
+ type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 1.8.1
40
+ version: 1.2.1
41
41
  - !ruby/object:Gem::Dependency
42
- name: mocha
42
+ name: activesupport
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - <
46
46
  - !ruby/object:Gem::Version
47
- version: 0.13.2
47
+ version: '5.0'
48
+ - - ~>
49
+ - !ruby/object:Gem::Version
50
+ version: 4.2.7
48
51
  type: :development
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
- - - "~>"
55
+ - - <
56
+ - !ruby/object:Gem::Version
57
+ version: '5.0'
58
+ - - ~>
53
59
  - !ruby/object:Gem::Version
54
- version: 0.13.2
60
+ version: 4.2.7
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: shoulda
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
- - - "~>"
65
+ - - ~>
60
66
  - !ruby/object:Gem::Version
61
- version: 3.4.0
67
+ version: 3.3.2
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
- - - "~>"
72
+ - - ~>
67
73
  - !ruby/object:Gem::Version
68
- version: 3.4.0
74
+ version: 3.3.2
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: test-unit
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
- - - ">="
79
+ - - ~>
74
80
  - !ruby/object:Gem::Version
75
- version: '0'
81
+ version: 3.2.2
76
82
  type: :development
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
- - - ">="
86
+ - - ~>
81
87
  - !ruby/object:Gem::Version
82
- version: '0'
88
+ version: 3.2.2
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: rake
85
91
  requirement: !ruby/object:Gem::Requirement
86
92
  requirements:
87
- - - ">="
93
+ - - ~>
94
+ - !ruby/object:Gem::Version
95
+ version: 11.3.0
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ~>
101
+ - !ruby/object:Gem::Version
102
+ version: 11.3.0
103
+ - !ruby/object:Gem::Dependency
104
+ name: bundler
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - '>='
88
108
  - !ruby/object:Gem::Version
89
- version: '0'
109
+ version: 1.7.6
90
110
  type: :development
91
111
  prerelease: false
92
112
  version_requirements: !ruby/object:Gem::Requirement
93
113
  requirements:
94
- - - ">="
114
+ - - '>='
95
115
  - !ruby/object:Gem::Version
96
- version: '0'
116
+ version: 1.7.6
97
117
  description: PAY.JP makes it way easier and less expensive to accept payments.
98
118
  email:
99
119
  - support@pay.jp
@@ -101,20 +121,16 @@ executables: []
101
121
  extensions: []
102
122
  extra_rdoc_files: []
103
123
  files:
104
- - ".gitignore"
105
- - ".rubocop.yml"
106
- - ".rubocop_todo.yml"
107
- - ".travis.yml"
124
+ - .gitignore
125
+ - .rubocop.yml
126
+ - .rubocop_todo.yml
127
+ - .travis.yml
108
128
  - CONTRIBUTORS
109
129
  - Gemfile
110
130
  - History.txt
111
131
  - LICENSE
112
132
  - README.rdoc
113
133
  - Rakefile
114
- - VERSION
115
- - gemfiles/default-with-activesupport.gemfile
116
- - gemfiles/json.gemfile
117
- - gemfiles/yajl.gemfile
118
134
  - lib/payjp.rb
119
135
  - lib/payjp/account.rb
120
136
  - lib/payjp/api_operations/create.rb
@@ -168,17 +184,17 @@ require_paths:
168
184
  - lib
169
185
  required_ruby_version: !ruby/object:Gem::Requirement
170
186
  requirements:
171
- - - ">="
187
+ - - '>='
172
188
  - !ruby/object:Gem::Version
173
189
  version: '0'
174
190
  required_rubygems_version: !ruby/object:Gem::Requirement
175
191
  requirements:
176
- - - ">="
192
+ - - '>='
177
193
  - !ruby/object:Gem::Version
178
194
  version: '0'
179
195
  requirements: []
180
196
  rubyforge_project:
181
- rubygems_version: 2.4.8
197
+ rubygems_version: 2.0.14.1
182
198
  signing_key:
183
199
  specification_version: 4
184
200
  summary: Ruby bindings for the Payjp API
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.0.4
@@ -1,10 +0,0 @@
1
- source "https://rubygems.org"
2
- gemspec :path => File.join(File.dirname(__FILE__), "..")
3
-
4
- if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.3')
5
- gem 'i18n', '< 0.7'
6
- gem 'rest-client', '~> 1.6.8'
7
- gem 'activesupport', '~> 3.2'
8
- else
9
- gem 'activesupport'
10
- end
@@ -1,12 +0,0 @@
1
- source "https://rubygems.org"
2
- gemspec :path => File.join(File.dirname(__FILE__), "..")
3
-
4
- if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.3')
5
- gem 'i18n', '< 0.7'
6
- gem 'rest-client', '~> 1.6.8'
7
- gem 'activesupport', '~> 3.2'
8
- else
9
- gem 'activesupport'
10
- end
11
-
12
- gem 'json'
@@ -1,12 +0,0 @@
1
- source "https://rubygems.org"
2
- gemspec :path => File.join(File.dirname(__FILE__), "..")
3
-
4
- if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.3')
5
- gem 'i18n', '< 0.7'
6
- gem 'rest-client', '~> 1.6.8'
7
- gem 'activesupport', '~> 3.2'
8
- else
9
- gem 'activesupport'
10
- end
11
-
12
- gem 'yajl-ruby'