tetra 2.0.5 → 2.0.6
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 +4 -4
- data/CONTRIBUTING.md +6 -1
- data/Gemfile.lock +18 -18
- data/SPECIAL_CASES.md +27 -1
- data/lib/template/bashrc +2 -0
- data/lib/tetra.rb +1 -0
- data/lib/tetra/facades/bash.rb +6 -2
- data/lib/tetra/facades/gradle.rb +13 -0
- data/lib/tetra/maven_website.rb +7 -7
- data/lib/tetra/packages/scriptable.rb +3 -0
- data/lib/tetra/ui/dry_run_subcommand.rb +4 -2
- data/lib/tetra/version.rb +1 -1
- data/spec/data/commons-collections4-4.4-src.tar.gz +0 -0
- data/spec/data/commons-collections4-4.4-src.zip +0 -0
- data/spec/lib/coarse/generate_all_subcommand_spec.rb +4 -4
- data/spec/lib/coarse/generate_spec_subcommand_spec.rb +3 -3
- data/spec/lib/coarse/init_subcommand_spec.rb +6 -6
- data/spec/lib/fine/tar_spec.rb +2 -2
- data/spec/lib/fine/unzip_spec.rb +2 -2
- metadata +46 -6
- data/spec/data/commons-collections4-4.1-src.tar.gz +0 -0
- data/spec/data/commons-collections4-4.1-src.zip +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7308c9913a1a487db62eb2458fd4b4dc06ee7141afe061cf7e7fdaf999b364d
|
4
|
+
data.tar.gz: ebdaac78695af6f8fc2d53cbca7e5e8eb67fe8d1e3e03a650ec6fb2f5b9c4cc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf8845f7cdbd2d5dfec4fc76fa5f3c4494264712712ee32d6ac6d57fe792758517ec24b4a01d140da210ea0a807fc25ab5fe1bc7a17e90c16999acd4503baf1f
|
7
|
+
data.tar.gz: 2fd601d21b078086097c62f97c6cdac6748601b2f21ecdb42685ae4e82075b35b381f899818955915eaa67e1ae3629a8e158f686d162436f6823d1918119604a
|
data/CONTRIBUTING.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Development environment
|
2
2
|
|
3
3
|
To develop tetra, you will need:
|
4
|
-
* to install Bundler. On SUSE distros, use `sudo zypper
|
4
|
+
* to install Bundler and Ruby development headers. On SUSE distros, use `sudo zypper install ruby2.5-rubygem-bundler ruby2.5-devel`;
|
5
5
|
* to get development dependencies: `bundle install`;
|
6
6
|
|
7
7
|
To install a development version of tetra use:
|
@@ -11,3 +11,8 @@ sudo rake install
|
|
11
11
|
```
|
12
12
|
|
13
13
|
To run tests, simply run `rake`. Please note that tests are divided into fine (more similar to unit tests) and coarse (more similar to integration tests).
|
14
|
+
|
15
|
+
# Release
|
16
|
+
|
17
|
+
Install gem-release: `gem install gem-release`
|
18
|
+
Bump a patch version: `gem bump -v patch -p -t -r`
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
tetra (2.0.
|
4
|
+
tetra (2.0.5)
|
5
5
|
clamp
|
6
6
|
json_pure
|
7
7
|
open4
|
@@ -18,7 +18,7 @@ GEM
|
|
18
18
|
builder (3.2.2)
|
19
19
|
childprocess (0.5.6)
|
20
20
|
ffi (~> 1.0, >= 1.0.11)
|
21
|
-
clamp (1.1
|
21
|
+
clamp (1.3.1)
|
22
22
|
cucumber (2.0.0)
|
23
23
|
builder (>= 2.1.2)
|
24
24
|
cucumber-core (~> 1.1.3)
|
@@ -28,29 +28,29 @@ GEM
|
|
28
28
|
multi_test (>= 0.1.2)
|
29
29
|
cucumber-core (1.1.3)
|
30
30
|
gherkin (~> 2.12.0)
|
31
|
-
diff-lcs (1.
|
32
|
-
ffi (1.
|
31
|
+
diff-lcs (1.3)
|
32
|
+
ffi (1.12.2)
|
33
33
|
gherkin (2.12.2)
|
34
34
|
multi_json (~> 1.3)
|
35
|
-
json_pure (2.
|
35
|
+
json_pure (2.2.0)
|
36
36
|
multi_json (1.11.0)
|
37
37
|
multi_test (0.1.2)
|
38
38
|
open4 (1.3.4)
|
39
39
|
rake (10.4.2)
|
40
|
-
rspec (3.
|
41
|
-
rspec-core (~> 3.
|
42
|
-
rspec-expectations (~> 3.
|
43
|
-
rspec-mocks (~> 3.
|
44
|
-
rspec-core (3.
|
45
|
-
rspec-support (~> 3.
|
46
|
-
rspec-expectations (3.
|
40
|
+
rspec (3.9.0)
|
41
|
+
rspec-core (~> 3.9.0)
|
42
|
+
rspec-expectations (~> 3.9.0)
|
43
|
+
rspec-mocks (~> 3.9.0)
|
44
|
+
rspec-core (3.9.1)
|
45
|
+
rspec-support (~> 3.9.1)
|
46
|
+
rspec-expectations (3.9.0)
|
47
47
|
diff-lcs (>= 1.2.0, < 2.0)
|
48
|
-
rspec-support (~> 3.
|
49
|
-
rspec-mocks (3.
|
48
|
+
rspec-support (~> 3.9.0)
|
49
|
+
rspec-mocks (3.9.1)
|
50
50
|
diff-lcs (>= 1.2.0, < 2.0)
|
51
|
-
rspec-support (~> 3.
|
52
|
-
rspec-support (3.
|
53
|
-
rubyzip (
|
51
|
+
rspec-support (~> 3.9.0)
|
52
|
+
rspec-support (3.9.2)
|
53
|
+
rubyzip (2.2.0)
|
54
54
|
text (1.3.1)
|
55
55
|
|
56
56
|
PLATFORMS
|
@@ -63,4 +63,4 @@ DEPENDENCIES
|
|
63
63
|
tetra!
|
64
64
|
|
65
65
|
BUNDLED WITH
|
66
|
-
1.
|
66
|
+
1.16.1
|
data/SPECIAL_CASES.md
CHANGED
@@ -122,7 +122,7 @@ Assuming your project uses the [Gradle Wrapper](http://gradle.org/docs/current/u
|
|
122
122
|
export GRADLE_USER_HOME=/tmp/gradle
|
123
123
|
./gradlew --project-cache-dir /tmp/gradle-project clean build -x test
|
124
124
|
```
|
125
|
-
|
125
|
+
|
126
126
|
* after the build has finished but prior ending the dry-run, copy all files to your kit with:
|
127
127
|
```
|
128
128
|
cp -r /tmp/gradle* ../../kit/
|
@@ -146,6 +146,32 @@ Also note that Gradle typically ships with libnative as a platform-dependent bin
|
|
146
146
|
|
147
147
|
Finally note that if you want to upgrade gradle and remove the previous versions, you should remove /tmp/gradle* directories, as well as the kit/gradle* directories (use git rm for this). Of course remember to adjust your gradlew call, build.gradle and/or gradle-wrapper.properties files with the new version.
|
148
148
|
|
149
|
+
### Upgrading Gradle
|
150
|
+
|
151
|
+
When a newer Gradle is needed (eg. to support a newer JDK) in projects that use the Gradle Wrapper, the following procedure can be followed:
|
152
|
+
|
153
|
+
```bash
|
154
|
+
# update the Gradle URL to the new version
|
155
|
+
sed -i "s#distributionUrl=.*#distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip#g" gradle/wrapper/gradle-wrapper.properties
|
156
|
+
|
157
|
+
# run Gradle Wrapper to download the latest Gradle version
|
158
|
+
export GRADLE_USER_HOME=/tmp/gradle
|
159
|
+
./gradlew wrapper --gradle-version 4.10.2 --project-cache-dir /tmp/gradle-project
|
160
|
+
|
161
|
+
# Patch sources
|
162
|
+
git add gradlew* gradle/wrapper/gradle-wrapper.properties
|
163
|
+
git commit -m "Update Gradle Wrapper"
|
164
|
+
|
165
|
+
# Patch kit
|
166
|
+
cp -r /tmp/gradle* ../../kit/
|
167
|
+
cp gradle/wrapper/gradle-wrapper.jar ../../kit
|
168
|
+
git add ../../kit
|
169
|
+
git checkout gradle/wrapper/gradle-wrapper.jar
|
170
|
+
git commit -m "Update Gradle"
|
171
|
+
```
|
172
|
+
|
173
|
+
Now dry-run again as per the above instructions.
|
174
|
+
|
149
175
|
## [OBS](build.opensuse.org) integration
|
150
176
|
|
151
177
|
If you want to submit your package to OBS, you can do so by copying contents of the `packages` in a proper OBS project directory.
|
data/lib/template/bashrc
CHANGED
@@ -32,3 +32,5 @@ echo -e "\e[91mWARNING: mvn executable file not found in kit/, please check that
|
|
32
32
|
echo -e "\e[91mDefaulting to system-provided mvn, this could make your builds non-reproducible."
|
33
33
|
<% end %>
|
34
34
|
alias mvn='<%= mvn_commandline %>'
|
35
|
+
|
36
|
+
alias gradlew='<%= gradle_commandline %>'
|
data/lib/tetra.rb
CHANGED
data/lib/tetra/facades/bash.rb
CHANGED
@@ -24,7 +24,9 @@ module Tetra
|
|
24
24
|
mvn_in_kit = mvn_path != nil
|
25
25
|
mvn_commandline = Tetra::Mvn.commandline(@project.full_path, mvn_path)
|
26
26
|
|
27
|
-
|
27
|
+
gradle_commandline = Tetra::Gradle.commandline(@project.full_path)
|
28
|
+
|
29
|
+
bashrc_content = Bashrc.new(history_file.path, ant_in_kit, ant_commandline, mvn_in_kit, mvn_commandline, gradle_commandline).to_s
|
28
30
|
log.debug "writing bashrc file: #{bashrc_file.path}"
|
29
31
|
log.debug bashrc_content
|
30
32
|
|
@@ -56,13 +58,15 @@ module Tetra
|
|
56
58
|
attr_reader :ant_commandline
|
57
59
|
attr_reader :mvn_in_kit
|
58
60
|
attr_reader :mvn_commandline
|
61
|
+
attr_reader :gradle_commandline
|
59
62
|
|
60
|
-
def initialize(history_file, ant_in_kit, ant_commandline, mvn_in_kit, mvn_commandline)
|
63
|
+
def initialize(history_file, ant_in_kit, ant_commandline, mvn_in_kit, mvn_commandline, gradle_commandline)
|
61
64
|
@history_file = history_file
|
62
65
|
@ant_in_kit = ant_in_kit
|
63
66
|
@ant_commandline = ant_commandline
|
64
67
|
@mvn_in_kit = mvn_in_kit
|
65
68
|
@mvn_commandline = mvn_commandline
|
69
|
+
@gradle_commandline = gradle_commandline
|
66
70
|
end
|
67
71
|
|
68
72
|
def to_s
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
module Tetra
|
4
|
+
# encapsulates tetra-specific Gradle commandline options
|
5
|
+
class Gradle
|
6
|
+
# returns a command line for running Gradle
|
7
|
+
def self.commandline(project_path)
|
8
|
+
gradle_user_home = File.join(project_path, "kit", "gradle-home")
|
9
|
+
|
10
|
+
"./gradlew --gradle-user-home=#{gradle_user_home}"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
data/lib/tetra/maven_website.rb
CHANGED
@@ -7,36 +7,36 @@ module Tetra
|
|
7
7
|
|
8
8
|
# returns a search result object from search.maven.com
|
9
9
|
# searching by a jar sha1 hash
|
10
|
-
# see output format at
|
10
|
+
# see output format at https://search.maven.org/#api
|
11
11
|
def search_by_sha1(sha1)
|
12
12
|
search(q: "1:\"#{sha1}\"")
|
13
13
|
end
|
14
14
|
|
15
15
|
# returns a search result object from search.maven.com
|
16
16
|
# searching by keyword (name)
|
17
|
-
# see output format at
|
17
|
+
# see output format at https://search.maven.org/#api
|
18
18
|
def search_by_name(name)
|
19
19
|
search(q: name)
|
20
20
|
end
|
21
21
|
|
22
22
|
# returns a search result object from search.maven.com
|
23
23
|
# searching by Maven's group id and artifact id
|
24
|
-
# see output format at
|
24
|
+
# see output format at https://search.maven.org/#api
|
25
25
|
def search_by_group_id_and_artifact_id(group_id, artifact_id)
|
26
26
|
search(q: "g:\"#{group_id}\" AND a:\"#{artifact_id}\"", core: "gav")
|
27
27
|
end
|
28
28
|
|
29
29
|
# returns a search result object from search.maven.com
|
30
30
|
# searching by Maven's id (group id, artifact id and version)
|
31
|
-
# see output format at
|
31
|
+
# see output format at https://search.maven.org/#api
|
32
32
|
def search_by_maven_id(group_id, artifact_id, version)
|
33
33
|
search(q: "g:\"#{group_id}\" AND a:\"#{artifact_id}\" AND v:\"#{version}\"")
|
34
34
|
end
|
35
35
|
|
36
36
|
# returns a search result object from search.maven.com
|
37
|
-
# see input and output format at
|
37
|
+
# see input and output format at https://search.maven.org/#api
|
38
38
|
def search(params)
|
39
|
-
response = get("
|
39
|
+
response = get("https://search.maven.org/solrsearch/select?", params.merge("rows" => "100", "wt" => "json"))
|
40
40
|
json = JSON.parse(response.to_s)
|
41
41
|
json["response"]["docs"]
|
42
42
|
end
|
@@ -51,7 +51,7 @@ module Tetra
|
|
51
51
|
def download_pom(group_id, artifact_id, version)
|
52
52
|
path = "#{group_id.gsub('.', '/')}/#{artifact_id}/#{version}/#{artifact_id}-#{version}.pom"
|
53
53
|
log.debug("downloading #{path}...")
|
54
|
-
get("
|
54
|
+
get("https://repo1.maven.org/maven2/#{path}", {}).to_s
|
55
55
|
end
|
56
56
|
|
57
57
|
def get(url, params)
|
@@ -38,6 +38,9 @@ module Tetra
|
|
38
38
|
mvn_commandline = Tetra::Mvn.commandline("$PROJECT_PREFIX", mvn_path)
|
39
39
|
aliases << "alias mvn='#{mvn_commandline} -o'"
|
40
40
|
|
41
|
+
gradle_commandline = Tetra::Gradle.commandline("$PROJECT_PREFIX")
|
42
|
+
aliases << "alias gradlew='#{gradle_commandline} --offline'"
|
43
|
+
|
41
44
|
aliases
|
42
45
|
end
|
43
46
|
end
|
@@ -18,8 +18,10 @@ module Tetra
|
|
18
18
|
if script
|
19
19
|
puts "Scripted dry-run started."
|
20
20
|
else
|
21
|
-
puts "Dry-run started in a new bash shell."
|
22
|
-
puts "
|
21
|
+
puts "Dry-run started in a new bash shell. Build your project now!"
|
22
|
+
puts "Note that:"
|
23
|
+
puts " - \"mvn\" and \"ant\" are already bundled by tetra"
|
24
|
+
puts " - you have to use \"gradlew\" instad of \"./gradlew\" to launch a Gradle wrapper"
|
23
25
|
puts "If the build succeedes end this dry run with ^D (Ctrl+D),"
|
24
26
|
puts "if the build does not succeed use ^C^D to abort and undo any change"
|
25
27
|
end
|
data/lib/tetra/version.rb
CHANGED
Binary file
|
Binary file
|
@@ -2,12 +2,12 @@ require "spec_helper"
|
|
2
2
|
|
3
3
|
describe "`tetra generate-all`", type: :aruba do
|
4
4
|
it "generates specs and tarballs for a sample package, source archive workflow" do
|
5
|
-
archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.
|
5
|
+
archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.4-src.zip"))
|
6
6
|
write_file("commons-collections.zip", archive_contents)
|
7
7
|
|
8
8
|
# init project
|
9
9
|
run_simple("tetra init commons-collections commons-collections.zip")
|
10
|
-
cd(File.join("commons-collections", "src", "commons-collections4-4.
|
10
|
+
cd(File.join("commons-collections", "src", "commons-collections4-4.4-src"))
|
11
11
|
|
12
12
|
# first dry-run, all normal
|
13
13
|
@aruba_timeout_seconds = 240
|
@@ -58,7 +58,7 @@ describe "`tetra generate-all`", type: :aruba do
|
|
58
58
|
end
|
59
59
|
|
60
60
|
it "generates specs and tarballs for a sample package, manual source workflow" do
|
61
|
-
archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.
|
61
|
+
archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.4-src.zip"))
|
62
62
|
write_file("commons-collections.zip", archive_contents)
|
63
63
|
|
64
64
|
# init project
|
@@ -79,7 +79,7 @@ describe "`tetra generate-all`", type: :aruba do
|
|
79
79
|
expect(output_from("tetra change-sources ../commons-collections.zip")).to include("New sources committed")
|
80
80
|
|
81
81
|
# second dry-run, all normal
|
82
|
-
cd(File.join("src", "commons-collections4-4.
|
82
|
+
cd(File.join("src", "commons-collections4-4.4-src"))
|
83
83
|
@aruba_timeout_seconds = 240
|
84
84
|
run_interactive("tetra dry-run")
|
85
85
|
type("mvn package -DskipTests")
|
@@ -2,7 +2,7 @@ require "spec_helper"
|
|
2
2
|
|
3
3
|
describe "`tetra generate-spec`", type: :aruba do
|
4
4
|
it "outputs a warning if source files are not found" do
|
5
|
-
archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.
|
5
|
+
archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.4-src.zip"))
|
6
6
|
write_file("commons-collections.zip", archive_contents)
|
7
7
|
|
8
8
|
run_simple("tetra init --no-archive commons-collections")
|
@@ -10,12 +10,12 @@ describe "`tetra generate-spec`", type: :aruba do
|
|
10
10
|
|
11
11
|
cd("src")
|
12
12
|
run_simple("unzip ../../commons-collections.zip")
|
13
|
-
cd("commons-collections4-4.
|
13
|
+
cd("commons-collections4-4.4-src")
|
14
14
|
|
15
15
|
run_simple("tetra change-sources --no-archive")
|
16
16
|
expect(output_from("tetra change-sources --no-archive")).to include("New sources committed")
|
17
17
|
|
18
|
-
@aruba_timeout_seconds =
|
18
|
+
@aruba_timeout_seconds = 300
|
19
19
|
run_interactive("tetra dry-run")
|
20
20
|
type("mvn package -DskipTests")
|
21
21
|
type("\u{0004}") # ^D (Ctrl+D), terminates bash with exit status 0
|
@@ -32,7 +32,7 @@ describe "`tetra`", type: :aruba do
|
|
32
32
|
end
|
33
33
|
|
34
34
|
it "inits a new project with a zip source file" do
|
35
|
-
archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.
|
35
|
+
archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.4-src.zip"))
|
36
36
|
write_file("commons-collections.zip", archive_contents)
|
37
37
|
|
38
38
|
run_simple("tetra init commons-collections commons-collections.zip")
|
@@ -48,8 +48,8 @@ describe "`tetra`", type: :aruba do
|
|
48
48
|
cd("commons-collections")
|
49
49
|
check_directory_presence([".git", "kit", "src", "packages"], true)
|
50
50
|
|
51
|
-
check_directory_presence([File.join("src", "commons-collections4-4.
|
52
|
-
check_file_presence([File.join("src", "commons-collections4-4.
|
51
|
+
check_directory_presence([File.join("src", "commons-collections4-4.4-src")], true)
|
52
|
+
check_file_presence([File.join("src", "commons-collections4-4.4-src", "pom.xml")], true)
|
53
53
|
|
54
54
|
check_file_presence([File.join("packages", "commons-collections", "commons-collections.zip")], true)
|
55
55
|
|
@@ -58,7 +58,7 @@ describe "`tetra`", type: :aruba do
|
|
58
58
|
end
|
59
59
|
|
60
60
|
it "inits a new project with a tar source file" do
|
61
|
-
archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.
|
61
|
+
archive_contents = File.read(File.join("spec", "data", "commons-collections4-4.4-src.tar.gz"))
|
62
62
|
write_file("commons-collections.tar.gz", archive_contents)
|
63
63
|
|
64
64
|
run_simple("tetra init commons-collections commons-collections.tar.gz")
|
@@ -74,8 +74,8 @@ describe "`tetra`", type: :aruba do
|
|
74
74
|
cd("commons-collections")
|
75
75
|
check_directory_presence([".git", "kit", "src", "packages"], true)
|
76
76
|
|
77
|
-
check_directory_presence([File.join("src", "commons-collections4-4.
|
78
|
-
check_file_presence([File.join("src", "commons-collections4-4.
|
77
|
+
check_directory_presence([File.join("src", "commons-collections4-4.4-src")], true)
|
78
|
+
check_file_presence([File.join("src", "commons-collections4-4.4-src", "pom.xml")], true)
|
79
79
|
|
80
80
|
check_file_presence([File.join("packages", "commons-collections", "commons-collections.tar.gz")], true)
|
81
81
|
|
data/spec/lib/fine/tar_spec.rb
CHANGED
@@ -5,7 +5,7 @@ require "spec_helper"
|
|
5
5
|
describe Tetra::Tar do
|
6
6
|
include Tetra::Mockers
|
7
7
|
|
8
|
-
let(:zipfile) { File.join("spec", "data", "commons-collections4-4.
|
8
|
+
let(:zipfile) { File.join("spec", "data", "commons-collections4-4.4-src.tar.gz") }
|
9
9
|
let(:tar) { Tetra::Tar.new }
|
10
10
|
|
11
11
|
describe "#decompress" do
|
@@ -15,7 +15,7 @@ describe Tetra::Tar do
|
|
15
15
|
|
16
16
|
files = Find.find(dir).to_a
|
17
17
|
|
18
|
-
expect(files).to include("#{dir}/commons-collections4-4.
|
18
|
+
expect(files).to include("#{dir}/commons-collections4-4.4-src/DEVELOPERS-GUIDE.html")
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
data/spec/lib/fine/unzip_spec.rb
CHANGED
@@ -5,7 +5,7 @@ require "spec_helper"
|
|
5
5
|
describe Tetra::Unzip do
|
6
6
|
include Tetra::Mockers
|
7
7
|
|
8
|
-
let(:zipfile) { File.join("spec", "data", "commons-collections4-4.
|
8
|
+
let(:zipfile) { File.join("spec", "data", "commons-collections4-4.4-src.zip") }
|
9
9
|
let(:unzip) { Tetra::Unzip.new }
|
10
10
|
|
11
11
|
describe "#decompress" do
|
@@ -15,7 +15,7 @@ describe Tetra::Unzip do
|
|
15
15
|
|
16
16
|
files = Find.find(dir).to_a
|
17
17
|
|
18
|
-
expect(files).to include("#{dir}/commons-collections4-4.
|
18
|
+
expect(files).to include("#{dir}/commons-collections4-4.4-src/DEVELOPERS-GUIDE.html")
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tetra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Silvio Moioli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -329,6 +329,7 @@ files:
|
|
329
329
|
- lib/tetra/facades/ant.rb
|
330
330
|
- lib/tetra/facades/bash.rb
|
331
331
|
- lib/tetra/facades/git.rb
|
332
|
+
- lib/tetra/facades/gradle.rb
|
332
333
|
- lib/tetra/facades/mvn.rb
|
333
334
|
- lib/tetra/facades/process_runner.rb
|
334
335
|
- lib/tetra/facades/tar.rb
|
@@ -368,8 +369,8 @@ files:
|
|
368
369
|
- spec/data/ant-super-simple-code/src/mypackage/HW.java
|
369
370
|
- spec/data/antlr/antlr-2.7.2.jar
|
370
371
|
- spec/data/antlr/pom.xml
|
371
|
-
- spec/data/commons-collections4-4.
|
372
|
-
- spec/data/commons-collections4-4.
|
372
|
+
- spec/data/commons-collections4-4.4-src.tar.gz
|
373
|
+
- spec/data/commons-collections4-4.4-src.zip
|
373
374
|
- spec/data/commons-logging/commons-logging-1.1.1.jar
|
374
375
|
- spec/data/commons-logging/parent_pom.xml
|
375
376
|
- spec/data/commons-logging/pom.xml
|
@@ -421,8 +422,47 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
421
422
|
version: '0'
|
422
423
|
requirements: []
|
423
424
|
rubyforge_project: tetra
|
424
|
-
rubygems_version: 2.7.6
|
425
|
+
rubygems_version: 2.7.6.2
|
425
426
|
signing_key:
|
426
427
|
specification_version: 4
|
427
428
|
summary: A tool to package Java projects
|
428
|
-
test_files:
|
429
|
+
test_files:
|
430
|
+
- spec/data/ant-super-simple-code/build.xml
|
431
|
+
- spec/data/ant-super-simple-code/build/HW.class
|
432
|
+
- spec/data/ant-super-simple-code/build/mypackage/HW.class
|
433
|
+
- spec/data/ant-super-simple-code/dist/antsimple-20130618.jar
|
434
|
+
- spec/data/ant-super-simple-code/lib/junit-4.11.jar
|
435
|
+
- spec/data/ant-super-simple-code/lib/log4j-1.2.13.jar
|
436
|
+
- spec/data/ant-super-simple-code/src/mypackage/HW.java
|
437
|
+
- spec/data/antlr/antlr-2.7.2.jar
|
438
|
+
- spec/data/antlr/pom.xml
|
439
|
+
- spec/data/commons-collections4-4.4-src.tar.gz
|
440
|
+
- spec/data/commons-collections4-4.4-src.zip
|
441
|
+
- spec/data/commons-logging/commons-logging-1.1.1.jar
|
442
|
+
- spec/data/commons-logging/parent_pom.xml
|
443
|
+
- spec/data/commons-logging/pom.xml
|
444
|
+
- spec/data/nailgun/nailgun-0.7.1.jar
|
445
|
+
- spec/data/nailgun/pom.xml
|
446
|
+
- spec/data/struts-apps/pom.xml
|
447
|
+
- spec/data/tomcat/pom.xml
|
448
|
+
- spec/lib/coarse/dry_run_subcommand_spec.rb
|
449
|
+
- spec/lib/coarse/generate_all_subcommand_spec.rb
|
450
|
+
- spec/lib/coarse/generate_spec_subcommand_spec.rb
|
451
|
+
- spec/lib/coarse/init_subcommand_spec.rb
|
452
|
+
- spec/lib/coarse/main_spec.rb
|
453
|
+
- spec/lib/fine/ant_spec.rb
|
454
|
+
- spec/lib/fine/git_spec.rb
|
455
|
+
- spec/lib/fine/kit_package_spec.rb
|
456
|
+
- spec/lib/fine/kit_spec.rb
|
457
|
+
- spec/lib/fine/maven_website_spec.rb
|
458
|
+
- spec/lib/fine/mvn_spec.rb
|
459
|
+
- spec/lib/fine/package_spec.rb
|
460
|
+
- spec/lib/fine/pom_getter_spec.rb
|
461
|
+
- spec/lib/fine/pom_spec.rb
|
462
|
+
- spec/lib/fine/project_spec.rb
|
463
|
+
- spec/lib/fine/scriptable_spec.rb
|
464
|
+
- spec/lib/fine/speccable_spec.rb
|
465
|
+
- spec/lib/fine/tar_spec.rb
|
466
|
+
- spec/lib/fine/unzip_spec.rb
|
467
|
+
- spec/lib/fine/version_matcher_spec.rb
|
468
|
+
- spec/spec_helper.rb
|
Binary file
|
Binary file
|