<commit_before># Ore

* [Source](https://github.com/ruby-ore/ore)
* [Issues](https://github.com/ruby-ore/ore/issues)
* [Documentation](http://rubydoc.info/gems/ore/frames)
* [Email](mailto:postmodern.mod3 at gmail.com)

## Description

Ore is a flexible Ruby project generator. Unlike other Ruby project
generators, Ore provides many builtin templates and allows custom
templates to be installed from Git repositories.

## Features

* Stores project metadata in **one YAML file** (`gemspec.yml`).
* Generates a **pure Ruby** `.gemspec` supporting:
  * [Git](http://git-scm.com/)
  * [Mercurial (Hg)](http://mercurial.selenic.com/)
  * [SubVersion (SVN)](http://subversion.tigris.org/)
  * `gemspec.yml`
  * `VERSION` or `version.rb` files
* Provides many builtin templates:
  * bundler
  * rvmrc
  * jeweler
  * rdoc
  * yard
  * test_unit
  * rspec
  * gem_test
* Allows installing custom templates from Git repositories:

      $ ore install git://github.com/ruby-ore/cucumber.git

## Requirements

* [thor](http://github.com/wycats/thor) ~> 0.14.3

## Install

    $ gem install ore

## Example gemspec.yml File

The `gemspec.yml` file used to build Ore:

    name: ore
    version: 0.8.1
    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: <EMAIL>
    homepage: http://github.com/ruby-ore/ore
    post_install_message: |
      **************************************************************************
      Generate a new Ruby library:
      
          $ mine my_library --rspec --yard
      
      Build the library:
      
          $ rake build
      
      Release the library to rubygems.org:
      
          $ rake release
      
      **************************************************************************
    
    dependencies:
      ore-core: ~> 0.1, >= 0.1.4
      env: ~> 0.1.2
      thor: ~> 0.14.3
    
    development_dependencies:
      ore-tasks: ~> 0.4
      rspec: ~> 2.4
      yard: ~> 0.7.0

For a complete refrence to the `gemspec.yml` file, please see the
[GemspecYML Reference](http://rubydoc.info/gems/ore/file/GemspecYML.html).

## Synopsis

Install a custom template:

    $ ore install git://github.com/ruby-ore/mini_test.git

List installed templates:

    $ ore list
<commit_msg>Updated the example gemspec.yml.<commit_after># Ore

* [Source](https://github.com/ruby-ore/ore)
* [Issues](https://github.com/ruby-ore/ore/issues)
* [Documentation](http://rubydoc.info/gems/ore/frames)
* [Email](mailto:postmodern.mod3 at gmail.com)

## Description

Ore is a flexible Ruby project generator. Unlike other Ruby project
generators, Ore provides many builtin templates and allows custom
templates to be installed from Git repositories.

## Features

* Stores project metadata in **one YAML file** (`gemspec.yml`).
* Generates a **pure Ruby** `.gemspec` supporting:
  * [Git](http://git-scm.com/)
  * [Mercurial (Hg)](http://mercurial.selenic.com/)
  * [SubVersion (SVN)](http://subversion.tigris.org/)
  * `gemspec.yml`
  * `VERSION` or `version.rb` files
* Provides many builtin templates:
  * bundler
  * rvmrc
  * jeweler
  * rdoc
  * yard
  * test_unit
  * rspec
  * gem_test
* Allows installing custom templates from Git repositories:

      $ ore install git://github.com/ruby-ore/cucumber.git

## Requirements

* [thor](http://github.com/wycats/thor) ~> 0.14.3

## Install

    $ gem install ore

## Example gemspec.yml File

The `gemspec.yml` file used to build Ore:

    name: ore
    version: 0.9.0
    summary: Mine raw RubyGems from YAML
    description:
      Ore is a flexible Ruby project generator. Unlike other Ruby project
      generators, Ore provides many builtin templates and allows custom
      templates to be installed from Git repositories.
    
    license: MIT
    authors: Postmodern
    email: <EMAIL>
    homepage: https://github.com/ruby-ore/ore
    post_install_message: |
      **************************************************************************
      Generate a new Ruby library:
      
          $ mine my_library --rspec --yard
      
      Build the library:
      
          $ rake build
      
      Release the library to rubygems.org:
      
          $ rake release
      
      **************************************************************************
    
    dependencies:
      thor: ~> 0.14.3
    
    development_dependencies:
      rubygems-tasks: ~> 0.1
      rspec: ~> 2.4
      yard: ~> 0.7.0

For a complete refrence to the `gemspec.yml` file, please see the
[GemspecYML Reference](http://rubydoc.info/gems/ore/file/GemspecYML.html).

## Synopsis

Install a custom template:

    $ ore install git://github.com/ruby-ore/mini_test.git

List installed templates:

    $ ore list

{'fraction_non_alphanumeric': 0.1681060453906407, 'fraction_numerical': 0.009238802972484434, 'mean_word_length': 2.9150943396226414, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 18, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7497898', 'n_tokens_mistral': 1644, 'n_tokens_neox': 1516, 'n_words': 425}