-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmath_expr.gemspec
More file actions
31 lines (26 loc) · 1.21 KB
/
math_expr.gemspec
File metadata and controls
31 lines (26 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
require_relative 'lib/math_expression/version'
Gem::Specification.new do |spec|
spec.name = "math_expr"
spec.version = MathExpression::VERSION
spec.authors = ["Inclooder"]
spec.email = ["inclooder@gmail.com"]
spec.summary = %q{Mathematical expression parser and executor}
spec.description = %q{Mathematical expression parser and executor}
spec.homepage = "https://github.com/inclooder/math_expr"
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/inclooder/math_expr"
spec.metadata["changelog_uri"] = "https://github.com/inclooder/math_expr"
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
Dir.glob(['**/*', '**/.??*']).
select { |f| File.file?(f) }.
reject { |f| f.match(%r{^(test|spec|features)/}) }.
reject { |f| f.match(%r{.*\.gem}) }
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_development_dependency 'rspec', '~> 3.9.0'
spec.add_development_dependency 'pry', '~> 0.13.1'
end