buildr 1.4.24 → 1.4.25

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf20984ae2dd15bd6458177ddf5269371c4d98f0
4
- data.tar.gz: 4ff180d97b201efecd5fc628bccb64fb424b46aa
3
+ metadata.gz: 43b43e223f9b6d6c3a7864bc6b8f09e9062f485d
4
+ data.tar.gz: d32547db15caf2e9443698e989b1db7f48d4943d
5
5
  SHA512:
6
- metadata.gz: c90ff97b512210d6c052a75c494ec48f75262f7fd115949a6fe7623e2c727bdb092126419f1e20e23d6a294208a12c514bc9544e6f683bdb352b62e4d7b1e133
7
- data.tar.gz: 6d78972103b067e2c75975a450c4b844bab23102303a2aa7f0d5cf4c756f20d1da87674e504a618e2d2e15a55edcdf8b22b38316b86387bdf6b519ae62859d3e
6
+ metadata.gz: c0ae91aa8456425ca3e7bd8bdd271532ed2ecdfed0239cfddf33aa87d6c4193830906ca5b98b571f2062dd80b40aae388cd3a877187af3e08122c7c2e4f7f0f3
7
+ data.tar.gz: 7372d7a16a19a7058c59f0bc147b4493d5f3a12c061d6132c976be3f08aa094c2d99a104940f814dd785be5c0449327a1509dba8c17218bcb72c51f3b1ab8720
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 1.4.25 (2016-04-18)
2
+ * Change: BUILDR-712 Update jruby-openssl dependency version or support a range of versions
3
+ * Change: Update gwt addon to add the GWT artifacts to project dependencies as specs rather
4
+ than files.
5
+ * Change: Support the project.root_project utility method to retrieve the top level project.
6
+
1
7
  1.4.24 (2016-03-19)
2
8
  * Added: Support the :no_invoke parameter being passed to Buildr.project() and
3
9
  Buildr.projects() to avoid attempting to call invoke when retrieving the projects.
@@ -136,8 +136,8 @@ module Buildr
136
136
  Buildr::GWT.dependencies(version).each do |d|
137
137
  a = artifact(d)
138
138
  a.invoke if a.respond_to?(:invoke)
139
- project.iml.main_dependencies << a.to_s unless !project.iml? || existing_deps.include?(a.to_s)
140
- project.compile.dependencies << a.to_s unless existing_deps.include?(a.to_s)
139
+ project.iml.main_dependencies << a unless !project.iml? || existing_deps.include?(a.to_s)
140
+ project.compile.dependencies << a unless existing_deps.include?(a.to_s)
141
141
  additional_gwt_deps << a
142
142
  end
143
143
 
@@ -70,7 +70,7 @@ for those one-off tasks, with a language that's a joy to use.
70
70
  spec.add_dependency 'diff-lcs', '1.2.4'
71
71
  spec.add_dependency 'xml-simple', '1.1.2'
72
72
  spec.add_dependency 'minitar', '0.5.4'
73
- spec.add_dependency 'jruby-openssl', '~> 0.8.2' if $platform.to_s == 'java'
73
+ spec.add_dependency 'jruby-openssl', '~> 0.9.16' if $platform.to_s == 'java'
74
74
  spec.add_dependency 'bundler'
75
75
  spec.add_dependency 'orderedhash', '0.0.6'
76
76
  spec.add_dependency 'win32console' '1.3.2' if $platform.to_s == 'x86-mswin32'
@@ -18,16 +18,28 @@ The source code is included in both source and binary distribution, the Gem dist
18
18
 
19
19
  h2(#dist). Binaries and Source Code
20
20
 
21
+ h3. buildr 1.4.24 (2016-03-19)
22
+
23
+ |_. Package |_. MD5 Checksum |_. PGP |
24
+ | "buildr-1.4.24-java.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.24/buildr-1.4.24-java.gem | "9253f047f331e485309916f5863734b2":http://www.apache.org/dist/buildr/1.4.24/buildr-1.4.24-java.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.24/buildr-1.4.24-java.gem.asc |
25
+ | "buildr-1.4.24-x86-mswin32.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.24/buildr-1.4.24-x86-mswin32.gem | "efac2aff46e1595eb361ef409158a929":http://www.apache.org/dist/buildr/1.4.24/buildr-1.4.24-x86-mswin32.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.24/buildr-1.4.24-x86-mswin32.gem.asc |
26
+ | "buildr-1.4.24.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.24/buildr-1.4.24.gem | "5775fd509990659f98af2cf87a5f9e41":http://www.apache.org/dist/buildr/1.4.24/buildr-1.4.24.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.24/buildr-1.4.24.gem.asc |
27
+ | "buildr-1.4.24.tgz":http://www.apache.org/dyn/closer.cgi/buildr/1.4.24/buildr-1.4.24.tgz | "ab2e5cfa34cdb032efc59f73a430b23a":http://www.apache.org/dist/buildr/1.4.24/buildr-1.4.24.tgz.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.24/buildr-1.4.24.tgz.asc |
28
+ | "buildr-1.4.24.zip":http://www.apache.org/dyn/closer.cgi/buildr/1.4.24/buildr-1.4.24.zip | "f7f89315d76200d8f72f921346c6e06c":http://www.apache.org/dist/buildr/1.4.24/buildr-1.4.24.zip.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.24/buildr-1.4.24.zip.asc |
29
+
30
+ p>. ("Release signing keys":http://www.apache.org/dist/buildr/1.4.24/KEYS)
31
+
32
+
21
33
  h3. buildr 1.4.23 (2015-06-12)
22
34
 
23
35
  |_. Package |_. MD5 Checksum |_. PGP |
24
- | "buildr-1.4.23-java.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.23/buildr-1.4.23-java.gem | "e2e437989933c8602ba0b41b9bcc4988":http://www.apache.org/dist/buildr/1.4.23/buildr-1.4.23-java.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.23/buildr-1.4.23-java.gem.asc |
25
- | "buildr-1.4.23-x86-mswin32.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.23/buildr-1.4.23-x86-mswin32.gem | "0977069ebdf6b902b86f9c0a757d70c9":http://www.apache.org/dist/buildr/1.4.23/buildr-1.4.23-x86-mswin32.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.23/buildr-1.4.23-x86-mswin32.gem.asc |
26
- | "buildr-1.4.23.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.4.23/buildr-1.4.23.gem | "012cc3319768f8fa37f5743284d5ad31":http://www.apache.org/dist/buildr/1.4.23/buildr-1.4.23.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.23/buildr-1.4.23.gem.asc |
27
- | "buildr-1.4.23.tgz":http://www.apache.org/dyn/closer.cgi/buildr/1.4.23/buildr-1.4.23.tgz | "40acd29febb55bec063ec8a77bf40fc1":http://www.apache.org/dist/buildr/1.4.23/buildr-1.4.23.tgz.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.23/buildr-1.4.23.tgz.asc |
28
- | "buildr-1.4.23.zip":http://www.apache.org/dyn/closer.cgi/buildr/1.4.23/buildr-1.4.23.zip | "f3ad77a50e4c8c88b91994ff6b703bcd":http://www.apache.org/dist/buildr/1.4.23/buildr-1.4.23.zip.md5 | "Sig":http://www.apache.org/dist/buildr/1.4.23/buildr-1.4.23.zip.asc |
36
+ | "buildr-1.4.23-java.gem":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23-java.gem | "e2e437989933c8602ba0b41b9bcc4988":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23-java.gem.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23-java.gem.asc |
37
+ | "buildr-1.4.23-x86-mswin32.gem":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23-x86-mswin32.gem | "0977069ebdf6b902b86f9c0a757d70c9":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23-x86-mswin32.gem.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23-x86-mswin32.gem.asc |
38
+ | "buildr-1.4.23.gem":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23.gem | "012cc3319768f8fa37f5743284d5ad31":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23.gem.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23.gem.asc |
39
+ | "buildr-1.4.23.tgz":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23.tgz | "40acd29febb55bec063ec8a77bf40fc1":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23.tgz.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23.tgz.asc |
40
+ | "buildr-1.4.23.zip":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23.zip | "f3ad77a50e4c8c88b91994ff6b703bcd":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23.zip.md5 | "Sig":http://archive.apache.org/dist/buildr/1.4.23/buildr-1.4.23.zip.asc |
29
41
 
30
- p>. ("Release signing keys":http://www.apache.org/dist/buildr/1.4.23/KEYS)
42
+ p>. ("Release signing keys":http://archive.apache.org/dist/buildr/1.4.23/KEYS)
31
43
 
32
44
 
33
45
  h3. buildr 1.4.22 (2015-02-28)
@@ -46,6 +46,12 @@ So let's get started. You can "read the documentation online":quick_start.html,
46
46
 
47
47
  h2(#news). What's New
48
48
 
49
+ Highlights from Buildr 1.4.25 (2016-04-18)
50
+ * Change: BUILDR-712 Update jruby-openssl dependency version or support a range of versions
51
+ * Change: Update gwt addon to add the GWT artifacts to project dependencies as specs rather
52
+ than files.
53
+ * Change: Support the project.root_project utility method to retrieve the top level project.
54
+
49
55
  Highlights from Buildr 1.4.24 (2016-03-19)
50
56
  * Added: Support the :no_invoke parameter being passed to Buildr.project() and
51
57
  Buildr.projects() to avoid attempting to call invoke when retrieving the projects.
@@ -412,6 +412,20 @@ module Buildr #:nodoc:
412
412
  @callbacks = Project.global_callbacks.dup
413
413
  end
414
414
 
415
+ #
416
+ # Returns the root project for this project.
417
+ #
418
+ # If this project is a subproject it will find the top
419
+ # level project and return it, else it will return itself.
420
+ #
421
+ def root_project
422
+ p = project
423
+ while p.parent
424
+ p = p.parent
425
+ end
426
+ p
427
+ end
428
+
415
429
  # :call-seq:
416
430
  # base_dir => path
417
431
  #
@@ -370,7 +370,7 @@ module Buildr #:nodoc:
370
370
  end
371
371
  default_enable_jsf = webroots.keys.any?{|webroot| File.exist?("#{webroot}/WEB-INF/faces-config.xml")}
372
372
  enable_jsf = options[:enable_jsf].nil? ? default_enable_jsf : options[:enable_jsf]
373
- enable_jsf = false if root_project.ipr? && root_project.ipr.version >= '13'
373
+ enable_jsf = false if buildr_project.root_project.ipr? && buildr_project.root_project.ipr.version >= '13'
374
374
  f.facet(:type => 'jsf', :name => 'JSF') do |jsf|
375
375
  jsf.configuration
376
376
  end if enable_jsf
@@ -477,14 +477,6 @@ module Buildr #:nodoc:
477
477
 
478
478
  protected
479
479
 
480
- def root_project
481
- p = buildr_project
482
- while p.parent
483
- p = p.parent
484
- end
485
- p
486
- end
487
-
488
480
  def main_dependency_details
489
481
  target_dir = buildr_project.compile.target.to_s
490
482
  main_dependencies.select { |d| d.to_s != target_dir }.collect do |d|
@@ -14,5 +14,5 @@
14
14
  # the License.
15
15
 
16
16
  module Buildr #:nodoc:
17
- VERSION = '1.4.24'.freeze
17
+ VERSION = '1.4.25'.freeze
18
18
  end
@@ -13,31 +13,16 @@
13
13
  # License for the specific language governing permissions and limitations under
14
14
  # the License.
15
15
 
16
- desc 'Checkout or update dist to local directory'
17
- task 'setup-local-dist-svn' do
18
- if File.exist?('dist')
19
- sh 'svn', 'up', 'site'
20
- sh 'svn', 'revert', '--recursive', 'dist'
21
- else
22
- sh 'svn', 'co', 'https://dist.apache.org/repos/dist/release/buildr', 'dist'
23
- end
24
- end
25
-
26
- task 'publish-dist-svn' do
27
- cd 'dist'
28
- sh 'svn', 'add', '--force', '.'
29
- cd '..'
30
- sh 'svn', 'commit', 'dist', '-m', 'Publish latest release'
31
- end
32
-
33
16
  desc 'Release the next version of buildr from existing staged repository'
34
- task 'release' => %w{setup-local-site-svn setup-local-dist-svn} do
17
+ task 'release' do |task, args|
18
+ user = args.user || ENV['user'] || `whoami`
19
+
35
20
  # First, we need to get all the staged files from Apache to _release.
36
21
  mkpath '_release'
37
22
  lambda do
38
- url = "people.apache.org:~/public_html/#{spec.name}/#{spec.version}"
23
+ url = "home.apache.org:~/public_html/#{spec.name}/#{spec.version}"
39
24
  puts "Populating _release directory from #{url} ..."
40
- sh 'rsync', '--progress', '--recursive', url, '_release'
25
+ sh "lftp -e \"mirror public_html/#{spec.name}/#{spec.version} _release/#{spec.version}; bye\" -u #{user} sftp://home.apache.org"
41
26
  puts '[X] Staged files are now in _release'
42
27
  end.call
43
28
 
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.4.24
4
+ version: 1.4.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apache Buildr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-20 00:00:00.000000000 Z
11
+ date: 2016-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake