codebase 4.0.4 → 4.0.5

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/lib/codebase.rb CHANGED
@@ -14,7 +14,7 @@ module Codebase
14
14
  class NotConfiguredError < StandardError; end
15
15
  class MustBeInRepositoryError < StandardError; end
16
16
 
17
- VERSION = "4.0.4"
17
+ VERSION = "4.0.5"
18
18
 
19
19
  def run(command, args = [])
20
20
  load_commands
@@ -75,7 +75,10 @@ Capistrano::Configuration.instance(:must_exist).load do
75
75
  require 'net/http'
76
76
  require 'uri'
77
77
 
78
- real_url = "http://#{url}/#{project}/#{repository}/deployments"
78
+ # URL should be in this format to be compatible with the new API
79
+ # http://api3.codebasehq.com/PROJECTNAME/REPO/deployments
80
+
81
+ real_url = "http://api3.codebasehq.com/#{project}/#{repository}/deployments"
79
82
  puts " - URL..........: #{real_url}"
80
83
 
81
84
  url = URI.parse(real_url)
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: 55
5
- prerelease: false
4
+ hash: 53
5
+ prerelease:
6
6
  segments:
7
7
  - 4
8
8
  - 0
9
- - 4
10
- version: 4.0.4
9
+ - 5
10
+ version: 4.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Adam Cooke
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-14 00:00:00 +01:00
18
+ date: 2011-05-03 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -85,7 +85,7 @@ files:
85
85
  - lib/commands/clone.rb
86
86
  - lib/commands/keys.rb
87
87
  - lib/commands/setup.rb
88
- has_rdoc: true
88
+ has_rdoc: false
89
89
  homepage: http://www.codebasehq.com
90
90
  licenses: []
91
91
 
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  requirements: []
116
116
 
117
117
  rubyforge_project:
118
- rubygems_version: 1.3.7
118
+ rubygems_version: 1.5.0
119
119
  signing_key:
120
120
  specification_version: 3
121
121
  summary: Gem companion for your Codebase account. Including interactive cloning, key management and more