buildr 1.4.24-java → 1.4.25-java

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: 02ab9080c864c8b802ffabc324b6acb8153509cf
4
- data.tar.gz: a8ca024e086c63c02818524a41497b026a7b74ff
3
+ metadata.gz: cbf0ffd61bb0df379ba9c62c40e255c5333a5070
4
+ data.tar.gz: 67ac1a274f21ccf47deb95193a5819e2fd177844
5
5
  SHA512:
6
- metadata.gz: 3463f930779b1c370e8d0cda5517f6098028bffd74eb4e5df3aa4530674a14d564b80dc7de4bc4871b3fc92c874145dc2151758de886b69ae0d4451375ed0352
7
- data.tar.gz: 22fe3c12421ac0b1ec597a7764712062d1ebc1c1d81741baec7b3a20dbc7eca34d6d3c7fa6a873a5d64324b9927c317d1dd16a439c1df05ef1dafa49ce45463d
6
+ metadata.gz: 40b74f535d0277134f8605910be230d9619e66825ff7531ec0cae06847d040a3d46da9821f9fb91dffd4d2c2b7ad757da1ac8e577ba9f0fe2113752eaa3167f4
7
+ data.tar.gz: 7f6d2327fb508085e2c134b12707728eeb3296e8ad936de47379fb5ece744a33aba8ebed0c258f1ce560ea4a21b80f00affade5f85244b27196e098be06c102f
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.
data/addon/buildr/gwt.rb CHANGED
@@ -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
 
data/buildr.gemspec CHANGED
@@ -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'
data/doc/download.textile CHANGED
@@ -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)
data/doc/index.textile CHANGED
@@ -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
data/rakelib/release.rake CHANGED
@@ -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: java
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
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 0.8.2
187
+ version: 0.9.16
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 0.8.2
194
+ version: 0.9.16
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: bundler
197
197
  requirement: !ruby/object:Gem::Requirement