loft-harmony 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/harmony +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b59f794f96343c5946c2bf89dcc4bf129b7a509
|
4
|
+
data.tar.gz: 72f88b60df4c3fb163d03f746e566398ff1d0666
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e482c395834bc9b90bee95949307297661b9b07626d35ee13c6a4449662d6c6f3c681590a7069dce14b58100c1e49928a3e661e5d1b896e8a97b125e61fc62a
|
7
|
+
data.tar.gz: b2c8bad68f3175f98e6d25eea157e2cf0b13d90897a43f5137754fe27ec39b5a637e13a7bf4eb796a23fefc2d8efe39bca8aea2aee3e29845c4eb9f4cfe5b5ce
|
data/bin/harmony
CHANGED
@@ -17,6 +17,7 @@ class Harmony < TerminalRunner
|
|
17
17
|
option "--coffee", 1, "target", "Automatically compile saved coffeescript files to the given directory."
|
18
18
|
option "--eco", 2, "target identifier", "Automatically compile saved eco files to the given directory."
|
19
19
|
option "--auto", 0, "", "Start up auto mode automatically."
|
20
|
+
option "--passive", 0, "", "Use FTP in passive mode."
|
20
21
|
|
21
22
|
help ""
|
22
23
|
|
@@ -36,6 +37,7 @@ class Harmony < TerminalRunner
|
|
36
37
|
@remote_path = @@options.include?("--remote") ? @@options["--remote"][0] : ""
|
37
38
|
@timeout = @@options.include?("--timeout") ? @@options["--timeout"][0].to_i : 2
|
38
39
|
@compile_coffeescript = @@options.include?("--coffee") ? @@options["--coffee"][0] : nil
|
40
|
+
@passive_mode = @@options.include?("--passive")
|
39
41
|
@ignored = []
|
40
42
|
|
41
43
|
@compile_eco = nil
|
@@ -236,6 +238,7 @@ class Harmony < TerminalRunner
|
|
236
238
|
if @ftp.nil? || @ftp.closed?
|
237
239
|
puts " ## Connection opening".red
|
238
240
|
@ftp = BetterFTP.new(@server, @user, @password)
|
241
|
+
@ftp.passive = @passive_mode
|
239
242
|
end
|
240
243
|
end
|
241
244
|
true
|