shipmate 0.0.0
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/.gitignore +5 -0
- data/Gemfile +2 -0
- data/README.md +3 -0
- data/lib/shipmate.rb +5 -0
- data/lib/shipmate/version.rb +3 -0
- data/script/bootstrap +12 -0
- data/script/release +32 -0
- data/shipmate.gemspec +21 -0
- metadata +70 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
data/lib/shipmate.rb
ADDED
data/script/bootstrap
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
#
|
|
3
|
+
# Usage: script/bootstrap
|
|
4
|
+
#
|
|
5
|
+
# Make sure all our local dependencies are satisfied.
|
|
6
|
+
# =============================================================================
|
|
7
|
+
cd "$(dirname $0)"/..
|
|
8
|
+
|
|
9
|
+
rm -rf .bundle/config
|
|
10
|
+
|
|
11
|
+
bundle check --path .bundle > /dev/null 2>&1 ||
|
|
12
|
+
bundle install --binstubs bin --path .bundle --quiet
|
data/script/release
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
#
|
|
3
|
+
# Usage: script/release
|
|
4
|
+
#
|
|
5
|
+
# Tag and push a release.
|
|
6
|
+
# =============================================================================
|
|
7
|
+
cd "$(dirname $0)"/..
|
|
8
|
+
|
|
9
|
+
# Build a new .gem archive
|
|
10
|
+
rm -rf shipmate-*.gem
|
|
11
|
+
gem build -q shipmate.gemspec
|
|
12
|
+
|
|
13
|
+
# Make sure we're on the master branch
|
|
14
|
+
(git branch | grep -q '* master') || {
|
|
15
|
+
echo "Only release from the master branch."
|
|
16
|
+
exit 1
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
# Figure out what version we're releasing
|
|
20
|
+
tag=v`ls shipmate-*.gem | sed 's/shipmate-\(.*\)\.gem$/\1/'`
|
|
21
|
+
|
|
22
|
+
# Make sure we haven't released this version before
|
|
23
|
+
git fetch -t origin
|
|
24
|
+
|
|
25
|
+
(git tag -l | grep -q "$tag") && {
|
|
26
|
+
echo "Whoops, there's already a '${tag}' tag."
|
|
27
|
+
exit 1
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
# Tag it and bag it
|
|
31
|
+
# gem push shipmate-*.gem && git tag "$tag" &&
|
|
32
|
+
# git push origin master && git push origin "$tag"
|
data/shipmate.gemspec
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
|
3
|
+
require 'shipmate/version'
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |gem|
|
|
6
|
+
gem.name = "shipmate"
|
|
7
|
+
gem.version = Shipmate::VERSION
|
|
8
|
+
gem.platform = Gem::Platform::RUBY
|
|
9
|
+
|
|
10
|
+
gem.authors = ["Jamie Connolly"]
|
|
11
|
+
gem.email = ["jamie@socialgo.com"]
|
|
12
|
+
gem.homepage = "https://github.com/devopsbp/shipmate"
|
|
13
|
+
|
|
14
|
+
gem.summary = "A centralized deployment service built on top of Capistrano and Hubot."
|
|
15
|
+
gem.description = gem.summary
|
|
16
|
+
|
|
17
|
+
gem.files = `git ls-files`.split($/)
|
|
18
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
|
19
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
20
|
+
gem.require_paths = ["lib"]
|
|
21
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: shipmate
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
prerelease: false
|
|
5
|
+
segments:
|
|
6
|
+
- 0
|
|
7
|
+
- 0
|
|
8
|
+
- 0
|
|
9
|
+
version: 0.0.0
|
|
10
|
+
platform: ruby
|
|
11
|
+
authors:
|
|
12
|
+
- Jamie Connolly
|
|
13
|
+
autorequire:
|
|
14
|
+
bindir: bin
|
|
15
|
+
cert_chain: []
|
|
16
|
+
|
|
17
|
+
date: 2013-02-18 00:00:00 +00:00
|
|
18
|
+
default_executable:
|
|
19
|
+
dependencies: []
|
|
20
|
+
|
|
21
|
+
description: A centralized deployment service built on top of Capistrano and Hubot.
|
|
22
|
+
email:
|
|
23
|
+
- jamie@socialgo.com
|
|
24
|
+
executables: []
|
|
25
|
+
|
|
26
|
+
extensions: []
|
|
27
|
+
|
|
28
|
+
extra_rdoc_files: []
|
|
29
|
+
|
|
30
|
+
files:
|
|
31
|
+
- .gitignore
|
|
32
|
+
- Gemfile
|
|
33
|
+
- README.md
|
|
34
|
+
- lib/shipmate.rb
|
|
35
|
+
- lib/shipmate/version.rb
|
|
36
|
+
- script/bootstrap
|
|
37
|
+
- script/release
|
|
38
|
+
- shipmate.gemspec
|
|
39
|
+
has_rdoc: true
|
|
40
|
+
homepage: https://github.com/devopsbp/shipmate
|
|
41
|
+
licenses: []
|
|
42
|
+
|
|
43
|
+
post_install_message:
|
|
44
|
+
rdoc_options: []
|
|
45
|
+
|
|
46
|
+
require_paths:
|
|
47
|
+
- lib
|
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
49
|
+
requirements:
|
|
50
|
+
- - ">="
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
segments:
|
|
53
|
+
- 0
|
|
54
|
+
version: "0"
|
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
|
+
requirements:
|
|
57
|
+
- - ">="
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
segments:
|
|
60
|
+
- 0
|
|
61
|
+
version: "0"
|
|
62
|
+
requirements: []
|
|
63
|
+
|
|
64
|
+
rubyforge_project:
|
|
65
|
+
rubygems_version: 1.3.6
|
|
66
|
+
signing_key:
|
|
67
|
+
specification_version: 3
|
|
68
|
+
summary: A centralized deployment service built on top of Capistrano and Hubot.
|
|
69
|
+
test_files: []
|
|
70
|
+
|