ore 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,13 @@
1
+ ### 0.9.2 / 2012-05-21
2
+
3
+ #### Templates
4
+
5
+ * Test if `@email` is set, before emitting it in the [gemspec] template.
6
+ * Convert the `@homepage` instance variable to a String in the [gemspec]
7
+ template.
8
+ * Specify the exact `ChangeLog` file in the `.document` file in the [yard]
9
+ template.
10
+
1
11
  ### 0.9.1 / 2012-05-20
2
12
 
3
13
  * Require thor ~> 0.14.
@@ -9,8 +9,10 @@ Gem::Specification.new do |gem|
9
9
  gem.description = %q{<%= @description %>}
10
10
  gem.license = <%= @license.inspect %>
11
11
  gem.authors = <%= @authors.inspect %>
12
- gem.email = [<%= @email.inspect %>]
13
- gem.homepage = <%= @homepage.inspect %>
12
+ <%- if @email -%>
13
+ gem.email = <%= @email.inspect %>
14
+ <%- end -%>
15
+ gem.homepage = <%= @homepage.to_s.inspect %>
14
16
 
15
17
  <%- if git? -%>
16
18
  gem.files = `git ls-files`.split($/)
@@ -0,0 +1,3 @@
1
+ -
2
+ ChangeLog.<%= @markup %>
3
+ LICENSE.txt
@@ -1,5 +1,5 @@
1
1
  name: ore
2
- version: 0.9.1
2
+ version: 0.9.2
3
3
  summary: Mine beautiful RubyGems from Ore
4
4
  description:
5
5
  Ore is a flexible Ruby project generator. Unlike other Ruby project
@@ -313,12 +313,12 @@ describe Generator do
313
313
  document.should include('-')
314
314
  end
315
315
 
316
- it "should not include 'README.*'" do
317
- document.grep(/^README\./).should be_empty
316
+ it "should not include 'README.rdoc'" do
317
+ document.should_not include('README.rdoc')
318
318
  end
319
319
 
320
- it "should include 'ChangeLog.*'" do
321
- document.should include('ChangeLog.*')
320
+ it "should include 'ChangeLog.rdoc'" do
321
+ document.should include('ChangeLog.rdoc')
322
322
  end
323
323
 
324
324
  it "should include 'LICENSE.txt'" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-21 00:00:00.000000000 Z
12
+ date: 2012-05-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -146,7 +146,7 @@ files:
146
146
  - data/ore/templates/test_unit/template.yml
147
147
  - data/ore/templates/test_unit/test/helper.rb.erb
148
148
  - data/ore/templates/test_unit/test/test_[name].rb.erb
149
- - data/ore/templates/yard/.document
149
+ - data/ore/templates/yard/.document.erb
150
150
  - data/ore/templates/yard/.yardopts.erb
151
151
  - data/ore/templates/yard/_gemfile_development.erb
152
152
  - data/ore/templates/yard/_tasks.erb
@@ -1,3 +0,0 @@
1
- -
2
- ChangeLog.*
3
- LICENSE.txt