thunder_punch 0.0.13 → 0.0.14

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/CHANGELOG.mdown CHANGED
@@ -1,14 +1,21 @@
1
+ == 0.0.14 (Jan 7, 2013)
2
+ * Remove references to the :static role (replacing with :worker role as
3
+ necessary). When using the 'gateway' option in Capistrano having two
4
+ roles run the same tasks leads to problems with symlinks getting nested.
5
+ Since :static and :worker roles are the same we just remove one of
6
+ them for simplicity. [Bob Burbach - github.com/peregrinator]
7
+
1
8
  == 0.0.13 (Nov 9, 2012)
2
9
  * Set rake to be "bundle exec rake" so that bundler is used for rake by
3
- default. This prevents problems on servers that end up with multiple rakes.
10
+ default. This prevents problems on servers that end up with multiple rakes. [Bob Burbach - github.com/peregrinator]
4
11
 
5
12
  == 0.0.12 (May 11, 2012)
6
13
 
7
- * Use `bundle exec` when running `rake db:migrate`
14
+ * Use `bundle exec` when running `rake db:migrate` [Bob Burbach - github.com/peregrinator]
8
15
 
9
16
  == 0.0.11 (December 3, 2010)
10
17
 
11
- * Force compilation of sass stylesheets. If you have an external error (like a missing directory or submodule) they won't update even if you fix it. We now just force to make sure updates happen on deployment.
18
+ * Force compilation of sass stylesheets. If you have an external error (like a missing directory or submodule) they won't update even if you fix it. We now just force to make sure updates happen on deployment. [Bob Burbach - github.com/peregrinator]
12
19
 
13
20
  == 0.0.10 (September 9, 2010)
14
21
 
@@ -17,7 +24,7 @@
17
24
 
18
25
  == 0.0.9 (September 7, 2010)
19
26
 
20
- * Fix role on database tasks - was :database, should be :db to fit conventions
27
+ * Fix role on database tasks - was :database, should be :db to fit conventions [Bob Burbach - github.com/peregrinator]
21
28
 
22
29
  == 0.0.8 (September 1, 2010)
23
30
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.13
1
+ 0.0.14
@@ -6,13 +6,13 @@ Capistrano::Configuration.instance(:must_exist).load do
6
6
 
7
7
  namespace :deploy do
8
8
  desc "Deploy the app"
9
- task :default, :roles => [:app, :static, :worker] do
9
+ task :default, :roles => [:app, :worker] do
10
10
  update
11
11
  restart
12
12
  end
13
13
 
14
14
  desc "Setup a GitHub-style deployment."
15
- task :setup, :roles => [:app, :static, :worker], :except => { :no_release => true } do
15
+ task :setup, :roles => [:app, :worker], :except => { :no_release => true } do
16
16
  run "cd #{deploy_to} && git clone #{repository} #{current_path}"
17
17
  end
18
18
 
@@ -23,7 +23,7 @@ Capistrano::Configuration.instance(:must_exist).load do
23
23
  end
24
24
 
25
25
  desc "Update the deployed code."
26
- task :update_code, :roles => [:app, :static, :worker], :except => { :no_release => true } do
26
+ task :update_code, :roles => [:app, :worker], :except => { :no_release => true } do
27
27
  run "cd #{current_path}; git fetch origin; git reset --hard origin/#{branch}; git submodule update --init"
28
28
  if fetch(:finalize_deploy, true)
29
29
  finalize_update
@@ -43,13 +43,13 @@ Capistrano::Configuration.instance(:must_exist).load do
43
43
  # we overwrite the default task below to get our new behavior
44
44
  namespace :rollback do
45
45
  desc "Moves the repo back to the previous version of HEAD"
46
- task :repo, :except => { :no_release => true }, :roles => [:app, :static, :worker] do
46
+ task :repo, :except => { :no_release => true }, :roles => [:app, :worker] do
47
47
  set :branch, "HEAD@{1}"
48
48
  deploy.default
49
49
  end
50
50
 
51
51
  desc "Rewrite reflog so HEAD@{1} will continue to point to at the next previous release."
52
- task :cleanup, :except => { :no_release => true }, :roles => [:app, :static, :worker] do
52
+ task :cleanup, :except => { :no_release => true }, :roles => [:app, :worker] do
53
53
  run "cd #{current_path}; git reflog delete --rewrite HEAD@{1}; git reflog delete --rewrite HEAD@{1}"
54
54
  end
55
55
 
@@ -19,7 +19,7 @@ Capistrano::Configuration.instance(:must_exist).load do
19
19
 
20
20
  namespace :symlinks do
21
21
  desc "Create all sylinks (removes directories/files if they exist first)"
22
- task :create, :roles => [:app, :static, :worker], :except => { :no_release => true } do
22
+ task :create, :roles => [:app, :worker], :except => { :no_release => true } do
23
23
 
24
24
  commands = standard_symlinks.map do |to, from|
25
25
  "rm -rf #{current_path}/#{to} && ln -s #{shared_path}/#{from} #{current_path}/#{to}"
@@ -36,4 +36,4 @@ Capistrano::Configuration.instance(:must_exist).load do
36
36
  run "cd #{current_path} && #{commands.join(" && ")}"
37
37
  end
38
38
  end
39
- end
39
+ end
@@ -3,10 +3,10 @@ Capistrano::Configuration.instance(:must_exist).load do
3
3
  namespace :sass do
4
4
 
5
5
  desc "Generate (force) the compiled CSS files from Sass"
6
- task :update_stylesheets, :roles => [:static] do
6
+ task :update_stylesheets, :roles => [:worker] do
7
7
  run "cd #{current_path}; script/runner -e #{rails_env} 'Sass::Plugin.options[:always_update] = 1; Sass::Plugin.update_stylesheets'"
8
8
  end
9
9
 
10
10
  end # end namespace
11
11
 
12
- end
12
+ end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "thunder_punch"
8
- s.version = "0.0.13"
8
+ s.version = "0.0.14"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bob Burbach"]
12
- s.date = "2012-11-09"
12
+ s.date = "2013-01-08"
13
13
  s.description = "Collection of capistano recipes for deployment and server tasks"
14
14
  s.email = "info@criticaljuncture.org"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thunder_punch
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 13
10
- version: 0.0.13
9
+ - 14
10
+ version: 0.0.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bob Burbach
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-11-09 00:00:00 Z
18
+ date: 2013-01-08 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: thoughtbot-shoulda