Sha256: c719b91eb7db28094dabe81a8657fa42a21847e2f44f1cdbff6399f46d6ae783

Contents?: true

Size: 1.73 KB

Versions: 25

Compression:

Stored size: 1.73 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts 'Run `bundle install` to install missing gems'
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see
  # http://guides.rubygems.org/specification-reference/ for more options
  gem.name = 'active_spy'
  gem.homepage = 'http://github.com/edools/active_spy'
  gem.license = 'MIT'
  gem.summary = <<-SUMMARY
    Watch for a method call in any class and run before/after callbacks.
    Has good integration with Rails.
  SUMMARY
  gem.description = <<-DESC
    Watch for a method call in any class and run before/after callbacks.
    You can even watch your Rails models for events (like create, update,
    destroy), send these events to a event-runner instance and it redirect these
    events to other apps that are subscrived for them. This gem also provides
    classes that you can use to process the received events too.
  DESC
  gem.email = 'd.camata@gmail.com'
  gem.authors = ['Douglas Camata']
  gem.files = Dir['lib/**/*'] + Dir['app/**/*.rb'] + Dir['config/**/*.rb'] +
    Dir['.document'] + Dir['README.md'] + Dir['LICENSE.txt'] + Dir['VERSION'] +
    Dir['Rakefile'] + Dir['active_spy.gemspec'] + Dir['Gemfile*']
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/active_spy/**/*_spec.rb']
end

desc 'Code coverage detail'
task :simplecov do
  ENV['COVERAGE'] = 'true'
  Rake::Task['spec'].execute
end

task default: :spec

require 'yard'
YARD::Rake::YardocTask.new

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
active_spy-1.4.4 Rakefile
active_spy-1.4.3 Rakefile
active_spy-1.4.2 Rakefile
active_spy-1.4.1 Rakefile
active_spy-1.4.0 Rakefile
active_spy-1.3.12 Rakefile
active_spy-1.3.11 Rakefile
active_spy-1.3.10 Rakefile
active_spy-1.3.9 Rakefile
active_spy-1.3.8 Rakefile
active_spy-1.3.7 Rakefile
active_spy-1.3.6 Rakefile
active_spy-1.3.5 Rakefile
active_spy-1.3.4 Rakefile
active_spy-1.3.3 Rakefile
active_spy-1.3.2 Rakefile
active_spy-1.3.1 Rakefile
active_spy-1.3.0 Rakefile
active_spy-1.2.0 Rakefile
active_spy-1.1.3 Rakefile