capistrano-strategy-copy-bundled 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Rudolf Schmidt
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,33 @@
1
+ = Capistrano Strategy: Copy Bundled
2
+ This recipe for capistrano utilizes the regular copy strategy. However, instead of bundling the gems on the remote servers,
3
+ they are already pre-bundled on the deploy machine and sent as one package.
4
+
5
+ In some networks, due to security reasons, production servers are not allowed to access the internal company network. When
6
+ that is the case, you are not able access your internally written gems. Also, these kind of servers usually and intentionally
7
+ know nothing about version control or are even behind a firewall with blocked access to runygems or github and the likes.
8
+
9
+ This capistrano recipe tries to help out in these scenarios.
10
+
11
+ == Installation
12
+ # for system wide usage
13
+ gem install 'capistrano-strategy-copy-bundled'
14
+
15
+ # or just in your Gemfile
16
+ gem 'capistrano-strategy-copy-bundled'
17
+
18
+
19
+ == Usage
20
+ As this recipe does it's own bundling, there is not need to: require 'bundler/capistrano'.
21
+
22
+ All you have to do in your `config/deploy.rb`:
23
+
24
+ require 'capistrano-strategy-copy-bundled'
25
+ set :deploy_via, :copy_bundled # bundle gems locally and send them packed to all servers
26
+
27
+ Additionally to that, you can set the usual options when using the regular :copy strategy for capistrano, like:
28
+ set :copy_dir, "/tmp/#{application}" # path where files are temporarily put before sending them to the servers
29
+ set :copy_exclude, ".git*" # we exclude the .git repo so that nobody is able to temper with the release
30
+
31
+
32
+ == Copyright
33
+ Copyright (c) 2011 Rudolf Schmidt See LICENSE.txt for details.
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
 
10
10
  s.homepage = "http://github.com/rudionrails/capistrano-strategy-copy-bundled"
11
11
  s.summary = %q{Capistrano copy recipe to transfer files already pre-bundled}
12
- s.description = %q{Bundled all gems in the copy directory and then send it to all servers already packaged}
12
+ s.description = %q{Bundle all gems in the copy directory and then send it to all servers}
13
13
 
14
14
  s.rubyforge_project = "capistrano-strategy-copy-bundled"
15
15
 
@@ -1,4 +1,4 @@
1
1
  module CapistranoStrategyCopyBundled
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
 
4
4
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: capistrano-strategy-copy-bundled
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.1
5
+ version: 0.4.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rudolf Schmidt
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-19 00:00:00 +02:00
13
+ date: 2011-09-30 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -24,7 +24,7 @@ dependencies:
24
24
  version: "2"
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
- description: Bundled all gems in the copy directory and then send it to all servers already packaged
27
+ description: Bundle all gems in the copy directory and then send it to all servers
28
28
  email:
29
29
  executables: []
30
30
 
@@ -35,6 +35,8 @@ extra_rdoc_files: []
35
35
  files:
36
36
  - .gitignore
37
37
  - Gemfile
38
+ - LICENSE.txt
39
+ - README.rdoc
38
40
  - Rakefile
39
41
  - capistrano-strategy-copy-bundled.gemspec
40
42
  - lib/capistrano-strategy-copy-bundled.rb