codebase 4.0.10 → 4.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.
@@ -14,7 +14,7 @@ module Codebase
14
14
  class NotConfiguredError < StandardError; end
15
15
  class MustBeInRepositoryError < StandardError; end
16
16
 
17
- VERSION = "4.0.10"
17
+ VERSION = "4.0.11"
18
18
 
19
19
  def run(command, args = [])
20
20
  load_commands
@@ -96,9 +96,9 @@ Capistrano::Configuration.instance(:must_exist).load do
96
96
  project = m[3]
97
97
  repository = m[4]
98
98
 
99
- unless respond_to?(:branch)
100
- branch = 'HEAD'
101
- end
99
+ unless respond_to?(:branch)
100
+ set :branch, 'HEAD'
101
+ end
102
102
 
103
103
 
104
104
  puts " * \e[44;33mAdding Deployment to your CodebaseHQ account\e[0m"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codebase
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
4
+ hash: 41
5
5
  prerelease:
6
6
  segments:
7
7
  - 4
8
8
  - 0
9
- - 10
10
- version: 4.0.10
9
+ - 11
10
+ version: 4.0.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Adam Cooke