jruby-slick 1.0a
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Rakefile +1 -0
- data/bin/jruby-slick.rb +8 -0
- data/jruby-slick/tasks/jruby-slick.rake +24 -0
- metadata +67 -0
data/.gitignore
ADDED
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
load("jruby-slick/tasks/jruby-slick.rake")
|
data/bin/jruby-slick.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'net/http'
|
2
|
+
require 'fileutils'
|
3
|
+
require 'rubygems'
|
4
|
+
require 'zip/zipfilesystem'
|
5
|
+
desc 'Download Slick Distribution'
|
6
|
+
|
7
|
+
task :download_slick do
|
8
|
+
|
9
|
+
FileUtils.rm_rf "vendor/slick"
|
10
|
+
FileUtils.mkdir_p "vendor/slick"
|
11
|
+
|
12
|
+
res = Net::HTTP.get_response(URI("http://slick.cokeandcode.com/downloads/slick.zip"))
|
13
|
+
File.open("temp.zip", "w+") do |f|
|
14
|
+
f.write(res.body)
|
15
|
+
end
|
16
|
+
Zip::ZipFile.open("temp.zip") do |zipfile|
|
17
|
+
zipfile.each do |entry|
|
18
|
+
if entry.file? && /^lib\// =~ entry.name
|
19
|
+
entry.extract entry.to_s.gsub(/^lib/, "vendor/slick")
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
File.delete("temp.zip")
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jruby-slick
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0a
|
5
|
+
prerelease: 3
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Aaron McLeod
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-07-03 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rake
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
description: ''
|
31
|
+
email:
|
32
|
+
- aaron.g.mcleod@gmail.com
|
33
|
+
executables:
|
34
|
+
- jruby-slick.rb
|
35
|
+
extensions: []
|
36
|
+
extra_rdoc_files: []
|
37
|
+
files:
|
38
|
+
- jruby-slick/tasks/jruby-slick.rake
|
39
|
+
- bin/jruby-slick.rb
|
40
|
+
- .gitignore
|
41
|
+
- Rakefile
|
42
|
+
homepage: http://github.com/agmcleod/jruby-slick
|
43
|
+
licenses: []
|
44
|
+
post_install_message:
|
45
|
+
rdoc_options: []
|
46
|
+
require_paths:
|
47
|
+
- .
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ! '>'
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 1.3.1
|
60
|
+
requirements: []
|
61
|
+
rubyforge_project:
|
62
|
+
rubygems_version: 1.8.24
|
63
|
+
signing_key:
|
64
|
+
specification_version: 3
|
65
|
+
summary: A command line tool for downloading and unzipping all the basic jar files
|
66
|
+
of the slick2d library.
|
67
|
+
test_files: []
|