forkcms_deploy 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/.gitignore +1 -0
  2. data/README.md +50 -0
  3. data/Rakefile +1 -0
  4. data/VERSION +1 -1
  5. data/forkcms_deploy.gemspec +48 -0
  6. metadata +22 -5
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg
data/README.md CHANGED
@@ -0,0 +1,50 @@
1
+ # ForkCMS Deploy gem
2
+ This is a gem that enables you to deploy a ForkCMS install to your server. It was built specific for Fork CMS so your Capfile will be neat and tidy.
3
+
4
+ ## Installation
5
+ The recipe is available in the forkcms_deploy gem, which can be installed via [RubyGems.org](http://rubygems.org)
6
+ gem install forkcms_deploy
7
+
8
+ ## Available recipes
9
+ * forkcms_deploy - ForkCMS specific tasks.
10
+ * forkcms_deploy/defaults - Best practices for each deployment.
11
+
12
+ ## Example recipe
13
+ This recipe will deploy the ForkCMS-instance to your-app.com.
14
+
15
+ load 'deploy' if respond_to?(:namespace) # cap2 differentiator
16
+
17
+ # set your application name here
18
+ set :application, "your-app.com" # eg.: sumocoders.be
19
+
20
+ # set user to use on server
21
+ set :user, "your-user" # eg.: sumocoders
22
+
23
+ # deploy to path (on server)
24
+ set :deploy_to, "/home/#{user}/apps/#{application}" # eg.: /home/sumocoders/apps/sumocoders.be
25
+
26
+ # set document_root
27
+ set :document_root, "/home/#{user}/www.your-app.com" # eg.: /home/sumocoders/default_www
28
+
29
+ # define roles
30
+ server "your-app.com", :app, :web, :db, :primary => true # eg.: crsolutions.be
31
+
32
+ # git repo & branch
33
+ set :repository, "git@your-git.com:your-app.git" # eg.: git@crsolutions.be:sumocoders.be.git
34
+ set :branch, "master"
35
+
36
+ # set version control type and copy strategy
37
+ set :scm, :git
38
+ set :copy_strategy, :checkout
39
+
40
+ begin
41
+ require 'forkcms_deploy'
42
+ require 'forkcms_deploy/defaults' # optional, contains best practices
43
+ rescue LoadError
44
+ $stderr.puts <<-INSTALL
45
+ You need the forkcms_deploy gem (which simplifies this Capfile) to deploy this application
46
+ Install the gem like this:
47
+ gem install forkcms_deploy
48
+ INSTALL
49
+ exit 1
50
+ end
data/Rakefile CHANGED
@@ -7,6 +7,7 @@ begin
7
7
  gemspec.email = "info@sumocoders.be"
8
8
  gemspec.homepage = "http://github.com/tijsverkoyen/forkcms_deploy"
9
9
  gemspec.authors = ['Tijs Verkoyen', 'Jan De Poorter']
10
+ gemspec.add_dependency 'capistrano', '>=2.0.0'
10
11
  end
11
12
  Jeweler::GemcutterTasks.new
12
13
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -0,0 +1,48 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{forkcms_deploy}
8
+ s.version = "1.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Tijs Verkoyen", "Jan De Poorter"]
12
+ s.date = %q{2010-10-28}
13
+ s.description = %q{Deployment for Fork with Capistrano}
14
+ s.email = %q{info@sumocoders.be}
15
+ s.extra_rdoc_files = [
16
+ "README.md"
17
+ ]
18
+ s.files = [
19
+ ".gitignore",
20
+ "README.md",
21
+ "Rakefile",
22
+ "VERSION",
23
+ "forkcms_deploy.gemspec",
24
+ "lib/forkcms_deploy.rb",
25
+ "lib/forkcms_deploy/defaults.rb",
26
+ "lib/forkcms_deploy/forkcms.rb",
27
+ "lib/forkcms_deploy/overwrites.rb"
28
+ ]
29
+ s.homepage = %q{http://github.com/tijsverkoyen/forkcms_deploy}
30
+ s.rdoc_options = ["--charset=UTF-8"]
31
+ s.require_paths = ["lib"]
32
+ s.rubygems_version = %q{1.3.7}
33
+ s.summary = %q{Deployment for Fork with Capistrano}
34
+
35
+ if s.respond_to? :specification_version then
36
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
37
+ s.specification_version = 3
38
+
39
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
40
+ s.add_runtime_dependency(%q<capistrano>, [">= 2.0.0"])
41
+ else
42
+ s.add_dependency(%q<capistrano>, [">= 2.0.0"])
43
+ end
44
+ else
45
+ s.add_dependency(%q<capistrano>, [">= 2.0.0"])
46
+ end
47
+ end
48
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forkcms_deploy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tijs Verkoyen
@@ -18,8 +18,23 @@ cert_chain: []
18
18
 
19
19
  date: 2010-10-28 00:00:00 +02:00
20
20
  default_executable:
21
- dependencies: []
22
-
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ name: capistrano
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 15
31
+ segments:
32
+ - 2
33
+ - 0
34
+ - 0
35
+ version: 2.0.0
36
+ type: :runtime
37
+ version_requirements: *id001
23
38
  description: Deployment for Fork with Capistrano
24
39
  email: info@sumocoders.be
25
40
  executables: []
@@ -29,9 +44,11 @@ extensions: []
29
44
  extra_rdoc_files:
30
45
  - README.md
31
46
  files:
47
+ - .gitignore
32
48
  - README.md
33
49
  - Rakefile
34
50
  - VERSION
51
+ - forkcms_deploy.gemspec
35
52
  - lib/forkcms_deploy.rb
36
53
  - lib/forkcms_deploy/defaults.rb
37
54
  - lib/forkcms_deploy/forkcms.rb