codebase 4.0.11 → 4.0.12
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 +1 -1
- data/lib/codebase/recipes.rb +1 -1
- data/lib/commands/clone.rb +1 -1
- metadata +7 -5
data/lib/codebase.rb
CHANGED
data/lib/codebase/recipes.rb
CHANGED
@@ -10,7 +10,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def new_username?
|
13
|
-
git_config_variable(:username).match(/(.+)\/(.+)/)
|
13
|
+
git_config_variable(:username).match(/(.+)\/(.+)/) if git_config_variable(:username)
|
14
14
|
end
|
15
15
|
|
16
16
|
def codebase_domain
|
data/lib/commands/clone.rb
CHANGED
@@ -11,7 +11,7 @@ command "clone" do
|
|
11
11
|
raise Codebase::NotConfiguredError unless configured?
|
12
12
|
|
13
13
|
projects = JSON.parse(api('projects'))
|
14
|
-
projects = projects.select{|p| p["project"]["status"]
|
14
|
+
projects = projects.select{|p| p["project"]["status"] == 'active'}.map{|p| p['project']}
|
15
15
|
|
16
16
|
## Please somebody tell me there is a better way to do this using highline...
|
17
17
|
project_hash = {}
|
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:
|
4
|
+
hash: 39
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 4
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 4.0.
|
9
|
+
- 12
|
10
|
+
version: 4.0.12
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Adam Cooke
|
@@ -15,7 +15,8 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-07-29 00:00:00 +01:00
|
19
|
+
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: highline
|
@@ -84,6 +85,7 @@ files:
|
|
84
85
|
- lib/commands/clone.rb
|
85
86
|
- lib/commands/keys.rb
|
86
87
|
- lib/commands/setup.rb
|
88
|
+
has_rdoc: true
|
87
89
|
homepage: http://www.codebasehq.com
|
88
90
|
licenses: []
|
89
91
|
|
@@ -113,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
115
|
requirements: []
|
114
116
|
|
115
117
|
rubyforge_project:
|
116
|
-
rubygems_version: 1.
|
118
|
+
rubygems_version: 1.6.2
|
117
119
|
signing_key:
|
118
120
|
specification_version: 3
|
119
121
|
summary: Gem companion for your Codebase account. Including interactive cloning, key management and more
|