Sha256: 7eadd2ade3d7c284638f5d9077801b529b330661bcdbf4887697d01d348eaf00

Contents?: true

Size: 1.48 KB

Versions: 2

Compression:

Stored size: 1.48 KB

Contents

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'active_metrics/version'

Gem::Specification.new do |spec|
  spec.name          = 'active_metrics'
  spec.version       = ActiveMetrics::VERSION
  spec.authors       = ['Andrei Maxim']
  spec.email         = ['andrei@andreimaxim.ro']

  spec.summary       = %q{Metrics based on ActiveSupport::Notifications}
  spec.homepage      = 'https://github.com/andreimaxim/active_metrics'
  spec.license       = 'MIT'

  spec.cert_chain  = ['certs/andreimaxim.pem']
  spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') if $0 =~ /gem\z/

  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_development_dependency 'bundler', '~> 1.16'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'minitest', '~> 5.0'
  spec.add_development_dependency 'simplecov', '~> 0.15'
  spec.add_development_dependency 'pry', '~> 0.11'

  # This is a bit sketchy for now as we generally need just
  # ActiveSupport::Notifications but specifying a fixed version might create
  # issues with various Rails installations (AS::N v4 vs Rails v5 for example)
  #
  # This will have to do for now, unless somebody has a better idea.
  spec .add_dependency 'activesupport', '>= 3.0.0'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_metrics-0.0.2 active_metrics.gemspec
active_metrics-0.0.1 active_metrics.gemspec