middleman-deploy 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- Middleman Delpoy - Deploy a [middleman](http://middlemanapp.com/) built site over rsync, git (e.g. gh-pages on github) or via ftp.
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
  [![Build Status](https://secure.travis-ci.org/tvaughan/middleman-deploy.png)](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.10"
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").keep_if{ |r| r =~ Regexp.new(branch,true) }.count > 0
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}`
@@ -1,6 +1,6 @@
1
1
  module Middleman
2
2
  module Deploy
3
3
  PACKAGE = "middleman-deploy"
4
- VERSION = "0.0.10"
4
+ VERSION = "0.0.11"
5
5
  end
6
6
  end
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.10
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-01-20 00:00:00.000000000 Z
12
+ date: 2013-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: middleman-core