paddlerb 0.1.2 → 0.1.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: 53274a9f3c8b5ee161c0b57df19501ad5b2ef921a04029e220a7cecb4311753a
4
- data.tar.gz: 38f71e3f30abc7527a10670a9e38a5899da6e1689c9b7be3ba676017b454d806
3
+ metadata.gz: b8f4a29402daabc903c9fc4dc1d7a48ef8fd2eca6ada6dc75ba978ab0fb904d8
4
+ data.tar.gz: ef897d855e51abb5ba7667d27c4871dedc768d47c1c079ed4170723181d0fcaf
5
5
  SHA512:
6
- metadata.gz: 925ea261490f4724558c5caef81fad0ef68a23389632f9a62bc437ff63e9071bea2ca6b7444471e4f36c3bf694084eaf4846fe2cfc57f22a5d07aef053c66047
7
- data.tar.gz: c1904ba56c9f4bd7099d816c498dac9115db1c2fd7272344543c2925bc0491f2131217243f24172c2e0b5bdeb81d8782b2bdbfb3b5c24fa1fa4671711be76a5f
6
+ metadata.gz: cbf32c3691439a9b074d1ab78bb6c96f693872449101436a017fc0fb0ce5036451618bec04dc142b1db3dbbbb3984d6efcb7bfad0b4a8eb48cc4e0c55ed47f32
7
+ data.tar.gz: c6c7604c90cba7b45d109bee1dbfb869ea04a34d2b791f4dff104bfecbb8ab013cf81898f8361f14f5066b188ddc66b033982daeca8af47d3c1688bdda8ad543
data/Gemfile.lock CHANGED
@@ -1,41 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- paddlerb (0.1.2)
5
- faraday (~> 1.7)
6
- faraday_middleware (~> 1.1)
4
+ paddlerb (0.1.3)
5
+ faraday (~> 2.0)
7
6
 
8
7
  GEM
9
8
  remote: https://rubygems.org/
10
9
  specs:
11
10
  dotenv (2.7.6)
12
- faraday (1.10.0)
13
- faraday-em_http (~> 1.0)
14
- faraday-em_synchrony (~> 1.0)
15
- faraday-excon (~> 1.1)
16
- faraday-httpclient (~> 1.0)
17
- faraday-multipart (~> 1.0)
18
- faraday-net_http (~> 1.0)
19
- faraday-net_http_persistent (~> 1.0)
20
- faraday-patron (~> 1.0)
21
- faraday-rack (~> 1.0)
22
- faraday-retry (~> 1.0)
11
+ faraday (2.2.0)
12
+ faraday-net_http (~> 2.0)
23
13
  ruby2_keywords (>= 0.0.4)
24
- faraday-em_http (1.0.0)
25
- faraday-em_synchrony (1.0.0)
26
- faraday-excon (1.1.0)
27
- faraday-httpclient (1.0.1)
28
- faraday-multipart (1.0.3)
29
- multipart-post (>= 1.2, < 3)
30
- faraday-net_http (1.0.1)
31
- faraday-net_http_persistent (1.2.0)
32
- faraday-patron (1.0.0)
33
- faraday-rack (1.0.0)
34
- faraday-retry (1.0.3)
35
- faraday_middleware (1.2.0)
36
- faraday (~> 1.0)
37
- minitest (5.14.4)
38
- multipart-post (2.1.1)
14
+ faraday-net_http (2.0.2)
15
+ minitest (5.15.0)
39
16
  rake (13.0.6)
40
17
  ruby2_keywords (0.0.5)
41
18
 
data/lib/paddle/client.rb CHANGED
@@ -43,8 +43,8 @@ module Paddle
43
43
  PaymentsResource.new(self)
44
44
  end
45
45
 
46
- def users
47
- UsersResource.new(self)
46
+ def subscriptions
47
+ SubscriptionsResource.new(self)
48
48
  end
49
49
 
50
50
  def webhooks
@@ -64,7 +64,6 @@ module Paddle
64
64
  @connection ||= Faraday.new(url) do |conn|
65
65
  conn.request :json
66
66
 
67
- conn.response :dates
68
67
  conn.response :json, content_type: "application/json"
69
68
 
70
69
  conn.adapter adapter, @stubs
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Paddle
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
data/lib/paddle.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "faraday"
4
- require "faraday_middleware"
5
4
 
6
5
  require_relative "paddle/version"
7
6
 
data/paddlerb.gemspec CHANGED
@@ -28,6 +28,5 @@ Gem::Specification.new do |spec|
28
28
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
29
29
  spec.require_paths = ["lib"]
30
30
 
31
- spec.add_dependency "faraday", "~> 1.7"
32
- spec.add_dependency "faraday_middleware", "~> 1.1"
31
+ spec.add_dependency "faraday", "~> 2.0"
33
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paddlerb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dean Perry
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-18 00:00:00.000000000 Z
11
+ date: 2022-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -16,28 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.7'
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.7'
27
- - !ruby/object:Gem::Dependency
28
- name: faraday_middleware
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.1'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.1'
26
+ version: '2.0'
41
27
  description:
42
28
  email:
43
29
  - dean@deanpcmad.com