decko 0.4.0 → 0.4.1
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 +15 -7
- 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: 99a4594d5caeb6cbbea5f6b64601e0abcb2e35b7
|
4
|
+
data.tar.gz: 76056b34c7e3787097a0275a93db7da4c7c1dca9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6299cfb3551012410c3a63ceb5832b72a1776294706b48ff6222d7f3c75a39b6f45d99a94f59569b9857c5a59d56f600adfd703dcd6235faa475469b0b33ab44
|
7
|
+
data.tar.gz: 9fa9e18c025a73b5aafd535f8f94bbd0b1d2df690eaba6dff843f10a309a64a066e244189ef8a2f0f7c824df71629cb62b672cd93be98fa3eb5def5b02d07a41
|
data/lib/decko/tasks/decko.rake
CHANGED
@@ -69,17 +69,25 @@ decko_namespace = namespace :decko do
|
|
69
69
|
decko_namespace["update_assets_symlink"].invoke
|
70
70
|
end
|
71
71
|
|
72
|
+
desc "reset with an empty tmp directory"
|
73
|
+
task :reset_tmp do
|
74
|
+
tmp_dir = Decko.paths["tmp"].first
|
75
|
+
if Decko.paths["tmp"].existent
|
76
|
+
Dir.foreach(tmp_dir) do |filename|
|
77
|
+
next if filename.starts_with? "."
|
78
|
+
FileUtils.rm_rf File.join(tmp_dir, filename), secure: true
|
79
|
+
end
|
80
|
+
else
|
81
|
+
Dir.mkdir tmp_dir
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
72
85
|
desc "update decko gems and database"
|
73
86
|
task :update do
|
74
87
|
ENV["NO_RAILS_CACHE"] = "true"
|
75
|
-
# system 'bundle update'
|
76
|
-
if Decko.paths["tmp"].existent
|
77
|
-
FileUtils.rm_rf Decko.paths["tmp"].first, secure: true
|
78
|
-
end
|
79
|
-
Dir.mkdir Decko.paths["tmp"].first
|
80
88
|
decko_namespace["migrate"].invoke
|
81
|
-
|
82
|
-
|
89
|
+
decko_namespace["reset_tmp"].invoke
|
90
|
+
Card::Cache.reset_all
|
83
91
|
decko_namespace["update_assets_symlink"].invoke
|
84
92
|
end
|
85
93
|
|
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.4.
|
4
|
+
version: 0.4.1
|
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-03-
|
14
|
+
date: 2018-03-23 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -33,14 +33,14 @@ dependencies:
|
|
33
33
|
requirements:
|
34
34
|
- - '='
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 1.94.
|
36
|
+
version: 1.94.1
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - '='
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 1.94.
|
43
|
+
version: 1.94.1
|
44
44
|
description: a wiki approach to stuctured data, dynamic interaction, and web design
|
45
45
|
email:
|
46
46
|
- info@decko.org
|