forked from jpgbarbosa/active_campaign
-
Notifications
You must be signed in to change notification settings - Fork 0
/
active_campaign.gemspec
37 lines (31 loc) · 1.51 KB
/
active_campaign.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'active_campaign/version'
Gem::Specification.new do |spec|
spec.name = 'active_campaign'
spec.version = ActiveCampaign::VERSION
spec.authors = ['Mikael Henriksson']
spec.email = ['mikael@zoolutions.se']
spec.description = 'A simple ruby wrapper for the ActiveCampaign API'
spec.summary = 'See http://www.activecampaign.com/api/overview.php for more information'
spec.homepage = 'https://github.com/mhenrixon/active_campaign'
spec.license = 'MIT'
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/mhenrixon/rubocop-mhenrixon'
spec.metadata['changelog_uri'] = 'https://github.com/mhenrixon/rubocop-mhenrixon'
else
raise 'RubyGems 2.0 or newer is required to protect against ' \
'public gem pushes.'
end
spec.required_ruby_version = '>= 2.5.0'
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
# spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.add_dependency 'activesupport', '>= 4.0', '< 8.0'
spec.add_dependency 'faraday', '>= 1.0', '< 3.0'
spec.add_dependency 'oj', '>= 3.0', '< 4.0'
end