-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathintercom_export.gemspec
More file actions
38 lines (32 loc) · 1.3 KB
/
intercom_export.gemspec
File metadata and controls
38 lines (32 loc) · 1.3 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
32
33
34
35
36
37
38
require 'pathname'
ROOT_DIR = Pathname.new('.').expand_path(__dir__)
BIN_DIR = ROOT_DIR.join('bin')
LIB_DIR = ROOT_DIR.join('lib')
SPEC_DIR = ROOT_DIR.join('spec')
$LOAD_PATH.push(LIB_DIR)
require 'intercom_export/version'
Gem::Specification.new do |s|
s.name = 'intercom_export'
s.version = IntercomExport::VERSION
s.licenses = ['MIT']
s.summary = 'Export Intercom.io data to Zendesk'
s.description = 'System to help export Intercom.io conversations into Zendesk tickets'
s.authors = ['Theo Cushion']
s.email = 'theo@ignition.works'
s.homepage = 'https://rubygems.org/gems/intercom_export'
s.bindir = BIN_DIR.relative_path_from(ROOT_DIR).to_s
s.executables = Pathname.glob(BIN_DIR.join('*')).map(&:basename).map(&:to_s)
s.files = [
ROOT_DIR.join('*.md'),
BIN_DIR.join('**/*'),
LIB_DIR.join('**/*.rb'),
SPEC_DIR.join('**/*')
].flat_map { |p| Pathname.glob(p) }.map { |p| p.relative_path_from(ROOT_DIR).to_s }
s.add_runtime_dependency 'intercom', '~> 3.4'
s.add_runtime_dependency 'zendesk_api', '~> 1.13'
s.add_runtime_dependency 'virtus', '~> 1.0'
s.add_runtime_dependency 'nokogiri', '~> 1.6'
s.add_development_dependency 'rspec', '~> 3.4'
s.add_development_dependency 'rake', '~> 11.1'
s.add_development_dependency 'rubocop', '~> 0.38'
end