payture-cheques 0.1.4 → 0.1.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
- SHA1:
3
- metadata.gz: e086d84eafa8c5752ebf6d78c6107a385d3ac595
4
- data.tar.gz: 422a79503f3ad5023921883d6e13310b9ef7bc7f
2
+ SHA256:
3
+ metadata.gz: 8fb4e59b1c224607594c1e8a51c8a461fcda63f57a472243cabf80efb79c7a16
4
+ data.tar.gz: 31174ac18842ca46d2e1c92f678e543663a7f7e8e008aedaae9b9e3067fcaf22
5
5
  SHA512:
6
- metadata.gz: 40551d8a7dd3fc25637d2ff260244415932de35000eae26ebff44186b05764e2bab1034171cccd371c5e3903ef2bd51b8624e1cac4a339ea6c13596fde814915
7
- data.tar.gz: 043670ae638cc81a3daa5155630166f4e0f206f484c4e056c4f5ea236b561d14bc96ede525ce803e32a854fa424b730725688b2923d0aa15fe4296e35134b4c6
6
+ metadata.gz: 5b8bd2ea1abf833fd5e5626083eef3038d576facd5adb4aa6c2e2dec1c9e53977cd003052dc854de127e4b5b04716e5be7278c65773d1f6713eca03a23887656
7
+ data.tar.gz: 674aa4ef62f3f115f1b5730146cf2952aff81c64febfddf95f86396b42dd65fa08f3d97696962bee59b0e616d99fef8af17cdde1ed3291749ee45dd155b6a391
@@ -1,5 +1,5 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.2
5
- before_install: gem install bundler -v 1.14.6
4
+ - 2.6.3
5
+ before_install: gem install bundler -v 2.0.2
@@ -0,0 +1,4 @@
1
+ # payture-cheques Changelog
2
+
3
+ ## 0.1.5
4
+ * Add ServiceUnavailable cheque status. It will set processing_error status.
@@ -30,9 +30,9 @@ module Payture::Cheques
30
30
 
31
31
  def make_request(url, params)
32
32
  conn = Faraday.new do |builder|
33
- builder.adapter Faraday.default_adapter
34
33
  builder.request :url_encoded
35
34
  builder.response(:logger, config.logger) if config.logger
35
+ builder.adapter Faraday.default_adapter
36
36
  end
37
37
  conn.post(url) do |req|
38
38
  req.headers['Content-Type'] = 'application/json'
@@ -7,6 +7,7 @@ module Payture::Cheques
7
7
  'Unauthorized' => 'CANNOT_AUTHORIZE_TERMINAL',
8
8
  'NotFound' => 'NOT_FOUND',
9
9
  'Timeout' => 'TIMEOUT',
10
+ 'ServiceUnavailable' => 'SERVICE_UNAVAILABLE',
10
11
  'Unknown' => 'UNKNOWN',
11
12
  }.freeze
12
13
 
@@ -1,5 +1,5 @@
1
1
  module Payture
2
2
  module Cheques
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
@@ -20,14 +20,14 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.add_dependency 'faraday', '~> 0.9'
23
+ spec.add_dependency 'faraday'
24
24
 
25
- spec.add_development_dependency 'bundler', '~> 1.14'
26
- spec.add_development_dependency 'minitest', '~> 5.0'
27
- spec.add_development_dependency 'pry', '~> 0.10'
28
- spec.add_development_dependency 'rake', '~> 10.0'
29
- spec.add_development_dependency 'rubocop', '~> 0.51'
30
- spec.add_development_dependency 'simplecov', '~> 0.14'
31
- spec.add_development_dependency 'vcr', '~> 2.9'
32
- spec.add_development_dependency 'webmock', '~> 3.0'
25
+ spec.add_development_dependency 'bundler'
26
+ spec.add_development_dependency 'minitest'
27
+ spec.add_development_dependency 'pry'
28
+ spec.add_development_dependency 'rake'
29
+ spec.add_development_dependency 'rubocop'
30
+ spec.add_development_dependency 'simplecov'
31
+ spec.add_development_dependency 'vcr'
32
+ spec.add_development_dependency 'webmock'
33
33
  end
metadata CHANGED
@@ -1,141 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payture-cheques
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
  - Alexander Sviridov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-19 00:00:00.000000000 Z
11
+ date: 2019-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.9'
19
+ version: '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: '0.9'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.14'
33
+ version: '0'
34
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.14'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '5.0'
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '5.0'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pry
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '0.10'
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '0.10'
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '10.0'
75
+ version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '10.0'
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '0.51'
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '0.51'
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: simplecov
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '0.14'
103
+ version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: '0.14'
110
+ version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: vcr
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: '2.9'
117
+ version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - "~>"
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: '2.9'
124
+ version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: webmock
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: '3.0'
131
+ version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: '3.0'
138
+ version: '0'
139
139
  description:
140
140
  email:
141
141
  - alexander.sviridov@gmail.com
@@ -145,6 +145,7 @@ extra_rdoc_files: []
145
145
  files:
146
146
  - ".gitignore"
147
147
  - ".travis.yml"
148
+ - CHANGELOG.md
148
149
  - Gemfile
149
150
  - LICENSE.txt
150
151
  - README.md
@@ -182,8 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
183
  - !ruby/object:Gem::Version
183
184
  version: '0'
184
185
  requirements: []
185
- rubyforge_project:
186
- rubygems_version: 2.6.8
186
+ rubygems_version: 3.0.4
187
187
  signing_key:
188
188
  specification_version: 4
189
189
  summary: Payture payment system API for sendind cheques separately from payments