cartage 1.1 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/History.rdoc +6 -0
- data/lib/cartage.rb +5 -3
- 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: 99332cf5cb65d7eb8d988bc108291b5288baada2
|
|
4
|
+
data.tar.gz: 57d806536f14221e8f14bff191e29e0488afd424
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f3443bcedfba9b6701b05e58bd1d10a91dae15b13bca04da0d2317e3f75a75955b5550cd24ff52025111c4ba9a07592e8b6a6c76d70b76aabe80fdbdc769a1b
|
|
7
|
+
data.tar.gz: 43e8e01befc62e066107f2371369724df69cfd44418d84b014ee69768b784090aa78d72f558876fd6e8958151ee68f41d770cacbe2872433e21719cdc7db59ce
|
data/History.rdoc
CHANGED
data/lib/cartage.rb
CHANGED
|
@@ -2,7 +2,7 @@ require 'pathname'
|
|
|
2
2
|
|
|
3
3
|
# Cartage, a package builder.
|
|
4
4
|
class Cartage
|
|
5
|
-
VERSION = '1.1' #:nodoc:
|
|
5
|
+
VERSION = '1.1.1' #:nodoc:
|
|
6
6
|
|
|
7
7
|
# Plug-in commands that want to return a specific exit code should use
|
|
8
8
|
# Cartage::StatusError to wrap the error.
|
|
@@ -513,10 +513,12 @@ configuration file.
|
|
|
513
513
|
end
|
|
514
514
|
end
|
|
515
515
|
|
|
516
|
-
def show_message_for(exception, for_cartage:)
|
|
516
|
+
def show_message_for(exception, for_cartage: nil)
|
|
517
517
|
unless exception.kind_of?(Cartage::QuietError)
|
|
518
518
|
$stderr.puts "Error:\n " + exception.message
|
|
519
|
-
|
|
519
|
+
if for_cartage && for_cartage.verbose
|
|
520
|
+
$stderr.puts exception.backtrace.join("\n")
|
|
521
|
+
end
|
|
520
522
|
end
|
|
521
523
|
end
|
|
522
524
|
end
|