stekker_zaptec 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/ruby.yml +23 -0
- data/.gitignore +54 -0
- data/.rspec +1 -0
- data/.rubocop.yml +383 -0
- data/.ruby-version +1 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +146 -0
- data/README.md +67 -0
- data/Rakefile +10 -0
- data/StekkerWeb/gems/zaptec/.gitignore +11 -0
- data/StekkerWeb/gems/zaptec/.rspec +3 -0
- data/StekkerWeb/gems/zaptec/.rubocop.yml +1 -0
- data/StekkerWeb/gems/zaptec/.ruby-version +1 -0
- data/bin/console +16 -0
- data/bin/setup +8 -0
- data/data/constants.json +1292 -0
- data/lib/zaptec/charger.rb +38 -0
- data/lib/zaptec/client.rb +111 -0
- data/lib/zaptec/constants.rb +57 -0
- data/lib/zaptec/credentials.rb +14 -0
- data/lib/zaptec/errors.rb +9 -0
- data/lib/zaptec/meter_reading.rb +10 -0
- data/lib/zaptec/state.rb +32 -0
- data/lib/zaptec/version.rb +3 -0
- data/lib/zaptec.rb +18 -0
- data/zaptec.gemspec +36 -0
- metadata +156 -0
@@ -0,0 +1 @@
|
|
1
|
+
../../.rubocop.yml
|
@@ -0,0 +1 @@
|
|
1
|
+
../../.ruby-version
|
data/bin/console
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require "bundler/setup"
|
3
|
+
require "zaptec"
|
4
|
+
|
5
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
6
|
+
# with your gem easier. You can also use a different console, if you like.
|
7
|
+
|
8
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
9
|
+
# require "pry"
|
10
|
+
# Pry.start
|
11
|
+
|
12
|
+
require "irb"
|
13
|
+
|
14
|
+
Time.zone_default = Time.find_zone!("UTC")
|
15
|
+
|
16
|
+
IRB.start(__FILE__)
|