stekker_zaptec 1.0.1 → 1.1.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
  SHA256:
3
- metadata.gz: 1cdb9b4535827b0db36d1ad90cf5de024e3dd501cf5c9ee122ca65f588f80a23
4
- data.tar.gz: 9767780755997f13186fc90494a0077e325419061d9e82409b55922aa2914a96
3
+ metadata.gz: 5426f9c98b9c016ff4da28c90681007c8f7f546771e6864bde37ca9d21d9c711
4
+ data.tar.gz: 2d58826df23e7efbf77d8b733b712522a1f662bd4edf527ad7535fe8f51a950a
5
5
  SHA512:
6
- metadata.gz: d49d9b6eb31cc4a7a3ab60783ab1aceb80561ef58a70fdc732de4998a0fdfd0fd172db90d166523293f78c5547baf184dc7b94efe525ba4f5f6885fc06181492
7
- data.tar.gz: 59a6a81dddcbb0beba039c6f8bef5e2668180c0cea753b83c5d0c5cc24cbaa023ed06742768ff53a383b257b169a5c2317d720a0c656fe3595bba720a43bd9cd
6
+ metadata.gz: 8dfddc5e97ce40fcf5536992b11d5a960ed86f73e5653c2d9566d9c07c4b8f58f40ba0cb155c0853d5a7c603a40a4b14876675e3903dc685d2bbef792e99e954
7
+ data.tar.gz: 32c6e69f3538f71e78425482e54adbc8bba87d3d661dce43bb56bc591a30c707723137c9929da56883b95d6ef7544fa1221aeeb6c5a395b93f9eef05214b8437
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stekker_zaptec (1.0.1)
4
+ stekker_zaptec (1.1.0)
5
5
  activemodel
6
6
  activesupport
7
7
  faraday
data/README.md CHANGED
@@ -24,17 +24,17 @@ goals.
24
24
 
25
25
  Add this line to your application's Gemfile:
26
26
 
27
- gem "zaptec"
27
+ ```ruby
28
+ gem "stekker_zaptec"
28
29
  ```
29
30
 
30
- ```ruby
31
31
  And then execute:
32
32
 
33
33
  $ bundle install
34
34
 
35
35
  Or install it yourself as:
36
36
 
37
- $ gem install zaptec
37
+ $ gem install stekker_zaptec
38
38
 
39
39
  ## Usage
40
40
 
@@ -45,10 +45,10 @@ $ bin/console
45
45
  ```
46
46
 
47
47
  ```ruby
48
- require "zaptec"
48
+ require "stekker_zaptec"
49
49
 
50
50
  client = Zaptec::Client.new
51
- client.login("username@example.com", "password")
51
+ client.authorize(username: "username@example.com", password: "password")
52
52
  # #<Zaptec::Credentials:0x000000011c35d708
53
53
 
54
54
  # Get a list of chargers
data/bin/console CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require "bundler/setup"
3
- require "zaptec"
3
+ require "stekker_zaptec"
4
4
 
5
5
  # You can add fixtures and/or initialization code here to make experimenting
6
6
  # with your gem easier. You can also use a different console, if you like.
File without changes
@@ -1,3 +1,3 @@
1
1
  module Zaptec
2
- VERSION = "1.0.1".freeze
2
+ VERSION = "1.1.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stekker_zaptec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Stekker
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-06 00:00:00.000000000 Z
11
+ date: 2023-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -89,7 +89,7 @@ files:
89
89
  - bin/console
90
90
  - bin/setup
91
91
  - data/constants.json
92
- - lib/zaptec.rb
92
+ - lib/stekker_zaptec.rb
93
93
  - lib/zaptec/charger.rb
94
94
  - lib/zaptec/client.rb
95
95
  - lib/zaptec/constants.rb