corundum 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +23 -58
- data/doc/README +57 -0
- data/lib/corundum/default_configuration/templates/doc_assembly/index.html.erb +33 -21
- data/lib/corundum/documentation/assembly.rb +27 -6
- data/lib/corundum/documentation/yardoc.rb +1 -1
- data/lib/corundum/rspec-task.rb +1 -2
- data/lib/corundum/rspec.rb +16 -7
- data/lib/corundum/simplecov.rb +4 -2
- metadata +138 -101
data/README.md
CHANGED
@@ -8,71 +8,36 @@ With Corudum added as a developement dependancy to your gemspec, and configured
|
|
8
8
|
|
9
9
|
and know that you're publishing something you won't be embarrassed by.
|
10
10
|
|
11
|
-
###
|
11
|
+
### What is it?
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
how. For that, check out Jeweler, and come back once you've understood what a
|
16
|
-
.gemspec is and how it works.
|
13
|
+
Corundum is a set of Rake tasklibs built so that you can set up safeguards on
|
14
|
+
your gem deployment so that your deploys won't distress your users.
|
17
15
|
|
18
|
-
|
16
|
+
The tasklibs are built to be extremely flexible and terse, so that they can
|
17
|
+
conform to your build process, rather than the other way around.
|
19
18
|
|
20
|
-
|
21
|
-
actually quite difficult. There are lot of fiddly details to get wrong, and
|
22
|
-
even experienced devs can be doofuses sometimes. Corundum serves as a
|
23
|
-
collection of safeguards against common errors in releasing gems - certainly
|
24
|
-
every one that's happened to me.
|
19
|
+
### Why do I care?
|
25
20
|
|
26
|
-
|
21
|
+
Have you ever released a gem that:
|
27
22
|
|
28
|
-
|
23
|
+
* Didn't pass its own specs?
|
24
|
+
* Were poorly tested?
|
25
|
+
* Depended on gems that weren't released yet?
|
26
|
+
* Didn't include all their source files?
|
27
|
+
* Included tons of files that weren't actually part of the gem?
|
28
|
+
* Still had a p or debugger line hanging around?
|
29
|
+
* Weren't commited and pushed to github?
|
30
|
+
* Weren't tagged with their version on github?
|
29
31
|
|
30
|
-
|
32
|
+
If so, Corundum is for you.
|
31
33
|
|
32
|
-
|
34
|
+
Have you ever been irritated with a gem packaging system that
|
33
35
|
|
34
|
-
|
36
|
+
* Did the easy parts and left you to figure out the hard things?
|
37
|
+
* Imposed it's own ideas about how to organize your gem?
|
38
|
+
* Relied heavily on code generation?
|
39
|
+
* Wouldn't let you use Rake as it was intended?
|
35
40
|
|
36
|
-
|
41
|
+
If so, Corundum is for you.
|
37
42
|
|
38
|
-
|
39
|
-
|
40
|
-
require 'corundum/tasklibs'
|
41
|
-
|
42
|
-
module Corundum
|
43
|
-
tk = Toolkit.new do |tk|
|
44
|
-
end
|
45
|
-
|
46
|
-
tk.in_namespace do
|
47
|
-
sanity = GemspecSanity.new(tk)
|
48
|
-
rspec = RSpec.new(tk)
|
49
|
-
cov = SimpleCov.new(tk, rspec) do |cov|
|
50
|
-
cov.threshold = 55
|
51
|
-
end
|
52
|
-
gem = GemBuilding.new(tk)
|
53
|
-
cutter = GemCutter.new(tk,gem)
|
54
|
-
email = Email.new(tk)
|
55
|
-
vc = Git.new(tk) do |vc|
|
56
|
-
vc.branch = "master"
|
57
|
-
end
|
58
|
-
task tk.finished_files.build => vc["is_checked_in"]
|
59
|
-
docs = YARDoc.new(tk) do |yd|
|
60
|
-
yd.extra_files = ["Rakefile"]
|
61
|
-
end
|
62
|
-
pages = GithubPages.new(docs)
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
That's the whole thing. Now 'rake release' will push the current version of
|
67
|
-
the gem, but only if we can go through a complete a correct QA process.
|
68
|
-
(Incidentally, that's the Rakefile for Corundum itself.)
|
69
|
-
|
70
|
-
The other goal with Corundum is to present all of these tools as
|
71
|
-
configurable Tasklibs, so the power of Rake remains available. If you want
|
72
|
-
to do
|
73
|
-
|
74
|
-
task :default => :release
|
75
|
-
|
76
|
-
Then 'rake' will do your releases.
|
77
|
-
|
78
|
-
Digging in, the first thing to look at is {Corundum::Toolkit}
|
43
|
+
[Learn more](http://nyarly.github.com/corundum/)
|
data/doc/README
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
== Corundum
|
2
|
+
=== Foolproof rubygems
|
3
|
+
|
4
|
+
With Corudum added as a developement dependancy to your gemspec, and configured
|
5
|
+
(quickly) in your Rakefile you can do:
|
6
|
+
|
7
|
+
rake release
|
8
|
+
|
9
|
+
and know that you're publishing something you won't be embarrassed by.
|
10
|
+
|
11
|
+
=== Yet Another Rubygems packager?
|
12
|
+
|
13
|
+
Why is Corundum different from Jeweler or Hoe? (or...) Corundum isn't built
|
14
|
+
to generate code - it doesn't build gems for you if you don't know how or don't
|
15
|
+
care to. For that, check out {http://rubygems.org/gems/jeweler Jeweler}, and
|
16
|
+
come back once you've understood what a .gemspec is and how it works.
|
17
|
+
|
18
|
+
Because, really, writing a gem is pretty easy - you can do it in a gist if you
|
19
|
+
want. And releasing Gems isn't all that hard either - rubygems has good tools
|
20
|
+
to package up gems and push them to gem servers. So why Corundum?
|
21
|
+
|
22
|
+
Because releasing a gem that will actually help the Ruby community at large is
|
23
|
+
actually quite difficult. There are lot of fiddly details to get wrong, and
|
24
|
+
even experienced devs can be
|
25
|
+
{https://github.com/jbarnette/hoe-doofus/blob/master/lib/hoe/doofus.rb#L16
|
26
|
+
doofuses} sometimes. Corundum serves as a collection of safeguards against
|
27
|
+
common errors in releasing gems - certainly every one that's happened to me.
|
28
|
+
|
29
|
+
=== Using Corundum
|
30
|
+
|
31
|
+
In your coolgem.gemspec:
|
32
|
+
|
33
|
+
spec.add_development_dependency "corundum"
|
34
|
+
|
35
|
+
In you Gemfile:
|
36
|
+
|
37
|
+
gemspec
|
38
|
+
|
39
|
+
(But you were doing that anyway, right?)
|
40
|
+
|
41
|
+
Check out this Rakefile:
|
42
|
+
|
43
|
+
{include:file:Rakefile.rb}
|
44
|
+
|
45
|
+
That's the whole thing. Now 'rake release' will push the current version of
|
46
|
+
the gem, but only if we can go through a complete a correct QA process.
|
47
|
+
(Incidentally, that's the Rakefile for Corundum itself.)
|
48
|
+
|
49
|
+
The other goal with Corundum is to present all of these tools as
|
50
|
+
configurable Tasklibs, so the power of Rake remains available. If you want
|
51
|
+
to do
|
52
|
+
|
53
|
+
task :default => :release
|
54
|
+
|
55
|
+
Then 'rake' will do your releases.
|
56
|
+
|
57
|
+
Digging in, the first thing to look at is {Corundum::Toolkit}
|
@@ -1,28 +1,40 @@
|
|
1
1
|
<html>
|
2
2
|
<head>
|
3
|
+
<link rel="stylesheet" href="stylesheet.css" type="text/css" />
|
4
|
+
<title><%= gemspec.name.sub(/./){|ch| ch.upcase} %> <%=gemspec.version %></title>
|
3
5
|
</head>
|
4
6
|
<body>
|
5
|
-
<div class="
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
<
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
7
|
+
<div class="wrapper">
|
8
|
+
<header>
|
9
|
+
<div class="headers">
|
10
|
+
<h1><%= gemspec.name.sub(/./){|ch| ch.upcase} %></h1>
|
11
|
+
<h2><%= gemspec.summary %></h2>
|
12
|
+
<h2>(current version: <%= gemspec.version %>)</h2>
|
13
|
+
</div>
|
14
|
+
</header>
|
15
|
+
<section>
|
16
|
+
<p><%= gemspec.description.gsub(/\n\s*\n/, "</p><p>") %></p>
|
17
|
+
</section>
|
18
|
+
<section class="documentation-list">
|
19
|
+
<p>Documentation is in a few sections:</p>
|
20
|
+
<ul>
|
21
|
+
<% documenters.each_pair do |path, doccer| %>
|
22
|
+
<li><a href="<%= doccer.entry_link %>"><%= doccer.title%></a></li>
|
23
|
+
<% end %>
|
24
|
+
<% external_docs.each_pair do |name, link| %>
|
25
|
+
<li><a href="<%= link %>"><%= name %></a></li>
|
26
|
+
<% end %>
|
27
|
+
</ul>
|
28
|
+
</section>
|
29
|
+
<section class="credits">
|
30
|
+
<h2>Authors</h2>
|
31
|
+
<dl>
|
32
|
+
<% gemspec.authors.zip(gemspec.email).each do |author, email| %>
|
33
|
+
<dt><%= author %></dt>
|
34
|
+
<dd><%= email %></dd>
|
35
|
+
<% end %>
|
36
|
+
</dl>
|
37
|
+
</section>
|
26
38
|
</div>
|
27
39
|
</body>
|
28
40
|
</html>
|
@@ -1,20 +1,35 @@
|
|
1
1
|
require 'corundum/documentation-task'
|
2
2
|
require 'mattock/template-host'
|
3
|
+
require 'compass'
|
3
4
|
|
4
5
|
module Corundum
|
5
6
|
class DocumentationAssembly < DocumentationTask
|
6
|
-
include Mattock::
|
7
|
+
include Mattock::TemplateTaskLib
|
7
8
|
|
8
9
|
title 'Assembled Documentation'
|
9
10
|
|
10
11
|
setting :sub_dir, "assembled"
|
11
12
|
setting :documenters, []
|
12
13
|
setting :extra_data, {}
|
14
|
+
setting :external_docs, {}
|
15
|
+
setting :stylesheet
|
16
|
+
setting :css_dir, "stylesheets"
|
17
|
+
setting :compass_config, nested(
|
18
|
+
:http_path => "/",
|
19
|
+
:line_comments => false,
|
20
|
+
:preferred_syntax => :scss,
|
21
|
+
:http_stylesheets_path => nil,
|
22
|
+
:project_path => nil,
|
23
|
+
:images_dir => 'images',
|
24
|
+
)
|
13
25
|
|
14
26
|
def default_configuration(toolkit, *documenters)
|
15
27
|
super(toolkit)
|
16
28
|
self.documenters = documenters
|
17
29
|
self.valise = Corundum::configuration_store.valise
|
30
|
+
|
31
|
+
self.compass_config.http_stylesheets_path = css_dir
|
32
|
+
self.compass_config.project_path = template_path("doc_assembly/theme")
|
18
33
|
end
|
19
34
|
|
20
35
|
def resolve_configuration
|
@@ -22,6 +37,9 @@ module Corundum
|
|
22
37
|
self.documenters = documenters.each_with_object({}) do |doccer, hash|
|
23
38
|
hash[File::join(target_dir, doccer.sub_dir)] = doccer
|
24
39
|
end
|
40
|
+
if unset?(stylesheet)
|
41
|
+
self.stylesheet = File::join(target_dir, "stylesheet.css")
|
42
|
+
end
|
25
43
|
end
|
26
44
|
|
27
45
|
|
@@ -43,12 +61,15 @@ module Corundum
|
|
43
61
|
#Colision of doc groups
|
44
62
|
task :collect => documenters.keys
|
45
63
|
|
46
|
-
|
47
|
-
|
48
|
-
File::open(entry_point, "w") do |file|
|
49
|
-
file.write(render("doc_assembly/index.html.erb"))
|
50
|
-
end
|
64
|
+
task :setup_compass do
|
65
|
+
Compass.add_configuration(compass_config.to_hash, __FILE__)
|
51
66
|
end
|
67
|
+
|
68
|
+
template_task("doc_assembly/stylesheet.scss", stylesheet, Compass.sass_engine_options)
|
69
|
+
file stylesheet => [:setup_compass, target_dir]
|
70
|
+
|
71
|
+
template_task("doc_assembly/index.html.erb", entry_point)
|
72
|
+
file entry_point => [stylesheet, target_dir, :collect]
|
52
73
|
end
|
53
74
|
super
|
54
75
|
end
|
data/lib/corundum/rspec-task.rb
CHANGED
@@ -11,7 +11,7 @@ module Corundum
|
|
11
11
|
|
12
12
|
setting :runner_command
|
13
13
|
|
14
|
-
required_fields :pattern, :ruby_opts, :
|
14
|
+
required_fields :pattern, :ruby_opts, :rspec_opts,
|
15
15
|
:warning, :rspec_path, :rspec_opts, :failure_message, :files_to_run,
|
16
16
|
:file_dependencies
|
17
17
|
|
@@ -21,7 +21,6 @@ module Corundum
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def resolve_configuration
|
24
|
-
self.rspec_configs = rspec_opts
|
25
24
|
self.rspec_path = %x"which #{rspec_path}".chomp
|
26
25
|
|
27
26
|
ruby_command.options << ruby_opts if ruby_opts
|
data/lib/corundum/rspec.rb
CHANGED
@@ -9,13 +9,12 @@ module Corundum
|
|
9
9
|
settings(
|
10
10
|
:sub_dir => "rspec",
|
11
11
|
:pattern => './spec{,/*/**}/*_spec.rb',
|
12
|
-
:rspec_configs => nil,
|
13
12
|
:rspec_opts => nil,
|
14
13
|
:warning => false,
|
15
14
|
:verbose => true,
|
16
15
|
:ruby_opts => [],
|
17
16
|
:rspec_path => 'rspec',
|
18
|
-
:rspec_opts =>
|
17
|
+
:rspec_opts => [],
|
19
18
|
:failure_message => "Spec examples failed.",
|
20
19
|
:files_to_run => "spec"
|
21
20
|
)
|
@@ -29,28 +28,38 @@ module Corundum
|
|
29
28
|
|
30
29
|
def resolve_configuration
|
31
30
|
#XXX Que?
|
32
|
-
self.rspec_configs = rspec_opts
|
33
|
-
self.rspec_opts = []
|
34
31
|
self.rspec_path = %x"which #{rspec_path}".chomp
|
35
32
|
self.file_dependencies = file_lists.code + file_lists.test + file_lists.project
|
36
33
|
super
|
37
34
|
end
|
38
35
|
|
36
|
+
def test_task(name)
|
37
|
+
RSpecTask.new(self, name) do |t|
|
38
|
+
yield(t) if block_given?
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def doc_task(name)
|
43
|
+
RSpecReportTask.new(self, name) do |t|
|
44
|
+
yield(t) if block_given?
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
39
48
|
def define
|
40
49
|
super
|
41
50
|
in_namespace do
|
42
51
|
desc "Always run every spec"
|
43
|
-
|
52
|
+
test_task(:all)
|
44
53
|
|
45
54
|
desc "Generate specifications documentation"
|
46
|
-
|
55
|
+
doc_task(:doc) do |t|
|
47
56
|
t.rspec_opts = %w{-o /dev/null -f h -o} + [t.doc_path]
|
48
57
|
t.failure_message = "Failed generating specification docs"
|
49
58
|
end
|
50
59
|
file entry_path => :doc
|
51
60
|
|
52
61
|
desc "Run only failing examples listed in last_run"
|
53
|
-
|
62
|
+
test_task(:quick) do |t|
|
54
63
|
examples = []
|
55
64
|
begin
|
56
65
|
File.open("last_run", "r") do |fail_list|
|
data/lib/corundum/simplecov.rb
CHANGED
@@ -23,6 +23,8 @@ module Corundum
|
|
23
23
|
/\.rb$/ =~ path
|
24
24
|
end)
|
25
25
|
|
26
|
+
setting(:test_options, [])
|
27
|
+
|
26
28
|
def default_configuration(toolkit, testlib)
|
27
29
|
super(toolkit)
|
28
30
|
self.test_lib = testlib
|
@@ -73,8 +75,8 @@ module Corundum
|
|
73
75
|
File::read(config_path) =~ /coverage_dir.*#{target_dir}/ or fail ".simplecov doesn't refer to #{target_dir}"
|
74
76
|
end
|
75
77
|
|
76
|
-
|
77
|
-
t.rspec_opts += %w{-r simplecov}
|
78
|
+
@test_lib.doc_task(:report => [:config_exists] + all_files) do |t|
|
79
|
+
t.rspec_opts += test_options + %w{-r simplecov}
|
78
80
|
end
|
79
81
|
file entry_path => :report
|
80
82
|
|
metadata
CHANGED
@@ -1,150 +1,187 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: corundum
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.16
|
4
5
|
prerelease:
|
5
|
-
version: 0.0.15
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Judson Lester
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-05-16 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
16
15
|
name: corundum
|
17
|
-
requirement: &
|
16
|
+
requirement: &79741460 !ruby/object:Gem::Requirement
|
18
17
|
none: false
|
19
|
-
requirements:
|
18
|
+
requirements:
|
20
19
|
- - ~>
|
21
|
-
- !ruby/object:Gem::Version
|
20
|
+
- !ruby/object:Gem::Version
|
22
21
|
version: 0.0.1
|
23
22
|
type: :development
|
24
23
|
prerelease: false
|
25
|
-
version_requirements: *
|
26
|
-
- !ruby/object:Gem::Dependency
|
24
|
+
version_requirements: *79741460
|
25
|
+
- !ruby/object:Gem::Dependency
|
27
26
|
name: rake-rubygems
|
28
|
-
requirement: &
|
27
|
+
requirement: &79740310 !ruby/object:Gem::Requirement
|
29
28
|
none: false
|
30
|
-
requirements:
|
31
|
-
- -
|
32
|
-
- !ruby/object:Gem::Version
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
33
32
|
version: 0.2.0
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
|
-
version_requirements: *
|
37
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *79740310
|
36
|
+
- !ruby/object:Gem::Dependency
|
38
37
|
name: rdoc
|
39
|
-
requirement: &
|
38
|
+
requirement: &79739960 !ruby/object:Gem::Requirement
|
40
39
|
none: true
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version:
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
45
44
|
type: :runtime
|
46
45
|
prerelease: false
|
47
|
-
version_requirements: *
|
48
|
-
- !ruby/object:Gem::Dependency
|
46
|
+
version_requirements: *79739960
|
47
|
+
- !ruby/object:Gem::Dependency
|
49
48
|
name: yard
|
50
|
-
requirement: &
|
49
|
+
requirement: &79739540 !ruby/object:Gem::Requirement
|
51
50
|
none: true
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version:
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
56
55
|
type: :runtime
|
57
56
|
prerelease: false
|
58
|
-
version_requirements: *
|
59
|
-
- !ruby/object:Gem::Dependency
|
57
|
+
version_requirements: *79739540
|
58
|
+
- !ruby/object:Gem::Dependency
|
60
59
|
name: mailfactory
|
61
|
-
requirement: &
|
60
|
+
requirement: &79738860 !ruby/object:Gem::Requirement
|
62
61
|
none: false
|
63
|
-
requirements:
|
62
|
+
requirements:
|
64
63
|
- - ~>
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 1.4.0
|
66
|
+
segments:
|
67
67
|
- 1
|
68
68
|
- 4
|
69
69
|
- 0
|
70
|
-
version: 1.4.0
|
71
70
|
type: :runtime
|
72
71
|
prerelease: false
|
73
|
-
version_requirements: *
|
74
|
-
- !ruby/object:Gem::Dependency
|
72
|
+
version_requirements: *79738860
|
73
|
+
- !ruby/object:Gem::Dependency
|
75
74
|
name: rspec
|
76
|
-
requirement: &
|
75
|
+
requirement: &79738570 !ruby/object:Gem::Requirement
|
77
76
|
none: false
|
78
|
-
requirements:
|
79
|
-
- -
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
|
77
|
+
requirements:
|
78
|
+
- - ! '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '2.0'
|
81
|
+
segments:
|
82
82
|
- 2
|
83
83
|
- 0
|
84
|
-
version: "2.0"
|
85
84
|
type: :runtime
|
86
85
|
prerelease: false
|
87
|
-
version_requirements: *
|
88
|
-
- !ruby/object:Gem::Dependency
|
86
|
+
version_requirements: *79738570
|
87
|
+
- !ruby/object:Gem::Dependency
|
89
88
|
name: simplecov
|
90
|
-
requirement: &
|
89
|
+
requirement: &79738230 !ruby/object:Gem::Requirement
|
91
90
|
none: false
|
92
|
-
requirements:
|
93
|
-
- -
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
|
91
|
+
requirements:
|
92
|
+
- - ! '>='
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 0.5.4
|
95
|
+
segments:
|
96
96
|
- 0
|
97
97
|
- 5
|
98
98
|
- 4
|
99
|
-
version: 0.5.4
|
100
99
|
type: :runtime
|
101
100
|
prerelease: false
|
102
|
-
version_requirements: *
|
103
|
-
- !ruby/object:Gem::Dependency
|
101
|
+
version_requirements: *79738230
|
102
|
+
- !ruby/object:Gem::Dependency
|
104
103
|
name: bundler
|
105
|
-
requirement: &
|
104
|
+
requirement: &79737910 !ruby/object:Gem::Requirement
|
106
105
|
none: false
|
107
|
-
requirements:
|
106
|
+
requirements:
|
108
107
|
- - ~>
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 1.1.0
|
110
|
+
segments:
|
111
111
|
- 1
|
112
112
|
- 1
|
113
113
|
- 0
|
114
|
-
version: 1.1.0
|
115
114
|
type: :runtime
|
116
115
|
prerelease: false
|
117
|
-
version_requirements: *
|
118
|
-
- !ruby/object:Gem::Dependency
|
116
|
+
version_requirements: *79737910
|
117
|
+
- !ruby/object:Gem::Dependency
|
119
118
|
name: nokogiri
|
120
|
-
requirement: &
|
119
|
+
requirement: &79737670 !ruby/object:Gem::Requirement
|
121
120
|
none: true
|
122
|
-
requirements:
|
123
|
-
- -
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version:
|
121
|
+
requirements:
|
122
|
+
- - ! '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
126
125
|
type: :runtime
|
127
126
|
prerelease: false
|
128
|
-
version_requirements: *
|
129
|
-
- !ruby/object:Gem::Dependency
|
127
|
+
version_requirements: *79737670
|
128
|
+
- !ruby/object:Gem::Dependency
|
130
129
|
name: mattock
|
131
|
-
requirement: &
|
130
|
+
requirement: &79737300 !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
132
|
+
requirements:
|
133
|
+
- - ! '>='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: 0.2.11
|
136
|
+
segments:
|
137
|
+
- 0
|
138
|
+
- 2
|
139
|
+
- 11
|
140
|
+
type: :runtime
|
141
|
+
prerelease: false
|
142
|
+
version_requirements: *79737300
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: sass
|
145
|
+
requirement: &79736970 !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
147
|
+
requirements:
|
148
|
+
- - ! '>='
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '3.1'
|
151
|
+
segments:
|
152
|
+
- 3
|
153
|
+
- 1
|
154
|
+
type: :runtime
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: *79736970
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: compass
|
159
|
+
requirement: &79736650 !ruby/object:Gem::Requirement
|
132
160
|
none: false
|
133
|
-
requirements:
|
134
|
-
- -
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version: 0.
|
161
|
+
requirements:
|
162
|
+
- - ! '>='
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 0.12.1
|
137
165
|
type: :runtime
|
138
166
|
prerelease: false
|
139
|
-
version_requirements: *
|
140
|
-
description: " A corundum is a synthetic gemstone - including synthetic rubies.
|
141
|
-
|
167
|
+
version_requirements: *79736650
|
168
|
+
description: ! " A corundum is a synthetic gemstone - including synthetic rubies.
|
169
|
+
\ Ergo: a tool for synthesizing gems.\n\n Corundum starts with the outlook that
|
170
|
+
gemspecs are relatively easy to work with, and that the opinion of the RubyGems
|
171
|
+
team is that they should be treated as a configuration file, not a code file. Furthermore,
|
172
|
+
Rake is a powerful, easy to use tool, and does admit the use of Ruby code to get
|
173
|
+
the job done.\n\n The hard part about publishing gems is getting them into a state
|
174
|
+
you'll be proud of. There's dozens of fiddly steps to putting together a gem fit
|
175
|
+
for public consumption, and it's very easy to get some of them wrong.\n\n Corundum
|
176
|
+
is a collection of Rake tasklibs, therefore, that will perform the entire process
|
177
|
+
of releasing gems, including QA steps up front through generating and publishing
|
178
|
+
documentation.\n"
|
179
|
+
email:
|
142
180
|
- nyarly@gmail.com
|
143
181
|
executables: []
|
144
|
-
|
145
182
|
extensions: []
|
146
|
-
|
147
|
-
|
183
|
+
extra_rdoc_files:
|
184
|
+
- doc/README
|
148
185
|
- doc/Specifications
|
149
186
|
- doc/coverage/index.html
|
150
187
|
- doc/coverage/assets/0.5.3/highlight.css
|
@@ -196,7 +233,7 @@ extra_rdoc_files:
|
|
196
233
|
- doc/coverage/assets/0.5.3/jquery.timeago.js
|
197
234
|
- doc/coverage/assets/0.5.3/loading.gif
|
198
235
|
- doc/coverage/assets/0.5.3/jquery-1.6.2.min.js
|
199
|
-
files:
|
236
|
+
files:
|
200
237
|
- lib/corundum.rb
|
201
238
|
- lib/corundum/configuration-store.rb
|
202
239
|
- lib/corundum/core.rb
|
@@ -227,6 +264,7 @@ files:
|
|
227
264
|
- spec_help/gem_test_suite.rb
|
228
265
|
- spec_help/ungemmer.rb
|
229
266
|
- spec_help/file-sandbox.rb
|
267
|
+
- doc/README
|
230
268
|
- doc/Specifications
|
231
269
|
- doc/coverage/index.html
|
232
270
|
- doc/coverage/assets/0.5.3/highlight.css
|
@@ -279,35 +317,34 @@ files:
|
|
279
317
|
- doc/coverage/assets/0.5.3/loading.gif
|
280
318
|
- doc/coverage/assets/0.5.3/jquery-1.6.2.min.js
|
281
319
|
homepage: http://nyarly.github.com/corundum/
|
282
|
-
licenses:
|
320
|
+
licenses:
|
283
321
|
- MIT
|
284
322
|
post_install_message: Another tidy package brought to you by Judson
|
285
|
-
rdoc_options:
|
323
|
+
rdoc_options:
|
286
324
|
- --title
|
287
|
-
- corundum-0.0.
|
288
|
-
require_paths:
|
325
|
+
- corundum-0.0.16 RDoc
|
326
|
+
require_paths:
|
289
327
|
- lib/
|
290
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
328
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
291
329
|
none: false
|
292
|
-
requirements:
|
293
|
-
- -
|
294
|
-
- !ruby/object:Gem::Version
|
295
|
-
|
296
|
-
segments:
|
330
|
+
requirements:
|
331
|
+
- - ! '>='
|
332
|
+
- !ruby/object:Gem::Version
|
333
|
+
version: '0'
|
334
|
+
segments:
|
297
335
|
- 0
|
298
|
-
|
299
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
336
|
+
hash: 241424621
|
337
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
300
338
|
none: false
|
301
|
-
requirements:
|
302
|
-
- -
|
303
|
-
- !ruby/object:Gem::Version
|
304
|
-
version:
|
339
|
+
requirements:
|
340
|
+
- - ! '>='
|
341
|
+
- !ruby/object:Gem::Version
|
342
|
+
version: '0'
|
305
343
|
requirements: []
|
306
|
-
|
307
344
|
rubyforge_project: corundum
|
308
|
-
rubygems_version: 1.8.
|
345
|
+
rubygems_version: 1.8.15
|
309
346
|
signing_key:
|
310
347
|
specification_version: 3
|
311
348
|
summary: Tools for synthesizing rubygems
|
312
|
-
test_files:
|
349
|
+
test_files:
|
313
350
|
- spec_help/gem_test_suite.rb
|