mjruby 0.5.0-java

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 61a1b11dfd626a82b61357ddd419999af08b6825
4
+ data.tar.gz: 15c410e70b2399c5b2764ca64c1d55387f46687d
5
+ SHA512:
6
+ metadata.gz: e1c6727c3e7f10f8d8ba273522ba26f139ff49c500d2517f928a6086a880916662f381b13725240cdaa22c9bd38da56f32fd262447be2fadea08a6d8aef4d0ca
7
+ data.tar.gz: 299b8983cfddc5e1955c0b8bd979b38485b9e9368e4b2f55b02ba19dc24bb0dcfc64d1620ce1bd518e6ae4d911ee03e4aa1987fc6a9f835da988b7a5ab89c0ff
@@ -0,0 +1,28 @@
1
+ require 'rbconfig'
2
+ require 'fileutils'
3
+
4
+ # There must be a Makefile or RubyGems will freak out. So we create
5
+ # a no-op Makefile
6
+ File.write('Makefile', <<EOF)
7
+ clean:
8
+
9
+ install:
10
+ EOF
11
+
12
+ bindir = RbConfig::CONFIG['bindir']
13
+ arch = "#{ENV_JAVA['os.arch']}-#{ENV_JAVA['os.name']}"
14
+
15
+ binary =
16
+ case arch
17
+ when /^(amd64|x86_64)-Linux/ then "mruby/build/x86_64-pc-linux-gnu/bin/mjruby"
18
+ when /^i\d86-Linux/ then "mruby/build/i686-pc-linux-gnu/bin/mjruby"
19
+ when /^x86_64-Mac OS X/ then "mruby/build/x86_64-apple-darwin14/bin/mjruby"
20
+ when /^i\d86-Mac OS X/ then "mruby/build/x86_64-apple-darwin14/bin/mjruby"
21
+ when /^x86-Windows/ then "mruby/build/i686-w64-mingw32/bin/mjruby"
22
+ when /^(amd64|x86_64)-Windows/ then "mruby/build/x86_64-w64-mingw32/bin/mjruby"
23
+ when /^x86-FreeBSD/ then "mruby/build/i686-pc-freebsd7/bin/mjruby"
24
+ when /^(amd64|x86_64)-FreeBSD/ then "mruby/build/x86_64-pc-freebsd7/bin/mjruby"
25
+ else nil
26
+ raise "Could not find appropriate architecture for '#{arch}'"
27
+ end
28
+ FileUtils.cp(binary, bindir)
metadata ADDED
@@ -0,0 +1,69 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mjruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.0
5
+ platform: java
6
+ authors:
7
+ - Joe Kutner
8
+ - Terence Lee
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-12-03 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '10.0'
20
+ name: rake
21
+ prerelease: false
22
+ type: :development
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '10.0'
28
+ description: This is a rewrite of the JRuby launcher. It uses mruby-cli to build binary executables of the jruby command.
29
+ email:
30
+ - jpkutner@gmail.com
31
+ executables: []
32
+ extensions:
33
+ - extconf.rb
34
+ extra_rdoc_files: []
35
+ files:
36
+ - extconf.rb
37
+ - mruby/build/i386-apple-darwin14/bin/mjruby
38
+ - mruby/build/i686-pc-freebsd7/bin/mjruby
39
+ - mruby/build/i686-pc-linux-gnu/bin/mjruby
40
+ - mruby/build/i686-w64-mingw32/bin/mjruby.exe
41
+ - mruby/build/x86_64-apple-darwin14/bin/mjruby
42
+ - mruby/build/x86_64-pc-freebsd7/bin/mjruby
43
+ - mruby/build/x86_64-pc-linux-gnu/bin/mjruby
44
+ - mruby/build/x86_64-w64-mingw32/bin/mjruby.exe
45
+ homepage: https://github.com/jkutner/mjruby
46
+ licenses:
47
+ - MIT
48
+ metadata: {}
49
+ post_install_message:
50
+ rdoc_options: []
51
+ require_paths:
52
+ - lib
53
+ required_ruby_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ requirements: []
64
+ rubyforge_project:
65
+ rubygems_version: 2.4.8
66
+ signing_key:
67
+ specification_version: 4
68
+ summary: Native JRuby Launcher
69
+ test_files: []