codebase4 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/codebase/cli.rb +1 -1
  2. metadata +5 -19
data/lib/codebase/cli.rb CHANGED
@@ -32,7 +32,7 @@ module Codebase
32
32
 
33
33
  def test(account_name)
34
34
  token = Codebase.config.tokens.is_a?(Hash) && Codebase.config.tokens[account_name]
35
- if token.nil?
35
+ unless token
36
36
  raise Error, "This account has no token configured locally, use 'codebase token [account] [token]' to configure it"
37
37
  end
38
38
 
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codebase4
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
5
4
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 13
10
- version: 1.0.13
5
+ version: 1.0.14
11
6
  platform: ruby
12
7
  authors:
13
8
  - Adam Cooke
@@ -15,7 +10,8 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-10-27 00:00:00 Z
13
+ date: 2011-10-28 00:00:00 +01:00
14
+ default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
21
17
  name: json
@@ -25,11 +21,6 @@ dependencies:
25
21
  requirements:
26
22
  - - ">="
27
23
  - !ruby/object:Gem::Version
28
- hash: 25
29
- segments:
30
- - 1
31
- - 1
32
- - 5
33
24
  version: 1.1.5
34
25
  type: :runtime
35
26
  version_requirements: *id001
@@ -49,6 +40,7 @@ files:
49
40
  - lib/codebase/config.rb
50
41
  - lib/codebase/recipes.rb
51
42
  - lib/codebase.rb
43
+ has_rdoc: true
52
44
  homepage: http://atechmedia.com
53
45
  licenses: []
54
46
 
@@ -62,23 +54,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
54
  requirements:
63
55
  - - ">="
64
56
  - !ruby/object:Gem::Version
65
- hash: 3
66
- segments:
67
- - 0
68
57
  version: "0"
69
58
  required_rubygems_version: !ruby/object:Gem::Requirement
70
59
  none: false
71
60
  requirements:
72
61
  - - ">="
73
62
  - !ruby/object:Gem::Version
74
- hash: 3
75
- segments:
76
- - 0
77
63
  version: "0"
78
64
  requirements: []
79
65
 
80
66
  rubyforge_project:
81
- rubygems_version: 1.8.10
67
+ rubygems_version: 1.5.2
82
68
  signing_key:
83
69
  specification_version: 3
84
70
  summary: The RubyGem for Codebase v4 Deployment Tracking (replaces previous codebase gems)