jmonkeyengine-testdata 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +46 -0
- data/Rakefile +2 -0
- data/jmonkeyengine-testdata.gemspec +23 -0
- data/lib/jmonkeyengine/testdata/version.rb +5 -0
- data/lib/jmonkeyengine/testdata.rb +16 -0
- data/lib/jmonkeyengine-testdata.rb +1 -0
- data/vendor/lib/jME3-testdata.jar +0 -0
- data/vendor/lib/nifty-examples.jar +0 -0
- data/vendor/lib/nifty-style-black.jar +0 -0
- metadata +84 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fe045f1a1ed9a37f79fc97fd467a68f834ab488b
|
4
|
+
data.tar.gz: 8d980e22a62b8ab71efa391d24631452d002b084
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 79378caf96d78c9f9f1ff9ef34eaa6216e1cfbabc68e8431ae258d62c396cfb194c2c0e0180d3a1857a7647de60d77a901256717096c886c04545f93f93053fa
|
7
|
+
data.tar.gz: a6d8b89791c59ffcbd8303bbbb2ad234330b51ae93c10b8f0b64b88b77f73e2ac80c62a3378d0f91c8e3f576e17403c7c7fe4244bd4ed729deca23f80619f66d
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 Jeremy Woertink
|
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,46 @@
|
|
1
|
+
# JMonkeyEngine::TestData
|
2
|
+
|
3
|
+
This gem is just for all the sample stuff jMonkeyEngine comes with
|
4
|
+
|
5
|
+
**NOTE** This gem is like ~65mb in size. It is meant to be used to do samples and testing
|
6
|
+
|
7
|
+
## Requirements
|
8
|
+
This gem doesn't really do anything. It just gives you access to some jars. You need the `jmonkeyengine` gem to actually do stuff.
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your application's Gemfile:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem 'jmonkeyengine-testdata'
|
16
|
+
```
|
17
|
+
|
18
|
+
And then execute:
|
19
|
+
|
20
|
+
$ bundle
|
21
|
+
|
22
|
+
Or install it yourself as:
|
23
|
+
|
24
|
+
$ gem install jmonkeyengine-testdata
|
25
|
+
|
26
|
+
## Usage
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
# Add these lines
|
30
|
+
require 'jmonkeyengine/testdata'
|
31
|
+
include JMonkeyEngine::TestData
|
32
|
+
|
33
|
+
|
34
|
+
# Then you can do this stuff
|
35
|
+
require 'jmonkeyengine'
|
36
|
+
## setup app with stuff
|
37
|
+
asset_manager.load_model("Models/Oto/Oto.mesh.xml")
|
38
|
+
```
|
39
|
+
|
40
|
+
## Contributing
|
41
|
+
|
42
|
+
1. Fork it ( https://github.com/[my-github-username]/jmonkeyengine-testdata/fork )
|
43
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
44
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
45
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
46
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "jmonkeyengine/testdata/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "jmonkeyengine-testdata"
|
8
|
+
spec.version = JMonkeyEngine::TestData::VERSION
|
9
|
+
spec.authors = ["Jeremy Woertink"]
|
10
|
+
spec.email = ["jeremywoertink@gmail.com"]
|
11
|
+
spec.summary = %q{Add jmonkeyengine samples to your project}
|
12
|
+
spec.description = %q{Add jMonkeyEngine test data like the ninja, oto, some sounds and backgrounds}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
##
|
2
|
+
# Add the jars from vendor
|
3
|
+
#
|
4
|
+
require 'pathname'
|
5
|
+
module JMonkeyEngine
|
6
|
+
module TestData
|
7
|
+
|
8
|
+
def self.included(base)
|
9
|
+
jar_path = Pathname(__FILE__).dirname.expand_path.parent.parent + 'vendor'
|
10
|
+
$LOAD_PATH.unshift(jar_path.to_s)
|
11
|
+
require 'lib/jME3-testdata.jar'
|
12
|
+
require 'lib/nifty-style-black.jar'
|
13
|
+
require 'lib/nifty-examples.jar'
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require "jmonkeyengine/testdata"
|
Binary file
|
Binary file
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jmonkeyengine-testdata
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jeremy Woertink
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-01-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description: Add jMonkeyEngine test data like the ninja, oto, some sounds and backgrounds
|
42
|
+
email:
|
43
|
+
- jeremywoertink@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- ".gitignore"
|
49
|
+
- Gemfile
|
50
|
+
- LICENSE.txt
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- jmonkeyengine-testdata.gemspec
|
54
|
+
- lib/jmonkeyengine-testdata.rb
|
55
|
+
- lib/jmonkeyengine/testdata.rb
|
56
|
+
- lib/jmonkeyengine/testdata/version.rb
|
57
|
+
- vendor/lib/jME3-testdata.jar
|
58
|
+
- vendor/lib/nifty-examples.jar
|
59
|
+
- vendor/lib/nifty-style-black.jar
|
60
|
+
homepage: ''
|
61
|
+
licenses:
|
62
|
+
- MIT
|
63
|
+
metadata: {}
|
64
|
+
post_install_message:
|
65
|
+
rdoc_options: []
|
66
|
+
require_paths:
|
67
|
+
- lib
|
68
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0'
|
73
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
requirements: []
|
79
|
+
rubyforge_project:
|
80
|
+
rubygems_version: 2.4.3
|
81
|
+
signing_key:
|
82
|
+
specification_version: 4
|
83
|
+
summary: Add jmonkeyengine samples to your project
|
84
|
+
test_files: []
|