buildr 1.5.6 → 1.5.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +36 -0
  3. data/README.rdoc +2 -2
  4. data/Rakefile +1 -1
  5. data/addon/buildr/gwt.rb +4 -7
  6. data/addon/buildr/jetty.rb +1 -1
  7. data/buildr.buildfile +2 -3
  8. data/buildr.gemspec +2 -1
  9. data/doc/_layouts/default.html +1 -1
  10. data/doc/artifacts.textile +2 -2
  11. data/doc/download.textile +30 -6
  12. data/doc/index.textile +28 -37
  13. data/doc/installing.textile +2 -2
  14. data/doc/projects.textile +1 -1
  15. data/doc/quick_start.textile +3 -3
  16. data/lib/buildr/core/generate.rb +2 -2
  17. data/lib/buildr/core/project.rb +2 -2
  18. data/lib/buildr/core/transports.rb +1 -1
  19. data/lib/buildr/ide/idea.rb +38 -16
  20. data/lib/buildr/java/custom_pom.rb +0 -5
  21. data/lib/buildr/java/doc.rb +2 -0
  22. data/lib/buildr/java/tests.rb +4 -4
  23. data/lib/buildr/kotlin/compiler.rb +3 -3
  24. data/lib/buildr/kotlin/org/apache/buildr/KotlinMessageCollector.java +4 -4
  25. data/lib/buildr/packaging/archive.rb +5 -5
  26. data/lib/buildr/packaging/artifact.rb +16 -0
  27. data/lib/buildr/packaging/artifact_namespace.rb +8 -7
  28. data/lib/buildr/packaging/artifact_search.rb +1 -1
  29. data/lib/buildr/packaging/gems.rb +0 -1
  30. data/lib/buildr/packaging/tar.rb +5 -5
  31. data/lib/buildr/version.rb +1 -1
  32. data/rakelib/release.rake +2 -2
  33. data/rakelib/rspec.rake +1 -0
  34. data/rakelib/stage.rake +2 -2
  35. data/spec/core/build_spec.rb +2 -2
  36. data/spec/core/checks_spec.rb +1 -1
  37. data/spec/core/compile_spec.rb +2 -2
  38. data/spec/core/shell_spec.rb +1 -1
  39. data/spec/core/transport_spec.rb +1 -0
  40. data/spec/ide/eclipse_spec.rb +1 -1
  41. data/spec/ide/idea_spec.rb +1 -1
  42. data/spec/java/custom_pom_spec.rb +0 -7
  43. data/spec/java/ecj_spec.rb +2 -2
  44. data/spec/java/packaging_spec.rb +3 -3
  45. data/spec/java/test_coverage_helper.rb +1 -1
  46. data/spec/kotlin/compiler_spec.rb +12 -12
  47. data/spec/packaging/archive_spec.rb +3 -3
  48. data/spec/packaging/artifact_spec.rb +5 -12
  49. data/spec/packaging/packaging_helper.rb +1 -1
  50. data/spec/packaging/packaging_spec.rb +0 -5
  51. data/spec/sandbox.rb +1 -1
  52. data/spec/scala/compiler_spec.rb +7 -7
  53. metadata +17 -3
data/spec/sandbox.rb CHANGED
@@ -18,7 +18,7 @@
18
18
  # that the code requires several artifacts. So we establish them first using the real local
19
19
  # repository and cache these across test cases.
20
20
  Buildr.application.instance_eval { @rakefile = File.expand_path('buildfile') }
21
- repositories.remote << 'http://repo1.maven.org/maven2'
21
+ repositories.remote << 'https://repo1.maven.org/maven2'
22
22
  repositories.remote << 'https://oss.sonatype.org/content/groups/scala-tools'
23
23
 
24
24
 
@@ -17,7 +17,7 @@
17
17
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helpers'))
18
18
 
19
19
  # need to test both with and without SCALA_HOME
20
- share_as :ScalacCompiler do
20
+ RSpec.shared_examples 'ScalacCompiler' do
21
21
 
22
22
  it 'should identify itself from source directories' do
23
23
  write 'src/main/scala/com/example/Test.scala', 'package com.example; class Test { val i = 1 }'
@@ -118,7 +118,7 @@ if ENV['SCALA_HOME']
118
118
  ENV['SCALA_HOME'].should_not be_nil
119
119
  end
120
120
 
121
- it_should_behave_like ScalacCompiler
121
+ it_should_behave_like 'ScalacCompiler'
122
122
  end
123
123
  end
124
124
 
@@ -133,14 +133,14 @@ describe 'scala compiler (downloaded from repository)' do
133
133
  ENV['SCALA_HOME'].should be_nil
134
134
  end
135
135
 
136
- it_should_behave_like ScalacCompiler
136
+ it_should_behave_like 'ScalacCompiler'
137
137
 
138
138
  after :all do
139
139
  ENV['SCALA_HOME'] = old_home
140
140
  end
141
141
  end
142
142
 
143
- share_as :ScalacCompiler_CommonOptions do
143
+ RSpec.shared_examples 'ScalacCompiler_CommonOptions' do
144
144
 
145
145
  it 'should set warnings option to false by default' do
146
146
  compile_task.options.warnings.should be_false
@@ -275,7 +275,7 @@ end
275
275
 
276
276
  describe 'scala compiler 2.8 options' do
277
277
 
278
- it_should_behave_like ScalacCompiler_CommonOptions
278
+ it_should_behave_like 'ScalacCompiler_CommonOptions'
279
279
 
280
280
  def compile_task
281
281
  @compile_task ||= define('foo').compile.using(:scalac)
@@ -298,7 +298,7 @@ end if Buildr::Scala.version?(2.8)
298
298
 
299
299
  describe 'scala compiler 2.9 options' do
300
300
 
301
- it_should_behave_like ScalacCompiler_CommonOptions
301
+ it_should_behave_like 'ScalacCompiler_CommonOptions'
302
302
 
303
303
  def compile_task
304
304
  @compile_task ||= define('foo').compile.using(:scalac)
@@ -345,7 +345,7 @@ describe 'zinc compiler (enabled through Buildr.settings)' do
345
345
  compile_task.invoke
346
346
  end
347
347
 
348
- it_should_behave_like ScalacCompiler
348
+ it_should_behave_like 'ScalacCompiler'
349
349
 
350
350
  after :each do
351
351
  Buildr.settings.build['scalac.incremental'] = nil
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.6
4
+ version: 1.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apache Buildr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-09 00:00:00.000000000 Z
11
+ date: 2019-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -416,6 +416,20 @@ dependencies:
416
416
  - - '='
417
417
  - !ruby/object:Gem::Version
418
418
  version: 1.2.1
419
+ - !ruby/object:Gem::Dependency
420
+ name: zapwhite
421
+ requirement: !ruby/object:Gem::Requirement
422
+ requirements:
423
+ - - '='
424
+ - !ruby/object:Gem::Version
425
+ version: 2.14.0
426
+ type: :development
427
+ prerelease: false
428
+ version_requirements: !ruby/object:Gem::Requirement
429
+ requirements:
430
+ - - '='
431
+ - !ruby/object:Gem::Version
432
+ version: 2.14.0
419
433
  description: |
420
434
  Apache Buildr is a build system for Java-based applications, including support
421
435
  for Scala, Groovy and a growing number of JVM languages and tools. We wanted
@@ -700,7 +714,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
700
714
  - !ruby/object:Gem::Version
701
715
  version: 1.8.6
702
716
  requirements: []
703
- rubyforge_project: buildr
717
+ rubyforge_project:
704
718
  rubygems_version: 2.5.1
705
719
  signing_key:
706
720
  specification_version: 4