buildr 1.5.3-x86-mswin32 → 1.5.4-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +25 -1
- data/addon/buildr/bnd.rb +8 -2
- data/addon/buildr/findbugs.rb +2 -2
- data/addon/buildr/gpg.rb +7 -1
- data/addon/buildr/gwt.rb +41 -1
- data/addon/buildr/jacoco.rb +18 -18
- data/addon/buildr/jetty.rb +14 -5
- data/addon/buildr/jetty6.rb +243 -0
- data/addon/buildr/org/apache/buildr/Jetty6Wrapper$1.class +0 -0
- data/addon/buildr/org/apache/buildr/Jetty6Wrapper$BuildrHandler.class +0 -0
- data/addon/buildr/org/apache/buildr/Jetty6Wrapper.class +0 -0
- data/addon/buildr/org/apache/buildr/Jetty6Wrapper.java +144 -0
- data/addon/buildr/org/apache/buildr/JettyWrapper$BuildrHandler.class +0 -0
- data/addon/buildr/org/apache/buildr/JettyWrapper.class +0 -0
- data/addon/buildr/org/apache/buildr/JettyWrapper.java +13 -13
- data/buildr.buildfile +7 -1
- data/doc/contributing.textile +0 -19
- data/doc/download.textile +18 -6
- data/doc/index.textile +20 -12
- data/doc/languages.textile +23 -1
- data/doc/packaging.textile +21 -0
- data/lib/buildr/ide/idea.rb +4 -2
- data/lib/buildr/java/commands.rb +1 -1
- data/lib/buildr/kotlin.rb +17 -0
- data/lib/buildr/kotlin/compiler.rb +282 -0
- data/lib/buildr/kotlin/org/apache/buildr/KotlinMessageCollector$1.class +0 -0
- data/lib/buildr/kotlin/org/apache/buildr/KotlinMessageCollector.class +0 -0
- data/lib/buildr/kotlin/org/apache/buildr/KotlinMessageCollector.java +46 -0
- data/lib/buildr/packaging/archive.rb +47 -11
- data/lib/buildr/packaging/package.rb +3 -2
- data/lib/buildr/packaging/tar.rb +51 -16
- data/lib/buildr/packaging/ziptask.rb +45 -17
- data/lib/buildr/version.rb +1 -1
- data/spec/addon/bnd_spec.rb +80 -20
- data/spec/kotlin/compiler_spec.rb +274 -0
- data/spec/packaging/archive_spec.rb +30 -0
- data/spec/sandbox.rb +1 -0
- metadata +13 -3
- data/lib/buildr/scala/org/apache/buildr/Specs2Runner.class +0 -0
@@ -306,6 +306,36 @@ shared_examples_for 'ArchiveTask' do
|
|
306
306
|
inspect_archive.should be_empty
|
307
307
|
end
|
308
308
|
end
|
309
|
+
|
310
|
+
it 'should merge archives, concatenate file contents' do
|
311
|
+
@files = %w{foo1 foo2}.map { |folder| File.join(@dir, folder) }.
|
312
|
+
map do |dir|
|
313
|
+
txt_file = File.join(dir, 'test1.txt')
|
314
|
+
write txt_file, content_for('test1.txt')
|
315
|
+
zip(File.join(dir, 'test1.zip')).include(txt_file)
|
316
|
+
end
|
317
|
+
archive(@archive).merge(@files).concatenate("test1.txt")
|
318
|
+
archive(@archive).invoke
|
319
|
+
inspect_archive do |archive|
|
320
|
+
archive['test1.txt'].should eql(content_for('test1.txt') * @files.size)
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
it 'should merge archives, transforming file contents' do
|
325
|
+
@files = %w{foo1 foo2}.map { |folder| File.join(@dir, folder) }.
|
326
|
+
map do |dir|
|
327
|
+
txt_file = File.join(dir, 'test1.txt')
|
328
|
+
write txt_file, content_for('test1.txt')
|
329
|
+
zip(File.join(dir, 'test1.zip')).include(txt_file)
|
330
|
+
end
|
331
|
+
archive(@archive).merge(@files).transform("test1.txt") do |matches|
|
332
|
+
matches.join("\n=====\n")
|
333
|
+
end
|
334
|
+
archive(@archive).invoke
|
335
|
+
inspect_archive do |archive|
|
336
|
+
archive['test1.txt'].should eql("#{content_for('test1.txt')}\n=====\n#{content_for('test1.txt')}")
|
337
|
+
end
|
338
|
+
end
|
309
339
|
|
310
340
|
it 'should expand another archive file into path' do
|
311
341
|
create_for_merge do |src|
|
data/spec/sandbox.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.4
|
5
5
|
platform: x86-mswin32
|
6
6
|
authors:
|
7
7
|
- Apache Buildr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -474,12 +474,17 @@ files:
|
|
474
474
|
- addon/buildr/jdepend-report.xsl
|
475
475
|
- addon/buildr/jdepend.rb
|
476
476
|
- addon/buildr/jetty.rb
|
477
|
+
- addon/buildr/jetty6.rb
|
477
478
|
- addon/buildr/jibx.rb
|
478
479
|
- addon/buildr/nailgun.rb
|
479
480
|
- addon/buildr/openjpa.rb
|
480
481
|
- addon/buildr/org/apache/buildr/BuildrNail$Main.class
|
481
482
|
- addon/buildr/org/apache/buildr/BuildrNail.class
|
482
483
|
- addon/buildr/org/apache/buildr/BuildrNail.java
|
484
|
+
- addon/buildr/org/apache/buildr/Jetty6Wrapper$1.class
|
485
|
+
- addon/buildr/org/apache/buildr/Jetty6Wrapper$BuildrHandler.class
|
486
|
+
- addon/buildr/org/apache/buildr/Jetty6Wrapper.class
|
487
|
+
- addon/buildr/org/apache/buildr/Jetty6Wrapper.java
|
483
488
|
- addon/buildr/org/apache/buildr/JettyWrapper$1.class
|
484
489
|
- addon/buildr/org/apache/buildr/JettyWrapper$BuildrHandler.class
|
485
490
|
- addon/buildr/org/apache/buildr/JettyWrapper.class
|
@@ -588,6 +593,11 @@ files:
|
|
588
593
|
- lib/buildr/java/test_result.rb
|
589
594
|
- lib/buildr/java/tests.rb
|
590
595
|
- lib/buildr/java/version_requirement.rb
|
596
|
+
- lib/buildr/kotlin.rb
|
597
|
+
- lib/buildr/kotlin/compiler.rb
|
598
|
+
- lib/buildr/kotlin/org/apache/buildr/KotlinMessageCollector$1.class
|
599
|
+
- lib/buildr/kotlin/org/apache/buildr/KotlinMessageCollector.class
|
600
|
+
- lib/buildr/kotlin/org/apache/buildr/KotlinMessageCollector.java
|
591
601
|
- lib/buildr/packaging/archive.rb
|
592
602
|
- lib/buildr/packaging/artifact.rb
|
593
603
|
- lib/buildr/packaging/artifact_namespace.rb
|
@@ -609,7 +619,6 @@ files:
|
|
609
619
|
- lib/buildr/scala/bdd.rb
|
610
620
|
- lib/buildr/scala/compiler.rb
|
611
621
|
- lib/buildr/scala/doc.rb
|
612
|
-
- lib/buildr/scala/org/apache/buildr/Specs2Runner.class
|
613
622
|
- lib/buildr/scala/shell.rb
|
614
623
|
- lib/buildr/scala/tests.rb
|
615
624
|
- lib/buildr/shell.rb
|
@@ -664,6 +673,7 @@ files:
|
|
664
673
|
- spec/java/run_spec.rb
|
665
674
|
- spec/java/test_coverage_helper.rb
|
666
675
|
- spec/java/tests_spec.rb
|
676
|
+
- spec/kotlin/compiler_spec.rb
|
667
677
|
- spec/packaging/archive_spec.rb
|
668
678
|
- spec/packaging/artifact_namespace_spec.rb
|
669
679
|
- spec/packaging/artifact_spec.rb
|
Binary file
|