capistrano-precompile-chooser 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -2
- data/lib/capistrano/precompile_chooser.rb +6 -6
- data/lib/capistrano/precompile_chooser/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0879872757f63852889fbbb4979b116a54a0b01052a7790a28b8fb0bc3fe788c'
|
4
|
+
data.tar.gz: 0c512f8404274f1cc5d772b95c20b43cf41b42dae9e3317a4bd15eec83e6831c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e38d833ff3e4603da9fbf0110f9f3a93212bfdcee6dc16d02f5ce9f451499884ddb5f302360cb09442fc83170319ecc69710cf407587496ab0ccbe6b128756df
|
7
|
+
data.tar.gz: 11a46d9a13375e09f3d78747b4f35e63e1de824fe8afbf4f9bcb2050ea2ec70a6d0660c630f684fb7f0dd4e1ab68f194248cc66060220af35a4bb5e214b6a51e
|
data/CHANGELOG.md
CHANGED
@@ -2,9 +2,12 @@ CHANGELOG
|
|
2
2
|
---------
|
3
3
|
|
4
4
|
- Unreleased
|
5
|
-
* Nothing
|
5
|
+
* Nothing Yet
|
6
6
|
|
7
|
-
- **0.9.
|
7
|
+
- **0.9.2** - October 9, 2020
|
8
|
+
* Fix where ENV['PRECOMPILE_MODE'] was not working
|
9
|
+
|
10
|
+
- **0.9.1** - August 19, 2020
|
8
11
|
* Refractor plugin into `Capistrano::Plugin` format
|
9
12
|
|
10
13
|
- **0.9.0** - August 19, 2020
|
@@ -40,17 +40,17 @@ module Capistrano
|
|
40
40
|
|
41
41
|
def precompile_mode
|
42
42
|
@precompile_mode ||= begin
|
43
|
-
|
44
|
-
|
45
|
-
|
43
|
+
val = ENV['PRECOMPILE_MODE']
|
44
|
+
|
45
|
+
if val
|
46
|
+
if !valid_mode?(val)
|
47
|
+
raise "Invalid Precompile Mode: '#{val}' set by ENV['PRECOMPILE_MODE']"
|
46
48
|
end
|
47
49
|
else
|
48
|
-
val = nil
|
49
|
-
|
50
50
|
until valid_mode?(val)
|
51
|
-
puts
|
52
51
|
puts "How do you want to compile assets? (#{PRECOMPILE_MODES.join('/')})"
|
53
52
|
val = STDIN.gets.strip.downcase
|
53
|
+
puts
|
54
54
|
end
|
55
55
|
|
56
56
|
puts
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-precompile-chooser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Weston Ganger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|