jruby_art 1.6.1 → 1.6.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1171d13c7cbfa62ffb04f0f12b0b2769ce9dbef6ee4d693320e5709d561b8b36
4
- data.tar.gz: fe4f61f8f002436798e89c20271ac74a88308f15fc1855efd196da25ac1c8b9b
3
+ metadata.gz: 443300fba760cfb50be5e64c0d6a0a0ff31189822f994d587f3ba0208850228c
4
+ data.tar.gz: 4517ebb6f1340100d8e176c43b071658c2c729966074736a733ef5e006549317
5
5
  SHA512:
6
- metadata.gz: 1778d3dc929a5806e97275118694d46f682c280541b7720aaeaa5ffb50c7212ee422b41c4baebb922300ca44f2efc8bf766a14d72b3fa715659b869ff8e1352b
7
- data.tar.gz: 98dbf20b359c36deda8ba3de3efa55190a28add62d552560d673bdb9a6e3861d01fd216e040cadefaf12e2de9c4a07b117fee7c863045aa5772df492e8ec983a
6
+ metadata.gz: 6b7308d84b502727eba4abc7e593e8359794ea1837aea4f527497af9d9b34fdd318289879ea235c48220c8a8df125d275b9463f91244e99572404763435340ca
7
+ data.tar.gz: 99fdc0eb2718da4cc5b78055e579713e5eee308974aa59c9c3926b3d554aff9e7635ef72c6ffef9f401afccee14e6a09f895aef634a404af6f2de5c753f3d30a
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  # A wrapper for version
3
3
  module JRubyArt
4
- VERSION = '1.6.1'.freeze
4
+ VERSION = '1.6.2'.freeze
5
5
  end
Binary file
@@ -9,16 +9,28 @@ WARNING = <<-EOS.freeze
9
9
  EOS
10
10
 
11
11
 
12
- JRUBYC_VERSION = '9.2.2.0'
12
+ JRUBYC_VERSION = '9.2.4.0'
13
13
 
14
14
  EXAMPLES = '3.2'
15
15
  HOME_DIR = ENV['HOME']
16
16
  MAC_OR_LINUX = /linux|mac|darwin/ =~ RbConfig::CONFIG['host_os']
17
17
 
18
- CLOBBER.include("jruby-complete-#{JRUBYC_VERSION}.jar")
18
+ CLOBBER << "jruby-complete-#{JRUBYC_VERSION}.jar"
19
+ CLOBBER << "jruby-complete-#{JRUBYC_VERSION}.jar.sha256"
20
+
21
+ file "jruby-complete-#{JRUBYC_VERSION}.jar.sha256" do
22
+ begin
23
+ sh "wget https://repo1.maven.org/maven2/org/jruby/jruby-complete/#{JRUBYC_VERSION}/jruby-complete-#{JRUBYC_VERSION}.jar.sha256"
24
+ rescue
25
+ warn(WARNING)
26
+ end
27
+ end
28
+
29
+ desc "get sha256"
30
+ task :get_sha256 => ["jruby-complete-#{JRUBYC_VERSION}.jar.sha256"]
19
31
 
20
32
  desc "download, and copy to jruby_art"
21
- task :default => [:download, :copy_ruby]
33
+ task :default => [:get_sha256, :download, :copy_ruby]
22
34
 
23
35
  desc "download JRuby upstream sources"
24
36
  task :download => ["jruby-complete-#{JRUBYC_VERSION}.jar"]
@@ -29,7 +41,8 @@ file "jruby-complete-#{JRUBYC_VERSION}.jar" do
29
41
  rescue
30
42
  warn(WARNING)
31
43
  end
32
- check_sha256("jruby-complete-#{JRUBYC_VERSION}.jar", "c587e865608098930e6e51e41cf1a15a8a34b4a4ef0b2554d395b1b3c2de6dd5")
44
+ value=File.read("jruby-complete-#{JRUBYC_VERSION}.jar.sha256")
45
+ check_sha256("jruby-complete-#{JRUBYC_VERSION}.jar", value)
33
46
  end
34
47
 
35
48
  directory "../lib/ruby"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby_art
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Ashkenas
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-11-09 00:00:00.000000000 Z
13
+ date: 2018-11-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake