Blame view

syspro-ruby.gemspec 1.27 KB
31f9a345   Isaac Lewis   init; some tests
1
2
3
4
5
  lib = File.expand_path("../lib", __FILE__)
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
  require "syspro/version"
  
  Gem::Specification.new do |spec|
0c0af54a   Isaac Lewis   error handling; c...
6
    spec.name          = "syspro-ruby"
31f9a345   Isaac Lewis   init; some tests
7
8
    spec.version       = Syspro::VERSION
    spec.authors       = ["Isaac Lewis"]
0c0af54a   Isaac Lewis   error handling; c...
9
    spec.email         = ["isaac@ike.io"]
31f9a345   Isaac Lewis   init; some tests
10
  
51fb5579   Isaac Lewis   add client test, ...
11
    spec.summary       = %q{SYSPRO 7 Api Ruby adapter}
31f9a345   Isaac Lewis   init; some tests
12
13
14
15
16
    spec.license       = "MIT"
  
    # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
    # to allow pushing to a single host or delete this section to allow pushing to any host.
    if spec.respond_to?(:metadata)
87fd11a1   Isaac Lewis   reorg
17
      spec.metadata["allowed_push_host"] = "http://rubygems.org"
31f9a345   Isaac Lewis   init; some tests
18
19
20
21
22
23
24
25
26
27
28
29
    else
      raise "RubyGems 2.0 or newer is required to protect against " \
        "public gem pushes."
    end
  
    spec.files         = `git ls-files -z`.split("\x0").reject do |f|
      f.match(%r{^(test|spec|features)/})
    end
    spec.bindir        = "exe"
    spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
    spec.require_paths = ["lib"]
  
51fb5579   Isaac Lewis   add client test, ...
30
31
    spec.add_dependency("faraday", "~> 0.10")
  
31f9a345   Isaac Lewis   init; some tests
32
    spec.add_development_dependency "bundler", "~> 1.16"
db76748d   Isaac Lewis   cop a bunch of St...
33
    spec.add_development_dependency "pry", "~> 0.11"
31f9a345   Isaac Lewis   init; some tests
34
    spec.add_development_dependency "rake", "~> 10.0"
87fd11a1   Isaac Lewis   reorg
35
    spec.add_development_dependency "minitest", "~> 5.0"
31f9a345   Isaac Lewis   init; some tests
36
  end