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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be1933acbb7586aa59fe92a8ffe27dc748ccb800113ff45a236d299e9be246aa
4
- data.tar.gz: 4f659770779050b4cafefd3e4cd63549d3d64f27f24b673363ee57de5c966f8e
3
+ metadata.gz: '0879872757f63852889fbbb4979b116a54a0b01052a7790a28b8fb0bc3fe788c'
4
+ data.tar.gz: 0c512f8404274f1cc5d772b95c20b43cf41b42dae9e3317a4bd15eec83e6831c
5
5
  SHA512:
6
- metadata.gz: 18016eb1d4d5cd04b476b722118cef5dc14793ccf7e76035fa9d5ae0890e13b9c8a6d260c30ecf9dc3871d2fb85f655baabfda62463ca1d85ce3c578e5a3a4e8
7
- data.tar.gz: c58aafd79591034e3a17f545c763b8c28450ffe81ca2ce66024a13dce6b993c330ef2619c5948f537ba417a1d5e18ad2a3d507c8e3c3e15e31df99875a0e8476
6
+ metadata.gz: e38d833ff3e4603da9fbf0110f9f3a93212bfdcee6dc16d02f5ce9f451499884ddb5f302360cb09442fc83170319ecc69710cf407587496ab0ccbe6b128756df
7
+ data.tar.gz: 11a46d9a13375e09f3d78747b4f35e63e1de824fe8afbf4f9bcb2050ea2ec70a6d0660c630f684fb7f0dd4e1ab68f194248cc66060220af35a4bb5e214b6a51e
@@ -2,9 +2,12 @@ CHANGELOG
2
2
  ---------
3
3
 
4
4
  - Unreleased
5
- * Nothing yet
5
+ * Nothing Yet
6
6
 
7
- - **0.9.0** - August 19, 2020
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
- if ENV['PRECOMPILE_MODE']
44
- if !valid_mode?(ENV['PRECOMPILE_MODE'])
45
- raise "Invalid Precompile Mode"
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
@@ -2,6 +2,6 @@ require "capistrano/plugin"
2
2
 
3
3
  module Capistrano
4
4
  class PrecompileChooser < Capistrano::Plugin
5
- VERSION = "0.9.1"
5
+ VERSION = "0.9.2"
6
6
  end
7
7
  end
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.1
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-08-21 00:00:00.000000000 Z
11
+ date: 2020-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano