forked from accodeing/fortnox-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fortnox-api.gemspec
executable file
·41 lines (35 loc) · 2.11 KB
/
fortnox-api.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
35
36
37
38
39
40
41
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'fortnox/api/version'
Gem::Specification.new do |spec|
spec.name = "fortnox-api"
spec.version = Fortnox::API::VERSION
spec.authors = ["Jonas Schubert Erlandsson", "Hannes Elvemyr"]
spec.email = ["[email protected]"]
spec.summary = "Gem to use Fortnox REST API in Ruby."
spec.description = "This gem uses the HTTParty library to abstract away the REST calls. It gives you access to a number of objects that behave a lot like ActiveRecord instances, giving you access to methods like `all`, `find`, `find_by_...` and so on. And each individual instance can be easaly persistable to Fortnox again using the `save` method."
spec.homepage = "https://github.com/my-codeworks/fortnox-api"
spec.license = "LGPL-3.0"
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}){ |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(spec)/})
spec.require_paths = ["lib"]
spec.required_ruby_version = ['> 2.2', '< 2.4'] # TODO: Gem breaks with Ruby 2.4 or higher. See issue #93.
spec.add_dependency "httparty", "~> 0.14.0" # TODO: Temporary lockdown. See issue #103 for more info.
spec.add_dependency "dotenv", "~> 2.0"
spec.add_dependency "dry-struct", "~> 0.1"
spec.add_dependency "dry-types", "~> 0.8"
spec.add_development_dependency "bundler", "~> 1.9"
spec.add_development_dependency "rake", "~> 10.4"
spec.add_development_dependency "rspec", "~> 3.2"
spec.add_development_dependency "rspec-collection_matchers", "~> 0"
spec.add_development_dependency "guard", "~> 2.12"
spec.add_development_dependency "guard-rspec", "~> 4.5"
spec.add_development_dependency "webmock", "~> 1.21"
spec.add_development_dependency "vcr", "~> 3.0"
spec.add_development_dependency "pry", "~> 0"
spec.add_development_dependency "codeclimate-test-reporter", "~> 0"
spec.add_development_dependency "rubocop", "~> 0.41"
spec.add_development_dependency "rubocop-rspec", "~> 1.7"
end