|
1 | 1 | # -*- encoding: utf-8 -*- |
2 | 2 | lib = File.expand_path('../lib', __FILE__) |
3 | 3 | $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) |
4 | | -require 'typescript-src' |
| 4 | +require 'typescript-src' # for VERSION |
5 | 5 |
|
6 | | -Gem::Specification.new do |gem| |
7 | | - gem.authors = ["KAWACHI Takashi"] |
8 | | - gem.email = ["tkawachi@gmail.com"] |
9 | | - gem.description = %q{TypeScript source} |
10 | | - gem.summary = %q{TypeScript source files} |
11 | | - gem.homepage = "" |
| 6 | +Gem::Specification.new do |spec| |
| 7 | + spec.name = "typescript-src" |
| 8 | + spec.description = %q{TypeScript source files} |
| 9 | + spec.summary = %q{TypeScript source files} |
12 | 10 |
|
13 | | - gem.files = `git ls-files`.split($\) |
14 | | - gem.name = "typescript-src" |
15 | | - gem.version = TypeScript::Src::VERSION + ".1" |
| 11 | + spec.authors = ["KAWACHI Takashi"] |
| 12 | + spec.email = ["tkawachi@gmail.com"] |
| 13 | + spec.homepage = 'https://github.com/typescript-ruby/typescript-src-ruby' |
| 14 | + spec.license = 'Apache 2.0 License' |
| 15 | + |
| 16 | + spec.files = `git ls-files`.split($\) |
| 17 | + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) |
| 18 | + spec.require_path = ['lib'] |
| 19 | + spec.version = TypeScript::Src::VERSION + ".1" |
16 | 20 | end |
0 commit comments