Skip to content

Commit

Permalink
Create gemspec and make project work well with bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
dwaite authored and evanphx committed Feb 15, 2011
1 parent b96c1a4 commit 7458768
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gemfile
@@ -0,0 +1,4 @@
source "http://rubygems.org"

# Specify your gem's dependencies in callisto.gemspec
gemspec
16 changes: 16 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,16 @@
PATH
remote: .
specs:
kpeg (0.1)

GEM
remote: http://rubygems.org/
specs:
rake (0.8.7)

PLATFORMS
ruby

DEPENDENCIES
kpeg!
rake
20 changes: 20 additions & 0 deletions kpeg.gemspec
@@ -0,0 +1,20 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "kpeg/version"

Gem::Specification.new do |s|
s.name = "kpeg"
s.version = KPeg::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Evan Phoenix"]
s.email = ["evan@fallingsnow.net"]
s.homepage = "https://github.com/evanphx/kpeg"
s.summary = %q{Peg-based Code Generator}
# s.description = %q{TODO: Write a gem description}

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"]
s.add_development_dependency "rake"
end
3 changes: 3 additions & 0 deletions lib/kpeg/version.rb
@@ -0,0 +1,3 @@
module KPeg
VERSION = "0.1"
end

0 comments on commit 7458768

Please sign in to comment.