lyberteam-capistrano-devel 3.0.0.pre1
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.
- checksums.yaml +7 -0
- data/.gitignore +6 -0
- data/Gemfile +5 -0
- data/LICENSE +20 -0
- data/README.rdoc +56 -0
- data/Rakefile +19 -0
- data/lib/dlss/capistrano.rb +5 -0
- data/lib/dlss.rb +3 -0
- data/lib/lyberteam-capistrano-devel.rb +1 -0
- data/lyberteam-capistrano-devel.gemspec +30 -0
- metadata +124 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 963d376df29067f0dbbc015ad16c253becb80314
|
4
|
+
data.tar.gz: a95d95f53a5a784ee569d017aec57b33df52c5a2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d7de32fe0dbcd6e41e3f25f0aae804a82f6171ba7d8194f357ab6ff4af9291a3b21f328366d4987340004d7de775926fed820206ae3ff795ced0349722ce5f50
|
7
|
+
data.tar.gz: f519a54f0cbddc3c2914dcf9a1de9582aaf380c6694ddcc105415526b643e3fa376da12f9a234075c26437086330be545f01abaf8c8854fa2278e2a0ec7cac54
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 Stanford University Library
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
= lyberteam-capistrano-devel
|
2
|
+
|
3
|
+
This gem contains classes that deal with the Capistrano deployment of SUL DLSS Ruby projects.
|
4
|
+
|
5
|
+
== Latest Documentation
|
6
|
+
- See https://consul.stanford.edu/display/dlssdev/Capistrano+Deployment+and+the+lyberteam-capistrano-devel+gem for the most recent documentation about this gem
|
7
|
+
|
8
|
+
== Capfile assumptions
|
9
|
+
|
10
|
+
This gem makes the following assumptions about your Ruby project (lyberteam-capistrano-devel >= 1.0)
|
11
|
+
|
12
|
+
- You use git for source control
|
13
|
+
- The server you deploy to uses rvm, it is installed systemwide, and is the default system ruby
|
14
|
+
- You do not have an .rvmrc checked into git (should be in your .gitignore)
|
15
|
+
- You will not use rvm gemsets on the server you deploy to
|
16
|
+
- Bundler will install specified gems into {your_project_home}/shared/bundle directory
|
17
|
+
- You have a VERSION file that contains an x.y.z version number. This will get passed to the DLSS release board
|
18
|
+
- Will deploy from the master branch, unless you set :branch to another branch or tag
|
19
|
+
- The latest version of the gem is not compatible with scripts written before 1.0.0!!!!!
|
20
|
+
-You need to remove any rvm references
|
21
|
+
-whenever gem support has been removed. See section the "Setting up crontab with the whenever gem" section below
|
22
|
+
- If you use ruby 1.9.x, you need to add net-ssh-krb to your gemfile
|
23
|
+
|
24
|
+
|
25
|
+
== Releases
|
26
|
+
* *0.1.0* Initial release, with Dlss::Release rake task pulled in from the lyber-core gem project.
|
27
|
+
* *0.2.0* Allow user to continue even if the tagged version already exists (for use with git-flow,
|
28
|
+
which tags versions before release).
|
29
|
+
* *0.2.1* Fixed tagging bug in v0.2.0
|
30
|
+
* *0.3.0* Read version organically from Gem::Specification instead of by grepping the .gemspec file
|
31
|
+
* *0.4.0* Add LyberTeam CA-signed certificate generator
|
32
|
+
* *0.4.1* Changed SMTP port from 25 to 587 so send_release_announcement will work from off campus
|
33
|
+
* *0.5.0* Added capistrano recipes for app deployment
|
34
|
+
* *0.5.1* Split generic DLSS capistrano tasks from the robot-related ones
|
35
|
+
* *0.5.2* Tweaked capistrano generic and robot-related tasks
|
36
|
+
* *0.5.3* Locking capistrano to 2.9.0 in gemspec to fix bug in deploy:setup shared directory setup
|
37
|
+
* *0.6.0* Removing capistrano version constraint; requiring "shared" directory to use the newer
|
38
|
+
flat directory layout
|
39
|
+
* *0.6.1* deploy:finalize_update task in capistrano/robots creates links to flat "shared" directory
|
40
|
+
* *0.6.2* dlss:update_crontab runs after deploy:create_symlink
|
41
|
+
* *0.7.0* Client support for the DLSS Release Board at http://dlss-releases.stanford.edu including
|
42
|
+
a command-line client (bin/post_dlss_release) as well as baked-in support within the gem
|
43
|
+
release task (rake dlss_release) and the capistrano deployment library (dlss:log_release)
|
44
|
+
* *0.7.1* Remove leftover send_release_announcement call from rake task
|
45
|
+
* *0.7.2* Update dlss:log_release capistrano task to parse the application version more robustly
|
46
|
+
* *0.7.3* [unreleased]
|
47
|
+
* *0.7.4* Update capistrano dependency and add rvm-capistrano
|
48
|
+
* *0.8.0* Capistrano related classes moved to lyberteam-capistrano-devel gem
|
49
|
+
* *0.9.0* dlss:log_release will automatically send release notification if a VERSION file exists in the root of project
|
50
|
+
* *1.0.0* Removal of all rvm and gemset related task. Not backwards compatible with older scripts
|
51
|
+
* *1.2.0* Ruby 1.9.x users must include net-ssh-krb in their Gemfile
|
52
|
+
* *3.0.0.pre1* Support Capistrano 3.x
|
53
|
+
|
54
|
+
== Copyright
|
55
|
+
|
56
|
+
Copyright (c) 2014 Stanford University Library. See LICENSE for details.
|
data/Rakefile
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
require 'bundler'
|
4
|
+
|
5
|
+
Dir.glob('lib/tasks/*.rake').each { |r| import r }
|
6
|
+
|
7
|
+
begin
|
8
|
+
Bundler.setup(:default, :development)
|
9
|
+
rescue Bundler::BundlerError => e
|
10
|
+
$stderr.puts e.message
|
11
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
12
|
+
exit e.status_code
|
13
|
+
end
|
14
|
+
|
15
|
+
# To release the gem to the DLSS gemserver, run 'rake dlss_release'
|
16
|
+
require 'dlss/rake/dlss_release'
|
17
|
+
Dlss::Release.new
|
18
|
+
|
19
|
+
|
data/lib/dlss.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'dlss'
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib/', __FILE__)
|
3
|
+
$:.unshift lib unless $:.include?(lib)
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "lyberteam-capistrano-devel"
|
7
|
+
s.version = "3.0.0.pre1"
|
8
|
+
|
9
|
+
s.platform = Gem::Platform::RUBY
|
10
|
+
s.authors = ["Chris Beer","Willy Mene"]
|
11
|
+
s.email = ["cabeer@stanford.edu"]
|
12
|
+
s.summary = "Capistrano recipies for use in SUL/DLSS projects"
|
13
|
+
s.description = "Capistrano recipies to assist with the development, testing, and release of SUL/DLSS Ruby project"
|
14
|
+
|
15
|
+
s.required_rubygems_version = ">= 1.3.6"
|
16
|
+
s.required_ruby_version = '>= 1.9.3'
|
17
|
+
|
18
|
+
# All dependencies are runtime dependencies, since this gem's "runtime" is
|
19
|
+
# the dependent gem's development-time.
|
20
|
+
s.add_dependency "capistrano", "~> 3.0"
|
21
|
+
s.add_dependency "capistrano-releaseboard"
|
22
|
+
s.add_dependency "capistrano-holepicker"
|
23
|
+
s.add_dependency "capistrano-one_time_key"
|
24
|
+
|
25
|
+
s.add_development_dependency 'lyberteam-gems-devel', ">= 1.0"
|
26
|
+
|
27
|
+
s.files = `git ls-files`.split($/)
|
28
|
+
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
29
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
30
|
+
end
|
metadata
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lyberteam-capistrano-devel
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.0.0.pre1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chris Beer
|
8
|
+
- Willy Mene
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-01-16 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: capistrano
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '3.0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '3.0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: capistrano-releaseboard
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: capistrano-holepicker
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: capistrano-one_time_key
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: lyberteam-gems-devel
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '1.0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '1.0'
|
84
|
+
description: Capistrano recipies to assist with the development, testing, and release
|
85
|
+
of SUL/DLSS Ruby project
|
86
|
+
email:
|
87
|
+
- cabeer@stanford.edu
|
88
|
+
executables: []
|
89
|
+
extensions: []
|
90
|
+
extra_rdoc_files: []
|
91
|
+
files:
|
92
|
+
- ".gitignore"
|
93
|
+
- Gemfile
|
94
|
+
- LICENSE
|
95
|
+
- README.rdoc
|
96
|
+
- Rakefile
|
97
|
+
- lib/dlss.rb
|
98
|
+
- lib/dlss/capistrano.rb
|
99
|
+
- lib/lyberteam-capistrano-devel.rb
|
100
|
+
- lyberteam-capistrano-devel.gemspec
|
101
|
+
homepage:
|
102
|
+
licenses: []
|
103
|
+
metadata: {}
|
104
|
+
post_install_message:
|
105
|
+
rdoc_options: []
|
106
|
+
require_paths:
|
107
|
+
- lib
|
108
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 1.9.3
|
113
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.3.6
|
118
|
+
requirements: []
|
119
|
+
rubyforge_project:
|
120
|
+
rubygems_version: 2.2.0
|
121
|
+
signing_key:
|
122
|
+
specification_version: 4
|
123
|
+
summary: Capistrano recipies for use in SUL/DLSS projects
|
124
|
+
test_files: []
|