forked from nhmood/watson-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwatson.gemspec
36 lines (26 loc) · 1.1 KB
/
watson.gemspec
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
32
33
34
# -*- encoding: utf-8 -*-
# [review] - Should this match same style as bin/watson?
$:.push File.expand_path("../lib", __FILE__)
require "watson/version"
Gem::Specification.new do |s|
s.name = 'watson-ruby'
s.version = Watson::VERSION
s.date = Time.now.strftime('%Y-%m-%d')
s.authors = ["nhmood"]
s.email = '[email protected]'
s.homepage = 'http://goosecode.com/watson'
s.summary = "an inline issue manager"
s.description = "an inline issue manager with GitHub and Bitbucket support"
s.license = 'MIT'
s.files = `git ls-files`.split("\n").delete_if { |file| file.include?("assets/examples") }
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ["assets", "bin", "lib"]
# Ruby Dependency
s.required_ruby_version = '>= 2.0.0'
# Runtime Dependencies
s.add_runtime_dependency (RUBY_PLATFORM == 'java' ? 'json_pure' : 'json')
# Development Dependencies
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
end