-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
104 additions
and
195 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
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,10 +1,22 @@ | ||
CommonErrors.txt | ||
HISTORY.markdown | ||
History.txt | ||
HubrisStubLoader.so | ||
Manifest.txt | ||
PostInstall.txt | ||
README.markdown | ||
Rakefile | ||
examples/simple_inline/clean_and_run.sh | ||
examples/simple_inline/haskell_math.rb | ||
examples/simple_rack_app/Test.hs | ||
examples/simple_rack_app/config.ru | ||
examples/simple_rack_app/hsload.rb | ||
hubris.gemspec | ||
lib/Makefile | ||
lib/hubris.rb | ||
rspec.rake | ||
sample/Fibonacci.hs | ||
sample/config.ru | ||
spec/hubris_spec.rb | ||
spec/spec.opts | ||
spec/spec_helper.rb |
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,3 +1 @@ | ||
For more information on Hubris, see http://github.com/mwotton/Hubris/tree/master | ||
|
||
You should now have a bin file named jhc_builder that you can use to compile Haskell files into .so files |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,35 +1,47 @@ | ||
# -*- encoding: utf-8 -*- | ||
|
||
Gem::Specification.new do |s| | ||
s.name = 'hubris' | ||
s.version = '0.0.3' # gets this from hubris.rb?? | ||
s.name = %q{hubris} | ||
s.version = "0.0.3" | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Mark Wotton"] | ||
s.date = %q{2010-04-07} | ||
s.description = %q{Hubris is a bridge between Ruby and Haskell, between love and bondage, | ||
between slothful indolence and raw, blazing speed. Hubris will wash | ||
your car, lie to your boss, and salvage your love life. If you are | ||
very, very lucky, it might also let you get some functional goodness | ||
into your ruby programs through the back door. | ||
I probably don't have to say this, but patches are very much | ||
welcome. If you have trouble installing it, tell me, and help me | ||
improve the docs.} | ||
s.email = ["mwotton@gmail.com"] | ||
s.extra_rdoc_files = ["Manifest.txt", "PostInstall.txt"] | ||
s.files = ["HISTORY.markdown", "Manifest.txt", "PostInstall.txt", "README.markdown", "Rakefile", "lib/hubris.rb", "sample/Fibonacci.hs", "sample/config.ru", "spec/spec.opts", "spec/spec_helper.rb"] | ||
s.post_install_message = %q{PostInstall.txt} | ||
s.rdoc_options = ["--main", "README.markdown"] | ||
s.require_paths = ["lib", "ext"] | ||
s.rubyforge_project = %q{hubris} | ||
s.rubygems_version = %q{1.3.5} | ||
s.summary = %q{tool to help build .so files from haskell code for use in Ruby via dl} | ||
|
||
# s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Mark Wotton", "James Britt", "Josh Price"] | ||
s.date = %q{2009-11-30} | ||
s.description = %q{A Ruby Haskell bridge} | ||
s.email = %q{mwotton@gmail.com} | ||
s.files = %w{HISTORY.markdown | ||
ext/extconf.rb | ||
ext/HubrisStubLoader.c | ||
lib/hubris.rb | ||
Rakefile | ||
if s.respond_to? :specification_version then | ||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | ||
s.specification_version = 3 | ||
|
||
sample/config.ru | ||
sample/Fibonacci.hs | ||
spec/hubris_spec.rb | ||
spec/spec.opts | ||
spec/spec_helper.rb} | ||
# s.extra_rdoc_files = ["README.markdown"] | ||
# README.markdown | ||
s.has_rdoc = false | ||
s.extensions = ["ext/extconf.rb"] | ||
s.homepage = 'http://github.com/mwotton/hubris' | ||
s.rdoc_options = ["--inline-source", "--charset=UTF-8"] | ||
s.require_paths = %w{lib ext} | ||
s.rubyforge_project = 'hubris' | ||
|
||
s.summary = 'Hubris is a Ruby Haskell bridge allowing you to call Haskell functions from your Ruby code.' | ||
%w{rspec open4}.each do |gem| | ||
s.add_dependency(gem) | ||
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then | ||
s.add_development_dependency(%q<rubyforge>, [">= 2.0.4"]) | ||
s.add_development_dependency(%q<gemcutter>, [">= 0.5.0"]) | ||
s.add_development_dependency(%q<hoe>, [">= 2.5.0"]) | ||
else | ||
s.add_dependency(%q<rubyforge>, [">= 2.0.4"]) | ||
s.add_dependency(%q<gemcutter>, [">= 0.5.0"]) | ||
s.add_dependency(%q<hoe>, [">= 2.5.0"]) | ||
end | ||
else | ||
s.add_dependency(%q<rubyforge>, [">= 2.0.4"]) | ||
s.add_dependency(%q<gemcutter>, [">= 0.5.0"]) | ||
s.add_dependency(%q<hoe>, [">= 2.5.0"]) | ||
end | ||
puts s.extensions | ||
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
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