monobank 0.2.2 → 0.2.3

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
  SHA256:
3
- metadata.gz: 73cb15683ac9c427b190ecd483b37a84608e331e3061462726be37361a335ccc
4
- data.tar.gz: 4001f554c2a0f943120108bafd6e94b5a47a8ebb9d21d76ed167f2c608956df0
3
+ metadata.gz: a9e91f8a19ff3ec21d27e4665dc1b94b73fe69735621411340e5d56c83827e63
4
+ data.tar.gz: '048ba2327b532c52be70e1ee376ac98c8003e5ab736ae49b06fdb8ee1c48a54d'
5
5
  SHA512:
6
- metadata.gz: 7b27ee3c538ae1bf24ba28468ffec64dd259ba1bd7b34823662603a0641f295abe209c6b0f1515d12e9536fc5d2dc9dd2423ea670edad9f4ca8b2da68078d49e
7
- data.tar.gz: aa45f2126a880c33313ed1263a0fe430f4e47470ba285477278b4cef9b747c2d875e2a2879dfe7e40e47706eade5fc798545737d0afe7fcd57c3e5f2cf670965
6
+ metadata.gz: d3aa68afc8bcf9019ea4dcb1a55c41a91fa9f9a930c750797301197c24245e1730775f5016c09efddf86b1d7b0bf9c9955204c927cc948150811be25573117a1
7
+ data.tar.gz: fab711e63c1d203afe8172dfc570578f6e74a7acc478fd9c2f21c69e7aa44167a9f32d03d56f6ab6d322be8c26cdb757ebbf8f6da9f18219fed41cdbabece532
@@ -3,7 +3,7 @@ require 'httparty'
3
3
  module Monobank
4
4
  class Connection
5
5
  include HTTParty
6
- base_uri 'api.monobank.ua'
6
+ base_uri 'https://api.monobank.ua'
7
7
 
8
8
  def get(pathname, options = {})
9
9
  self.class.get(pathname, options)
@@ -13,4 +13,4 @@ module Monobank
13
13
  self.class.post(pathname, options)
14
14
  end
15
15
  end
16
- end
16
+ end
@@ -1,3 +1,3 @@
1
1
  module Monobank
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -0,0 +1,19 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+
3
+ require 'monobank'
4
+
5
+ ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../')
6
+
7
+ # Requires supporting ruby files with custom matchers and macros, etc,
8
+ # in spec/support/ and its subdirectories.
9
+ Dir[File.join(ENGINE_RAILS_ROOT, 'spec/support/**/*.rb')].each { |f| require f }
10
+
11
+ RSpec.configure do |config|
12
+ config.expect_with :rspec do |expectations|
13
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
14
+ end
15
+
16
+ config.mock_with :rspec do |mocks|
17
+ mocks.verify_partial_doubles = true
18
+ end
19
+ end
metadata CHANGED
@@ -1,30 +1,76 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monobank
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vergilet
8
8
  - anatoliikryvishyn
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-02-27 00:00:00.000000000 Z
12
+ date: 2024-01-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: 0.21.0
21
+ - - "<"
19
22
  - !ruby/object:Gem::Version
20
- version: 0.17.3
23
+ version: 0.22.0
21
24
  type: :runtime
22
25
  prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ version: 0.21.0
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.22.0
34
+ - !ruby/object:Gem::Dependency
35
+ name: rake
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '13.0'
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 13.0.0
44
+ type: :development
45
+ prerelease: false
23
46
  version_requirements: !ruby/object:Gem::Requirement
24
47
  requirements:
25
48
  - - "~>"
26
49
  - !ruby/object:Gem::Version
27
- version: 0.17.3
50
+ version: '13.0'
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 13.0.0
54
+ - !ruby/object:Gem::Dependency
55
+ name: rspec
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '3.8'
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 3.8.0
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: '3.8'
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: 3.8.0
28
74
  description: Unofficial Ruby Gem for Monobank API.
29
75
  email:
30
76
  - osyaroslav@gmail.com
@@ -52,6 +98,7 @@ files:
52
98
  - lib/monobank/resources/personal/statement.rb
53
99
  - lib/monobank/resources/personal/webhook.rb
54
100
  - lib/monobank/version.rb
101
+ - spec/spec_helper.rb
55
102
  homepage: https://github.com/vergilet/monobank
56
103
  licenses:
57
104
  - MIT
@@ -59,7 +106,7 @@ metadata:
59
106
  homepage_uri: https://github.com/vergilet/monobank
60
107
  source_code_uri: https://github.com/vergilet/monobank
61
108
  changelog_uri: https://github.com/vergilet/monobank
62
- post_install_message:
109
+ post_install_message:
63
110
  rdoc_options: []
64
111
  require_paths:
65
112
  - lib
@@ -74,8 +121,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
121
  - !ruby/object:Gem::Version
75
122
  version: '0'
76
123
  requirements: []
77
- rubygems_version: 3.0.8
78
- signing_key:
124
+ rubygems_version: 3.4.21
125
+ signing_key:
79
126
  specification_version: 4
80
127
  summary: Unofficial Ruby Gem for Monobank API.
81
- test_files: []
128
+ test_files:
129
+ - spec/spec_helper.rb