Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated off of Hoe and to Jeweler, for building/releasing ffi-bert.
- Loading branch information
1 parent
5bf9189
commit ac70e10
Showing
12 changed files
with
170 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--colour --format specdoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--markup markdown --title 'FFI BERT Documentation' --protected --files ChangeLog.md,LICENSE.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
### 1.0.0 / 2009-12-31 | ||
|
||
* Initial release. | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# ffi-bert | ||
|
||
* [github.com/postmodern/ffi-bert](http://github.com/postmodern/ffi-bert/) | ||
* [github.com/postmodern/ffi-bert/issues](http://github.com/postmodern/ffi-bert/issues) | ||
* [github.com/postmodern/libBERT/issues](http://github.com/postmodern/libBERT/issues) | ||
* Postmodern (postmodern.mod3 at gmail.com) | ||
|
||
## DESCRIPTION: | ||
|
||
FFI bindings to libBERT, a library for the encoding and decoding of BERT | ||
data. | ||
|
||
## FEATURES/PROBLEMS: | ||
|
||
* Supports encoding/decoding of: | ||
* Integers. | ||
* Floating point numbers. | ||
* Atoms. | ||
* Strings. | ||
* Binary data. | ||
* Tuples. | ||
* Lists. | ||
* Complex types: | ||
* Nil. | ||
* Boolean True and False values. | ||
* Dictionaries. | ||
* Time values. | ||
* Regular Expressions. | ||
* Supports buffered, streaming or callback-based reading/writing of | ||
BERT data. | ||
* Supports converting between BERT data and Ruby native objects. | ||
|
||
## REQUIREMENTS: | ||
|
||
* [libBERT](http://github.com/postmodern/libBERT) >= 0.1.0 | ||
* [ffi](http://github.com/ffi/ffi) >= 0.6.0 | ||
|
||
## INSTALL: | ||
|
||
$ sudo gem install ffi-bert | ||
|
||
## LICENSE: | ||
|
||
See {file:LICENSE.txt} for license information. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,42 @@ | ||
# -*- ruby -*- | ||
|
||
require 'rubygems' | ||
require 'hoe' | ||
require 'hoe/signing' | ||
require './tasks/spec.rb' | ||
require './tasks/yard.rb' | ||
require 'rake' | ||
require './lib/bert/version.rb' | ||
|
||
Hoe.spec('ffi-bert')do | ||
self.developer('Postmodern', 'postmodern.mod3@gmail.com') | ||
begin | ||
require 'jeweler' | ||
Jeweler::Tasks.new do |gem| | ||
gem.name = 'parameters' | ||
gem.version = FFI::BERT::VERSION | ||
gem.summary = %Q{FFI bindings to libBERT.} | ||
gem.description = %Q{FFI bindings to libBERT, a library for the encoding and decoding of BERT data.} | ||
gem.email = 'postmodern.mod3@gmail.com' | ||
gem.homepage = 'http://github.com/postmodern/ffi-bert' | ||
gem.authors = ['Postmodern'] | ||
gem.add_dependency 'ffi', '>= 0.6.0' | ||
gem.add_development_dependency 'rspec', '>= 1.3.0' | ||
gem.add_development_dependency 'yard', '>= 0.5.3' | ||
gem.has_rdoc = 'yard' | ||
end | ||
rescue LoadError | ||
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" | ||
end | ||
|
||
self.readme_file = 'README.rdoc' | ||
self.history_file = 'History.rdoc' | ||
require 'spec/rake/spectask' | ||
Spec::Rake::SpecTask.new(:spec) do |spec| | ||
spec.libs += ['lib', 'spec'] | ||
spec.spec_files = FileList['spec/**/*_spec.rb'] | ||
spec.spec_opts = ['--options', '.specopts'] | ||
end | ||
|
||
self.extra_deps = [ | ||
['ffi', '>=0.6.0'] | ||
] | ||
task :spec => :check_dependencies | ||
task :default => :spec | ||
|
||
self.extra_dev_deps = [ | ||
['rspec', '>=1.2.9'], | ||
['yard', '>=0.5.2'] | ||
] | ||
begin | ||
require 'yard' | ||
|
||
self.spec_extras = {:has_rdoc => 'yard'} | ||
YARD::Rake::YardocTask.new | ||
rescue LoadError | ||
task :yard do | ||
abort "YARD is not available. In order to run yard, you must: gem install yard" | ||
end | ||
end | ||
|
||
# vim: syntax=ruby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Generated by jeweler | ||
# DO NOT EDIT THIS FILE DIRECTLY | ||
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command | ||
# -*- encoding: utf-8 -*- | ||
|
||
Gem::Specification.new do |s| | ||
s.name = %q{ffi-bert} | ||
s.version = "0.1.0" | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Postmodern"] | ||
s.date = %q{2010-02-11} | ||
s.description = %q{FFI bindings to libBERT, a library for the encoding and decoding of BERT data.} | ||
s.email = %q{postmodern.mod3@gmail.com} | ||
s.extra_rdoc_files = [ | ||
"ChangeLog.md", | ||
"LICENSE.txt", | ||
"README.md" | ||
] | ||
s.files = [ | ||
".gitignore", | ||
".specopts", | ||
".yardopts", | ||
"ChangeLog.md", | ||
"LICENSE.txt", | ||
"README.md", | ||
"Rakefile", | ||
"lib/bert.rb", | ||
"lib/bert/atom_value.rb", | ||
"lib/bert/bin_value.rb", | ||
"lib/bert/data.rb", | ||
"lib/bert/data_values.rb", | ||
"lib/bert/dict.rb", | ||
"lib/bert/dict_node.rb", | ||
"lib/bert/encoder.rb", | ||
"lib/bert/errno.rb", | ||
"lib/bert/extensions.rb", | ||
"lib/bert/extensions/tuple.rb", | ||
"lib/bert/ffi.rb", | ||
"lib/bert/list.rb", | ||
"lib/bert/list_node.rb", | ||
"lib/bert/regex_value.rb", | ||
"lib/bert/string_value.rb", | ||
"lib/bert/tuple.rb", | ||
"lib/bert/types.rb", | ||
"lib/bert/version.rb", | ||
"spec/bert_spec.rb", | ||
"spec/data_spec.rb", | ||
"spec/spec_helper.rb" | ||
] | ||
s.has_rdoc = %q{yard} | ||
s.homepage = %q{http://github.com/postmodern/ffi-bert} | ||
s.rdoc_options = ["--charset=UTF-8"] | ||
s.require_paths = ["lib"] | ||
s.rubygems_version = %q{1.3.5} | ||
s.summary = %q{FFI bindings to libBERT.} | ||
s.test_files = [ | ||
"spec/spec_helper.rb", | ||
"spec/bert_spec.rb", | ||
"spec/data_spec.rb", | ||
"spec/encoder_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 | ||
s.add_runtime_dependency(%q<ffi>, [">= 0.6.0"]) | ||
s.add_development_dependency(%q<rspec>, [">= 1.3.0"]) | ||
s.add_development_dependency(%q<yard>, [">= 0.5.3"]) | ||
else | ||
s.add_dependency(%q<ffi>, [">= 0.6.0"]) | ||
s.add_dependency(%q<rspec>, [">= 1.3.0"]) | ||
s.add_dependency(%q<yard>, [">= 0.5.3"]) | ||
end | ||
else | ||
s.add_dependency(%q<ffi>, [">= 0.6.0"]) | ||
s.add_dependency(%q<rspec>, [">= 1.3.0"]) | ||
s.add_dependency(%q<yard>, [">= 0.5.3"]) | ||
end | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
require 'rubygems' | ||
gem 'rspec', '>=1.2.9' | ||
gem 'rspec', '>=1.3.0' | ||
require 'spec' | ||
|
||
require 'bert/version' | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.