rebuy_deployment 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +15 -0
  2. data/lib/rebuy_deployment/deploy.rb +7 -6
  3. metadata +19 -21
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ N2ZhZDdlZDBmNTQwNTIyOTA3Y2RlZGJjMWE2OWNmMTAxOWUyYWRlNQ==
5
+ data.tar.gz: !binary |-
6
+ YjAyM2I1MjU2N2E0ZDNjNWE5OTBlODQyMjcyMWRmOGM3YThiNWMyZg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ YTA1ZjE4Y2RkZWM5ZDUzNTg0ZThmYzYwYTE1ZjdkNDgzM2NiY2M1OTA4YWM2
10
+ YTk3NzQxNGM2M2YyNjkyZmM1M2IyMjIwNjZmOTQ4ZDk2YjJhZDhhNGVmNDJl
11
+ MGQ0Yjk2MzAwZDUyZmMyNTQ3ZmEyZWFiZDJmZGYxMWJlNDI3ZmQ=
12
+ data.tar.gz: !binary |-
13
+ MzczMGQ2MzhhNTc2MjNhZDExZGVlYzdiMzI4OTRkOWQ3MmRiOGIzMjVlNGU2
14
+ YmQ2ZTkzM2IyNDNlNTg2NjBkM2Q0Mjg0NTBlZjdlODBiNjM3Mjg5MTU4Y2Rl
15
+ ZDQxNTZlMDFiM2EzNzc4OWRkYmUwZDgxMmY3NThkM2EzYWQ0OTc=
@@ -1,4 +1,5 @@
1
1
  Encoding.default_internal = "UTF-8"
2
+ Encoding.default_external = "UTF-8"
2
3
  require 'mail'
3
4
  require 'capistrano/campfire'
4
5
  require 'zk'
@@ -127,23 +128,23 @@ set(:build_script) { "rake -f deployment/rakefile default[#{stage},#{release_nam
127
128
  set :copy_exclude, [".git/*", ".git", "deployment/*.rb", "Capfile"]
128
129
 
129
130
  namespace :deploy do
130
- task :symlink_shared do
131
+ task :symlink_shared, :except => { :no_release => true } do
131
132
  run "#{try_sudo} rm -rf #{release_path}/#{shared_dir}"
132
133
  run "ln -s #{shared_path} #{release_path}/#{shared_dir}"
133
134
  end
134
135
 
135
- task :change_owner do
136
+ task :change_owner, :except => { :no_release => true } do
136
137
  run "#{try_sudo} chown -R nobody:nobody #{release_path}"
137
138
  run "#{try_sudo} chmod -R ug=rw-x+X,o= #{release_path}"
138
139
  end
139
140
 
140
- task :prepare_directory_structure do
141
+ task :prepare_directory_structure, :except => { :no_release => true } do
141
142
  run "#{try_sudo} mkdir -p #{shared_path}/logs"
142
143
  run "#{try_sudo} chown -R nobody:nobody #{deploy_to}"
143
144
  run "#{try_sudo} chmod -R ug=rw-x+X,o= #{deploy_to}"
144
145
  end
145
146
 
146
- task :restart, :roles => :app do
147
+ task :restart, :roles => :app, :except => { :no_release => true } do
147
148
  unless exists?(:restart_type)
148
149
  set :restart_type, 'php-fpm'
149
150
  end
@@ -174,7 +175,7 @@ namespace :deploy do
174
175
  end
175
176
  end
176
177
 
177
- task :notify_campfire, :on_error => :continue do
178
+ task :notify_campfire, :on_error => :continue, :except => { :no_release => true } do
178
179
  if campfire_options[:account] && campfire_options[:room] && campfire_options[:token]
179
180
  campfire_room.paste get_git_log
180
181
  else
@@ -183,7 +184,7 @@ namespace :deploy do
183
184
  end
184
185
 
185
186
  # Mail.defaults has to be configured in order for this task to work properly
186
- task :notify, :on_error => :continue do
187
+ task :notify, :on_error => :continue, :except => { :no_release => true } do
187
188
  if exists?(:mail_sender) && exists?(:mail_receiver)
188
189
  sender, receiver, subject, body = "#{mail_sender}", "#{mail_receiver}", "#{application} deployed", get_git_log()
189
190
 
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rebuy_deployment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
5
- prerelease:
4
+ version: 0.5.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Mike Roetgers
@@ -11,12 +10,11 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2013-05-23 00:00:00.000000000 Z
13
+ date: 2013-06-11 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: capistrano
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
19
  - - ! '>='
22
20
  - !ruby/object:Gem::Version
@@ -24,7 +22,6 @@ dependencies:
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
26
  - - ! '>='
30
27
  - !ruby/object:Gem::Version
@@ -32,7 +29,6 @@ dependencies:
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: railsless-deploy
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
33
  - - ! '>='
38
34
  - !ruby/object:Gem::Version
@@ -40,7 +36,6 @@ dependencies:
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
40
  - - ! '>='
46
41
  - !ruby/object:Gem::Version
@@ -48,7 +43,6 @@ dependencies:
48
43
  - !ruby/object:Gem::Dependency
49
44
  name: rake
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
47
  - - ! '>='
54
48
  - !ruby/object:Gem::Version
@@ -56,7 +50,6 @@ dependencies:
56
50
  type: :runtime
57
51
  prerelease: false
58
52
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
53
  requirements:
61
54
  - - ! '>='
62
55
  - !ruby/object:Gem::Version
@@ -64,7 +57,6 @@ dependencies:
64
57
  - !ruby/object:Gem::Dependency
65
58
  name: mail
66
59
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
60
  requirements:
69
61
  - - ! '>='
70
62
  - !ruby/object:Gem::Version
@@ -72,7 +64,6 @@ dependencies:
72
64
  type: :runtime
73
65
  prerelease: false
74
66
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
67
  requirements:
77
68
  - - ! '>='
78
69
  - !ruby/object:Gem::Version
@@ -80,7 +71,6 @@ dependencies:
80
71
  - !ruby/object:Gem::Dependency
81
72
  name: capistrano-campfire
82
73
  requirement: !ruby/object:Gem::Requirement
83
- none: false
84
74
  requirements:
85
75
  - - ! '>='
86
76
  - !ruby/object:Gem::Version
@@ -88,7 +78,6 @@ dependencies:
88
78
  type: :runtime
89
79
  prerelease: false
90
80
  version_requirements: !ruby/object:Gem::Requirement
91
- none: false
92
81
  requirements:
93
82
  - - ! '>='
94
83
  - !ruby/object:Gem::Version
@@ -96,7 +85,6 @@ dependencies:
96
85
  - !ruby/object:Gem::Dependency
97
86
  name: zookeeper
98
87
  requirement: !ruby/object:Gem::Requirement
99
- none: false
100
88
  requirements:
101
89
  - - ! '>='
102
90
  - !ruby/object:Gem::Version
@@ -104,15 +92,27 @@ dependencies:
104
92
  type: :runtime
105
93
  prerelease: false
106
94
  version_requirements: !ruby/object:Gem::Requirement
107
- none: false
108
95
  requirements:
109
96
  - - ! '>='
110
97
  - !ruby/object:Gem::Version
111
98
  version: '0'
99
+ - !ruby/object:Gem::Dependency
100
+ name: zk
101
+ requirement: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ! '>='
104
+ - !ruby/object:Gem::Version
105
+ version: 1.8.0
106
+ type: :runtime
107
+ prerelease: false
108
+ version_requirements: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ! '>='
111
+ - !ruby/object:Gem::Version
112
+ version: 1.8.0
112
113
  - !ruby/object:Gem::Dependency
113
114
  name: json
114
115
  requirement: !ruby/object:Gem::Requirement
115
- none: false
116
116
  requirements:
117
117
  - - ! '>='
118
118
  - !ruby/object:Gem::Version
@@ -120,7 +120,6 @@ dependencies:
120
120
  type: :runtime
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
- none: false
124
123
  requirements:
125
124
  - - ! '>='
126
125
  - !ruby/object:Gem::Version
@@ -139,26 +138,25 @@ files:
139
138
  - lib/rebuy_deployment/rakefile
140
139
  homepage:
141
140
  licenses: []
141
+ metadata: {}
142
142
  post_install_message:
143
143
  rdoc_options: []
144
144
  require_paths:
145
145
  - lib
146
146
  required_ruby_version: !ruby/object:Gem::Requirement
147
- none: false
148
147
  requirements:
149
148
  - - ! '>='
150
149
  - !ruby/object:Gem::Version
151
150
  version: '0'
152
151
  required_rubygems_version: !ruby/object:Gem::Requirement
153
- none: false
154
152
  requirements:
155
153
  - - ! '>='
156
154
  - !ruby/object:Gem::Version
157
155
  version: '0'
158
156
  requirements: []
159
157
  rubyforge_project:
160
- rubygems_version: 1.8.24
158
+ rubygems_version: 2.0.3
161
159
  signing_key:
162
- specification_version: 3
160
+ specification_version: 4
163
161
  summary: Capistrano deployment for rebuy.de projects
164
162
  test_files: []