gradle-to-capistrano 0.0.3 → 0.0.4
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.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/gradle-to-capistrano.gemspec +3 -3
- data/lib/capistrano/recipes/deploy/strategy/gradle_build.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjEwNDI2NWZkNDEzOTE0NTZjMGZhM2QyN2M2Mzk3MTZhZDA1NzhiNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OThjM2QzMjRlMGE0ZTQ0YzE1MmJkNGQyODc1NzJjNDYwNmI3YjNhZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZGI2N2NmNGIyZTkzY2Q1NjM2ZGU1MzA5NjZiZmU5NzAwOGNmNDYwZTU5N2Fj
|
10
|
+
YjBlYzU1NGQ1NzhjZjc4ODRlMTVhMDBhOTJjNjkyYTkzZTg0ZWJlYzllNzM0
|
11
|
+
MTMzN2YzNzA4Yzc3ZGQ1NzZjOTIzNGZmOWQ4ZjA1YTA0YjlmOWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzI0ZDM2NjViNWY4NmFmMTlkY2RlMzlmZmY2NjE3MTlhM2FkZmJmNmQ5MDY1
|
14
|
+
YzBlZjY5YWIwNTljNjQwZjNhNjAwNmYwNjBmZTE1NDk5MGQ4NTdhODdiNDgx
|
15
|
+
Mjk2ZTRkN2ZlMjFjYTgyMWExZDM0NTA3MzEyZmUzZDdkYzYxNjc=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: gradle-to-capistrano 0.0.
|
5
|
+
# stub: gradle-to-capistrano 0.0.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "gradle-to-capistrano"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Marcos Sousa"]
|
14
|
-
s.date = "2014-
|
14
|
+
s.date = "2014-12-05"
|
15
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
16
|
s.email = "falecomigo@marcossousa.com"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -15,7 +15,7 @@ module Capistrano
|
|
15
15
|
end
|
16
16
|
|
17
17
|
execute "Decompressing gradle build to put REVISON file" do
|
18
|
-
run_locally "cd #{copy_dir} && tar -xf #{copy_dir}
|
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 #{copy_dir}
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcos Sousa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|