gradle-to-capistrano 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/gradle-to-capistrano.gemspec +55 -0
- data/lib/capistrano/recipes/deploy/strategy/gradle_build.rb +3 -3
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OThiMDQ1YzUzZDJiZDc1ZjA2MDUxMzM0OTEwMGNhODdhOGQ3NzZiNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YWQ0ZGQzOGFjZGI3NmUzMGIxZTMyMmNmNTQ5YmE4MWRjZGMzN2JlYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YmNkNWM3MTlkYjc0ZDJiMGViNjhlOGQ2Nzk2MjRjNDc3YjcxY2EwOTgxNjFh
|
10
|
+
MzUyYmI2NmU2OTM0MTAyNTgwMzI2ZjM3OTlkNmZjMTRkMWQwMzI0N2RiY2Rk
|
11
|
+
Njg2OWZhYjNkMmYyODUwYmRjMDQ2ZmU3YTc4ZmExZjRlMDhlMTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTliMTNmZmMxN2Q4YzM3Mjk4ZmM2M2RmOGY4ODg0NjY4NWI0NTZjMGViNzdl
|
14
|
+
ZGY2MGFmNWI0N2RmYWMwNWQxNjZhYTI5YjkzY2M3OTFlZTBlNmE4OThiYTFj
|
15
|
+
ZTlhNmVkMmRiNjJjMDgwMmY2M2I3ZjNhM2MyNjQ4Y2EzYWRmOGU=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: gradle-to-capistrano 0.0.3 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "gradle-to-capistrano"
|
9
|
+
s.version = "0.0.3"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
13
|
+
s.authors = ["Marcos Sousa"]
|
14
|
+
s.date = "2014-11-27"
|
15
|
+
s.description = "This extension should be used to run gradle commands on gradle based projects. The artifacts generated will be compreessed and copied to the server"
|
16
|
+
s.email = "falecomigo@marcossousa.com"
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"LICENSE.txt",
|
19
|
+
"README.rdoc"
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
".document",
|
23
|
+
"Gemfile",
|
24
|
+
"Gemfile.lock",
|
25
|
+
"LICENSE.txt",
|
26
|
+
"README.rdoc",
|
27
|
+
"Rakefile",
|
28
|
+
"VERSION",
|
29
|
+
"gradle-to-capistrano.gemspec",
|
30
|
+
"lib/capistrano/recipes/deploy/strategy/gradle_build.rb",
|
31
|
+
"lib/gradle-to-capistrano.rb",
|
32
|
+
"test/helper.rb",
|
33
|
+
"test/test_gradle-to-capistrano.rb"
|
34
|
+
]
|
35
|
+
s.homepage = "http://github.com/marcossousa/gradle-to-capistrano"
|
36
|
+
s.licenses = ["MIT"]
|
37
|
+
s.rubygems_version = "2.2.2"
|
38
|
+
s.summary = "Capistrano recipe to run gradle commands to generate deployable artifacts"
|
39
|
+
|
40
|
+
if s.respond_to? :specification_version then
|
41
|
+
s.specification_version = 4
|
42
|
+
|
43
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
45
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.7"])
|
46
|
+
else
|
47
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
48
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
|
49
|
+
end
|
50
|
+
else
|
51
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
52
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
@@ -11,11 +11,11 @@ module Capistrano
|
|
11
11
|
end
|
12
12
|
|
13
13
|
run_locally "cd #{gradle_working_dir} && #{gradle_home}/gradle #{gradle_cmd.gsub!('{release_name}', "#{File.basename(destination)}.tar")}"
|
14
|
-
run_locally "cd #{gradle_working_dir} && mv build/distributions/#{File.basename(destination)}.tar
|
14
|
+
run_locally "cd #{gradle_working_dir} && mv build/distributions/#{File.basename(destination)}.tar #{copy_dir}"
|
15
15
|
end
|
16
16
|
|
17
17
|
execute "Decompressing gradle build to put REVISON file" do
|
18
|
-
run_locally "cd
|
18
|
+
run_locally "cd #{copy_dir} && tar -xf #{copy_dir}#{File.basename(destination)}.tar"
|
19
19
|
end
|
20
20
|
create_revision_file
|
21
21
|
compress_repository
|
@@ -26,7 +26,7 @@ module Capistrano
|
|
26
26
|
|
27
27
|
def rollback_changes
|
28
28
|
run_locally "cd #{gradle_working_dir} && rm -rf build/distributions/*"
|
29
|
-
run_locally "rm -rf
|
29
|
+
run_locally "rm -rf #{copy_dir}#{File.basename(destination)}*"
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gradle-to-capistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcos Sousa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,16 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
MS4w
|
19
|
+
version: '1.0'
|
21
20
|
type: :development
|
22
21
|
prerelease: false
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
24
|
- - ~>
|
26
25
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
28
|
-
MS4w
|
26
|
+
version: '1.0'
|
29
27
|
- !ruby/object:Gem::Dependency
|
30
28
|
name: jeweler
|
31
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,6 +54,7 @@ files:
|
|
56
54
|
- README.rdoc
|
57
55
|
- Rakefile
|
58
56
|
- VERSION
|
57
|
+
- gradle-to-capistrano.gemspec
|
59
58
|
- lib/capistrano/recipes/deploy/strategy/gradle_build.rb
|
60
59
|
- lib/gradle-to-capistrano.rb
|
61
60
|
- test/helper.rb
|
@@ -80,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
79
|
version: '0'
|
81
80
|
requirements: []
|
82
81
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
82
|
+
rubygems_version: 2.2.2
|
84
83
|
signing_key:
|
85
84
|
specification_version: 4
|
86
85
|
summary: Capistrano recipe to run gradle commands to generate deployable artifacts
|