-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathchook.gemspec
40 lines (31 loc) · 1.33 KB
/
chook.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
proj_name = 'chook'
require "./lib/#{proj_name}/version"
Gem::Specification.new do |s|
# General
s.name = proj_name
s.version = Chook::VERSION
s.license = 'Nonstandard'
s.date = Time.now.utc.strftime('%Y-%m-%d')
s.summary = 'A Ruby framework for simulating and processing Jamf Pro Webhook Events'
s.description = <<-EOD
Chook is a Ruby module which implements a framework for working with webhook events
sent by the JSS, the core of Jamf Pro, a management tool for Apple devices.
Chook also provides a simple, sinatra-based HTTP(S) server, for handling those Events,
and classes for sending simulated TestEvents to a webhook handling server.
EOD
s.authors = ['Chris Lasell', 'Aurica Hayes']
s.email = '[email protected]'
s.homepage = 'https://github.com/PixarAnimationStudios/chook'
s.files = Dir['lib/**/*']
s.files += Dir['data/**/*']
s.files += Dir['bin/**/*']
s.extra_rdoc_files = ['README.md', 'LICENSE.txt', 'CHANGES.md']
s.executables << 'chook-server'
# Dependencies
# TODO: update versions
# http://www.sinatrarb.com/ MIT License (requires 'rack' also MIT)
s.add_runtime_dependency 'sinatra', '~>2.0'
s.add_runtime_dependency 'sinatra-contrib', '~>2.0'
s.add_runtime_dependency 'thin', '~>1.7'
s.add_runtime_dependency 'haml', '~>5.0'
end