capistrano-simpledeploy 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a5ceffd788feeabe655b0633a6944e597b5ff101
4
+ data.tar.gz: c8faa5331bb5da71cfb92ebe6e164c475bef15a7
5
+ SHA512:
6
+ metadata.gz: e9313b03cdb3dac39c0416bd070a8ac61df4ce7bc37ccce30c34c697312c65eebd73959f4b326a7b6b49da683e5ec5b4234b266c313996aa7a4c8558660d269d
7
+ data.tar.gz: 79382507fd71970855545e37741a0b38404a202d986ad7068215d3047a7484e27899eaaf40023e33607aef4da1dd3051160de65e1b4865f9c9ea6b0363136f81
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/README.md ADDED
@@ -0,0 +1,3 @@
1
+ ### Capistrano Single Deploy
2
+
3
+ A Capistrano 3 extension to handle single version deploys for a LAMP stack
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'capistrano-simpledeploy'
7
+ spec.version = '0.0.2'
8
+ spec.authors = ["Ross Riley"]
9
+ spec.email = ["riley.ross@gmail.com"]
10
+ spec.description = %q{An extension to handle single version deploys for Capistrano 3.x}
11
+ spec.summary = %q{An extension to handle single version deploys for Capistrano 3.x}
12
+ spec.homepage = 'https://github.com/rossriley/capistrano-single-deploy'
13
+ spec.license = 'MIT'
14
+
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ['lib']
19
+
20
+ spec.add_dependency 'capistrano', '>= 3.1'
21
+ spec.add_dependency 'capistrano-bundle'
22
+ spec.add_dependency 'capistrano-compose'
23
+ spec.add_dependency 'capistrano-simplegit'
24
+
25
+ spec.add_development_dependency 'bundler', '~> 1.3'
26
+ spec.add_development_dependency 'rake'
27
+ end
@@ -0,0 +1,5 @@
1
+ require "capistrano/bundle"
2
+ require "capistrano/compose"
3
+ require "capistrano/simplegit"
4
+
5
+ load File.expand_path('../tasks/simpledeploy.rake', __FILE__)
@@ -0,0 +1,45 @@
1
+ namespace :deploy do
2
+
3
+ desc 'Start a deployment, make sure server(s) ready.'
4
+ task :starting do
5
+ invoke 'load:defaults'
6
+ end
7
+
8
+ desc 'Update server(s) by setting up a new release.'
9
+ task :updating do
10
+ invoke 'simplegit:deploy'
11
+ end
12
+
13
+
14
+ desc 'Finish the deployment, clean up server(s).'
15
+ task :finishing do
16
+ invoke 'composer:install'
17
+ invoke 'bundle:build'
18
+ end
19
+
20
+ desc 'Finished'
21
+ task :finished do
22
+ end
23
+
24
+
25
+ end
26
+
27
+ desc 'Deploy a new release.'
28
+ task :deploy do
29
+ set(:deploying, true)
30
+ %w{ starting updating finishing finished }.each do |task|
31
+ invoke "deploy:#{task}"
32
+ end
33
+ end
34
+ task default: :deploy
35
+
36
+
37
+
38
+ ## Compatibility with Cap 2.x
39
+ namespace :load do
40
+
41
+ task :defaults do
42
+ set :repo_url, -> { fetch(:repository) }
43
+ end
44
+
45
+ end
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: capistrano-simpledeploy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Ross Riley
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-03-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: capistrano
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '3.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '3.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: capistrano-bundle
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: capistrano-compose
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: capistrano-simplegit
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '1.3'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '1.3'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: An extension to handle single version deploys for Capistrano 3.x
98
+ email:
99
+ - riley.ross@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - .gitignore
105
+ - README.md
106
+ - capistrano-simpledeploy.gemspec
107
+ - lib/capistrano/simpledeploy.rb
108
+ - lib/capistrano/tasks/simpledeploy.rake
109
+ homepage: https://github.com/rossriley/capistrano-single-deploy
110
+ licenses:
111
+ - MIT
112
+ metadata: {}
113
+ post_install_message:
114
+ rdoc_options: []
115
+ require_paths:
116
+ - lib
117
+ required_ruby_version: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - '>='
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ required_rubygems_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - '>='
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ requirements: []
128
+ rubyforge_project:
129
+ rubygems_version: 2.1.10
130
+ signing_key:
131
+ specification_version: 4
132
+ summary: An extension to handle single version deploys for Capistrano 3.x
133
+ test_files: []