README.md in ore-0.6.0 vs README.md in ore-0.7.0
- old
+ new
@@ -1,10 +1,10 @@
# Ore
* [Source](http://github.com/ruby-ore/ore)
* [Issues](http://github.com/ruby-ore/ore/issues)
-* [Documentation](http://rubydoc.info/gems/ore/file/README.md)
+* [Documentation](http://rubydoc.info/gems/ore/frames)
* [Email](mailto:postmodern.mod3 at gmail.com)
* IRC: irc.freenode.net #ruby-ore
## Description
@@ -22,20 +22,30 @@
* `VERSION` constants or `Version` modules defined in a `version.rb` file.
* **Can** be used in traditional `.gemspec` files:
require 'ore/specification'
- Ore::Specification.new do |gemspec|
- # custom logic here
+ begin
+ Ore::Specification.new do |gemspec|
+ # custom logic here
+ end
+ rescue NameError
+ begin
+ require 'ore/specification'
+ retry
+ rescue LoadError
+ STDERR.puts "The '#{__FILE__}' file requires Ore."
+ STDERR.puts "Run `gem install ore-core` to install Ore."
+ end
end
* Provides an **extendable** project **generator** that supports
user-installed templates.
## Requirements
-* [ore-core](http://github.com/ruby-ore/ore-core) ~> 0.1.2
+* [ore-core](http://github.com/ruby-ore/ore-core) ~> 0.1, >= 0.1.2
* [thor](http://github.com/wycats/thor) ~> 0.14.3
## Install
$ gem install ore
@@ -43,11 +53,11 @@
## Example gemspec.yml files
The `gemspec.yml` file used to build Ore:
name: ore
- version: 0.5.0
+ version: 0.7.0
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
@@ -60,11 +70,11 @@
has_yard: true
post_install_message: |
**************************************************************************
Generate a new Ruby library:
- $ mine my_library --ore-tasks --rspec
+ $ mine my_library --rspec
Build the library:
$ rake build
@@ -73,15 +83,15 @@
$ rake release
**************************************************************************
dependencies:
- ore-core: ~> 0.1.2
+ ore-core: ~> 0.1, >= 0.1.2
thor: ~> 0.14.3
development_dependencies:
- ore-tasks: ~> 0.4.0
- rspec: ~> 2.4.0
+ ore-tasks: ~> 0.4
+ rspec: ~> 2.4
yard: ~> 0.6.1
For a complete refrence to the `gemspec.yml` file, please see the
[GemspecYML Reference](http://rubydoc.info/gems/ore-core/file/GemspecYML.html).