juggy-theone-sdk 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da7f42a21a902e51b523d1d4af3b57db4cef3ca2d22dfd99b9d0c93f629d7300
4
- data.tar.gz: ca2acfec738fefe0118e4f5167402679189178988a8f1445d7d384662d31bd49
3
+ metadata.gz: 0b55d5f635db940582221190784288c287df85dc28a0fe5a9de9fd0af6193052
4
+ data.tar.gz: f41c6a27b6b54c7a066ec549cbe93492da33840af7b994822a2045ec6641ba74
5
5
  SHA512:
6
- metadata.gz: f9d1e5ba53c45fa6998310d9d10e674f10683216b5956063c1e7505925069faa51a06c8f18838d0d3d6b089b933168b2f880322e464b812858d7ea06f6286388
7
- data.tar.gz: 3f0231c9f9cffde3c03c7d7883855b9137a0b93e18f473c19c49c3dfb594ceb01a83e02ee002e12ebafbe60ded2d20fc05f987bde82de505303366f1947309d6
6
+ metadata.gz: ddecd507757a5597d45882d7c9e59051e5c39eecd44d25b8ee846352015afac6c71c078b20a3ac0131535ac24da10cc2ab0cd88a09e1268a6b5f5b7acc229644
7
+ data.tar.gz: 440021e8c327a9b74545fd75ec178581aaf5bd5608a181879fb5d3f3721738378c8ea6a78c334c909366715e20122179121c19a8ad73727a7a5fe4354e6ab5f2
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 2.7.6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- juggy-theone-sdk (0.1.0)
4
+ juggy-theone-sdk (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -55,7 +55,10 @@ GEM
55
55
  hashdiff (>= 0.4.0, < 2.0.0)
56
56
 
57
57
  PLATFORMS
58
+ ruby
58
59
  x86_64-darwin-21
60
+ x86_64-darwin-22
61
+ x86_64-linux
59
62
 
60
63
  DEPENDENCIES
61
64
  juggy-theone-sdk!
@@ -65,4 +68,4 @@ DEPENDENCIES
65
68
  webmock (~> 3.18)
66
69
 
67
70
  BUNDLED WITH
68
- 2.3.24
71
+ 2.4.8
data/lib/theone/client.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "net/http"
4
- require "JSON"
4
+ require "json"
5
5
 
6
6
  module Theone
7
7
  # HTTP client to connect to the One API
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Theone
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/lib/theone.rb CHANGED
@@ -10,8 +10,8 @@ module Theone
10
10
  class Sdk
11
11
  attr_reader :client
12
12
 
13
- def initialize(options)
14
- @client = Client.new(options)
13
+ def initialize(**options)
14
+ @client = Client.new(**options)
15
15
  end
16
16
 
17
17
  def movies
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: juggy-theone-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Guimont
@@ -19,6 +19,7 @@ extra_rdoc_files: []
19
19
  files:
20
20
  - ".rspec"
21
21
  - ".rubocop.yml"
22
+ - ".tool-versions"
22
23
  - Gemfile
23
24
  - Gemfile.lock
24
25
  - LICENSE.txt
@@ -26,9 +27,7 @@ files:
26
27
  - Rakefile
27
28
  - design.md
28
29
  - juggy-theone-sdk.gemspec
29
- - lib/.DS_Store
30
30
  - lib/theone.rb
31
- - lib/theone/.DS_Store
32
31
  - lib/theone/base.rb
33
32
  - lib/theone/client.rb
34
33
  - lib/theone/movie.rb
data/lib/.DS_Store DELETED
Binary file
data/lib/theone/.DS_Store DELETED
Binary file