slickr 0.0.1
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 +15 -0
- data/.gitignore +17 -0
- data/.rspec +3 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +88 -0
- data/Rakefile +1 -0
- data/bin/slickr +3 -0
- data/files/Rakefile +2 -0
- data/files/jinput.jar +0 -0
- data/files/libjinput-osx.jnilib +0 -0
- data/files/liblwjgl.jnilib +0 -0
- data/files/lwjgl.jar +0 -0
- data/files/openal.dylib +0 -0
- data/files/slick.jar +0 -0
- data/lib/slickr.rb +7 -0
- data/lib/slickr/actions/create.rb +79 -0
- data/lib/slickr/cli.rb +9 -0
- data/lib/slickr/tasks.rb +12 -0
- data/lib/slickr/version.rb +3 -0
- data/slickr.gemspec +29 -0
- data/spec/slickj/actions/create_spec.rb +174 -0
- data/spec/spec_helper.rb +9 -0
- data/templates/components.erb +5 -0
- data/templates/engine.erb +30 -0
- data/templates/entities.erb +5 -0
- data/templates/renderers.erb +5 -0
- data/templates/systems.erb +5 -0
- metadata +186 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ODRmY2E3NWEwZjg0YTc1Y2QwZDlkYTExZGNmMWZlMmQxMDEyMjJkNg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZjVmZWI5MTU5ZWNhOGRmZTNmM2NlYjNlNWE4MjViNjkyMDNiZTZhYQ==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZGRkMzg4NGE3MTE1OTkyNzk1MDkxMDk5MjViNTdiYzU5ODliMDUyYTZhMDk4
|
10
|
+
YTVmMWNkNTgxZjlhOWQ3NDAyYzIwYWJkMjJmYWI0ODlmMzM2ZmU4NmJiYTI5
|
11
|
+
YjZjYjQ5NWNjM2RmZWM4ZTZiMjY0ZjY1MTllNGFiZTI1MjRlNTI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YzQ4MWI3YTE3YzZkZmJjMzMwOTY4NzFkMzUyMzk5Zjg4NmVkNDQ1MDRlNzg2
|
14
|
+
OTc2OWE4NWVjODg1MWZkOTJmMmE2MDg0NmFhMzRhMWYwZTkzZDdkNzM2MWNk
|
15
|
+
NWFmMGY0YzFiYmY5Y2ZhYjU4M2UxZmViY2YzMDY4OTIzZTUyODM=
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Matte Noble
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
# slickr
|
2
|
+
|
3
|
+
JRuby Slick2D project generators.
|
4
|
+
|
5
|
+
## Overview
|
6
|
+
|
7
|
+
The project Slickr sets up is an attempt to merge concepts from
|
8
|
+
Entity-Component and just plain old OOP best practices. Ruby gives you
|
9
|
+
a lot of power to write great code and Slickr tries to set you up to do
|
10
|
+
that well.
|
11
|
+
|
12
|
+
Keep things simple. Components should have no knowledge of the Entities
|
13
|
+
that will implement them; Systems should not care about what type of
|
14
|
+
Entity they're acting on. Basically, watch or read anything Sandi Metz
|
15
|
+
says and follow it.
|
16
|
+
|
17
|
+
## Project Structure
|
18
|
+
|
19
|
+
├── Rakefile
|
20
|
+
├── assets/
|
21
|
+
├── java/
|
22
|
+
│ ├── jinput.jar
|
23
|
+
│ ├── lwjgl.jar
|
24
|
+
│ └── slick.jar
|
25
|
+
├── lib
|
26
|
+
│ ├── components
|
27
|
+
│ ├── components.rb
|
28
|
+
│ ├── engine.rb
|
29
|
+
│ ├── entities
|
30
|
+
│ ├── entities.rb
|
31
|
+
│ ├── renderers
|
32
|
+
│ ├── renderers.rb
|
33
|
+
│ ├── systems
|
34
|
+
│ └── systems.rb
|
35
|
+
├── libjinput-osx.jnilib
|
36
|
+
├── liblwjgl.jnilib
|
37
|
+
└── openal.dylib
|
38
|
+
|
39
|
+
### assets
|
40
|
+
|
41
|
+
Images, sounds, videos, etc.
|
42
|
+
|
43
|
+
### java
|
44
|
+
|
45
|
+
Slick2D framework jars.
|
46
|
+
|
47
|
+
### lib
|
48
|
+
|
49
|
+
Your game code.
|
50
|
+
|
51
|
+
### lib/components
|
52
|
+
|
53
|
+
Behaviors that entities will include. These are modules that implement
|
54
|
+
whatever behavior the entity should have. A common example will be a
|
55
|
+
`Spatial` component that implements `x` and `y` position and movement.
|
56
|
+
|
57
|
+
### lib/entities
|
58
|
+
|
59
|
+
The actual objects that live your game's world. Entities will implement
|
60
|
+
Components and Systems conduct Entities. These will be your Heros,
|
61
|
+
Enemies, Bosses, etc.
|
62
|
+
|
63
|
+
### lib/renderers
|
64
|
+
|
65
|
+
Draws the current state of entities to the screen.
|
66
|
+
|
67
|
+
### lib/systems
|
68
|
+
|
69
|
+
Systems react to changes in the world and update entitites accordingly.
|
70
|
+
View these as controllers of sorts. A good example of this is an `Input`
|
71
|
+
system. It would react to keyboard events and tell the appropriate
|
72
|
+
entities where to move.
|
73
|
+
|
74
|
+
## Installation
|
75
|
+
|
76
|
+
$ gem install slickr
|
77
|
+
|
78
|
+
## Usage
|
79
|
+
|
80
|
+
$ slickr new PROJECT_NAME
|
81
|
+
|
82
|
+
## Contributing
|
83
|
+
|
84
|
+
1. Fork it
|
85
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
86
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
87
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
88
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/slickr
ADDED
data/files/Rakefile
ADDED
data/files/jinput.jar
ADDED
Binary file
|
Binary file
|
Binary file
|
data/files/lwjgl.jar
ADDED
Binary file
|
data/files/openal.dylib
ADDED
Binary file
|
data/files/slick.jar
ADDED
Binary file
|
data/lib/slickr.rb
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
module Slickr
|
2
|
+
module Actions
|
3
|
+
class Create
|
4
|
+
def initialize(name)
|
5
|
+
@name = name
|
6
|
+
end
|
7
|
+
|
8
|
+
def start
|
9
|
+
empty_directory "java"
|
10
|
+
empty_directory "assets"
|
11
|
+
empty_directory "lib"
|
12
|
+
empty_directory "lib", "renderers"
|
13
|
+
empty_directory "lib", "components"
|
14
|
+
empty_directory "lib", "systems"
|
15
|
+
empty_directory "lib", "entities"
|
16
|
+
|
17
|
+
copy_file "jinput.jar", "java"
|
18
|
+
copy_file "lwjgl.jar", "java"
|
19
|
+
copy_file "slick.jar", "java"
|
20
|
+
|
21
|
+
copy_file "libjinput-osx.jnilib"
|
22
|
+
copy_file "liblwjgl.jnilib"
|
23
|
+
copy_file "openal.dylib"
|
24
|
+
|
25
|
+
copy_file "Rakefile"
|
26
|
+
|
27
|
+
template "engine.erb", "engine.rb"
|
28
|
+
template "components.erb", "components.rb"
|
29
|
+
template "renderers.erb", "renderers.rb"
|
30
|
+
template "systems.erb", "systems.rb"
|
31
|
+
template "entities.erb", "entities.rb"
|
32
|
+
end
|
33
|
+
|
34
|
+
def empty_directory(*path)
|
35
|
+
project_directory.join(*path).mkpath
|
36
|
+
end
|
37
|
+
|
38
|
+
def copy_file(filename, destination="")
|
39
|
+
FileUtils.cp(root.join("files", filename), project_directory.join(destination, filename))
|
40
|
+
end
|
41
|
+
|
42
|
+
def template(filename, destination)
|
43
|
+
file = lib_file(destination)
|
44
|
+
file.write(render(template_source(filename)))
|
45
|
+
file.close
|
46
|
+
end
|
47
|
+
|
48
|
+
protected
|
49
|
+
|
50
|
+
def lib_file(filename)
|
51
|
+
project_directory.join("lib", filename).open("w+")
|
52
|
+
end
|
53
|
+
|
54
|
+
def render(source)
|
55
|
+
ERB.new(source).result(binding)
|
56
|
+
end
|
57
|
+
|
58
|
+
def template_source(filename)
|
59
|
+
root.join("templates", filename).read
|
60
|
+
end
|
61
|
+
|
62
|
+
def module_name
|
63
|
+
name.gsub(" ", "_").camelize
|
64
|
+
end
|
65
|
+
|
66
|
+
def name
|
67
|
+
@name
|
68
|
+
end
|
69
|
+
|
70
|
+
def project_directory
|
71
|
+
@project_directory ||= Pathname.new(name)
|
72
|
+
end
|
73
|
+
|
74
|
+
def root
|
75
|
+
@root ||= Pathname.new(__FILE__).join("../../../../").expand_path
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/lib/slickr/cli.rb
ADDED
data/lib/slickr/tasks.rb
ADDED
data/slickr.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'slickr/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "slickr"
|
8
|
+
spec.version = Slickr::VERSION
|
9
|
+
spec.authors = ["Matte Noble"]
|
10
|
+
spec.email = ["me@mattenoble.com"]
|
11
|
+
spec.description = %q{Slick2D JRuby project generator}
|
12
|
+
spec.summary = %q{Slick2D JRuby project generator}
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.files = `git ls-files`.split($/)
|
16
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
|
+
spec.require_paths = ["lib"]
|
19
|
+
|
20
|
+
spec.add_dependency "thor"
|
21
|
+
spec.add_dependency "i18n"
|
22
|
+
spec.add_dependency "active_support"
|
23
|
+
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
25
|
+
spec.add_development_dependency "rake"
|
26
|
+
spec.add_development_dependency "debugger"
|
27
|
+
spec.add_development_dependency "rspec"
|
28
|
+
spec.add_development_dependency "fakefs"
|
29
|
+
end
|
@@ -0,0 +1,174 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe Slickr::Actions::Create do
|
4
|
+
let!(:action) { described_class.new("A Game") }
|
5
|
+
let!(:rootdir) { Pathname.new(__FILE__).join("../../../../").expand_path }
|
6
|
+
let!(:gamedir) { Pathname.new("A Game") }
|
7
|
+
|
8
|
+
before do
|
9
|
+
# Need the actual template contents so we can compare the rendered output
|
10
|
+
engine = rootdir.join("templates", "engine.erb").read
|
11
|
+
renderers = rootdir.join("templates", "renderers.erb").read
|
12
|
+
components = rootdir.join("templates", "components.erb").read
|
13
|
+
systems = rootdir.join("templates", "systems.erb").read
|
14
|
+
|
15
|
+
FakeFS.activate!
|
16
|
+
|
17
|
+
rootdir.mkpath
|
18
|
+
rootdir.join("files").mkpath
|
19
|
+
|
20
|
+
# The contents of these don't matter, so just make empty files
|
21
|
+
FileUtils.touch(rootdir.join("files", "Rakefile"))
|
22
|
+
FileUtils.touch(rootdir.join("files", "jinput.jar"))
|
23
|
+
FileUtils.touch(rootdir.join("files", "lwjgl.jar"))
|
24
|
+
FileUtils.touch(rootdir.join("files", "slick.jar"))
|
25
|
+
FileUtils.touch(rootdir.join("files", "libjinput-osx.jnilib"))
|
26
|
+
FileUtils.touch(rootdir.join("files", "liblwjgl.jnilib"))
|
27
|
+
FileUtils.touch(rootdir.join("files", "openal.dylib"))
|
28
|
+
|
29
|
+
# Write templates to FakeFS
|
30
|
+
rootdir.join("templates").mkpath
|
31
|
+
rootdir.join("templates", "engine.erb").open("w+") { |f| f << engine }
|
32
|
+
rootdir.join("templates", "components.erb").open("w+") { |f| f << components }
|
33
|
+
rootdir.join("templates", "renderers.erb").open("w+") { |f| f << renderers }
|
34
|
+
rootdir.join("templates", "systems.erb").open("w+") { |f| f << systems }
|
35
|
+
|
36
|
+
# Finally
|
37
|
+
action.start
|
38
|
+
end
|
39
|
+
|
40
|
+
after do
|
41
|
+
FakeFS.deactivate!
|
42
|
+
end
|
43
|
+
|
44
|
+
it "creates the project directory" do
|
45
|
+
gamedir.should be_directory
|
46
|
+
end
|
47
|
+
|
48
|
+
it "creates a java directory" do
|
49
|
+
gamedir.join("java").should be_directory
|
50
|
+
end
|
51
|
+
|
52
|
+
it "creates a lib directory" do
|
53
|
+
gamedir.join("lib").should be_directory
|
54
|
+
end
|
55
|
+
|
56
|
+
it "creates a lib/renderers directory" do
|
57
|
+
gamedir.join("lib", "renderers").should be_directory
|
58
|
+
end
|
59
|
+
|
60
|
+
it "creates a lib/components directory" do
|
61
|
+
gamedir.join("lib", "components").should be_directory
|
62
|
+
end
|
63
|
+
|
64
|
+
it "creates a lib/systems directory" do
|
65
|
+
gamedir.join("lib", "systems").should be_directory
|
66
|
+
end
|
67
|
+
|
68
|
+
it "creates a lib/entities directory" do
|
69
|
+
gamedir.join("lib", "entities").should be_directory
|
70
|
+
end
|
71
|
+
|
72
|
+
it "creates an assets directory" do
|
73
|
+
gamedir.join("assets").should be_directory
|
74
|
+
end
|
75
|
+
|
76
|
+
it "copies jinput.jar into the java directory" do
|
77
|
+
gamedir.join("java", "jinput.jar").should exist
|
78
|
+
end
|
79
|
+
|
80
|
+
it "copies lwjgl.jar into the java directory" do
|
81
|
+
gamedir.join("java", "lwjgl.jar").should exist
|
82
|
+
end
|
83
|
+
|
84
|
+
it "copies slick.jar into the java directory" do
|
85
|
+
gamedir.join("java", "slick.jar").should exist
|
86
|
+
end
|
87
|
+
|
88
|
+
it "copies libjinput-osx.jnilib into the project directory" do
|
89
|
+
gamedir.join("libjinput-osx.jnilib").should exist
|
90
|
+
end
|
91
|
+
|
92
|
+
it "copies liblwjgl.jnilib into the project directory" do
|
93
|
+
gamedir.join("liblwjgl.jnilib").should exist
|
94
|
+
end
|
95
|
+
|
96
|
+
it "copies openal.dylib into the project directory" do
|
97
|
+
gamedir.join("openal.dylib").should exist
|
98
|
+
end
|
99
|
+
|
100
|
+
it "creates the engine file skeleton" do
|
101
|
+
File.read(gamedir.join("lib", "engine.rb")).should == <<-CODE
|
102
|
+
$LOAD_PATH << File.expand_path("../../java", __FILE__)
|
103
|
+
require "java"
|
104
|
+
require "lwjgl.jar"
|
105
|
+
require "slick.jar"
|
106
|
+
|
107
|
+
java_import org.newdawn.slick.AppGameContainer
|
108
|
+
java_import org.newdawn.slick.BasicGame
|
109
|
+
java_import org.newdawn.slick.Color
|
110
|
+
java_import org.newdawn.slick.GameContainer
|
111
|
+
java_import org.newdawn.slick.Graphics
|
112
|
+
java_import org.newdawn.slick.Image
|
113
|
+
java_import org.newdawn.slick.Input
|
114
|
+
|
115
|
+
module AGame
|
116
|
+
class Engine < BasicGame
|
117
|
+
def init(container)
|
118
|
+
end
|
119
|
+
|
120
|
+
def update(container, delta)
|
121
|
+
end
|
122
|
+
|
123
|
+
def render(container, graphics)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
game = AppGameContainer.new(AGame::Engine.new("A Game"))
|
129
|
+
game.set_display_mode(800, 600, false)
|
130
|
+
game.start
|
131
|
+
|
132
|
+
CODE
|
133
|
+
end
|
134
|
+
|
135
|
+
it "creates the components file" do
|
136
|
+
File.read(gamedir.join("lib", "components.rb")).should == <<-CODE
|
137
|
+
module AGame
|
138
|
+
module Components
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
CODE
|
143
|
+
end
|
144
|
+
|
145
|
+
it "creates the renderers file" do
|
146
|
+
File.read(gamedir.join("lib", "renderers.rb")).should == <<-CODE
|
147
|
+
module AGame
|
148
|
+
module Renderers
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
CODE
|
153
|
+
end
|
154
|
+
|
155
|
+
it "creates the systems file" do
|
156
|
+
File.read(gamedir.join("lib", "systems.rb")).should == <<-CODE
|
157
|
+
module AGame
|
158
|
+
module Systems
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
CODE
|
163
|
+
end
|
164
|
+
|
165
|
+
it "creates the systems file" do
|
166
|
+
File.read(gamedir.join("lib", "entities.rb")).should == <<-CODE
|
167
|
+
module AGame
|
168
|
+
module Entities
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
CODE
|
173
|
+
end
|
174
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
$LOAD_PATH << File.expand_path("../../java", __FILE__)
|
2
|
+
require "java"
|
3
|
+
require "lwjgl.jar"
|
4
|
+
require "slick.jar"
|
5
|
+
|
6
|
+
java_import org.newdawn.slick.AppGameContainer
|
7
|
+
java_import org.newdawn.slick.BasicGame
|
8
|
+
java_import org.newdawn.slick.Color
|
9
|
+
java_import org.newdawn.slick.GameContainer
|
10
|
+
java_import org.newdawn.slick.Graphics
|
11
|
+
java_import org.newdawn.slick.Image
|
12
|
+
java_import org.newdawn.slick.Input
|
13
|
+
|
14
|
+
module <%= module_name %>
|
15
|
+
class Engine < BasicGame
|
16
|
+
def init(container)
|
17
|
+
end
|
18
|
+
|
19
|
+
def update(container, delta)
|
20
|
+
end
|
21
|
+
|
22
|
+
def render(container, graphics)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
game = AppGameContainer.new(<%= module_name %>::Engine.new("<%= name %>"))
|
28
|
+
game.set_display_mode(800, 600, false)
|
29
|
+
game.start
|
30
|
+
|
metadata
ADDED
@@ -0,0 +1,186 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: slickr
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Matte Noble
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-03-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: i18n
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: active_support
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.3'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: debugger
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ! '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: fakefs
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ! '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: Slick2D JRuby project generator
|
126
|
+
email:
|
127
|
+
- me@mattenoble.com
|
128
|
+
executables:
|
129
|
+
- slickr
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- .gitignore
|
134
|
+
- .rspec
|
135
|
+
- Gemfile
|
136
|
+
- LICENSE.txt
|
137
|
+
- README.md
|
138
|
+
- Rakefile
|
139
|
+
- bin/slickr
|
140
|
+
- files/Rakefile
|
141
|
+
- files/jinput.jar
|
142
|
+
- files/libjinput-osx.jnilib
|
143
|
+
- files/liblwjgl.jnilib
|
144
|
+
- files/lwjgl.jar
|
145
|
+
- files/openal.dylib
|
146
|
+
- files/slick.jar
|
147
|
+
- lib/slickr.rb
|
148
|
+
- lib/slickr/actions/create.rb
|
149
|
+
- lib/slickr/cli.rb
|
150
|
+
- lib/slickr/tasks.rb
|
151
|
+
- lib/slickr/version.rb
|
152
|
+
- slickr.gemspec
|
153
|
+
- spec/slickj/actions/create_spec.rb
|
154
|
+
- spec/spec_helper.rb
|
155
|
+
- templates/components.erb
|
156
|
+
- templates/engine.erb
|
157
|
+
- templates/entities.erb
|
158
|
+
- templates/renderers.erb
|
159
|
+
- templates/systems.erb
|
160
|
+
homepage:
|
161
|
+
licenses:
|
162
|
+
- MIT
|
163
|
+
metadata: {}
|
164
|
+
post_install_message:
|
165
|
+
rdoc_options: []
|
166
|
+
require_paths:
|
167
|
+
- lib
|
168
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ! '>='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ! '>='
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '0'
|
178
|
+
requirements: []
|
179
|
+
rubyforge_project:
|
180
|
+
rubygems_version: 2.0.0
|
181
|
+
signing_key:
|
182
|
+
specification_version: 4
|
183
|
+
summary: Slick2D JRuby project generator
|
184
|
+
test_files:
|
185
|
+
- spec/slickj/actions/create_spec.rb
|
186
|
+
- spec/spec_helper.rb
|