mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
[bug] unable to run rake fablab🇪🇸* tasks due to an issue with gem faraday 0.16.x
Gem faraday was updated to 0.17 to solve the issue
This commit is contained in:
parent
b39f7e0752
commit
4300f29ad7
@ -19,6 +19,7 @@
|
|||||||
- Fix a bug: missing asterisks on some required fields in profile_complete form
|
- Fix a bug: missing asterisks on some required fields in profile_complete form
|
||||||
- Fix a bug: public calendar won't show anything if the current date range include a reserved space availability (#151)
|
- Fix a bug: public calendar won't show anything if the current date range include a reserved space availability (#151)
|
||||||
- Fix a bug: invoices list is not shown by default in "manage invoices" section
|
- Fix a bug: invoices list is not shown by default in "manage invoices" section
|
||||||
|
- Fix a bug: unable to run rake fablab:es:* tasks due to an issue with gem faraday 0.16.x (was updated to 0.17)
|
||||||
- Fix a security issue: fixed [CVE-2015-9284](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-9284)
|
- Fix a security issue: fixed [CVE-2015-9284](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-9284)
|
||||||
- [TODO DEPLOY] **IMPORTANT** Please read [postgres_upgrade.md](doc/postgres_upgrade.md) for instructions on upgrading PostgreSQL.
|
- [TODO DEPLOY] **IMPORTANT** Please read [postgres_upgrade.md](doc/postgres_upgrade.md) for instructions on upgrading PostgreSQL.
|
||||||
- [TODO DEPLOY] `rake db:migrate`
|
- [TODO DEPLOY] `rake db:migrate`
|
||||||
|
@ -159,7 +159,7 @@ GEM
|
|||||||
execjs (2.7.0)
|
execjs (2.7.0)
|
||||||
faker (1.4.3)
|
faker (1.4.3)
|
||||||
i18n (~> 0.5)
|
i18n (~> 0.5)
|
||||||
faraday (0.16.2)
|
faraday (0.17)
|
||||||
multipart-post (>= 1.2, < 3)
|
multipart-post (>= 1.2, < 3)
|
||||||
ffi (1.9.24)
|
ffi (1.9.24)
|
||||||
figaro (1.1.0)
|
figaro (1.1.0)
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
if Rails.env.test?
|
# frozen_string_literal: true
|
||||||
client = Elasticsearch::Client.new host: "http://#{Rails.application.secrets.elaticsearch_host}:9200", log: false
|
|
||||||
else
|
client = if Rails.env.test?
|
||||||
client = Elasticsearch::Client.new host: "http://#{Rails.application.secrets.elaticsearch_host}:9200", log: true
|
Elasticsearch::Client.new host: "http://#{Rails.application.secrets.elaticsearch_host}:9200", log: false
|
||||||
end
|
else
|
||||||
|
Elasticsearch::Client.new host: "http://#{Rails.application.secrets.elaticsearch_host}:9200", log: true
|
||||||
|
end
|
||||||
|
|
||||||
Elasticsearch::Model.client = client
|
Elasticsearch::Model.client = client
|
||||||
Elasticsearch::Persistence.client = client
|
Elasticsearch::Persistence.client = client
|
||||||
|
@ -163,7 +163,6 @@ namespace :fablab do
|
|||||||
StatisticService.new.generate_statistic(start_date: i.day.ago.beginning_of_day, end_date: i.day.ago.end_of_day)
|
StatisticService.new.generate_statistic(start_date: i.day.ago.beginning_of_day, end_date: i.day.ago.end_of_day)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user