tools

various tools I have been using throughout the years
Log | Files | Refs | README | LICENSE

hue.gemspec (1055B)


      1 # frozen_string_literal: true
      2 
      3 $LOAD_PATH.unshift File.expand_path('lib', __dir__)
      4 
      5 Gem::Specification.new do |s|
      6   s.name        = 'hue'
      7   s.version     = '1.0.0'
      8   s.authors     = ['mtmn']
      9   s.email       = ['miro@haravara.org']
     10   s.homepage    = 'https://git.sr.ht/~mtmn/tools'
     11   s.licenses    = ['MIT']
     12   s.summary     = 'Ruby library and CLI for controlling Philips Hue lights and bridge.'
     13   s.description = 'Library and command line interface for controlling the Philips Hue system. ' \
     14                   'Allows registration and invocation of a registered Philips Hue app, with ' \
     15                   'convenient objects for executing commands on the bridge or individual bulbs.'
     16   s.metadata['rubygems_mfa_required'] = 'true'
     17 
     18   s.files         = Dir['lib/**/*', 'bin/*', 'Gemfile', '*.gemspec', 'README.md'].select { |f| File.file?(f) }
     19   s.executables   = Dir['bin/*'].map { |f| File.basename(f) }
     20   s.require_paths = ['lib']
     21 
     22   s.add_dependency('json', '~> 2.19')
     23   s.add_dependency('matrix', '~> 0.4')
     24 
     25   s.required_ruby_version = '>= 3.0'
     26 end