Skip to content
Browse files

update gemspec

  • Loading branch information...
1 parent c0c552a commit 38afe9c1d879f87f2e78c6609e6b1728630731ee @igrigorik committed
Showing with 16 additions and 11 deletions.
  1. +3 −0 Rakefile
  2. +0 −3 lib/snappy/version.rb
  3. +13 −8 snappy.gemspec
View
3 Rakefile
@@ -1,2 +1,5 @@
require 'bundler'
Bundler::GemHelper.install_tasks
+
+require 'rake'
+require 'rake/clean'
View
3 lib/snappy/version.rb
@@ -1,3 +0,0 @@
-module Snappy
- VERSION = "0.0.1"
-end
View
21 snappy.gemspec
@@ -1,21 +1,26 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
-require "snappy/version"
Gem::Specification.new do |s|
s.name = "snappy"
- s.version = Snappy::VERSION
+ s.version = "0.1.0"
s.platform = Gem::Platform::RUBY
- s.authors = ["TODO: Write your name"]
- s.email = ["TODO: Write your email address"]
- s.homepage = ""
- s.summary = %q{TODO: Write a gem summary}
- s.description = %q{TODO: Write a gem description}
+ s.authors = ["Ilya Grigorik"]
+ s.email = ["ilya@igvita.com"]
+ s.homepage = "http://code.google.com/p/snappy/"
+ s.summary = "Snappy, a fast compressor/decompressor (courtesy of Google)"
+ s.description = s.summary
s.rubyforge_project = "snappy"
+ s.extensions = ["ext/extconf.rb"]
+
+ s.add_dependency "rice"
+ s.add_development_dependency "rake-compiler", "0.7.6"
+ s.add_development_dependency "rspec"
+
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
+end

0 comments on commit 38afe9c

Please sign in to comment.
Something went wrong with that request. Please try again.