middleman-deploy 0.0.10 → 0.0.11
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 +1 -1
- data/lib/middleman-deploy/pkg-info.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Middleman
|
|
1
|
+
Middleman Deploy - Deploy a [middleman](http://middlemanapp.com/) built site over rsync, git (e.g. gh-pages on github) or via ftp.
|
|
2
2
|
|
|
3
3
|
[](http://travis-ci.org/tvaughan/middleman-deploy)
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ Middleman Delpoy - Deploy a [middleman](http://middlemanapp.com/) built site ove
|
|
|
19
19
|
|
|
20
20
|
Edit `Gemfile`, and add:
|
|
21
21
|
|
|
22
|
-
gem "middleman-deploy", "~> 0.0.
|
|
22
|
+
gem "middleman-deploy", "~> 0.0.11"
|
|
23
23
|
|
|
24
24
|
Then run:
|
|
25
25
|
|
|
@@ -154,7 +154,7 @@ EOF
|
|
|
154
154
|
end
|
|
155
155
|
|
|
156
156
|
#if there is a branch with that name, switch to it, otherwise create a new one and switch to it
|
|
157
|
-
if `git branch`.split("\n").
|
|
157
|
+
if `git branch`.split("\n").delete_if{ |r| r =~ Regexp.new(branch,true) }.count == 0
|
|
158
158
|
`git checkout #{branch}`
|
|
159
159
|
else
|
|
160
160
|
`git checkout -b #{branch}`
|
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.11
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-03-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: middleman-core
|