caravan 0.6.1 → 0.6.2
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/caravan.gemspec +1 -1
- data/lib/caravan/config.rb +3 -2
- data/lib/caravan/version.rb +1 -1
- metadata +2 -3
- data/assets/civ-5-caravan.png +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2cb58e3b687de82078f8648801e4e601c43f5697
|
|
4
|
+
data.tar.gz: 196ee1ea409f031f64fa91dc56ecc6e03014aa15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: feebfb9d0d2a2fa2ac2a826b8475f38197ffa34ca0aa5c282acc3338ff7d3a34dc27fa3347fd3783d0e4b4da011f3b8c4d9c7e9da73c6fbeaeb2700d8fe0eb7a
|
|
7
|
+
data.tar.gz: 527d1d49aa71bafeb85f4ef5f5709f55abd682b02d69437e1957eb4a0cbaee1c87ade0ba4f564028983ee9fd5157e7c008d790d5876a04eccee7f9da46bb4b38
|
data/caravan.gemspec
CHANGED
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
18
|
-
f.match(%r{^(test|spec|features)/})
|
|
18
|
+
f.match(%r{^(test|spec|features|assets)/})
|
|
19
19
|
end
|
|
20
20
|
spec.bindir = "exe"
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
data/lib/caravan/config.rb
CHANGED
|
@@ -4,7 +4,7 @@ module Caravan
|
|
|
4
4
|
class Config < Hash
|
|
5
5
|
DEFAULT_CONFIG = {
|
|
6
6
|
"debug" => false,
|
|
7
|
-
"deploy_mode" => "
|
|
7
|
+
"deploy_mode" => "rsync",
|
|
8
8
|
"incremental" => true,
|
|
9
9
|
"exclude" => %w(
|
|
10
10
|
.git .svn
|
|
@@ -36,7 +36,8 @@ module Caravan
|
|
|
36
36
|
def dump(user_config_path, user_config)
|
|
37
37
|
File.open(user_config_path, "w") do |f|
|
|
38
38
|
f.write("# Generated Caravan's configuration file.\n")
|
|
39
|
-
f.write("# Use `caravan --help`
|
|
39
|
+
f.write("# Use `caravan --help` for instructions on all the configuration values.\n")
|
|
40
|
+
f.write("# Add `src` and `dst` to specify the source and destination.\n")
|
|
40
41
|
f.write(user_config.to_yaml)
|
|
41
42
|
end
|
|
42
43
|
end
|
data/lib/caravan/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: caravan
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Zhang
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-03-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: listen
|
|
@@ -126,7 +126,6 @@ files:
|
|
|
126
126
|
- README.md
|
|
127
127
|
- Rakefile
|
|
128
128
|
- _config.yml
|
|
129
|
-
- assets/civ-5-caravan.png
|
|
130
129
|
- caravan.gemspec
|
|
131
130
|
- exe/caravan
|
|
132
131
|
- lib/caravan.rb
|
data/assets/civ-5-caravan.png
DELETED
|
Binary file
|