From 9799a160239be1588c97a0580e20392f30ecf4e3 Mon Sep 17 00:00:00 2001 From: Thomas Jachmann Date: Sun, 8 Nov 2009 10:15:19 +0100 Subject: [PATCH] introduced version --- Rakefile | 3 +++ lib/launchpad/version.rb | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 lib/launchpad/version.rb diff --git a/Rakefile b/Rakefile index 4cad7eb..c4b05e6 100644 --- a/Rakefile +++ b/Rakefile @@ -1,6 +1,8 @@ require 'rubygems' require 'rake' +require File.join(File.dirname(__FILE__), 'lib', 'launchpad', 'version') + begin require 'jeweler' Jeweler::Tasks.new do |gem| @@ -9,6 +11,7 @@ begin gem.description = '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.' gem.email = 'tom.j@gmx.net' gem.homepage = 'http://github.com/thomasjachmann/launchpad' + gem.version = Launchpad::VERSION gem.authors = ['Thomas Jachmann'] gem.add_dependency('portmidi') #gem.add_development_dependency 'thoughtbot-shoulda', '>= 0' diff --git a/lib/launchpad/version.rb b/lib/launchpad/version.rb new file mode 100644 index 0000000..ad34e1d --- /dev/null +++ b/lib/launchpad/version.rb @@ -0,0 +1,3 @@ +class Launchpad + VERSION = '0.0.1' +end \ No newline at end of file