ore 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +4 -5
  3. data/.gitmodules +54 -0
  4. data/ChangeLog.md +90 -21
  5. data/Gemfile +12 -0
  6. data/LICENSE.txt +1 -1
  7. data/README.md +61 -27
  8. data/Rakefile +23 -24
  9. data/data/ore/abbreviations.txt +47 -0
  10. data/data/ore/common_namespaces.yml +13 -0
  11. data/data/ore/templates/apache/LICENSE.txt +202 -0
  12. data/data/ore/templates/apache/NOTICE.txt.erb +5 -0
  13. data/data/ore/templates/apache/lib/[namespace_path]/_copyright.erb +18 -0
  14. data/data/ore/templates/apache/template.yml +3 -0
  15. data/data/ore/templates/bsd/LICENSE.txt.erb +23 -0
  16. data/data/ore/templates/bsd/template.yml +6 -0
  17. data/data/ore/templates/bundler/Gemfile.erb +1 -1
  18. data/data/ore/templates/bundler/_tasks.erb +3 -0
  19. data/data/ore/templates/bundler/template.yml +5 -4
  20. data/data/ore/templates/code_climate/_badges.erb +1 -0
  21. data/data/ore/templates/code_climate/template.yml +2 -0
  22. data/data/ore/templates/{base → gem}/ChangeLog.md.erb +0 -0
  23. data/data/ore/templates/{base → gem}/ChangeLog.rdoc.erb +0 -0
  24. data/data/ore/templates/{base → gem}/ChangeLog.tt.erb +0 -0
  25. data/data/ore/templates/{base → gem}/README.md.erb +10 -4
  26. data/data/ore/templates/{base → gem}/README.rdoc.erb +12 -2
  27. data/data/ore/templates/{base → gem}/README.tt.erb +10 -4
  28. data/data/ore/templates/gem/Rakefile.erb +15 -0
  29. data/data/ore/templates/{gemspec → gem}/[name].gemspec.erb +21 -1
  30. data/data/ore/templates/{base → gem}/lib/[namespace_path].rb.erb +0 -0
  31. data/data/ore/templates/{base → gem}/lib/[namespace_path]/version.rb.erb +4 -0
  32. data/data/ore/templates/gem/template.yml +5 -0
  33. data/data/ore/templates/gem_package_task/template.yml +3 -0
  34. data/data/ore/templates/gemspec_yml/[name].gemspec.erb +1 -1
  35. data/data/ore/templates/gpl/COPYING.txt +674 -0
  36. data/data/ore/templates/gpl/lib/[namespace_path]/_copyright.erb +20 -0
  37. data/data/ore/templates/gpl/template.yml +7 -0
  38. data/data/ore/templates/lgpl/COPYING.txt +165 -0
  39. data/data/ore/templates/lgpl/lib/[namespace_path]/_copyright.erb +20 -0
  40. data/data/ore/templates/lgpl/template.yml +6 -0
  41. data/data/ore/templates/minitest/_tasks.erb +7 -0
  42. data/data/ore/templates/minitest/template.yml +6 -0
  43. data/data/ore/templates/minitest/test/helper.rb.erb +11 -0
  44. data/data/ore/templates/{mini_test → minitest}/test/test_[name].rb.erb +1 -1
  45. data/data/ore/templates/{base → mit}/LICENSE.txt.erb +0 -0
  46. data/data/ore/templates/mit/template.yml +8 -0
  47. data/data/ore/templates/rdoc/.document.erb +6 -0
  48. data/data/ore/templates/rdoc/.rdoc_options.erb +16 -0
  49. data/data/ore/templates/rdoc/_tasks.erb +5 -9
  50. data/data/ore/templates/rdoc/template.yml +2 -5
  51. data/data/ore/templates/rspec/_tasks.erb +1 -2
  52. data/data/ore/templates/rspec/spec/[namespace_dir]_spec.rb.erb +1 -1
  53. data/data/ore/templates/rspec/spec/spec_helper.rb.erb +0 -3
  54. data/data/ore/templates/rspec/template.yml +2 -2
  55. data/data/ore/templates/rubygems_tasks/_tasks.erb +0 -1
  56. data/data/ore/templates/rubygems_tasks/template.yml +3 -0
  57. data/data/ore/templates/test_unit/template.yml +1 -1
  58. data/data/ore/templates/test_unit/test/helper.rb.erb +3 -13
  59. data/data/ore/templates/travis/.travis.yml +6 -0
  60. data/data/ore/templates/travis/_badges.erb +1 -0
  61. data/data/ore/templates/yard/.document.erb +3 -1
  62. data/data/ore/templates/yard/_tasks.erb +2 -3
  63. data/data/ore/templates/yard/template.yml +2 -1
  64. data/gemspec.yml +6 -7
  65. data/lib/ore/actions.rb +1 -1
  66. data/lib/ore/cli.rb +1 -0
  67. data/lib/ore/config.rb +33 -41
  68. data/lib/ore/generator.rb +104 -66
  69. data/lib/ore/naming.rb +12 -19
  70. data/lib/ore/options.rb +71 -40
  71. data/lib/ore/template/directory.rb +3 -9
  72. data/lib/ore/template/helpers.rb +26 -2
  73. data/lib/ore/template/helpers/markdown.rb +96 -0
  74. data/lib/ore/template/helpers/rdoc.rb +96 -0
  75. data/lib/ore/template/helpers/textile.rb +106 -0
  76. data/lib/ore/template/markup.rb +19 -0
  77. data/lib/ore/version.rb +1 -1
  78. data/ore.gemspec +11 -0
  79. data/spec/gemspec_examples.rb +8 -8
  80. data/spec/generator_spec.rb +231 -181
  81. data/spec/helpers/generator.rb +5 -1
  82. data/spec/naming_spec.rb +11 -11
  83. data/spec/spec_helper.rb +0 -1
  84. data/spec/template/helpers/markdown_spec.rb +84 -0
  85. data/spec/template/helpers/rdoc_spec.rb +84 -0
  86. data/spec/template/helpers/textile_spec.rb +92 -0
  87. metadata +84 -85
  88. data/.gemtest +0 -0
  89. data/data/ore/templates/base/Rakefile.erb +0 -25
  90. data/data/ore/templates/base/template.yml +0 -2
  91. data/data/ore/templates/bundler_tasks/_tasks.erb +0 -1
  92. data/data/ore/templates/bundler_tasks/template.yml +0 -6
  93. data/data/ore/templates/gemspec/template.yml +0 -2
  94. data/data/ore/templates/gemspec_yml/template.yml +0 -2
  95. data/data/ore/templates/mini_test/template.yml +0 -3
  96. data/data/ore/templates/mini_test/test/helper.rb.erb +0 -26
  97. data/data/ore/templates/rdoc/.document +0 -4
@@ -12,7 +12,7 @@ module Helpers
12
12
 
13
13
  @generator = Ore::Generator.new(
14
14
  [path],
15
- options.merge(:quiet => true)
15
+ options.merge(quiet: true)
16
16
  )
17
17
  @generator.invoke_all
18
18
 
@@ -22,6 +22,10 @@ module Helpers
22
22
  end
23
23
  end
24
24
 
25
+ def rakefile
26
+ @path.join('Rakefile').read
27
+ end
28
+
25
29
  def rspec_opts
26
30
  @path.join('.rspec').read
27
31
  end
@@ -10,47 +10,47 @@ describe Naming do
10
10
 
11
11
  describe "underscore" do
12
12
  it "should underscore CamelCase names" do
13
- subject.underscore('FooBar').should == 'foo_bar'
13
+ expect(subject.underscore('FooBar')).to eq('foo_bar')
14
14
  end
15
15
 
16
16
  it "should not add leading underscores to Capitalized names" do
17
- subject.underscore('Foo').should == 'foo'
17
+ expect(subject.underscore('Foo')).to eq('foo')
18
18
  end
19
19
 
20
20
  it "should not add tailing underscores to CamelCase names" do
21
- subject.underscore('FooX').should == 'foox'
21
+ expect(subject.underscore('FooX')).to eq('foox')
22
22
  end
23
23
 
24
24
  it "should not add underscores when they already exist" do
25
- subject.underscore('Foo_Bar').should == 'foo_bar'
25
+ expect(subject.underscore('Foo_Bar')).to eq('foo_bar')
26
26
  end
27
27
  end
28
28
 
29
29
  it "should guess the module names from a project name" do
30
- subject.modules_of('foo-bar').should == ['Foo', 'Bar']
30
+ expect(subject.modules_of('foo-bar')).to eq(['Foo', 'Bar'])
31
31
  end
32
32
 
33
33
  it "should filter out obvious names from the module names" do
34
- subject.modules_of('ruby-foo').should == ['Foo']
34
+ expect(subject.modules_of('ruby-foo')).to eq(['Foo'])
35
35
  end
36
36
 
37
37
  it "should recognize common acronyms in project names" do
38
- subject.modules_of('ffi-bar').should == ['FFI', 'Bar']
38
+ expect(subject.modules_of('ffi-bar')).to eq(['FFI', 'Bar'])
39
39
  end
40
40
 
41
41
  it "should guess the namespace from a project name" do
42
- subject.namespace_of('foo-bar').should == 'Foo::Bar'
42
+ expect(subject.namespace_of('foo-bar')).to eq('Foo::Bar')
43
43
  end
44
44
 
45
45
  it "should guess the namespace directories from a project name" do
46
- subject.namespace_dirs_of('foo-bar').should == ['foo', 'bar']
46
+ expect(subject.namespace_dirs_of('foo-bar')).to eq(['foo', 'bar'])
47
47
  end
48
48
 
49
49
  it "should filter out namespaces that are rarely used in directory names" do
50
- subject.namespace_dirs_of('ruby-foo').should == ['foo']
50
+ expect(subject.namespace_dirs_of('ruby-foo')).to eq(['foo'])
51
51
  end
52
52
 
53
53
  it "should guess the namespace directory from a project name" do
54
- subject.namespace_path_of('foo-bar').should == 'foo/bar'
54
+ expect(subject.namespace_path_of('foo-bar')).to eq('foo/bar')
55
55
  end
56
56
  end
@@ -1,4 +1,3 @@
1
- gem 'rspec', '~> 2.4'
2
1
  require 'rspec'
3
2
  require 'helpers/matchers'
4
3
 
@@ -0,0 +1,84 @@
1
+ require 'spec_helper'
2
+ require 'ore/template/helpers/markdown'
3
+
4
+ describe Ore::Template::Helpers::Markdown do
5
+ subject do
6
+ Object.new.extend described_class
7
+ end
8
+
9
+ describe "#link_to" do
10
+ let(:text) { "foo bar" }
11
+ let(:url) { "https://example.com/foo/bar" }
12
+
13
+ it "should return a link with the text and url" do
14
+ expect(subject.link_to(text,url)).to be == "[#{text}](#{url})"
15
+ end
16
+ end
17
+
18
+ describe "#image" do
19
+ let(:url) { "https://example.com/foo/bar.png" }
20
+
21
+ context "with alt text" do
22
+ let(:alt) { "foo bar" }
23
+
24
+ it "should return a link with the alt text and url" do
25
+ expect(subject.image(url,alt)).to be == "![#{alt}](#{url})"
26
+ end
27
+ end
28
+
29
+ context "without alt text" do
30
+ it "should return a link with the alt text and url" do
31
+ expect(subject.image(url)).to be == "![](#{url})"
32
+ end
33
+ end
34
+ end
35
+
36
+ describe "#h1" do
37
+ let(:title) { "Foo Bar" }
38
+
39
+ it "should return a h1 header" do
40
+ expect(subject.h1(title)).to be == "# #{title}"
41
+ end
42
+ end
43
+
44
+ describe "#h2" do
45
+ let(:title) { "Foo Bar" }
46
+
47
+ it "should return a h2 header" do
48
+ expect(subject.h2(title)).to be == "## #{title}"
49
+ end
50
+ end
51
+
52
+ describe "#h3" do
53
+ let(:title) { "Foo Bar" }
54
+
55
+ it "should return a h3 header" do
56
+ expect(subject.h3(title)).to be == "### #{title}"
57
+ end
58
+ end
59
+
60
+ describe "#h4" do
61
+ let(:title) { "Foo Bar" }
62
+
63
+ it "should return a h4 header" do
64
+ expect(subject.h4(title)).to be == "#### #{title}"
65
+ end
66
+ end
67
+
68
+ describe "#pre" do
69
+ let(:lines) do
70
+ [
71
+ %{puts "hello"},
72
+ %{},
73
+ %{puts "world"}
74
+ ]
75
+ end
76
+ let(:code) { lines.join($/) }
77
+
78
+ it "should indent each line" do
79
+ expect(subject.pre(code)).to be == lines.map { |line|
80
+ " #{line}"
81
+ }.join($/)
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,84 @@
1
+ require 'spec_helper'
2
+ require 'ore/template/helpers/rdoc'
3
+
4
+ describe Ore::Template::Helpers::RDoc do
5
+ subject do
6
+ Object.new.extend described_class
7
+ end
8
+
9
+ describe "#link_to" do
10
+ let(:text) { "foo bar" }
11
+ let(:url) { "https://example.com/foo/bar" }
12
+
13
+ it "should return a link with the text and url" do
14
+ expect(subject.link_to(text,url)).to be == %{{#{text}}[#{url}]}
15
+ end
16
+ end
17
+
18
+ describe "#image" do
19
+ let(:url) { "https://example.com/foo/bar.png" }
20
+
21
+ context "with alt text" do
22
+ let(:alt) { "foo bar" }
23
+
24
+ it "should return a link with the alt text and url" do
25
+ expect(subject.image(url,alt)).to be == "{#{alt}}[rdoc-image:#{url}]"
26
+ end
27
+ end
28
+
29
+ context "without alt text" do
30
+ it "should return a link with the alt text and url" do
31
+ expect(subject.image(url)).to be == "{}[rdoc-image:#{url}]"
32
+ end
33
+ end
34
+ end
35
+
36
+ describe "#h1" do
37
+ let(:title) { "Foo Bar" }
38
+
39
+ it "should return a h1 header" do
40
+ expect(subject.h1(title)).to be == "= #{title}"
41
+ end
42
+ end
43
+
44
+ describe "#h2" do
45
+ let(:title) { "Foo Bar" }
46
+
47
+ it "should return a h2 header" do
48
+ expect(subject.h2(title)).to be == "== #{title}"
49
+ end
50
+ end
51
+
52
+ describe "#h3" do
53
+ let(:title) { "Foo Bar" }
54
+
55
+ it "should return a h3 header" do
56
+ expect(subject.h3(title)).to be == "=== #{title}"
57
+ end
58
+ end
59
+
60
+ describe "#h4" do
61
+ let(:title) { "Foo Bar" }
62
+
63
+ it "should return a h4 header" do
64
+ expect(subject.h4(title)).to be == "==== #{title}"
65
+ end
66
+ end
67
+
68
+ describe "#pre" do
69
+ let(:lines) do
70
+ [
71
+ %{puts "hello"},
72
+ %{},
73
+ %{puts "world"}
74
+ ]
75
+ end
76
+ let(:code) { lines.join($/) }
77
+
78
+ it "should indent each line" do
79
+ expect(subject.pre(code)).to be == lines.map { |line|
80
+ " #{line}"
81
+ }.join($/)
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,92 @@
1
+ require 'spec_helper'
2
+ require 'ore/template/helpers/textile'
3
+
4
+ describe Ore::Template::Helpers::Textile do
5
+ subject do
6
+ Object.new.extend described_class
7
+ end
8
+
9
+ describe "#link_to" do
10
+ let(:text) { "foo bar" }
11
+ let(:url) { "https://example.com/foo/bar" }
12
+
13
+ it "should return a link with the text and url" do
14
+ expect(subject.link_to(text,url)).to be == %{"#{text}":#{url}}
15
+ end
16
+ end
17
+
18
+ describe "#image" do
19
+ let(:url) { "https://example.com/foo/bar.png" }
20
+
21
+ context "with alt text" do
22
+ let(:alt) { "foo bar" }
23
+
24
+ it "should return a link with the alt text and url" do
25
+ expect(subject.image(url,alt)).to be == "!#{url}(#{alt})!"
26
+ end
27
+ end
28
+
29
+ context "without alt text" do
30
+ it "should return a link with the alt text and url" do
31
+ expect(subject.image(url)).to be == "!#{url}!"
32
+ end
33
+ end
34
+ end
35
+
36
+ describe "#h1" do
37
+ let(:title) { "Foo Bar" }
38
+
39
+ it "should return a h1 header" do
40
+ expect(subject.h1(title)).to be == "h1. #{title}"
41
+ end
42
+ end
43
+
44
+ describe "#h2" do
45
+ let(:title) { "Foo Bar" }
46
+
47
+ it "should return a h2 header" do
48
+ expect(subject.h2(title)).to be == "h2. #{title}"
49
+ end
50
+ end
51
+
52
+ describe "#h3" do
53
+ let(:title) { "Foo Bar" }
54
+
55
+ it "should return a h3 header" do
56
+ expect(subject.h3(title)).to be == "h3. #{title}"
57
+ end
58
+ end
59
+
60
+ describe "#h4" do
61
+ let(:title) { "Foo Bar" }
62
+
63
+ it "should return a h4 header" do
64
+ expect(subject.h4(title)).to be == "h4. #{title}"
65
+ end
66
+ end
67
+
68
+ describe "#pre" do
69
+ context "with a single line" do
70
+ let(:code) { %{puts "hello world"} }
71
+
72
+ it "should prepend bc." do
73
+ expect(subject.pre(code)).to be == "bc. #{code}"
74
+ end
75
+ end
76
+
77
+ context "with multiple lines" do
78
+ let(:lines) do
79
+ [
80
+ %{puts "hello"},
81
+ %{},
82
+ %{puts "world"}
83
+ ]
84
+ end
85
+ let(:code) { lines.join($/) }
86
+
87
+ it "should prepend bc.." do
88
+ expect(subject.pre(code)).to be == "bc.. #{code}"
89
+ end
90
+ end
91
+ end
92
+ end
metadata CHANGED
@@ -1,83 +1,45 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
5
- prerelease:
4
+ version: 0.11.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Postmodern
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-10-15 00:00:00.000000000 Z
11
+ date: 2015-08-26 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: thor
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0.15'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0.15'
30
27
  - !ruby/object:Gem::Dependency
31
- name: rubygems-tasks
28
+ name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
- version: '0.2'
33
+ version: '1.0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
- version: '0.2'
46
- - !ruby/object:Gem::Dependency
47
- name: rspec
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: '2.4'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: '2.4'
62
- - !ruby/object:Gem::Dependency
63
- name: yard
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: '0.8'
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: '0.8'
78
- description: Ore is a flexible Ruby project generator. Unlike other Ruby project generators,
79
- Ore provides many builtin templates and allows custom templates to be installed
80
- from Git repositories.
40
+ version: '1.0'
41
+ description: Ore is a fully configurable and extendable Ruby gem generator. With Ore
42
+ you spend less time editing files, and more time writing code.
81
43
  email: postmodern.mod3@gmail.com
82
44
  executables:
83
45
  - mine
@@ -89,49 +51,66 @@ extra_rdoc_files:
89
51
  - LICENSE.txt
90
52
  - README.md
91
53
  files:
92
- - .document
93
- - .gemtest
94
- - .gitignore
95
- - .rspec
96
- - .yardopts
54
+ - ".document"
55
+ - ".gitignore"
56
+ - ".gitmodules"
57
+ - ".rspec"
58
+ - ".yardopts"
97
59
  - ChangeLog.md
60
+ - Gemfile
98
61
  - GemspecYML.md
99
62
  - LICENSE.txt
100
63
  - README.md
101
64
  - Rakefile
102
65
  - bin/mine
103
66
  - bin/ore
104
- - data/ore/templates/base/ChangeLog.md.erb
105
- - data/ore/templates/base/ChangeLog.rdoc.erb
106
- - data/ore/templates/base/ChangeLog.tt.erb
107
- - data/ore/templates/base/LICENSE.txt.erb
108
- - data/ore/templates/base/README.md.erb
109
- - data/ore/templates/base/README.rdoc.erb
110
- - data/ore/templates/base/README.tt.erb
111
- - data/ore/templates/base/Rakefile.erb
112
- - data/ore/templates/base/lib/[namespace_path].rb.erb
113
- - data/ore/templates/base/lib/[namespace_path]/version.rb.erb
114
- - data/ore/templates/base/template.yml
67
+ - data/ore/abbreviations.txt
68
+ - data/ore/common_namespaces.yml
69
+ - data/ore/templates/apache/LICENSE.txt
70
+ - data/ore/templates/apache/NOTICE.txt.erb
71
+ - data/ore/templates/apache/lib/[namespace_path]/_copyright.erb
72
+ - data/ore/templates/apache/template.yml
115
73
  - data/ore/templates/bin/bin/[name].erb
74
+ - data/ore/templates/bsd/LICENSE.txt.erb
75
+ - data/ore/templates/bsd/template.yml
116
76
  - data/ore/templates/bundler/Gemfile.erb
77
+ - data/ore/templates/bundler/_tasks.erb
117
78
  - data/ore/templates/bundler/template.yml
118
- - data/ore/templates/bundler_tasks/_tasks.erb
119
- - data/ore/templates/bundler_tasks/template.yml
79
+ - data/ore/templates/code_climate/_badges.erb
80
+ - data/ore/templates/code_climate/template.yml
81
+ - data/ore/templates/gem/ChangeLog.md.erb
82
+ - data/ore/templates/gem/ChangeLog.rdoc.erb
83
+ - data/ore/templates/gem/ChangeLog.tt.erb
84
+ - data/ore/templates/gem/README.md.erb
85
+ - data/ore/templates/gem/README.rdoc.erb
86
+ - data/ore/templates/gem/README.tt.erb
87
+ - data/ore/templates/gem/Rakefile.erb
88
+ - data/ore/templates/gem/[name].gemspec.erb
89
+ - data/ore/templates/gem/lib/[namespace_path].rb.erb
90
+ - data/ore/templates/gem/lib/[namespace_path]/version.rb.erb
91
+ - data/ore/templates/gem/template.yml
120
92
  - data/ore/templates/gem_package_task/_tasks.erb
121
93
  - data/ore/templates/gem_package_task/template.yml
122
- - data/ore/templates/gemspec/[name].gemspec.erb
123
- - data/ore/templates/gemspec/template.yml
124
94
  - data/ore/templates/gemspec_yml/[name].gemspec.erb
125
95
  - data/ore/templates/gemspec_yml/gemspec.yml.erb
126
- - data/ore/templates/gemspec_yml/template.yml
127
96
  - data/ore/templates/git/.gitignore.erb
128
97
  - data/ore/templates/git/template.yml
98
+ - data/ore/templates/gpl/COPYING.txt
99
+ - data/ore/templates/gpl/lib/[namespace_path]/_copyright.erb
100
+ - data/ore/templates/gpl/template.yml
129
101
  - data/ore/templates/hg/.hgignore.erb
130
102
  - data/ore/templates/hg/template.yml
131
- - data/ore/templates/mini_test/template.yml
132
- - data/ore/templates/mini_test/test/helper.rb.erb
133
- - data/ore/templates/mini_test/test/test_[name].rb.erb
134
- - data/ore/templates/rdoc/.document
103
+ - data/ore/templates/lgpl/COPYING.txt
104
+ - data/ore/templates/lgpl/lib/[namespace_path]/_copyright.erb
105
+ - data/ore/templates/lgpl/template.yml
106
+ - data/ore/templates/minitest/_tasks.erb
107
+ - data/ore/templates/minitest/template.yml
108
+ - data/ore/templates/minitest/test/helper.rb.erb
109
+ - data/ore/templates/minitest/test/test_[name].rb.erb
110
+ - data/ore/templates/mit/LICENSE.txt.erb
111
+ - data/ore/templates/mit/template.yml
112
+ - data/ore/templates/rdoc/.document.erb
113
+ - data/ore/templates/rdoc/.rdoc_options.erb
135
114
  - data/ore/templates/rdoc/_tasks.erb
136
115
  - data/ore/templates/rdoc/template.yml
137
116
  - data/ore/templates/rspec/.rspec
@@ -145,6 +124,8 @@ files:
145
124
  - data/ore/templates/test_unit/template.yml
146
125
  - data/ore/templates/test_unit/test/helper.rb.erb
147
126
  - data/ore/templates/test_unit/test/test_[name].rb.erb
127
+ - data/ore/templates/travis/.travis.yml
128
+ - data/ore/templates/travis/_badges.erb
148
129
  - data/ore/templates/yard/.document.erb
149
130
  - data/ore/templates/yard/.yardopts.erb
150
131
  - data/ore/templates/yard/_gemfile_development.erb
@@ -163,7 +144,11 @@ files:
163
144
  - lib/ore/template/exceptions.rb
164
145
  - lib/ore/template/exceptions/invalid_template.rb
165
146
  - lib/ore/template/helpers.rb
147
+ - lib/ore/template/helpers/markdown.rb
148
+ - lib/ore/template/helpers/rdoc.rb
149
+ - lib/ore/template/helpers/textile.rb
166
150
  - lib/ore/template/interpolations.rb
151
+ - lib/ore/template/markup.rb
167
152
  - lib/ore/template/template.rb
168
153
  - lib/ore/version.rb
169
154
  - ore.gemspec
@@ -173,31 +158,45 @@ files:
173
158
  - spec/helpers/matchers.rb
174
159
  - spec/naming_spec.rb
175
160
  - spec/spec_helper.rb
161
+ - spec/template/helpers/markdown_spec.rb
162
+ - spec/template/helpers/rdoc_spec.rb
163
+ - spec/template/helpers/textile_spec.rb
176
164
  homepage: https://github.com/ruby-ore/ore#readme
177
165
  licenses:
178
166
  - MIT
179
- post_install_message: ! "**************************************************************************\nGenerate
180
- a new Ruby library:\n\n $ mine my_library --rspec --yard\n\nBuild the library:\n\n
181
- \ $ rake build\n\nRelease the library to rubygems.org:\n\n $ rake release\n\n**************************************************************************\n"
167
+ metadata: {}
168
+ post_install_message: |
169
+ **************************************************************************
170
+ Generate a new Ruby library:
171
+
172
+ $ mine my_library --rspec --yard
173
+
174
+ Build the library:
175
+
176
+ $ rake build
177
+
178
+ Release the library to rubygems.org:
179
+
180
+ $ rake release
181
+
182
+ **************************************************************************
182
183
  rdoc_options: []
183
184
  require_paths:
184
185
  - lib
185
186
  required_ruby_version: !ruby/object:Gem::Requirement
186
- none: false
187
187
  requirements:
188
- - - ! '>='
188
+ - - ">="
189
189
  - !ruby/object:Gem::Version
190
- version: '0'
190
+ version: 1.9.1
191
191
  required_rubygems_version: !ruby/object:Gem::Requirement
192
- none: false
193
192
  requirements:
194
- - - ! '>='
193
+ - - ">="
195
194
  - !ruby/object:Gem::Version
196
195
  version: '0'
197
196
  requirements: []
198
197
  rubyforge_project:
199
- rubygems_version: 1.8.24
198
+ rubygems_version: 2.4.7
200
199
  signing_key:
201
- specification_version: 3
202
- summary: Mine beautiful RubyGems from Ore
200
+ specification_version: 4
201
+ summary: Generate perfect Ruby gems
203
202
  test_files: []