0.9.3 / 2012-05-28
- Added the following template variables to Ore::Generator:
@scm_user
- The username used by the SCM.@scm_email
- The email address used by the SCM.@uri
- The URI parsed from the@homepage
variable.@markup_ext
- The file-extension used by the markup.
- Support autodetecting the user name by invoking
git config user.name
orhg showconfig ui.username
. - Support autodetecting the email address by invoking
git config user.email
orhg showconfig ui.username
.
Templates
- Further simplified the
[name].gemspec
file in the gemspec_yml template.- Also fixed a small typo that set
gemspec.required_rubygems_version
to the value ofrequired_ruby_version
from thegemspec.yml
file.
- Also fixed a small typo that set
- Fixed the
ChangeLog
entry in the.document
file, from the yard template.
0.9.2 / 2012-05-21
Templates
- Test if
@email
is set, before emitting it in the gemspec template. - Convert the
@homepage
instance variable to a String in the gemspec template. - Specify the exact
ChangeLog
file in the.document
file in the yard template.
0.9.1 / 2012-05-20
- Require thor ~> 0.14.
Templates
- Use the newer
RDoc::Task
in the rdoc template.- Require rdoc ~> 3.0.
- Simplify the
.rvmrc
file in the rvmrc template.
0.9.0 / 2012-04-28
- Removed the ore-core dependency.
- Removed the env dependency.
- Switched from ore-tasks to rubygems-tasks ~> 0.2.
- Added Ore::Naming from
ore-core
. - Added Ore::Options.
- Added Ore::Actions.
- Added Ore::Template::Helpers#rubygems_tasks?.
- Added Ore::Template::Helpers#bundler_tasks?.
- Added Ore::Template::Helpers#gem_package_task?.
- Added Ore::Template::Directory#ignore.
- Added Ore::Template::Directory#dependencies.
- Added Ore::Template::Directory#development_dependencies.
- Renamed
Ore::Config.default_options
to Ore::Config.options. - Renamed
Ore::Generator.defaults
to Ore::Options.defaults. - Renamed
Ore::Generator.generator_option
to Ore::Options::ClassMethods. - Renamed
Ore::Generator.templates
to Ore::Template.templates. - Renamed
Ore::Generator.template?
to Ore::Template.template?. - Renamed
Ore::Generator.register_template
to Ore::Template.register.
Templates
- Added the gemspec template.
- Added the gemspec_yml template.
- Added the bundler_tasks template.
- Added the gem_package_task template.
- Added the hg template.
- Added the rubygems_tasks template.
- Removed the
ore_tasks
template. - Define dependencies in the
template.yml
files. - Simplified the
[name].gemspec
file in the base template. - Moved the
.gitignore
file into the git template. - If git is enabled and
github.user
is set in~/.gitconfig
, default the@homepage
variable to ahttps://github.com/
URL. - Require the newer
rdoc/task
file in the rdoc template. - Relaxed the
rake
dependency in the bundler template to~> 0.8
. - Relaxed the
bundler
dependency in the [bundlertemplate to
~> 1.0`.
CLI
- Removed the
ore gem
andore gemspec
sub-commands. - Added the
--bug-tracker
option tomine
. mine
now hides the output of all commands.mine
suppresses all output when--quiet
is specified.
0.8.1 / 2011-07-11
- Generated
.gemspec
file:- Fixed a redundancy.
- Load the
version.rb
file, after populating$LOAD_PATH
.
- Generated
Rakefile
:- Use
warn
instead ofSTDERR.puts
.
- Use
- Losen generated
yard
dependency to~> 0.7
.
0.8.0 / 2011-06-18
- Added the
markup
,date
,year
,month
andday
keywords to Ore::Template::Interpolations. - Added
encoding
comments to generatedRakefile
and*.gemspec
files. - Fixed chmoding of bin files.
- Updated the generated
yard
dependency to~> 0.7.0
. - No longer add
has_yard: true
to generatedgemspec.yml
files. - Generate a pure-Ruby
*.gemspec
file, which loadsgemspec.yml
.
0.7.2 / 2011-02-26
- Require ore-core ~> 0.1, >= 0.1.4.
- Added
Ore::Generator.template?
. - Added Ore::Generator#enabled_templates.
- Added Ore::Generator#disabled_templates.
- Added Ore::Generator#templates.
- Added Ore::Generator#generated_dirs.
- Added Ore::Generator#generated_files.
- Allow Ore::Template::Helpers#includes to yield output.
- Allow the
bundler
template to loadgemfile_prelude
,gemfile
andgemfile_development
includes. - Allow
--rdoc
to disable--yard
. - Set
@markup
to:rdoc
in therdoc
template. - Added separate
.document
files for therdoc
andyard
templates. - Added the
doc
alias-task to therdoc
andyard
templates. - Added
html/
to the generated.gitignore
file in therdoc
template. - Allow
--test-unit
to disable--rspec
. - Fixed the
test_unit
template. - Added a
Rakefile
task to thetest_unit
template. - Define options for installed templates as well.
0.7.1 / 2011-02-20
- Added
Ore::Generator#generate_dir
. - Added
Ore::Generator#generate_file
. - Only chmod generated files, if they are supposed to be executable.
0.7.0 / 2011-02-19
- Require ore-core ~> 0.1, >= 0.1.2.
- Added Ore::Template::Helpers#git?.
- Added Ore::Template::Helpers#bin?.
- Added the
bin
template and--bin
option to Ore::Generator. - Enable
--ore-tasks
by default. - Allow
--jeweler-tasks
to disable--ore-tasks
. - Relax ore-tasks dependency to
~> 0.4
. - Relax rspec dependency to
~> 2.4
. - Relax ore-core dependency to
~> 0.1
.
0.6.0 / 2011-02-12
- Require ore-core ~> 0.1.2.
- Opted into gem-testers.org.
- Added the
rvmrc
template and--rvmrc
option to Ore::Generator:- Generates an
.rvmrc
file that creates a new gemset for the project and supports Bundler.
- Generates an
- Added
mailto:
to theEmail
links in the generatedREADME
files. - Renamed the
ore cut
command toore gem
. - Use
__FILE__
instead of hard-coding the file name into the generated.gemspec
file. - No longer necessary to require
ore/specification
in the generatedGemfile
:- The new generated
.gemspec
files can auto-loadOre::Specification
.
- The new generated
- Do not include
ore-core
in the generatedGemfile
, ifore-tasks
has already been included. - Bumped the
ore-tasks
dependency to~> 0.4.0
in theore_tasks
template. - Fixed typos in the documentation thanks to yard-spellcheck.
0.5.0 / 2011-01-19
- Require ore-core ~> 0.1.1.
- Require rspec ~> 2.4.0.
- Load default options from
~/.ore/options.yml
. - Added the
gem_test
template and--gem-test
to Ore::Generator. This opts-in projects to be tested via thegem test
command. - Auto-define options in Ore::Generator for builtin templates.
- Added
lib/ore.rb
. - Added Ore::Config.enable!.
- Added Ore::Config.disable!.
- Added
Ore::Config.default_options
. - Added
Ore::Generator.defaults
. - Added
Ore::Generator.generator_option
. - Added
vendor/cache/*.gem
to.gitignore
if--bundler
is specified. - Attempt to auto-load
ore/specification
in the generated*.gemspec
files.
0.4.1 / 2010-12-17
- Added a post-install message.
- Added links to rubydoc.info in the README templates.
- Add
Gemfile.lock
to the generated.gitignore
file when--bundler
is used. - Use
platforms :jruby
andplatforms :ruby
to separate JRuby and non-JRuby dependencies when generating theGemfile
. - Fixed the link syntax in the TexTile README template.
0.4.0 / 2010-11-24
Ore Template variables are now loaded from the
variables
Hash within atemplate.yml
file:variables: x: foo y: bar
Allow Ore Templates to list other templates to be enabled via the
enable
field within atemplate.yml
file:enable: - yard - rspec
Allow Ore Templates to list other templates to be disabled via the
disable
field within atemplate.yml
file:disable: - rdoc
Renamed the
ore_depencency
template variable toore_core_dependency
.Renamed
@namespace_dir
to@namespace_path
within Ore::Generator.@namespace_dir
now stores the last sub-directory name, derived from the project name.
Include any
_development_dependencies.erb
and_dependencies.erb
includes into the generatedgemspec.yml
file.Added a default Example to generated
README
files.Bumped the
ore_tasks_dependency
template variable to~> 0.3.0
.Bumped the
jeweler_dependency
template variable to~> 1.5.0
.
0.3.0 / 2010-11-07
- Split all non-CLI and non-Generator related code out into ore-core.
- Ore::Generator:
- Added Ore::Template::Helpers#jeweler_tasks?.
- Added
Ore::Template::Helpers#ore_tasks?
. - Do not include
ore-core
as a development dependency if either--bundler
or--ore-tasks
is enabled.
0.2.3 / 2010-11-01
Fixed path interpolation on Windows:
Windows does not allow the
:
character in paths, so path interpolation keywords are now wrapped in[
and]
characters.interpolate("[name].gemspec")
=> "my-project.gemspec"
Do not include
ore-tasks
as a developmnet dependency in generated projects that also use Bundler.Added more specs to Ore::Generator and the builtin templates.
0.2.2 / 2010-10-30
- Added
Ore::Project#root
.
0.2.1 / 2010-10-29
- Ignore 'ruby' and 'java' from namespace directories returned from
Ore::Naming#namespace_dirs_of
. - Ignore 'ruby' and 'java' from module names returned from
Ore::Naming#modules_of
.
0.2.0 / 2010-10-27
- Added
Ore::Project#requirements
. - Added
Ore::Settings#set_requirements!
. - Added Ore::Template::InvalidTemplate.
- Added Ore::Template::Directory#load!.
- Suppress
no rubyforge_project specified
warnings by setting therubyforge_project
to the project name inOre::Project#to_gemspec
. - Do not add extra dependencies to the
gemspec.yml
file when generating a Bundler enabled project. Extra dependencies will be added to theGemfile
and controlled by Bundler. Allow Ore template directories to contain
template.yml
which may list template variables:data: variable: Value
0.1.4 / 2010-10-26
- Increased documentation coverage.
- Make sure Ore::Config.builtin_templates and Ore::Config.installed_templates only yield valid directories.
- Ensure that
Ore::Settings
handles versions as Strings. - Fixed two typos.
0.1.3 / 2010-10-25
- Fixed URLs in the
gemspec.yml
and README.
0.1.2 / 2010-10-25
- Renamed
--jeweler
to--jeweler-tasks
in Ore::Generator. - Renamed
--ore
to--ore-tasks
in Ore::Generator. - Fixed the
remove
task in Ore::CLI.
0.1.1 / 2010-10-25
- Show stopper bug fixed.
0.1.0 / 2010-10-25
- Initial release:
- Added Ore::Config.
- Added
Ore::Naming
. - Added
Ore::DocumentFile
. - Added
Ore::Versions
: - Added
Ore::Versions::Version
. - Added
Ore::Versions::VersionConstant
. - Added
Ore::Versions::VersionFile
. - Added
Ore::Project
: - Added
Ore::Checks
. - Added
Ore::Defaults
. - Added
Ore::Settings
. - Added
Ore::Specification
. - Added Ore::Template:
- Added Ore::Template::Directory.
- Added Ore::Template::Interpolations.
- Added Ore::Template::Helpers.
- Added Ore::Generator.