capistrano-windows-server 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -69,6 +69,8 @@ Administrative access is required.
69
69
  <br><br>
70
70
  *Control Panel > User Accounts > Change User Account Control settings > * (restore previous value)
71
71
 
72
+ * Install [Node.JS](http://nodejs.org/#download) if you are using the Rails Asset Pipeline
73
+
72
74
  Now that COPSSH is up and running, ensure that you can SSH into the server as the git user. If you have problems, check the COPSSH event log under the Status tab. Make sure $HOME/.ssh/authorized_keys contains the keys you added.
73
75
 
74
76
  If you haven't already, set up Ruby and install any gems needed for your application, plus mongrel.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.6.0
@@ -4,14 +4,16 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = "capistrano-windows-server"
8
- s.version = "0.5.1"
7
+ s.name = %q{capistrano-windows-server}
8
+ s.version = "0.6.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Edward Anderson"]
12
- s.date = "2012-04-03"
13
- s.description = "This gem modifies capistrano recipes to allow deploys to windows machines.\nSeveral nuances such as the lack of symlinks make the deploy a little different, but it's better than doing it by hand.\nSee the github page for instruction on how to set up Windows to get it ready for a deploy."
14
- s.email = "edward.anderson@scimedsolutions.com"
12
+ s.date = %q{2012-06-05}
13
+ s.description = %q{This gem modifies capistrano recipes to allow deploys to windows machines.
14
+ Several nuances such as the lack of symlinks make the deploy a little different, but it's better than doing it by hand.
15
+ See the github page for instruction on how to set up Windows to get it ready for a deploy.}
16
+ s.email = %q{edward.anderson@scimedsolutions.com}
15
17
  s.extra_rdoc_files = [
16
18
  "LICENSE.txt",
17
19
  "README.md"
@@ -28,11 +30,11 @@ Gem::Specification.new do |s|
28
30
  "lib/capistrano-windows-server.rb",
29
31
  "lib/capistrano/ext/windows_server.rb"
30
32
  ]
31
- s.homepage = "http://github.com/nilbus/capistrano-windows-server"
33
+ s.homepage = %q{http://github.com/nilbus/capistrano-windows-server}
32
34
  s.licenses = ["MIT"]
33
35
  s.require_paths = ["lib"]
34
- s.rubygems_version = "1.8.21"
35
- s.summary = "Deploy Ruby on Rails applications with Capistrano to Windows servers"
36
+ s.rubygems_version = %q{1.4.2}
37
+ s.summary = %q{Deploy Ruby on Rails applications with Capistrano to Windows servers}
36
38
 
37
39
  if s.respond_to? :specification_version then
38
40
  s.specification_version = 3
@@ -164,6 +164,41 @@ configuration.load do
164
164
  end
165
165
  end
166
166
  end
167
+
168
+ namespace :assets do
169
+ task :symlink, :roles => :web, :except => { :no_release => true } do
170
+ end
171
+
172
+ desc <<-DESC
173
+ Run the asset precompilation rake task. You can specify the full path \
174
+ to the rake executable by setting the rake variable. You can also \
175
+ specify additional environment variables to pass to rake via the \
176
+ asset_env variable. The defaults are:
177
+
178
+ set :rake, "rake"
179
+ set :rails_env, "production"
180
+ set :asset_env, "RAILS_GROUPS=assets"
181
+ DESC
182
+ task :precompile, :roles => :web, :except => { :no_release => true } do
183
+ run "rm -rf #{current_path}/public/#{assets_prefix}"
184
+ bundle_exec "rake RAILS_ENV=#{rails_env} #{asset_env} assets:precompile"
185
+ end
186
+
187
+ desc <<-DESC
188
+ Run the asset clean rake task. Use with caution, this will delete \
189
+ all of your compiled assets. You can specify the full path \
190
+ to the rake executable by setting the rake variable. You can also \
191
+ specify additional environment variables to pass to rake via the \
192
+ asset_env variable. The defaults are:
193
+
194
+ set :rake, "rake"
195
+ set :rails_env, "production"
196
+ set :asset_env, "RAILS_GROUPS=assets"
197
+ DESC
198
+ task :clean, :roles => :web, :except => { :no_release => true } do
199
+ bundle_exec "rake RAILS_ENV=#{rails_env} #{asset_env} assets:clean"
200
+ end
201
+ end
167
202
  end
168
203
 
169
204
  desc "Run a rake command in COMMAND. RAILS_ENV for the configured environment will be included; it can be overridden by setting RAILS_ENV"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-windows-server
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 5
9
- - 1
10
- version: 0.5.1
8
+ - 6
9
+ - 0
10
+ version: 0.6.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Edward Anderson
@@ -15,11 +15,14 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-04-03 00:00:00 Z
18
+ date: 2012-06-05 00:00:00 -04:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
22
+ prerelease: false
23
+ name: capistrano
21
24
  type: :runtime
22
- requirement: &id001 !ruby/object:Gem::Requirement
25
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
26
  none: false
24
27
  requirements:
25
28
  - - ">="
@@ -28,12 +31,12 @@ dependencies:
28
31
  segments:
29
32
  - 0
30
33
  version: "0"
31
- version_requirements: *id001
32
- name: capistrano
33
- prerelease: false
34
+ requirement: *id001
34
35
  - !ruby/object:Gem::Dependency
36
+ prerelease: false
37
+ name: jeweler
35
38
  type: :development
36
- requirement: &id002 !ruby/object:Gem::Requirement
39
+ version_requirements: &id002 !ruby/object:Gem::Requirement
37
40
  none: false
38
41
  requirements:
39
42
  - - ~>
@@ -44,9 +47,7 @@ dependencies:
44
47
  - 6
45
48
  - 4
46
49
  version: 1.6.4
47
- version_requirements: *id002
48
- name: jeweler
49
- prerelease: false
50
+ requirement: *id002
50
51
  description: |-
51
52
  This gem modifies capistrano recipes to allow deploys to windows machines.
52
53
  Several nuances such as the lack of symlinks make the deploy a little different, but it's better than doing it by hand.
@@ -70,6 +71,7 @@ files:
70
71
  - capistrano-windows-server.gemspec
71
72
  - lib/capistrano-windows-server.rb
72
73
  - lib/capistrano/ext/windows_server.rb
74
+ has_rdoc: true
73
75
  homepage: http://github.com/nilbus/capistrano-windows-server
74
76
  licenses:
75
77
  - MIT
@@ -99,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
101
  requirements: []
100
102
 
101
103
  rubyforge_project:
102
- rubygems_version: 1.8.21
104
+ rubygems_version: 1.4.2
103
105
  signing_key:
104
106
  specification_version: 3
105
107
  summary: Deploy Ruby on Rails applications with Capistrano to Windows servers