-
Notifications
You must be signed in to change notification settings - Fork 4
/
home_assistant-ble.gemspec
34 lines (27 loc) · 1.34 KB
/
home_assistant-ble.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'home_assistant/ble/version'
Gem::Specification.new do |spec|
spec.name = 'home_assistant-ble'
spec.version = HomeAssistant::Ble::VERSION
spec.version = "#{spec.version}-alpha-#{ENV['TRAVIS_BUILD_NUMBER']}" if ENV['TRAVIS']
spec.version = ENV['TRAVIS_TAG'] if ENV['TRAVIS_TAG'] && !ENV['TRAVIS_TAG'].empty?
spec.authors = ['Grégoire Seux']
spec.email = ['[email protected]']
spec.summary = 'Companion app for home-assistant sending event about BLE devices'
spec.description = 'home-assistant does not cope well with bluetooth on raspberry pi. This gem sends event to HA.'
spec.homepage = 'https://github.com/kamaradclimber/home_assistant-ble'
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = 'bin'
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rubocop', '= 0.48.0'
spec.add_runtime_dependency 'ble'
spec.add_runtime_dependency 'mash'
spec.add_runtime_dependency 'cap2'
end