- Remove old GR dependencies
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM ruby:2.7
|
||||
|
||||
ENV BUILD_PACKAGES="apt-utils build-essential curl less nodejs sudo wget zsh libmariadb-dev libserialport-dev cron gr"
|
||||
ENV BUILD_PACKAGES="apt-utils build-essential curl less nodejs sudo wget zsh libmariadb-dev libserialport-dev cron"
|
||||
|
||||
# throw errors if Gemfile has been modified since Gemfile.lock
|
||||
RUN \
|
||||
|
||||
3
Gemfile
3
Gemfile
@@ -8,9 +8,6 @@ gem 'rufus-scheduler'
|
||||
gem 'daemons'
|
||||
gem 'mail'
|
||||
gem 'nokogiri'
|
||||
gem 'ruby-gr'
|
||||
gem 'gr-plot'
|
||||
gem 'histogram'
|
||||
gem 'numo-narray'
|
||||
gem 'i18n'
|
||||
gem 'gruff'
|
||||
|
||||
@@ -146,7 +146,7 @@ class Cost
|
||||
end
|
||||
g.labels = hours
|
||||
g.data :costs, costs
|
||||
g.write("plots/easy_tariff_%s.png" % date.strftime("%F"))
|
||||
g.write("plots/easy_cost_%s.png" % date.strftime("%F"))
|
||||
|
||||
# return the sum cost
|
||||
costs.sum
|
||||
|
||||
Reference in New Issue
Block a user