factorylabs-fdlcap 0.3.2 → 0.3.3

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.3
data/fdlcap.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{fdlcap}
5
- s.version = "0.3.2"
5
+ s.version = "0.3.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Factory Design Labs"]
@@ -46,6 +46,7 @@ Gem::Specification.new do |s|
46
46
  "lib/fdlcap/recipes/slice.rb",
47
47
  "lib/fdlcap/recipes/ssh.rb",
48
48
  "lib/fdlcap/recipes/stages.rb",
49
+ "lib/fdlcap/recipes/symlink_configs.rb",
49
50
  "lib/fdlcap/recipes/symlinks.rb",
50
51
  "lib/fdlcap/recipes/thin.rb",
51
52
  "lib/fdlcap/recipes/thinking_sphinx.rb",
@@ -40,11 +40,10 @@ Capistrano::Configuration.instance(:must_exist).load do
40
40
  #
41
41
  # Callbacks
42
42
  #
43
- before "deploy:check", "geminstaller:add_remote_gem_dependencies"
44
- after "deploy:setup", "geminstaller:install"
45
- after "geminstaller:install", "geminstaller:run"
46
- after "deploy:symlink", "geminstaller:run"
47
- after "geminstaller:run", "deploy:migrate"
43
+ before "deploy:check", "geminstaller:add_remote_gem_dependencies"
44
+ after "deploy:setup", "geminstaller:install"
45
+ after "geminstaller:install", "geminstaller:run"
46
+ after "deploy:update", "geminstaller:run"
48
47
  end
49
48
 
50
49
  end
@@ -5,8 +5,8 @@ Capistrano::Configuration.instance(:must_exist).load do
5
5
  # Tasks
6
6
  #
7
7
  task :ruby_inline, :roles => :app, :except => {:no_release => true, :no_symlink => true} do
8
- run "mkdir #{release_path}/tmp/ruby_inline/"
9
- run "mkdir #{release_path}/tmp/ruby_inline/.ruby_inline"
8
+ run "mkdir -p #{release_path}/tmp/ruby_inline/"
9
+ run "mkdir -p #{release_path}/tmp/ruby_inline/.ruby_inline"
10
10
  sudo "chmod 755 #{release_path}/tmp/ruby_inline/"
11
11
  sudo "chmod 755 #{release_path}/tmp/ruby_inline/.ruby_inline"
12
12
  end
@@ -0,0 +1,7 @@
1
+ Capistrano::Configuration.instance(:must_exist).load do
2
+
3
+ define_recipe :symlink_configs do
4
+ after "deploy:update_code", "deploy:symlink_configs"
5
+ end
6
+
7
+ end
@@ -3,10 +3,10 @@ Capistrano::Configuration.instance(:must_exist).load do
3
3
 
4
4
  # searchd assumes indexing and configuring being called directly on searchd
5
5
  define_recipe :thinking_sphinx do
6
- after "deploy:update_code", "deploy:symlink_configs"
7
6
  after "deploy:symlink_configs", "thinking_sphinx:symlink"
8
7
  after "thinking_sphinx:symlink", "sphinx:configure"
9
- after "deploy:update", "sphinx:reindex"
8
+ after "deploy:update", "deploy:migrate"
9
+ after "deploy:migrate", "sphinx:reindex"
10
10
  end
11
11
 
12
12
  end
@@ -6,23 +6,6 @@ require 'fdlcap/extensions/recipe_definition'
6
6
  require 'eycap/recipes'
7
7
 
8
8
  # Load up custom recipe chunks
9
- require 'fdlcap/recipes/autotagger'
10
- require 'fdlcap/recipes/craken'
11
- require 'fdlcap/recipes/database'
12
- require 'fdlcap/recipes/delayed_job'
13
- require 'fdlcap/recipes/deploy'
14
- require 'fdlcap/recipes/fdl_defaults'
15
- require 'fdlcap/recipes/geminstaller'
16
- require 'fdlcap/recipes/newrelic'
17
- require 'fdlcap/recipes/nginx'
18
- require 'fdlcap/recipes/performance'
19
- require 'fdlcap/recipes/rake'
20
- require 'fdlcap/recipes/rsync'
21
- require 'fdlcap/recipes/ruby_inline'
22
- require 'fdlcap/recipes/sass'
23
- require 'fdlcap/recipes/slice'
24
- require 'fdlcap/recipes/ssh'
25
- require 'fdlcap/recipes/stages'
26
- require 'fdlcap/recipes/symlinks'
27
- require 'fdlcap/recipes/thin'
28
- require 'fdlcap/recipes/thinking_sphinx'
9
+ Dir.glob(File.join(File.dirname(__FILE__),'recipes','*.rb')).each do |file|
10
+ require file
11
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factorylabs-fdlcap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Factory Design Labs
@@ -93,6 +93,7 @@ files:
93
93
  - lib/fdlcap/recipes/slice.rb
94
94
  - lib/fdlcap/recipes/ssh.rb
95
95
  - lib/fdlcap/recipes/stages.rb
96
+ - lib/fdlcap/recipes/symlink_configs.rb
96
97
  - lib/fdlcap/recipes/symlinks.rb
97
98
  - lib/fdlcap/recipes/thin.rb
98
99
  - lib/fdlcap/recipes/thinking_sphinx.rb