moneta-api 1.6.0 → 1.7.0

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: 3eba15e5a46ad512718cf5cd6f48e8b4a59416e6
4
- data.tar.gz: e341673c020d5222cee54ac35a290b4bbc7c5f40
3
+ metadata.gz: a6c58596470fc640d704fa5c84ce4e22c2e50671
4
+ data.tar.gz: cd9a668ff8bbb2e143338ef8bfff0a7fc81f3137
5
5
  SHA512:
6
- metadata.gz: b0c7a6dd90f0eab5b388719f647047b91be24c264ef488395a04b208bb8a98a0aa4a07a9d42893138e7bb927df9fa563a6d5e9a52c180951a4f3afd2e0118c0e
7
- data.tar.gz: edaac8c695bdb66be590ed144c97ceb8d83e223845be9d8dddd20b97e084cbb43b5f5d57b6d6d8bc41cc44e009c638df72364ef8310796035b51d22659c6b7c1
6
+ metadata.gz: aee10955a8d808f7c41c1e6955f1377879f723bcfa4a3f5f7cea5e7b2592f8931cd828baa29c9f8c615aab85adf28e851481ec327c329b35e4cb4000d515c9cf
7
+ data.tar.gz: ae85e5e54591267827cdddf22cdcf08f3fadeed22fef37f204afed4f7bda193e712327a4ca1731cab67f31d8073c920a450f0342de744acab45d25b28ae32a2b
@@ -0,0 +1,5 @@
1
+ module Moneta
2
+ module Api
3
+ class Exception < StandardError; end
4
+ end
5
+ end
@@ -1,5 +1,5 @@
1
1
  module Moneta
2
2
  module Api
3
- class HTTPException < StandardError; end
3
+ class HTTPException < Exception; end
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  module Moneta
2
2
  module Api
3
- class RuntimeException < StandardError; end
3
+ class RuntimeException < Exception; end
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  module Moneta
2
2
  module Api
3
- VERSION = '1.6.0'
3
+ VERSION = '1.7.0'
4
4
  end
5
5
  end
data/lib/moneta/api.rb CHANGED
@@ -6,6 +6,7 @@ require 'moneta/api/service_methods'
6
6
  require 'moneta/api/service'
7
7
  require 'moneta/api/data_mapper'
8
8
  require 'moneta/api/key_value_serializer'
9
+ require 'moneta/api/exception'
9
10
  require 'moneta/api/runtime_exception'
10
11
  require 'moneta/api/http_exception'
11
12
 
data/moneta-api.gemspec CHANGED
@@ -18,10 +18,10 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'savon', '~> 2.10.0'
21
+ spec.add_dependency 'savon', '~> 2.11'
22
22
 
23
- spec.add_development_dependency 'bundler', '~> 1.7'
24
- spec.add_development_dependency 'rake', '~> 10.0'
23
+ spec.add_development_dependency 'bundler', '~> 1'
24
+ spec.add_development_dependency 'rake', '~> 10'
25
25
  spec.add_development_dependency 'pry'
26
26
  spec.add_development_dependency 'rspec'
27
27
  spec.add_development_dependency 'rspec-its'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moneta-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ssnikolay
@@ -9,149 +9,149 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-15 00:00:00.000000000 Z
12
+ date: 2016-01-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 2.10.0
20
+ version: '2.11'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 2.10.0
27
+ version: '2.11'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '1.7'
34
+ version: '1'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '1.7'
41
+ version: '1'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ~>
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '10.0'
48
+ version: '10'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ~>
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '10.0'
55
+ version: '10'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: pry
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rspec
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rspec-its
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: vcr
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: fakeweb
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - '>='
116
+ - - ">="
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - '>='
123
+ - - ">="
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: yard
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - '>='
130
+ - - ">="
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - '>='
137
+ - - ">="
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: codeclimate-test-reporter
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - '>='
144
+ - - ">="
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  type: :development
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - '>='
151
+ - - ">="
152
152
  - !ruby/object:Gem::Version
153
153
  version: '0'
154
- description: МОНЕТА.РУ (MONETA.MerchantAPI.v2).
154
+ description: "МОНЕТА.РУ (MONETA.MerchantAPI.v2)."
155
155
  email:
156
156
  - ssnikolay@gmail.com
157
157
  - ll.wg.bin@gmail.com
@@ -159,16 +159,17 @@ executables: []
159
159
  extensions: []
160
160
  extra_rdoc_files: []
161
161
  files:
162
- - .gitignore
163
- - .rspec
164
- - .travis.yml
165
- - .yardopts
162
+ - ".gitignore"
163
+ - ".rspec"
164
+ - ".travis.yml"
165
+ - ".yardopts"
166
166
  - Gemfile
167
167
  - LICENSE.txt
168
168
  - README.md
169
169
  - Rakefile
170
170
  - lib/moneta/api.rb
171
171
  - lib/moneta/api/data_mapper.rb
172
+ - lib/moneta/api/exception.rb
172
173
  - lib/moneta/api/http_exception.rb
173
174
  - lib/moneta/api/key_value_serializer.rb
174
175
  - lib/moneta/api/requests/approve_phone_send_confirmation_request.rb
@@ -344,20 +345,20 @@ require_paths:
344
345
  - lib
345
346
  required_ruby_version: !ruby/object:Gem::Requirement
346
347
  requirements:
347
- - - '>='
348
+ - - ">="
348
349
  - !ruby/object:Gem::Version
349
350
  version: '0'
350
351
  required_rubygems_version: !ruby/object:Gem::Requirement
351
352
  requirements:
352
- - - '>='
353
+ - - ">="
353
354
  - !ruby/object:Gem::Version
354
355
  version: '0'
355
356
  requirements: []
356
357
  rubyforge_project:
357
- rubygems_version: 2.4.3
358
+ rubygems_version: 2.4.8
358
359
  signing_key:
359
360
  specification_version: 4
360
- summary: МОНЕТА.РУ (MONETA.MerchantAPI.v2)
361
+ summary: "МОНЕТА.РУ (MONETA.MerchantAPI.v2)"
361
362
  test_files:
362
363
  - spec/lib/moneta/api/requests/approve_phone_send_confirmation_request_spec.rb
363
364
  - spec/lib/moneta/api/requests/authorise_transaction_batch_request_spec.rb