capistrano-ext-rvm-bundler 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +11 -0
- data/MIT-LICENSE +20 -0
- data/Manifest +7 -0
- data/README +1 -0
- data/Rakefile +25 -0
- data/capistrano-ext-rvm-bundler.gemspec +35 -0
- data/lib/capistrano/ext/rvm-bundler.rb +31 -0
- data/lib/capistrano/ext/version.rb +13 -0
- metadata +84 -0
data/CHANGELOG.rdoc
ADDED
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2011 DoubleDrones
|
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/Manifest
ADDED
data/README
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Capistrano recipes to support RVM installations with bundler.
|
data/Rakefile
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
begin
|
2
|
+
require 'echoe'
|
3
|
+
rescue LoadError
|
4
|
+
abort "You'll need to have `echoe' installed to use capistrano-ext-rvm-bundler's Rakefile"
|
5
|
+
end
|
6
|
+
|
7
|
+
require "./lib/capistrano/ext/version"
|
8
|
+
|
9
|
+
version = Capistrano::Ext::RvmBundler::Version::STRING.dup
|
10
|
+
if ENV['SNAPSHOT'].to_i == 1
|
11
|
+
version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
|
12
|
+
end
|
13
|
+
|
14
|
+
Echoe.new('capistrano-ext-rvm-bundler', version) do |p|
|
15
|
+
p.changelog = "CHANGELOG.rdoc"
|
16
|
+
|
17
|
+
p.author = "Marcin Nowicki"
|
18
|
+
p.email = "pr0d1r2@gmail.com"
|
19
|
+
p.summary = "Capistrano recipes to support RVM installations with bundler"
|
20
|
+
p.url = "https://github.com/doubledrones/capistrano-ext-rvm-bundler"
|
21
|
+
|
22
|
+
p.need_zip = true
|
23
|
+
|
24
|
+
p.dependencies = ["capistrano >=1.0.0", "capistrano-ext-rvm >=0.0.1"]
|
25
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{capistrano-ext-rvm-bundler}
|
5
|
+
s.version = "0.0.1"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = [%q{Marcin Nowicki}]
|
9
|
+
s.date = %q{2011-11-14}
|
10
|
+
s.description = %q{Capistrano recipes to support RVM installations with bundler}
|
11
|
+
s.email = %q{pr0d1r2@gmail.com}
|
12
|
+
s.extra_rdoc_files = [%q{CHANGELOG.rdoc}, %q{README}, %q{lib/capistrano/ext/rvm-bundler.rb}, %q{lib/capistrano/ext/version.rb}]
|
13
|
+
s.files = [%q{CHANGELOG.rdoc}, %q{MIT-LICENSE}, %q{README}, %q{Rakefile}, %q{lib/capistrano/ext/rvm-bundler.rb}, %q{lib/capistrano/ext/version.rb}, %q{Manifest}, %q{capistrano-ext-rvm-bundler.gemspec}]
|
14
|
+
s.homepage = %q{https://github.com/doubledrones/capistrano-ext-rvm-bundler}
|
15
|
+
s.rdoc_options = [%q{--line-numbers}, %q{--inline-source}, %q{--title}, %q{Capistrano-ext-rvm-bundler}, %q{--main}, %q{README}]
|
16
|
+
s.require_paths = [%q{lib}]
|
17
|
+
s.rubyforge_project = %q{capistrano-ext-rvm-bundler}
|
18
|
+
s.rubygems_version = %q{1.8.6}
|
19
|
+
s.summary = %q{Capistrano recipes to support RVM installations with bundler}
|
20
|
+
|
21
|
+
if s.respond_to? :specification_version then
|
22
|
+
s.specification_version = 3
|
23
|
+
|
24
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
25
|
+
s.add_runtime_dependency(%q<capistrano>, [">= 1.0.0"])
|
26
|
+
s.add_runtime_dependency(%q<capistrano-ext-rvm>, [">= 0.0.1"])
|
27
|
+
else
|
28
|
+
s.add_dependency(%q<capistrano>, [">= 1.0.0"])
|
29
|
+
s.add_dependency(%q<capistrano-ext-rvm>, [">= 0.0.1"])
|
30
|
+
end
|
31
|
+
else
|
32
|
+
s.add_dependency(%q<capistrano>, [">= 1.0.0"])
|
33
|
+
s.add_dependency(%q<capistrano-ext-rvm>, [">= 0.0.1"])
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'capistrano/ext/rvm'
|
2
|
+
|
3
|
+
Capistrano::Configuration.instance.load do
|
4
|
+
|
5
|
+
namespace :rubygems do
|
6
|
+
desc "update rubygems in RVM environment"
|
7
|
+
task :update do
|
8
|
+
run "rvm '#{rvm_ruby_string}' && gem update --system"
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
namespace :bundler do
|
13
|
+
desc "install bundler gem in RVM environment"
|
14
|
+
task :install do
|
15
|
+
run "rvm '#{rvm_ruby_string}' && gem install bundler"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
namespace :bundle do
|
20
|
+
desc "install bundle in RVM environment"
|
21
|
+
task :install do
|
22
|
+
run "cd #{latest_release} && rvm '#{rvm_ruby_string}' && bundle install --gemfile #{latest_release}/Gemfile --quiet --without development test"
|
23
|
+
end
|
24
|
+
|
25
|
+
desc "reset bundle in RVM environment"
|
26
|
+
task :reset do
|
27
|
+
run "cd #{current_path} && rvm '#{rvm_ruby_string}' && rm -f Gemfile.lock && rm -rf `rvm gemdir` && gem install bundler && bundle install --gemfile #{current_path}/Gemfile --without development test"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: capistrano-ext-rvm-bundler
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Marcin Nowicki
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-11-14 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: capistrano
|
16
|
+
requirement: &70212822948840 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.0.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70212822948840
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: capistrano-ext-rvm
|
27
|
+
requirement: &70212822948080 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.0.1
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70212822948080
|
36
|
+
description: Capistrano recipes to support RVM installations with bundler
|
37
|
+
email: pr0d1r2@gmail.com
|
38
|
+
executables: []
|
39
|
+
extensions: []
|
40
|
+
extra_rdoc_files:
|
41
|
+
- CHANGELOG.rdoc
|
42
|
+
- README
|
43
|
+
- lib/capistrano/ext/rvm-bundler.rb
|
44
|
+
- lib/capistrano/ext/version.rb
|
45
|
+
files:
|
46
|
+
- CHANGELOG.rdoc
|
47
|
+
- MIT-LICENSE
|
48
|
+
- README
|
49
|
+
- Rakefile
|
50
|
+
- lib/capistrano/ext/rvm-bundler.rb
|
51
|
+
- lib/capistrano/ext/version.rb
|
52
|
+
- Manifest
|
53
|
+
- capistrano-ext-rvm-bundler.gemspec
|
54
|
+
homepage: https://github.com/doubledrones/capistrano-ext-rvm-bundler
|
55
|
+
licenses: []
|
56
|
+
post_install_message:
|
57
|
+
rdoc_options:
|
58
|
+
- --line-numbers
|
59
|
+
- --inline-source
|
60
|
+
- --title
|
61
|
+
- Capistrano-ext-rvm-bundler
|
62
|
+
- --main
|
63
|
+
- README
|
64
|
+
require_paths:
|
65
|
+
- lib
|
66
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - ! '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '1.2'
|
78
|
+
requirements: []
|
79
|
+
rubyforge_project: capistrano-ext-rvm-bundler
|
80
|
+
rubygems_version: 1.8.6
|
81
|
+
signing_key:
|
82
|
+
specification_version: 3
|
83
|
+
summary: Capistrano recipes to support RVM installations with bundler
|
84
|
+
test_files: []
|