opal-js_wrap-three 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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