opal-js_wrap-three 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/main.yml +16 -0
- data/.gitignore +16 -0
- data/.rspec +3 -0
- data/.rubocop.yml +13 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +74 -0
- data/LICENSE.txt +21 -0
- data/README.md +56 -0
- data/Rakefile +18 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/examples/readme/Gemfile +9 -0
- data/examples/readme/example.rb +33 -0
- data/examples/readme/run.sh +3 -0
- data/lib/opal/js_wrap/three/version.rb +9 -0
- data/lib/opal/js_wrap/three.rb +14 -0
- data/lib-opal/js_wrap/three/three.js +41268 -0
- data/lib-opal/js_wrap/three.rb +4 -0
- data/lib-opal/js_wrap.rb +720 -0
- data/opal-js_wrap-three.gemspec +37 -0
- data/package-lock.json +3991 -0
- data/package.json +13 -0
- data/rollup.config.js +24 -0
- data/src/three.mjs +3 -0
- metadata +84 -0
@@ -0,0 +1,37 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/opal/js_wrap/three/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "opal-js_wrap-three"
|
7
|
+
spec.version = Opal::JSWrap::Three::VERSION
|
8
|
+
spec.authors = ["hmdne"]
|
9
|
+
spec.email = []
|
10
|
+
|
11
|
+
spec.summary = "Wrapper for Three.js"
|
12
|
+
spec.description = "(Mostly) raw wrapper for the Three.js library for Opal"
|
13
|
+
spec.homepage = "https://github.com/hmdne/opal-jswrap-three"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = ">= 2.4.0"
|
16
|
+
|
17
|
+
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
18
|
+
|
19
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
20
|
+
spec.metadata["source_code_uri"] = "https://github.com/hmdne/opal-jswrap-three"
|
21
|
+
spec.metadata["changelog_uri"] = "https://github.com/hmdne/opal-jswrap-three/blob/CHANGELOG.md"
|
22
|
+
|
23
|
+
# Specify which files should be added to the gem when it is released.
|
24
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
25
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
26
|
+
["lib-opal/js_wrap/three/three.js"] + `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
27
|
+
end
|
28
|
+
spec.bindir = "exe"
|
29
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
30
|
+
spec.require_paths = ["lib"]
|
31
|
+
|
32
|
+
# Uncomment to register a new dependency of your gem
|
33
|
+
spec.add_dependency "opal", "~> 1.0"
|
34
|
+
|
35
|
+
# For more information and examples about making a new gem, checkout our
|
36
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
37
|
+
end
|