decko 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/decko/tasks/decko.rake +19 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6d4b5cc0477c68446976ca04a09700a6b4660cf
|
4
|
+
data.tar.gz: a97b8e3f1cca8cec30ea112bc57ec7a3aacdaa28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b28f42af4aba65c07171a69064b8627c253b0a569f31ac30774986c800cf9972fbdededfa0ce88788c746c9026a958cffc74a28bfcf99669c28f213a75d06cf
|
7
|
+
data.tar.gz: de20f2db80df6223c6efe1c313a7305b81ecb2ca2e8f6cef6b5bc4465203ceadf0e19909d06d2066e61571aa9b7ee6cf15b1fb0a2348242d70d2dc7405db83a2
|
data/lib/decko/tasks/decko.rake
CHANGED
@@ -14,7 +14,9 @@ link_task CARD_TASKS, from: :decko, to: :card
|
|
14
14
|
decko_namespace = namespace :decko do
|
15
15
|
desc "create a decko database from scratch, load initial data"
|
16
16
|
task :seed do
|
17
|
-
seed
|
17
|
+
failing_loudly "decko seed" do
|
18
|
+
seed
|
19
|
+
end
|
18
20
|
end
|
19
21
|
|
20
22
|
desc "create a decko database from scratch, load initial data, don't reset the cache"
|
@@ -87,11 +89,13 @@ decko_namespace = namespace :decko do
|
|
87
89
|
|
88
90
|
desc "update decko gems and database"
|
89
91
|
task :update do
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
92
|
+
failing_loudly "decko update" do
|
93
|
+
ENV["NO_RAILS_CACHE"] = "true"
|
94
|
+
decko_namespace["migrate"].invoke
|
95
|
+
decko_namespace["reset_tmp"].invoke
|
96
|
+
Card::Cache.reset_all
|
97
|
+
decko_namespace["update_assets_symlink"].invoke
|
98
|
+
end
|
95
99
|
end
|
96
100
|
|
97
101
|
desc "set symlink for assets"
|
@@ -175,6 +179,15 @@ decko_namespace = namespace :decko do
|
|
175
179
|
end
|
176
180
|
end
|
177
181
|
|
182
|
+
def failing_loudly task
|
183
|
+
yield
|
184
|
+
rescue
|
185
|
+
# TODO: fix this so that message appears *after* the errors.
|
186
|
+
# Solution should ensure that rake still exits with error code 1!
|
187
|
+
raise "\n>>>>>> FAILURE! #{task} did not complete successfully." \
|
188
|
+
"\n>>>>>> Please address errors and re-run:\n\n\n"
|
189
|
+
end
|
190
|
+
|
178
191
|
def version
|
179
192
|
ENV["VERSION"] ? ENV["VERSION"].to_i : nil
|
180
193
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decko
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-11-
|
14
|
+
date: 2018-11-25 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: card
|
@@ -19,14 +19,14 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.96.
|
22
|
+
version: 1.96.5
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.96.
|
29
|
+
version: 1.96.5
|
30
30
|
description: a wiki approach to stuctured data, dynamic interaction, and web design
|
31
31
|
email:
|
32
32
|
- info@decko.org
|