git-deployer 0.0.2 → 0.0.3
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/README.textile +1 -1
- data/example/tasks.rb +8 -2
- data/git-deployer.gemspec +2 -2
- metadata +42 -42
data/README.textile
CHANGED
@@ -29,7 +29,7 @@ end
|
|
29
29
|
|
30
30
|
* Install hooks via @./tasks.rb deployer:install@
|
31
31
|
* Edit @hooks/clone@ and @hooks/update@
|
32
|
-
* Install @post-receive@ hook and create necessary directories via @./tasks.rb deployer:
|
32
|
+
* Install @post-receive@ hook and create necessary directories via @./tasks.rb deployer:setup@
|
33
33
|
* Push your changes via @git push origin master@
|
34
34
|
|
35
35
|
That's it. When you run @git push origin master@ for the first time, it should found that given branch isn't cloned yet, so it should
|
data/example/tasks.rb
CHANGED
@@ -1,12 +1,18 @@
|
|
1
1
|
#!/usr/bin/env nake
|
2
2
|
|
3
|
+
begin
|
4
|
+
require File.expand_path("../.bundle/environment", __FILE__)
|
5
|
+
rescue LoadError
|
6
|
+
require "bundler"
|
7
|
+
Bundler.setup
|
8
|
+
end
|
9
|
+
|
3
10
|
# TODO: rewrite the example to Rango, it would be more interesting
|
4
11
|
# Or maybe add more examples for jekyll, nanoc, Django, maybe Rails.
|
5
|
-
|
12
|
+
$LOAD_PATH.unshift(File.expand_path("../tasks", __FILE__))
|
6
13
|
|
7
14
|
load "git-deployer.nake"
|
8
15
|
|
9
16
|
Task["deployer:setup"].config[:user] = "TODO"
|
10
17
|
Task["deployer:setup"].config[:host] = "TODO"
|
11
18
|
Task["deployer:setup"].config[:path] = "/var/www/deploy-test"
|
12
|
-
|
data/git-deployer.gemspec
CHANGED
@@ -5,12 +5,12 @@ require "base64"
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "git-deployer"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.3"
|
9
9
|
s.authors = ["Jakub Šťastný aka Botanicus"]
|
10
10
|
s.homepage = "http://github.com/botanicus/git-deployer"
|
11
11
|
s.summary = "Easy deploy system based on Git hooks"
|
12
12
|
s.description = "" # TODO: long description
|
13
|
-
s.cert_chain = nil
|
13
|
+
# s.cert_chain = nil
|
14
14
|
s.email = Base64.decode64("c3Rhc3RueUAxMDFpZGVhcy5jeg==\n")
|
15
15
|
s.has_rdoc = false
|
16
16
|
|
metadata
CHANGED
@@ -1,35 +1,39 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-deployer
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.3
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
|
-
authors:
|
7
|
-
-
|
7
|
+
authors:
|
8
|
+
- Jakub Šťastný aka Botanicus
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
date:
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-04-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
15
|
name: nake
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
16
22
|
type: :development
|
17
|
-
|
18
|
-
version_requirements: !ruby/object:Gem::Requirement
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
description:
|
25
|
-
email:
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
description: ''
|
31
|
+
email: !binary |-
|
32
|
+
c3Rhc3RueUAxMDFpZGVhcy5jeg==
|
26
33
|
executables: []
|
27
|
-
|
28
34
|
extensions: []
|
29
|
-
|
30
35
|
extra_rdoc_files: []
|
31
|
-
|
32
|
-
files:
|
36
|
+
files:
|
33
37
|
- .gitignore
|
34
38
|
- README.textile
|
35
39
|
- example/README.textile
|
@@ -44,33 +48,29 @@ files:
|
|
44
48
|
- hooks/project/update.source.erb
|
45
49
|
- hooks/server/post-receive.erb
|
46
50
|
- tasks/git-deployer.nake
|
47
|
-
has_rdoc: true
|
48
51
|
homepage: http://github.com/botanicus/git-deployer
|
49
52
|
licenses: []
|
50
|
-
|
51
53
|
post_install_message:
|
52
54
|
rdoc_options: []
|
53
|
-
|
54
|
-
require_paths:
|
55
|
+
require_paths:
|
55
56
|
- tasks
|
56
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
68
69
|
requirements: []
|
69
|
-
|
70
70
|
rubyforge_project: git-deployer
|
71
|
-
rubygems_version: 1.
|
71
|
+
rubygems_version: 1.8.23
|
72
72
|
signing_key:
|
73
73
|
specification_version: 3
|
74
74
|
summary: Easy deploy system based on Git hooks
|
75
75
|
test_files: []
|
76
|
-
|
76
|
+
has_rdoc: false
|