capistrano-hivequeen 2.2.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
37
37
 
38
38
  ## List your runtime dependencies here. Runtime dependencies are those
39
39
  ## that are needed for an end user to actually USE your code.
40
- s.add_dependency('capistrano', '~> 2.11.2')
40
+ s.add_dependency('capistrano', '>= 2.11.0')
41
41
  s.add_dependency('json')
42
42
  s.add_dependency('excon', '>= 0.6.0') # Perhaps we can support older. Haven't checked.
43
43
 
@@ -28,11 +28,6 @@ class HiveQueen
28
28
  environments.map{|e| e['name'].to_sym }
29
29
  end
30
30
 
31
- def environment_for_branch(branch)
32
- env = environments.detect{|e| e['branch'] == branch }
33
- env['name'] if env
34
- end
35
-
36
31
  def repository
37
32
  project_data['repo']
38
33
  end
@@ -1,11 +1,18 @@
1
1
  Capistrano::Configuration.instance.load do
2
2
  # Symlink shared config files
3
- after "deploy:update_code", "deploy:symlink_shared_config"
3
+ after "deploy:update_code", "deploy:provision_config"
4
4
  namespace :deploy do
5
+ desc "[internal] Provision config files from HiveQueen"
6
+ task :provision_config => [:symlink_shared_config] do
7
+ ###
8
+
9
+ end
10
+
5
11
  desc "[internal] Symlink shared config files to current release"
6
12
  task :symlink_shared_config do
7
13
  run "ln -nfs #{shared_path}/config/* #{latest_release}/config"
8
14
  end
15
+
9
16
  end
10
17
 
11
18
  before "deploy:update_code", "hivequeen:start"
@@ -1,6 +1,6 @@
1
1
  class HiveQueen
2
2
  class Version
3
- @@version = '2.2.0'
3
+ @@version = '2.3.0'
4
4
 
5
5
  def self.to_s
6
6
  @@version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-hivequeen
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,27 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-17 00:00:00.000000000 Z
12
+ date: 2012-08-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
- requirement: &70215770599560 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 2.11.2
21
+ version: 2.11.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70215770599560
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 2.11.0
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: json
27
- requirement: &70215770599020 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70215770599020
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: excon
38
- requirement: &70215770591500 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,7 +53,12 @@ dependencies:
43
53
  version: 0.6.0
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *70215770591500
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 0.6.0
47
62
  description: Capistrano extensions for interacting with HiveQueen
48
63
  email: aaron@kickstarter.com
49
64
  executables: []
@@ -81,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
96
  version: '0'
82
97
  requirements: []
83
98
  rubyforge_project:
84
- rubygems_version: 1.8.11
99
+ rubygems_version: 1.8.23
85
100
  signing_key:
86
101
  specification_version: 2
87
102
  summary: Capistrano extensions for interacting with HiveQueen