ore 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.md +11 -0
- data/README.md +17 -2
- data/Rakefile +1 -1
- data/data/ore/templates/base/README.md.erb +1 -0
- data/data/ore/templates/base/README.rdoc.erb +3 -2
- data/data/ore/templates/base/README.tt.erb +3 -2
- data/data/ore/templates/bundler/_gitignore.erb +1 -0
- data/data/ore/templates/yard/_gemfile.erb +4 -3
- data/gemspec.yml +17 -2
- data/spec/generator_spec.rb +4 -0
- data/spec/helpers/generator.rb +12 -0
- data/spec/spec_helper.rb +1 -1
- metadata +22 -6
data/ChangeLog.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
### 0.4.1 / 2010-12-17
|
2
|
+
|
3
|
+
* Added a post-install message.
|
4
|
+
* Added links to [rubydoc.info](http://rubydoc.info) in the README
|
5
|
+
templates.
|
6
|
+
* Add `Gemfile.lock` to the generated `.gitignore` file when `--bundler`
|
7
|
+
is used.
|
8
|
+
* Use `platforms :jruby` and `platforms :ruby` to separate JRuby and
|
9
|
+
non-JRuby dependencies when generating the `Gemfile`.
|
10
|
+
* Fixed the link syntax in the TexTile README template.
|
11
|
+
|
1
12
|
### 0.4.0 / 2010-11-24
|
2
13
|
|
3
14
|
* Ore Template variables are now loaded from the `variables` Hash within
|
data/README.md
CHANGED
@@ -45,7 +45,7 @@ the developer to keep all of the project information in a single YAML file.
|
|
45
45
|
The `gemspec.yml` file used to build Ore:
|
46
46
|
|
47
47
|
name: ore
|
48
|
-
version: 0.4.
|
48
|
+
version: 0.4.1
|
49
49
|
summary: Mine raw RubyGems from YAML.
|
50
50
|
description:
|
51
51
|
Ore is a simple RubyGem building solution. Ore handles the
|
@@ -58,6 +58,21 @@ The `gemspec.yml` file used to build Ore:
|
|
58
58
|
email: postmodern.mod3@gmail.com
|
59
59
|
homepage: http://github.com/ruby-ore/ore
|
60
60
|
has_yard: true
|
61
|
+
post_install_message: |
|
62
|
+
**************************************************************************
|
63
|
+
Generate a new Ruby library:
|
64
|
+
|
65
|
+
$ mine my_library --rspec --ore-tasks
|
66
|
+
|
67
|
+
Build the library:
|
68
|
+
|
69
|
+
$ rake build
|
70
|
+
|
71
|
+
Release the library to rubygems.org:
|
72
|
+
|
73
|
+
$ rake release
|
74
|
+
|
75
|
+
**************************************************************************
|
61
76
|
|
62
77
|
dependencies:
|
63
78
|
ore-core: ~> 0.1.0
|
@@ -65,7 +80,7 @@ The `gemspec.yml` file used to build Ore:
|
|
65
80
|
|
66
81
|
development_dependencies:
|
67
82
|
ore-tasks: ~> 0.3.0
|
68
|
-
rspec: ~> 2.
|
83
|
+
rspec: ~> 2.3.0
|
69
84
|
yard: ~> 0.6.1
|
70
85
|
|
71
86
|
For a complete refrence to the `gemspec.yml` file, please see the
|
data/Rakefile
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
h1. <%= @name %>
|
2
2
|
|
3
3
|
<%- if @homepage -%>
|
4
|
-
*
|
4
|
+
* "Homepage":<%= @homepage %>
|
5
5
|
<%- end -%>
|
6
|
+
* "Documentation":http://rubydoc.info/gems/<%= @name %>
|
6
7
|
<%- if @safe_email -%>
|
7
|
-
*
|
8
|
+
* "Email":<%= @safe_email %>
|
8
9
|
<%- end -%>
|
9
10
|
|
10
11
|
h2. Description
|
@@ -0,0 +1 @@
|
|
1
|
+
Gemfile.lock
|
data/gemspec.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
name: ore
|
2
|
-
version: 0.4.
|
2
|
+
version: 0.4.1
|
3
3
|
summary: Mine raw RubyGems from YAML
|
4
4
|
description:
|
5
5
|
Ore is a simple RubyGem building solution. Ore handles the
|
@@ -12,6 +12,21 @@ authors: Postmodern
|
|
12
12
|
email: postmodern.mod3@gmail.com
|
13
13
|
homepage: http://github.com/ruby-ore/ore
|
14
14
|
has_yard: true
|
15
|
+
post_install_message: |
|
16
|
+
**************************************************************************
|
17
|
+
Generate a new Ruby library:
|
18
|
+
|
19
|
+
$ mine my_library --rspec --ore-tasks
|
20
|
+
|
21
|
+
Build the library:
|
22
|
+
|
23
|
+
$ rake build
|
24
|
+
|
25
|
+
Release the library to rubygems.org:
|
26
|
+
|
27
|
+
$ rake release
|
28
|
+
|
29
|
+
**************************************************************************
|
15
30
|
|
16
31
|
dependencies:
|
17
32
|
ore-core: ~> 0.1.0
|
@@ -19,5 +34,5 @@ dependencies:
|
|
19
34
|
|
20
35
|
development_dependencies:
|
21
36
|
ore-tasks: ~> 0.3.0
|
22
|
-
rspec: ~> 2.
|
37
|
+
rspec: ~> 2.3.0
|
23
38
|
yard: ~> 0.6.1
|
data/spec/generator_spec.rb
CHANGED
@@ -119,6 +119,10 @@ describe Generator do
|
|
119
119
|
it "should add 'bundler' as a development dependency" do
|
120
120
|
@gemspec['development_dependencies'].should have_key('bundler')
|
121
121
|
end
|
122
|
+
|
123
|
+
it "should add 'Gemfile.lock' to the .gitignore file" do
|
124
|
+
gitignore.should include('Gemfile.lock')
|
125
|
+
end
|
122
126
|
end
|
123
127
|
|
124
128
|
context "yard" do
|
data/spec/helpers/generator.rb
CHANGED
@@ -27,6 +27,18 @@ module Helpers
|
|
27
27
|
@path.join('.yardopts').read
|
28
28
|
end
|
29
29
|
|
30
|
+
def gitignore
|
31
|
+
lines = []
|
32
|
+
|
33
|
+
@path.join('.gitignore').read.each_line do |line|
|
34
|
+
unless (line.empty? && line =~ /\s*\#/)
|
35
|
+
lines << line.strip
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
return lines
|
40
|
+
end
|
41
|
+
|
30
42
|
def cleanup!
|
31
43
|
FileUtils.rm_r(ROOT)
|
32
44
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 4
|
8
|
-
-
|
9
|
-
version: 0.4.
|
8
|
+
- 1
|
9
|
+
version: 0.4.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Postmodern
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-12-17 00:00:00 -08:00
|
18
18
|
default_executable: ore
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -72,9 +72,9 @@ dependencies:
|
|
72
72
|
- !ruby/object:Gem::Version
|
73
73
|
segments:
|
74
74
|
- 2
|
75
|
-
-
|
75
|
+
- 3
|
76
76
|
- 0
|
77
|
-
version: 2.
|
77
|
+
version: 2.3.0
|
78
78
|
type: :development
|
79
79
|
version_requirements: *id004
|
80
80
|
- !ruby/object:Gem::Dependency
|
@@ -131,6 +131,7 @@ files:
|
|
131
131
|
- data/ore/templates/base/template.yml
|
132
132
|
- data/ore/templates/bundler/Gemfile.erb
|
133
133
|
- data/ore/templates/bundler/_development_dependencies.erb
|
134
|
+
- data/ore/templates/bundler/_gitignore.erb
|
134
135
|
- data/ore/templates/bundler/template.yml
|
135
136
|
- data/ore/templates/jeweler_tasks/_development_dependencies.erb
|
136
137
|
- data/ore/templates/jeweler_tasks/_gemfile.erb
|
@@ -174,7 +175,22 @@ has_rdoc: yard
|
|
174
175
|
homepage: http://github.com/ruby-ore/ore
|
175
176
|
licenses:
|
176
177
|
- MIT
|
177
|
-
post_install_message:
|
178
|
+
post_install_message: |
|
179
|
+
**************************************************************************
|
180
|
+
Generate a new Ruby library:
|
181
|
+
|
182
|
+
$ mine my_library --rspec --ore-tasks
|
183
|
+
|
184
|
+
Build the library:
|
185
|
+
|
186
|
+
$ rake build
|
187
|
+
|
188
|
+
Release the library to rubygems.org:
|
189
|
+
|
190
|
+
$ rake release
|
191
|
+
|
192
|
+
**************************************************************************
|
193
|
+
|
178
194
|
rdoc_options: []
|
179
195
|
|
180
196
|
require_paths:
|