- Remove old GR dependencies
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
FROM ruby:2.7
|
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
|
# throw errors if Gemfile has been modified since Gemfile.lock
|
||||||
RUN \
|
RUN \
|
||||||
|
|||||||
3
Gemfile
3
Gemfile
@@ -8,9 +8,6 @@ gem 'rufus-scheduler'
|
|||||||
gem 'daemons'
|
gem 'daemons'
|
||||||
gem 'mail'
|
gem 'mail'
|
||||||
gem 'nokogiri'
|
gem 'nokogiri'
|
||||||
gem 'ruby-gr'
|
|
||||||
gem 'gr-plot'
|
|
||||||
gem 'histogram'
|
|
||||||
gem 'numo-narray'
|
gem 'numo-narray'
|
||||||
gem 'i18n'
|
gem 'i18n'
|
||||||
gem 'gruff'
|
gem 'gruff'
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ class Cost
|
|||||||
end
|
end
|
||||||
g.labels = hours
|
g.labels = hours
|
||||||
g.data :costs, costs
|
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
|
# return the sum cost
|
||||||
costs.sum
|
costs.sum
|
||||||
|
|||||||
Reference in New Issue
Block a user