Sha256: e03c4c7ccacebd1df4fb07b416bd7ac2287e67ba56b12194c2b1e4c38ab6dff1

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

require 'rake/version_task'
require 'rspec/core/rake_task'
require 'rubygems/package_task'
require 'pathname'

spec = Gem::Specification.new do |s|
  s.name         = 'gosu-keyboard'
  s.version      = Pathname.new(__FILE__).dirname.join('VERSION').read.strip
  s.author       = 'Ryan Scott Lewis'
  s.email        = 'ryan@rynet.us'
  s.homepage     = "http://github.com/c00lryguy/#{s.name}"
  s.summary      = "A nice DSL for handling a Gosu::Window's keyboard events"
  s.description  = "A DSL for easily defining keyboard events for a Gosu::Window"
  s.require_path = 'lib'
  s.files        = `git ls-files`.lines.to_a.collect { |s| s.strip }
  s.executables  = `git ls-files -- bin/*`.lines.to_a.collect { |s| File.basename(s.strip) }
  
  s.add_dependency 'version', '~> 1.0.0'
  s.add_dependency 'active_support', '~> 3'
  s.add_dependency 'gosu', '~> 0.7.45'
  s.add_development_dependency 'rake', '~> 0.9'
  # s.add_development_dependency 'guard-rspec', '~> 2.1.1'
  # s.add_development_dependency 'fuubar', '~> 1.1'
  # s.add_development_dependency 'at', '~> 0.1.2'
end

Rake::VersionTask.new do |t|
  t.with_git_tag = true
  t.with_gemspec = spec
end

RSpec::Core::RakeTask.new

Gem::PackageTask.new(spec) do |t|
  t.need_zip = false
  t.need_tar = false
end

task default: :spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gosu-keyboard-0.1.7 Rakefile