ninja-deploy 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc CHANGED
@@ -1,2 +1,2 @@
1
- rvm use ruby-1.8.7-p302@gemdev
1
+ rvm use ruby-1.8.7-p302@ninja-deploy
2
2
  rvm info
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'http://rubygems.org'
2
+
3
+ group :development do
4
+ gem 'gem-dandy'
5
+ gem 'jeweler'
6
+ gem 'rspec', '1.3.2'
7
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,21 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ gem-dandy (0.2.1)
5
+ trollop (= 1.16.2)
6
+ git (1.2.5)
7
+ jeweler (1.6.4)
8
+ bundler (~> 1.0)
9
+ git (>= 1.2.5)
10
+ rake
11
+ rake (0.9.2)
12
+ rspec (1.3.2)
13
+ trollop (1.16.2)
14
+
15
+ PLATFORMS
16
+ ruby
17
+
18
+ DEPENDENCIES
19
+ gem-dandy
20
+ jeweler
21
+ rspec (= 1.3.2)
data/README.rdoc CHANGED
@@ -37,6 +37,18 @@ Dependencies:
37
37
 
38
38
  * The configured local development user must have permission to load the database form a MySQL dump file.
39
39
 
40
+ ==== To Staging Database
41
+
42
+ Dumps the contents of a remote database to a MySQL dump file, scp's the file to /tmp directory of the staging server, loads the locally configured
43
+ staging database and deletes the local and remote dump files.
44
+
45
+ cap production db:dump:to_staging_db
46
+
47
+ Dependencies:
48
+
49
+ * The configured staging user must have permission to load the database form a MySQL dump file.
50
+ * The staging machine must be able to ssh to the host that is configured in the recipe.
51
+
40
52
 
41
53
  == Deploy Recipes
42
54
 
@@ -146,6 +158,18 @@ From Command-Line:
146
158
 
147
159
  cap production thinking_sphinx:configure
148
160
 
161
+ === run
162
+
163
+ Stops Sphinx, if running, then starts Sphinx.
164
+
165
+ From Command-Line:
166
+
167
+ cap production thinking_sphinx:run
168
+
169
+ As Callback:
170
+
171
+ after "deploy:update_code", "thinking_sphinx:run"
172
+
149
173
  === start
150
174
 
151
175
  Start Sphinx searchd daemon.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
@@ -10,6 +10,11 @@ Capistrano::Configuration.instance( :must_exist ).load do
10
10
  rake "thinking_sphinx:index"
11
11
  end
12
12
 
13
+ desc "Run the Sphinx daemon"
14
+ task :run do
15
+ rake "thinking_sphinx:run"
16
+ end
17
+
13
18
  desc "Start the Sphinx daemon"
14
19
  task :start do
15
20
  rake "thinking_sphinx:start"
data/ninja-deploy.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ninja-deploy}
8
- s.version = "1.2.0"
8
+ s.version = "1.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ninja Loss"]
12
- s.date = %q{2011-04-07}
12
+ s.date = %q{2011-08-04}
13
13
  s.description = %q{Common shared deployment recipes for your pleasure.}
14
14
  s.email = %q{ninja.loss@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -19,6 +19,8 @@ Gem::Specification.new do |s|
19
19
  s.files = [
20
20
  ".document",
21
21
  ".rvmrc",
22
+ "Gemfile",
23
+ "Gemfile.lock",
22
24
  "LICENSE",
23
25
  "README.rdoc",
24
26
  "Rakefile",
@@ -40,24 +42,29 @@ Gem::Specification.new do |s|
40
42
  ]
41
43
  s.homepage = %q{http://github.com/ninja-loss/ninja-deploy}
42
44
  s.require_paths = ["lib"]
43
- s.rubygems_version = %q{1.7.2}
45
+ s.rubygems_version = %q{1.6.0}
44
46
  s.summary = %q{Common shared deployment recipes.}
45
- s.test_files = [
46
- "spec/ninja-deploy_spec.rb",
47
- "spec/spec_helper.rb"
48
- ]
49
47
 
50
48
  if s.respond_to? :specification_version then
51
49
  s.specification_version = 3
52
50
 
53
51
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
+ s.add_development_dependency(%q<gem-dandy>, [">= 0"])
53
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
54
+ s.add_development_dependency(%q<rspec>, ["= 1.3.2"])
54
55
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
55
56
  s.add_development_dependency(%q<yard>, [">= 0"])
56
57
  else
58
+ s.add_dependency(%q<gem-dandy>, [">= 0"])
59
+ s.add_dependency(%q<jeweler>, [">= 0"])
60
+ s.add_dependency(%q<rspec>, ["= 1.3.2"])
57
61
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
58
62
  s.add_dependency(%q<yard>, [">= 0"])
59
63
  end
60
64
  else
65
+ s.add_dependency(%q<gem-dandy>, [">= 0"])
66
+ s.add_dependency(%q<jeweler>, [">= 0"])
67
+ s.add_dependency(%q<rspec>, ["= 1.3.2"])
61
68
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
62
69
  s.add_dependency(%q<yard>, [">= 0"])
63
70
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ninja-deploy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 1.2.0
10
+ version: 1.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ninja Loss
@@ -15,12 +15,56 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-07 00:00:00 Z
18
+ date: 2011-08-04 00:00:00 -05:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
22
+ type: :development
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
32
+ version_requirements: *id001
33
+ name: gem-dandy
34
+ prerelease: false
35
+ - !ruby/object:Gem::Dependency
36
+ type: :development
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 3
43
+ segments:
44
+ - 0
45
+ version: "0"
46
+ version_requirements: *id002
47
+ name: jeweler
48
+ prerelease: false
49
+ - !ruby/object:Gem::Dependency
50
+ type: :development
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - "="
55
+ - !ruby/object:Gem::Version
56
+ hash: 31
57
+ segments:
58
+ - 1
59
+ - 3
60
+ - 2
61
+ version: 1.3.2
62
+ version_requirements: *id003
21
63
  name: rspec
22
64
  prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
65
+ - !ruby/object:Gem::Dependency
66
+ type: :development
67
+ requirement: &id004 !ruby/object:Gem::Requirement
24
68
  none: false
25
69
  requirements:
26
70
  - - ">="
@@ -31,12 +75,12 @@ dependencies:
31
75
  - 2
32
76
  - 9
33
77
  version: 1.2.9
34
- type: :development
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: yard
78
+ version_requirements: *id004
79
+ name: rspec
38
80
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
81
+ - !ruby/object:Gem::Dependency
82
+ type: :development
83
+ requirement: &id005 !ruby/object:Gem::Requirement
40
84
  none: false
41
85
  requirements:
42
86
  - - ">="
@@ -45,8 +89,9 @@ dependencies:
45
89
  segments:
46
90
  - 0
47
91
  version: "0"
48
- type: :development
49
- version_requirements: *id002
92
+ version_requirements: *id005
93
+ name: yard
94
+ prerelease: false
50
95
  description: Common shared deployment recipes for your pleasure.
51
96
  email: ninja.loss@gmail.com
52
97
  executables: []
@@ -59,6 +104,8 @@ extra_rdoc_files:
59
104
  files:
60
105
  - .document
61
106
  - .rvmrc
107
+ - Gemfile
108
+ - Gemfile.lock
62
109
  - LICENSE
63
110
  - README.rdoc
64
111
  - Rakefile
@@ -77,6 +124,7 @@ files:
77
124
  - spec/ninja-deploy_spec.rb
78
125
  - spec/spec.opts
79
126
  - spec/spec_helper.rb
127
+ has_rdoc: true
80
128
  homepage: http://github.com/ninja-loss/ninja-deploy
81
129
  licenses: []
82
130
 
@@ -106,10 +154,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
154
  requirements: []
107
155
 
108
156
  rubyforge_project:
109
- rubygems_version: 1.7.2
157
+ rubygems_version: 1.6.0
110
158
  signing_key:
111
159
  specification_version: 3
112
160
  summary: Common shared deployment recipes.
113
- test_files:
114
- - spec/ninja-deploy_spec.rb
115
- - spec/spec_helper.rb
161
+ test_files: []
162
+