Sha256: 2310f7536c451956c577f58ecd0dfa415c05b9ed55764f8d07fb3bc49a0be181
Contents?: true
Size: 1.69 KB
Versions: 2
Compression:
Stored size: 1.69 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://docs.rubygems.org/read/chapter/20 for more options gem.name = "memcached-manager" gem.homepage = "http://github.com/thiagofm/memcached-manager" gem.license = "MIT" gem.summary = "A sinatra memcached-manager that allows you to view status, flush/view keys and so on. Also easily pluggable to a Rails app." gem.description = "A sinatra memcached-manager that allows you to view status, flush/view keys and so on. Also easily pluggable to a Rails app." gem.email = "thiagown@gmail.com" gem.authors = ["Thiago Fernandes Massa"] gem.test_files = Dir.glob('spec/**/*') gem.executables = %w(memcached-manager) # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new # Tests begin require 'jasmine' load 'jasmine/tasks/jasmine.rake' rescue LoadError task :jasmine do abort "Jasmine is not available. In order to run jasmine, you must: (sudo) gem install jasmine" end end require 'cucumber' require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) do |t| t.cucumber_opts = "features --format pretty" end require 'rspec/core/rake_task' desc "Run specs" RSpec::Core::RakeTask.new do |t| t.pattern = "./spec/**/*_spec.rb" end task :jasmineci do system("export DISPLAY=:99.0 && bundle exec rake jasmine:ci") raise "#{cmd} failed!" unless $?.exitstatus == 0 end task :default => [:jasmineci, :features, :spec]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
memcached-manager-0.4.0 | Rakefile |
memcached-manager-0.3.0 | Rakefile |