launchpad.gemspec in launchpad-0.2.2 vs launchpad.gemspec in launchpad-0.3.0
- old
+ new
@@ -1,83 +1,34 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "launchpad/version"
Gem::Specification.new do |s|
- s.name = %q{launchpad}
- s.version = "0.2.2"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Thomas Jachmann"]
- s.date = %q{2010-02-24}
+ s.name = "launchpad"
+ s.version = Launchpad::VERSION
+ s.authors = ["Thomas Jachmann"]
+ s.email = ["self@thomasjachmann.com"]
+ s.homepage = "https://github.com/thomasjachmann/launchpad"
+ s.summary = %q{A gem for accessing novation's launchpad programmatically and easily.}
s.description = %q{This gem provides an interface to access novation's launchpad programmatically. LEDs can be lighted and button presses can be evaluated using launchpad's MIDI input/output.}
- s.email = %q{tom.j@gmx.net}
- s.extra_rdoc_files = [
- "LICENSE",
- "README.rdoc"
- ]
- s.files = [
- ".document",
- ".gitignore",
- "LICENSE",
- "README.rdoc",
- "Rakefile",
- "examples/color_picker.rb",
- "examples/colors.rb",
- "examples/doodle.rb",
- "examples/double_buffering.rb",
- "examples/drawing_board.rb",
- "examples/feedback.rb",
- "examples/reset.rb",
- "examples/setup.rb",
- "experiments/wandering_dot.rb",
- "launchpad.gemspec",
- "lib/launchpad.rb",
- "lib/launchpad/device.rb",
- "lib/launchpad/errors.rb",
- "lib/launchpad/interaction.rb",
- "lib/launchpad/midi_codes.rb",
- "lib/launchpad/version.rb",
- "test/helper.rb",
- "test/test_device.rb",
- "test/test_interaction.rb"
- ]
- s.homepage = %q{http://github.com/thomasjachmann/launchpad}
- s.rdoc_options = ["--charset=UTF-8"]
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.5}
- s.summary = %q{A gem for accessing novation's launchpad programmatically and easily.}
- s.test_files = [
- "test/helper.rb",
- "test/test_device.rb",
- "test/test_interaction.rb",
- "examples/color_picker.rb",
- "examples/colors.rb",
- "examples/doodle.rb",
- "examples/double_buffering.rb",
- "examples/drawing_board.rb",
- "examples/feedback.rb",
- "examples/reset.rb",
- "examples/setup.rb"
- ]
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.rubyforge_project = "launchpad"
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<portmidi>, [">= 0.0.6"])
- s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
- s.add_development_dependency(%q<mocha>, [">= 0"])
- else
- s.add_dependency(%q<portmidi>, [">= 0.0.6"])
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
- s.add_dependency(%q<mocha>, [">= 0"])
- end
+ s.add_dependency "portmidi", ">= 0.0.6"
+ s.add_dependency "ffi"
+ s.add_development_dependency "rake"
+ if RUBY_VERSION < "1.9"
+ s.add_development_dependency "minitest"
+ # s.add_development_dependency "ruby-debug"
else
- s.add_dependency(%q<portmidi>, [">= 0.0.6"])
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
- s.add_dependency(%q<mocha>, [">= 0"])
+ s.add_development_dependency "minitest-reporters"
+ # s.add_development_dependency "debugger"
end
-end
+ s.add_development_dependency "mocha"
+ # s.has_rdoc = true
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
+end