theme-juice 0.28.5 → 0.28.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/theme-juice/tasks/list.rb +1 -1
- data/lib/theme-juice/tasks/stage.rb +5 -5
- data/lib/theme-juice/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04e334373be73040dcd133bbeaf4bb69871ac92b
|
4
|
+
data.tar.gz: e2dc0e590b06c3c3033e3ceee027584d7aca4b0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 743c47d3fa8f65282122791619f8ddea6431ea056ef05463fceb1a4d00169e683b7893a812ef47c65fbfabc65908e67db164b9f4170d2343b721a51ad9873521
|
7
|
+
data.tar.gz: 3bc2451d456d708a899e454c6f326ea4f939235a860565cfd9c7d7d1f8e6d1bdbb6b36efa65179566375a5b3634dedd6cea706627340a6e1421867af8897e8fb
|
@@ -8,7 +8,7 @@ module ThemeJuice
|
|
8
8
|
def initialize
|
9
9
|
super
|
10
10
|
|
11
|
-
@stage = @config.deployment.stages.send(@env.stage)
|
11
|
+
@stage = @config.deployment.stages.send(@env.stage).symbolize_keys
|
12
12
|
end
|
13
13
|
|
14
14
|
def execute
|
@@ -28,11 +28,11 @@ module ThemeJuice
|
|
28
28
|
set :deploy_to, -> { @stage.path }
|
29
29
|
set :stage_url, -> { @stage.url }
|
30
30
|
set :uploads_dir, -> { @stage.uploads }
|
31
|
-
set :shared_files, -> { @stage.shared.select { |f| !f.end_with? "/" } }
|
32
|
-
set :shared_dirs, -> { @stage.shared.select { |f| f.end_with? "/" }.map { |f| f.chomp "/" } }
|
33
|
-
set :tmp_dir, -> { @stage.tmp }
|
31
|
+
set :shared_files, -> { @stage.fetch(:shared, []).select { |f| !f.end_with? "/" } }
|
32
|
+
set :shared_dirs, -> { @stage.fetch(:shared, []).select { |f| f.end_with? "/" }.map { |f| f.chomp "/" } }
|
33
|
+
set :tmp_dir, -> { @stage.fetch(:tmp, "/tmp") }
|
34
34
|
set :stage, -> { @env.stage }
|
35
|
-
set :rsync_ignore, -> { @stage.
|
35
|
+
set :rsync_ignore, -> { @stage.fetch(:ignore, []) }
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
data/lib/theme-juice/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: theme-juice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.28.
|
4
|
+
version: 0.28.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ezekiel Gabrielse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|