the_force 0.3.3 → 0.3.4

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/Rakefile CHANGED
@@ -7,7 +7,7 @@ exclude_file_globs = []
7
7
 
8
8
  spec = Gem::Specification.new do |s|
9
9
  s.name = "the_force"
10
- s.version = '0.3.3'
10
+ s.version = '0.3.4'
11
11
  s.author = "Ryan Ziegler"
12
12
  s.email = "info@symbolforce.com"
13
13
  s.homepage = "http://www.symbolforce.com"
@@ -49,6 +49,11 @@ Capistrano::Configuration.instance(:sf_internal_rails).load do
49
49
  task :chowning, :roles => :app do
50
50
  run "chown -R apache.apache #{release_path}"
51
51
  end
52
+
53
+ desc "init and update submodules"
54
+ task :fetch_submodules, :roles => :app do
55
+ run "cd #{release_path} && git submodule update --init"
56
+ end
52
57
  end
53
58
 
54
59
  namespace :deploy do
@@ -74,7 +79,9 @@ Capistrano::Configuration.instance(:sf_internal_rails).load do
74
79
  end
75
80
  end
76
81
 
82
+ ###CRZ - the chowning is not the last thing...some things owned by root, particularly the symlinks.
77
83
  after 'deploy:update_code', 'bundler:bundle_new_release'
84
+ after 'bundler:bundle_new_release', 'sf:fetch_submodules'
78
85
  after 'deploy:finalize_update', 'sf:chowning'
79
86
  after 'sf:chowning', 'sf:symlink_shared_files'
80
87
  after 'sf:symlink_shared_files', 'sf:symlink_shared_dirs'
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the_force
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 27
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 3
8
- - 3
9
- version: 0.3.3
9
+ - 4
10
+ version: 0.3.4
10
11
  platform: ruby
11
12
  authors:
12
13
  - Ryan Ziegler
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-11-07 00:00:00 -04:00
18
+ date: 2010-11-10 00:00:00 -04:00
18
19
  default_executable:
19
20
  dependencies: []
20
21
 
@@ -63,6 +64,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
64
  requirements:
64
65
  - - ">="
65
66
  - !ruby/object:Gem::Version
67
+ hash: 3
66
68
  segments:
67
69
  - 0
68
70
  version: "0"
@@ -71,6 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
73
  requirements:
72
74
  - - ">="
73
75
  - !ruby/object:Gem::Version
76
+ hash: 3
74
77
  segments:
75
78
  - 0
76
79
  version: "0"