gouda 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/gouda/railtie.rb +9 -1
- data/lib/gouda/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a8d5d39b730d429fe834fc88ecfe67e3a1bad397022715f6f52a1aa5e050df8b
|
|
4
|
+
data.tar.gz: b6cb85e539a387f75e3e84ffe756d54a991755dbd3c4335d67b476d70770eb97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 919a70fddf01f87880289e977b853aad5b01470e4f9b46ef1e8c5867ee50c4751f1ccd6ddc05146c40af83f8c82106d980feb93e022c4871114d7bb01361cee5
|
|
7
|
+
data.tar.gz: 466fb4a016ff74b481b936445ea66ed85981520147831b4cb11ec08446b7e7f7962974041f153448248558190ff0b0afb427b37e21af8b915337885ceb37f250
|
data/CHANGELOG.md
CHANGED
data/lib/gouda/railtie.rb
CHANGED
|
@@ -52,7 +52,15 @@ module Gouda
|
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
Gouda::Scheduler.build_scheduler_entries_list!
|
|
55
|
-
|
|
55
|
+
begin
|
|
56
|
+
Gouda::Scheduler.upsert_workloads_from_entries_list!
|
|
57
|
+
rescue ActiveRecord::NoDatabaseError
|
|
58
|
+
# Do nothing. On a freshly checked-out Rails app, running even unrelated Rails tasks
|
|
59
|
+
# (such as asset compilation) - or, more importantly, initial db:create -
|
|
60
|
+
# will cause a NoDatabaseError, as this is a chicken-and-egg problem. That error
|
|
61
|
+
# is safe to ignore in this instance - we should let the outer task proceed,
|
|
62
|
+
# because if there is no database we should allow it to get created.
|
|
63
|
+
end
|
|
56
64
|
end
|
|
57
65
|
end
|
|
58
66
|
end
|
data/lib/gouda/version.rb
CHANGED