Ore
(Core)¶ ↑
-
[Email](postmodern.mod3 at gmail.com)
-
IRC: irc.freenode.net ruby-ore
Description¶ ↑
Ore
is a simple RubyGem building solution. Ore
handles the creation of Gem::Specification objects as well as building .gem
files. Ore
allows the developer to keep all of the project information in a single YAML file.
Features¶ ↑
-
Stores project information in one YAML file (
gemspec.yml
). -
Does not have dependencies.
-
Does not impose a development workflow onto the developer. One could even use
Ore
with Jeweler::Tasks. -
Can load the project version from:
-
VERSION
orVERSION.yml
files. -
VERSION
constants orVersion
modules defined in aversion.rb
file. -
Can be used in traditional
.gemspec
files:begin
Ore::Specification.new
do |gemspec| # custom logic here end rescue NameError begin require ‘ore/specification’ retry rescue LoadError STDERR.puts “The ‘#{__FILE__}’ file requiresOre
.” STDERR.puts “Rungem install ore-core
to installOre
.” end end -
Can be used with Bundler.
Install¶ ↑
$ gem install ore-core
Example gemspec.yml files¶ ↑
The gemspec.yml
file used to build Ore:
name: ore-core version: 0.1.5 summary: Mine raw RubyGems from YAML. description: Ore is a simple RubyGem building solution. Ore handles the creation of Gem::Specification objects as well as building '.gem' files. Ore allows the developer to keep all of the project information in a single YAML file. license: MIT authors: Postmodern email: postmodern.mod3@gmail.com homepage: http://github.com/ruby-ore/ore-core has_yard: true development_dependencies: yard: ~> 0.6 rspec: ~> 2.4
For a complete refrence to the gemspec.yml
file, please see GemspecYML Reference.
License¶ ↑
Copyright © 2010-2011 Hal Brodigan
See {file:LICENSE.txt} for license information.