middleman-deploy 0.0.1 → 0.0.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.
- data/README.md +2 -2
- data/lib/middleman-deploy/commands.rb +2 -2
- data/lib/middleman-deploy/pkg-info.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -51,9 +51,9 @@ To use a particular SSH port, add:
|
|
51
51
|
|
52
52
|
Default is `22`.
|
53
53
|
|
54
|
-
To
|
54
|
+
To remove orphaned files or directories on the remote host, add:
|
55
55
|
|
56
|
-
deploy.
|
56
|
+
deploy.clean = true
|
57
57
|
|
58
58
|
Default is `false`.
|
59
59
|
|
@@ -33,7 +33,7 @@ module Middleman
|
|
33
33
|
|
34
34
|
# These only exists when the config.rb sets them!
|
35
35
|
if (!host || !user || !path)
|
36
|
-
raise Thor::Error.new "You need to activate the deploy extension in config.rb
|
36
|
+
raise Thor::Error.new "You need to activate the deploy extension in config.rb"
|
37
37
|
end
|
38
38
|
|
39
39
|
command = "rsync -avze '" + "ssh -p #{port}" + "' build/ #{user}@#{host}:#{path}"
|
@@ -45,7 +45,7 @@ module Middleman
|
|
45
45
|
end
|
46
46
|
|
47
47
|
if clean
|
48
|
-
command += "--delete"
|
48
|
+
command += " --delete"
|
49
49
|
end
|
50
50
|
|
51
51
|
run command
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-08-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: middleman-core
|
16
|
-
requirement: &
|
16
|
+
requirement: &9788140 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 3.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *9788140
|
25
25
|
description: Deploy a middleman built site over rsync.
|
26
26
|
email:
|
27
27
|
- thomas.david.vaughan@gmail.com
|