Skip to content

Commit

Permalink
Switched to hoe. This includes the bundler and gemspec plugins to mai…
Browse files Browse the repository at this point in the history
…ntain compatibility.

Removed lib/kpeg/version.rb and Gemfile.lock.
  • Loading branch information
drbrain committed Mar 7, 2012
1 parent bae00c3 commit 5bb3a77
Show file tree
Hide file tree
Showing 15 changed files with 371 additions and 240 deletions.
2 changes: 1 addition & 1 deletion .autotest
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ Autotest.add_hook :run_command do |at|
end

Autotest.add_hook :initialize do |at|
at.testlib = 'minitest/unit'
at.testlib = 'minitest/autorun'
end

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.rbc
*.swp
/TAGS
/doc
/pkg
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
script: rake travis
before_script:
- gem install hoe-travis --no-rdoc --no-ri
- rake travis:before
language: ruby
notifications:
email:
- evan@fallingsnow.net
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
14 changes: 11 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
source "http://rubygems.org"
# -*- ruby -*-

# Specify your gem's dependencies in callisto.gemspec
gemspec
# DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.

source :gemcutter


gem "minitest", "~>2.11", :group => [:development, :test]
gem "rdoc", "~>3.10", :group => [:development, :test]
gem "hoe", "~>2.15", :group => [:development, :test]

# vim: syntax=ruby
16 changes: 0 additions & 16 deletions Gemfile.lock

This file was deleted.

19 changes: 19 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
=== 1.0 / 2012-04-06

* Minor enhancements
* Added arbitrary directives to the kpeg grammar
%% directive_name { ... }
* Added header and footer directives to the kpeg code formatter. These
appear above and below all other output, respectively:

%% header {
# coding: UTF-8
}

[... your grammar ...]

%% footer {
require 'some/subclass'
}
* Switched to minitest
* Switched to hoe
46 changes: 46 additions & 0 deletions Manifest.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
.autotest
Gemfile
History.txt
LICENSE
Manifest.txt
README.rdoc
Rakefile
bin/kpeg
examples/calculator/calculator.kpeg
examples/calculator/calculator.rb
examples/foreign_reference/literals.kpeg
examples/foreign_reference/matcher.kpeg
examples/foreign_reference/matcher.rb
examples/lua_string/driver.rb
examples/lua_string/lua_string.kpeg
examples/lua_string/lua_string.kpeg.rb
examples/phone_number/README.md
examples/phone_number/phone_number.kpeg
examples/phone_number/phone_number.rb
examples/upper/README.md
examples/upper/upper.kpeg
examples/upper/upper.rb
kpeg.gemspec
lib/kpeg.rb
lib/kpeg/code_generator.rb
lib/kpeg/compiled_parser.rb
lib/kpeg/format.kpeg
lib/kpeg/format_parser.rb
lib/kpeg/grammar.rb
lib/kpeg/grammar_renderer.rb
lib/kpeg/match.rb
lib/kpeg/parser.rb
lib/kpeg/position.rb
lib/kpeg/string_escape.kpeg
lib/kpeg/string_escape.rb
test/inputs/comments.kpeg
test/test_file_parser_roundtrip.rb
test/test_gen_calc.rb
test/test_kpeg.rb
test/test_kpeg_code_generator.rb
test/test_kpeg_compiled_parser.rb
test/test_kpeg_format.rb
test/test_kpeg_grammar_renderer.rb
test/test_left_recursion.rb
vim/syntax_kpeg/ftdetect/kpeg.vim
vim/syntax_kpeg/syntax/kpeg.vim
183 changes: 0 additions & 183 deletions README.md

This file was deleted.

Loading

0 comments on commit 5bb3a77

Please sign in to comment.