Skip to content

Commit

Permalink
Bump version and generate gemspec for bundler users
Browse files Browse the repository at this point in the history
  • Loading branch information
warhammerkid committed May 28, 2010
1 parent 644ad93 commit 43830ec
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/pkg/*
/rdoc/
*.gemspec
/ext/*.o
/ext/Makefile
/ext/*.bundle
Expand Down
9 changes: 8 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require 'spec/rake/spectask'

spec = Gem::Specification.new do |s|
s.name = 'ruby-audio'
s.version = '1.2.0'
s.version = '1.3.0'
s.summary = 'ruby-audio wraps around libsndfile to provide simplified sound reading and writing support to ruby programs'
s.authors = ['Stephen Augenstein']
s.email = 'perl.programmer@gmail.com'
Expand All @@ -28,6 +28,13 @@ task :default => :spec
# Rake gem & package routines
Rake::GemPackageTask.new(spec).define

desc 'Generate a gemspec file'
task :gemspec do
File.open("#{spec.name}.gemspec", 'w') do |f|
f.write spec.to_ruby
end
end

desc "Generate documentation"
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
Expand Down
30 changes: 30 additions & 0 deletions ruby-audio.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{ruby-audio}
s.version = "1.3.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Stephen Augenstein"]
s.date = %q{2010-05-28}
s.email = %q{perl.programmer@gmail.com}
s.extensions = ["ext/extconf.rb"]
s.files = ["README.rdoc", "Rakefile", "LICENSE", "lib/ruby-audio/buffer.rb", "lib/ruby-audio/sound.rb", "lib/ruby-audio/sound_info.rb", "lib/ruby-audio.rb", "spec/buffer_spec.rb", "spec/sound_info_spec.rb", "spec/sound_spec.rb", "spec/spec_helper.rb", "spec/spec.opts", "spec/data/what.wav", "spec/data/what2.wav", "spec/data/what.mp3", "ext/extconf.rb", "ext/ra_buffer.c", "ext/ra_sound.c", "ext/ra_soundinfo.c", "ext/rubyaudio_ext.c", "ext/ra_buffer.h", "ext/ra_sound.h", "ext/ra_soundinfo.h"]
s.homepage = %q{http://github.com/warhammerkid/ruby-audio}
s.rdoc_options = ["--line-numbers", "--main", "README.rdoc", "ext/ra_buffer.c", "ext/ra_sound.c", "ext/ra_soundinfo.c", "ext/rubyaudio_ext.c", "README.rdoc"]
s.require_paths = ["lib"]
s.requirements = ["libsndfile (http://www.mega-nerd.com/libsndfile/)"]
s.rubygems_version = %q{1.3.6}
s.summary = %q{ruby-audio wraps around libsndfile to provide simplified sound reading and writing support to ruby programs}
s.test_files = ["spec/buffer_spec.rb", "spec/sound_info_spec.rb", "spec/sound_spec.rb"]

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
else
end
else
end
end

0 comments on commit 43830ec

Please sign in to comment.