jruby-slick 1.1.3 → 1.1.4a
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.
- data/jruby-slick/tasks/jruby-slick.rake +3 -21
- metadata +13 -13
|
@@ -23,15 +23,7 @@ task :setup_natives do
|
|
|
23
23
|
platform = []
|
|
24
24
|
if target.index('mswin')
|
|
25
25
|
platform << 'windows'
|
|
26
|
-
|
|
27
|
-
puts "Since you are using windows, please specify whether you are using 32 or 64 bit (32/64)"
|
|
28
|
-
bit = ''
|
|
29
|
-
until valid
|
|
30
|
-
bit = $stdin.gets.chomp
|
|
31
|
-
valid = /^(32|64)$/ =~ bit
|
|
32
|
-
puts "Please enter 32 or 64" if !valid
|
|
33
|
-
end
|
|
34
|
-
platform << bit
|
|
26
|
+
puts "Determined you are using windows"
|
|
35
27
|
elsif target.index('darwin')
|
|
36
28
|
platform << 'macosx'
|
|
37
29
|
puts "Determined you are on OS X"
|
|
@@ -52,18 +44,8 @@ task :setup_natives do
|
|
|
52
44
|
if entry.file? && /^lwjgl-2.8.5\/native\/#{platform[0]}/ =~ entry.name
|
|
53
45
|
target = "bin/#{entry.name.split('/')[-1]}"
|
|
54
46
|
unless File.exists? target
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
entry.extract target.gsub(/\_64|64/, "")
|
|
58
|
-
puts "wrote file: #{target}"
|
|
59
|
-
elsif platform.index("32") && target.index("64").nil?
|
|
60
|
-
extry.extract target
|
|
61
|
-
puts "wrote file: #{target}"
|
|
62
|
-
end
|
|
63
|
-
else
|
|
64
|
-
entry.extract target
|
|
65
|
-
puts "wrote file: #{target}"
|
|
66
|
-
end
|
|
47
|
+
entry.extract target
|
|
48
|
+
puts "wrote file: #{target}"
|
|
67
49
|
end
|
|
68
50
|
elsif entry.file? && entry.name == "lwjgl-2.8.5/jar/lwjgl.jar" || entry.name == "lwjgl-2.8.5/jar/jinput.jar"
|
|
69
51
|
target = "vendor/slick/#{entry.name.split('/')[-1]}"
|
metadata
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jruby-slick
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
prerelease:
|
|
5
|
-
version: 1.1.
|
|
4
|
+
prerelease: 5
|
|
5
|
+
version: 1.1.4a
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Aaron McLeod
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-04-
|
|
12
|
+
date: 2013-04-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rubyzip
|
|
16
16
|
version_requirements: !ruby/object:Gem::Requirement
|
|
17
17
|
requirements:
|
|
18
|
-
- -
|
|
18
|
+
- - ">="
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
20
|
version: !binary |-
|
|
21
21
|
MA==
|
|
22
22
|
none: false
|
|
23
23
|
requirement: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
|
-
- -
|
|
25
|
+
- - ">="
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
27
|
version: !binary |-
|
|
28
28
|
MA==
|
|
@@ -33,14 +33,14 @@ dependencies:
|
|
|
33
33
|
name: rake
|
|
34
34
|
version_requirements: !ruby/object:Gem::Requirement
|
|
35
35
|
requirements:
|
|
36
|
-
- -
|
|
36
|
+
- - ">="
|
|
37
37
|
- !ruby/object:Gem::Version
|
|
38
38
|
version: !binary |-
|
|
39
39
|
MA==
|
|
40
40
|
none: false
|
|
41
41
|
requirement: !ruby/object:Gem::Requirement
|
|
42
42
|
requirements:
|
|
43
|
-
- -
|
|
43
|
+
- - ">="
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
45
|
version: !binary |-
|
|
46
46
|
MA==
|
|
@@ -59,27 +59,27 @@ files:
|
|
|
59
59
|
- jruby-slick/template/example.rb
|
|
60
60
|
- jruby-slick/template/example_game_state.rb
|
|
61
61
|
- bin/jruby-slick.rb
|
|
62
|
-
- .gitignore
|
|
62
|
+
- ".gitignore"
|
|
63
63
|
- Rakefile
|
|
64
64
|
homepage: http://github.com/agmcleod/jruby-slick
|
|
65
65
|
licenses: []
|
|
66
66
|
post_install_message:
|
|
67
67
|
rdoc_options: []
|
|
68
68
|
require_paths:
|
|
69
|
-
- .
|
|
69
|
+
- "."
|
|
70
70
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
|
-
- -
|
|
72
|
+
- - ">="
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
74
|
version: !binary |-
|
|
75
75
|
MA==
|
|
76
76
|
none: false
|
|
77
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
78
|
requirements:
|
|
79
|
-
- - !
|
|
79
|
+
- - !binary |-
|
|
80
|
+
Pg==
|
|
80
81
|
- !ruby/object:Gem::Version
|
|
81
|
-
version:
|
|
82
|
-
MA==
|
|
82
|
+
version: 1.3.1
|
|
83
83
|
none: false
|
|
84
84
|
requirements: []
|
|
85
85
|
rubyforge_project:
|