capistrano-scm-jenkins 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +10 -0
- data/Gemfile.lock +14 -12
- data/NEWS.md +4 -0
- data/README.md +2 -0
- data/Rakefile +4 -0
- data/capistrano-scm-jenkins.gemspec +1 -0
- data/lib/capistrano-scm-jenkins/version.rb +1 -1
- data/lib/capistrano/recipes/deploy/scm/jenkins.rb +6 -2
- metadata +80 -57
data/.travis.yml
ADDED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
capistrano-scm-jenkins (0.0.
|
4
|
+
capistrano-scm-jenkins (0.0.4)
|
5
5
|
capistrano
|
6
6
|
net-netrc
|
7
7
|
|
@@ -9,35 +9,37 @@ GEM
|
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
11
|
Platform (0.4.0)
|
12
|
-
capistrano (2.
|
12
|
+
capistrano (2.12.0)
|
13
13
|
highline
|
14
14
|
net-scp (>= 1.0.0)
|
15
15
|
net-sftp (>= 2.0.0)
|
16
16
|
net-ssh (>= 2.0.14)
|
17
17
|
net-ssh-gateway (>= 1.1.0)
|
18
18
|
diff-lcs (1.1.3)
|
19
|
-
highline (1.6.
|
19
|
+
highline (1.6.13)
|
20
20
|
net-netrc (0.2.2)
|
21
21
|
Platform (>= 0.3.0)
|
22
22
|
net-scp (1.0.4)
|
23
23
|
net-ssh (>= 1.99.1)
|
24
24
|
net-sftp (2.0.5)
|
25
25
|
net-ssh (>= 2.0.9)
|
26
|
-
net-ssh (2.2
|
26
|
+
net-ssh (2.5.2)
|
27
27
|
net-ssh-gateway (1.1.0)
|
28
28
|
net-ssh (>= 1.99.1)
|
29
|
-
|
30
|
-
|
31
|
-
rspec-
|
32
|
-
rspec-
|
33
|
-
|
34
|
-
rspec-
|
35
|
-
|
36
|
-
|
29
|
+
rake (0.9.2.2)
|
30
|
+
rspec (2.10.0)
|
31
|
+
rspec-core (~> 2.10.0)
|
32
|
+
rspec-expectations (~> 2.10.0)
|
33
|
+
rspec-mocks (~> 2.10.0)
|
34
|
+
rspec-core (2.10.1)
|
35
|
+
rspec-expectations (2.10.0)
|
36
|
+
diff-lcs (~> 1.1.3)
|
37
|
+
rspec-mocks (2.10.1)
|
37
38
|
|
38
39
|
PLATFORMS
|
39
40
|
ruby
|
40
41
|
|
41
42
|
DEPENDENCIES
|
42
43
|
capistrano-scm-jenkins!
|
44
|
+
rake
|
43
45
|
rspec
|
data/NEWS.md
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# capistrano-scm-jenkins
|
2
2
|
|
3
|
+
[![Build Status](https://secure.travis-ci.org/lidaobing/capistrano-scm-jenkins.png?branch=master)](http://travis-ci.org/lidaobing/capistrano-scm-jenkins)
|
4
|
+
|
3
5
|
With this plugin, you can use jenkins build artifact as a repository, and
|
4
6
|
deploy your build artifact with capistrano.
|
5
7
|
|
data/Rakefile
CHANGED
@@ -118,14 +118,18 @@ module Capistrano
|
|
118
118
|
|
119
119
|
def rss_all
|
120
120
|
begin
|
121
|
-
@rss_all ||= open(repository + '/rssAll', auth_opts).read()
|
121
|
+
@rss_all ||= open(repository + '/rssAll', accept_language.merge(auth_opts)).read()
|
122
122
|
rescue => e
|
123
123
|
raise Capistrano::Error, "open url #{repository + '/rssAll'} failed: #{e}"
|
124
124
|
end
|
125
125
|
end
|
126
126
|
|
127
127
|
def rss_changelog
|
128
|
-
@rss_changelog ||= open(repository + '/rssChangelog', auth_opts).read()
|
128
|
+
@rss_changelog ||= open(repository + '/rssChangelog', accept_language.merge(auth_opts)).read()
|
129
|
+
end
|
130
|
+
|
131
|
+
def accept_language
|
132
|
+
{"Accept-Language" => "en-US"}
|
129
133
|
end
|
130
134
|
|
131
135
|
def auth_opts
|
metadata
CHANGED
@@ -1,65 +1,91 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-scm-jenkins
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4
|
4
5
|
prerelease:
|
5
|
-
version: 0.0.3
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- LI Daobing
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-06-21 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: capistrano
|
18
|
-
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
20
17
|
none: false
|
21
|
-
requirements:
|
22
|
-
- -
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version:
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
25
22
|
type: :runtime
|
26
|
-
version_requirements: *id001
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: net-netrc
|
29
23
|
prerelease: false
|
30
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: net-netrc
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
31
33
|
none: false
|
32
|
-
requirements:
|
33
|
-
- -
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version:
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
36
38
|
type: :runtime
|
37
|
-
|
38
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
39
47
|
name: rspec
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
40
55
|
prerelease: false
|
41
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rake
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
42
65
|
none: false
|
43
|
-
requirements:
|
44
|
-
- -
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version:
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
47
70
|
type: :development
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
description: ! "\nWith this plugin, you can use jenkins build artifact as a repository,
|
79
|
+
and\ndeploy your build artifact with capistrano.\n "
|
80
|
+
email:
|
53
81
|
- lidaobing@gmail.com
|
54
82
|
executables: []
|
55
|
-
|
56
83
|
extensions: []
|
57
|
-
|
58
84
|
extra_rdoc_files: []
|
59
|
-
|
60
|
-
files:
|
85
|
+
files:
|
61
86
|
- .gitignore
|
62
87
|
- .rspec
|
88
|
+
- .travis.yml
|
63
89
|
- Gemfile
|
64
90
|
- Gemfile.lock
|
65
91
|
- NEWS.md
|
@@ -71,33 +97,30 @@ files:
|
|
71
97
|
- lib/capistrano/recipes/deploy/scm/jenkins.rb
|
72
98
|
- spec/capistrano/recipes/deploy/scm/jenkins_spec.rb
|
73
99
|
- spec/spec_helper.rb
|
74
|
-
has_rdoc: true
|
75
100
|
homepage: https://github.com/lidaobing/capistrano-scm-jenkins
|
76
101
|
licenses: []
|
77
|
-
|
78
102
|
post_install_message:
|
79
103
|
rdoc_options: []
|
80
|
-
|
81
|
-
require_paths:
|
104
|
+
require_paths:
|
82
105
|
- lib
|
83
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
106
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
84
107
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version:
|
89
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ! '>='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
113
|
none: false
|
91
|
-
requirements:
|
92
|
-
- -
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version:
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
95
118
|
requirements: []
|
96
|
-
|
97
119
|
rubyforge_project: capistrano-scm-jenkins
|
98
|
-
rubygems_version: 1.
|
120
|
+
rubygems_version: 1.8.23
|
99
121
|
signing_key:
|
100
122
|
specification_version: 3
|
101
123
|
summary: use jenkins as a capistrano scm
|
102
|
-
test_files:
|
103
|
-
|
124
|
+
test_files:
|
125
|
+
- spec/capistrano/recipes/deploy/scm/jenkins_spec.rb
|
126
|
+
- spec/spec_helper.rb
|