Permalink
Browse files

updates to osc-ruby and bump to version 1.0.0

* moved gemspec outside the rakefile so that bundler can build directly from github
* update rdoc task to require correct file for rdoc rake task
* tested against latest version of rspec
  • Loading branch information...
1 parent b4186fa commit 33b7384f3f15bcbbe1f3ecfa18c4c06d9f140236 @aberant committed Oct 28, 2012
Showing with 23 additions and 33 deletions.
  1. +1 −1 .gitignore
  2. +3 −0 History.txt
  3. +1 −30 Rakefile
  4. +1 −1 TODO
  5. +1 −1 VERSION
  6. +16 −0 osc-ruby.gemspec
View
2 .gitignore
@@ -6,4 +6,4 @@ doc/*
coverage/*
html/*
rdoc/*
-
+*.gem
View
3 History.txt
@@ -0,0 +1,3 @@
+=== 1.0.0 / 2012-10-28
+
+* Extracted gemspec file from Rakefile so that people can use bundler to build gem from github.
View
31 Rakefile
@@ -7,7 +7,7 @@ RSpec::Core::RakeTask.new do |t|
t.rspec_opts = ["--colour"]
end
-require 'rake/rdoctask'
+require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
if File.exist?('VERSION')
version = File.read('VERSION')
@@ -20,32 +20,3 @@ Rake::RDocTask.new do |rdoc|
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
-
-require 'rake/packagetask'
-require 'rake/gempackagetask'
-
-### Task: gem
-gemspec = Gem::Specification.new do |gem|
- gem.name = "osc-ruby"
- gem.version = File.read('VERSION')
-
- gem.summary = "a ruby client for the OSC protocol"
- gem.description = "This OSC gem originally created by Tadayoshi Funaba has been updated for ruby 1.9/JRuby compatibility"
-
- gem.authors = "Colin Harris"
- gem.email = "qzzzq1@gmail.com"
- gem.homepage = "http://github.com/aberant/osc-ruby"
-
- gem.has_rdoc = true
-
- gem.files = FileList['Rakefile', 'VERSION', 'LICENSE', 'examples/**/*', 'lib/**/*'].to_a
- gem.test_files = FileList['spec/**/*.rb']
-end
-
-Rake::GemPackageTask.new( gemspec ) do |task|
- task.gem_spec = gemspec
- task.need_tar = false
- task.need_tar_gz = true
- task.need_tar_bz2 = true
- task.need_zip = true
-end
View
2 TODO
@@ -1,2 +1,2 @@
-enumerable support for bundle and message args
+test support for rubinus and jruby 1.7
View
2 VERSION
@@ -1 +1 @@
-0.7.0
+1.0.0
View
16 osc-ruby.gemspec
@@ -0,0 +1,16 @@
+Gem::Specification.new do |gem|
+ gem.name = "osc-ruby"
+ gem.version = File.read('VERSION')
+
+ gem.summary = "a ruby client for the OSC protocol"
+ gem.description = "This OSC gem originally created by Tadayoshi Funaba has been updated for ruby 1.9/JRuby compatibility"
+
+ gem.authors = "Colin Harris"
+ gem.email = "qzzzq1@gmail.com"
+ gem.homepage = "http://github.com/aberant/osc-ruby"
+
+ gem.has_rdoc = true
+
+ gem.files = Dir['Rakefile', 'VERSION', 'LICENSE', 'examples/**/*', 'lib/**/*']
+ gem.test_files = Dir['spec/**/*.rb']
+end

0 comments on commit 33b7384

Please sign in to comment.