corundum 0.0.19 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,36 @@
1
+ # vim: set ft=ruby :
2
+ require 'corundum/tasklibs'
3
+
4
+ module Corundum
5
+ Corundum::register_project(__FILE__)
6
+
7
+ tk = Toolkit.new
8
+
9
+ tk.in_namespace do
10
+ SkelFiles.new(tk)
11
+
12
+ sanity = GemspecSanity.new(tk)
13
+ QuestionableContent.new(tk) do |dbg|
14
+ dbg.words = %w{p debugger}
15
+ end
16
+ rspec = RSpec.new(tk)
17
+ cov = SimpleCov.new(tk, rspec) do |cov|
18
+ cov.threshold = 70
19
+ end
20
+
21
+ gem = GemBuilding.new(tk)
22
+ cutter = GemCutter.new(tk,gem)
23
+ email = Email.new(tk)
24
+ vc = Git.new(tk) do |vc|
25
+ vc.branch = "master"
26
+ end
27
+
28
+ yd = YARDoc.new(tk)
29
+
30
+ docs = DocumentationAssembly.new(tk, yd, rspec, cov)
31
+
32
+ pages = GithubPages.new(docs)
33
+ end
34
+ end
35
+
36
+ task :default => [:release, :publish_docs]
@@ -0,0 +1,91 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = "mattock"
3
+ spec.version = "0.2.13"
4
+ author_list = {
5
+ "Judson Lester" => "nyarly@gmail.com"
6
+ }
7
+ spec.authors = author_list.keys
8
+ spec.email = spec.authors.map {|name| author_list[name]}
9
+ spec.summary = "A powerful companion to Rake"
10
+ spec.description = <<-EndDescription
11
+ If Rake won't do it by itself, you oughtta Mattock.
12
+
13
+ If you survived the pun, you might enjoy this gem.
14
+
15
+ Features:
16
+
17
+ * Extensions to Tasklibs to support powerful deerpaths.
18
+ * A commandline library that supports mocking for tests.
19
+ * A module to support common templating patterns
20
+
21
+ EndDescription
22
+
23
+ spec.rubyforge_project= spec.name.downcase
24
+ spec.homepage = "http://nyarly.github.com/mattock/"
25
+ spec.required_rubygems_version = Gem::Requirement.new(">= 0") if spec.respond_to? :required_rubygems_version=
26
+
27
+ # Do this: y$@"
28
+ # !!find lib bin doc spec spec_help -not -regex '.*\.sw.' -type f 2>/dev/null
29
+ spec.files = %w[
30
+ yard_templates/default/module/setup.rb
31
+ yard_templates/default/module/html/setting_summary.erb
32
+ yard_templates/default/module/html/settings.erb
33
+ yard_templates/default/module/html/task_definition.erb
34
+ yard_templates/default/layout/html/setup.rb
35
+ yard_templates/default/layout/html/tasklib_list.erb
36
+ lib/mattock/command-line.rb
37
+ lib/mattock/command-task.rb
38
+ lib/mattock/testing/rake-example-group.rb
39
+ lib/mattock/testing/mock-command-line.rb
40
+ lib/mattock/testing/record-commands.rb
41
+ lib/mattock/template-host.rb
42
+ lib/mattock/yard_extensions.rb
43
+ lib/mattock/remote-command-task.rb
44
+ lib/mattock/tasklib.rb
45
+ lib/mattock/task.rb
46
+ lib/mattock/configurable.rb
47
+ lib/mattock/configuration-store.rb
48
+ lib/mattock/cascading-definition.rb
49
+ lib/mattock.rb
50
+ doc/README
51
+ doc/Specifications
52
+ spec/command-line.rb
53
+ spec/command-task.rb
54
+ spec/tasklib.rb
55
+ spec/configurable.rb
56
+ spec/configuration-store.rb
57
+ spec/yard-extensions.rb
58
+ spec/template-host.rb
59
+ spec_help/spec_helper.rb
60
+ spec_help/gem_test_suite.rb
61
+ ]
62
+
63
+ spec.test_file = "spec_help/gem_test_suite.rb"
64
+ spec.licenses = ["MIT"]
65
+ spec.require_paths = %w[lib/]
66
+ spec.rubygems_version = "1.3.5"
67
+
68
+ if spec.respond_to? :specification_version then
69
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
70
+ spec.specification_version = 3
71
+
72
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
73
+ spec.add_development_dependency "corundum", "~> 0.0.1"
74
+ else
75
+ spec.add_development_dependency "corundum", "~> 0.0.1"
76
+ end
77
+ else
78
+ spec.add_development_dependency "corundum", "~> 0.0.1"
79
+ end
80
+
81
+ spec.has_rdoc = true
82
+ spec.extra_rdoc_files = Dir.glob("doc/**/*")
83
+ spec.rdoc_options = %w{--inline-source }
84
+ spec.rdoc_options += %w{--main doc/README }
85
+ spec.rdoc_options += ["--title", "#{spec.name}-#{spec.version} RDoc"]
86
+
87
+ spec.add_dependency("valise", ">= 0.6")
88
+ spec.add_dependency("tilt", "> 0")
89
+
90
+ spec.post_install_message = "Another tidy package brought to you by Judson"
91
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corundum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-09-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: corundum
16
- requirement: &88693090 !ruby/object:Gem::Requirement
16
+ requirement: &79495360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.0.1
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *88693090
24
+ version_requirements: *79495360
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake-rubygems
27
- requirement: &88689260 !ruby/object:Gem::Requirement
27
+ requirement: &79493680 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.2.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *88689260
35
+ version_requirements: *79493680
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rdoc
38
- requirement: &88688590 !ruby/object:Gem::Requirement
38
+ requirement: &79493320 !ruby/object:Gem::Requirement
39
39
  none: true
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *88688590
46
+ version_requirements: *79493320
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: yard
49
- requirement: &88687910 !ruby/object:Gem::Requirement
49
+ requirement: &79492940 !ruby/object:Gem::Requirement
50
50
  none: true
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *88687910
57
+ version_requirements: *79492940
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: mailfactory
60
- requirement: &88703350 !ruby/object:Gem::Requirement
60
+ requirement: &79492340 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -69,10 +69,10 @@ dependencies:
69
69
  - 0
70
70
  type: :runtime
71
71
  prerelease: false
72
- version_requirements: *88703350
72
+ version_requirements: *79492340
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rspec
75
- requirement: &88702960 !ruby/object:Gem::Requirement
75
+ requirement: &79491770 !ruby/object:Gem::Requirement
76
76
  none: false
77
77
  requirements:
78
78
  - - ! '>='
@@ -83,10 +83,10 @@ dependencies:
83
83
  - 0
84
84
  type: :runtime
85
85
  prerelease: false
86
- version_requirements: *88702960
86
+ version_requirements: *79491770
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: simplecov
89
- requirement: &88702330 !ruby/object:Gem::Requirement
89
+ requirement: &79507520 !ruby/object:Gem::Requirement
90
90
  none: false
91
91
  requirements:
92
92
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  - 4
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *88702330
101
+ version_requirements: *79507520
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: bundler
104
- requirement: &88701860 !ruby/object:Gem::Requirement
104
+ requirement: &79507090 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -113,10 +113,10 @@ dependencies:
113
113
  - 0
114
114
  type: :runtime
115
115
  prerelease: false
116
- version_requirements: *88701860
116
+ version_requirements: *79507090
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: nokogiri
119
- requirement: &88701490 !ruby/object:Gem::Requirement
119
+ requirement: &79506850 !ruby/object:Gem::Requirement
120
120
  none: true
121
121
  requirements:
122
122
  - - ! '>='
@@ -124,10 +124,10 @@ dependencies:
124
124
  version: '0'
125
125
  type: :runtime
126
126
  prerelease: false
127
- version_requirements: *88701490
127
+ version_requirements: *79506850
128
128
  - !ruby/object:Gem::Dependency
129
129
  name: mattock
130
- requirement: &88700960 !ruby/object:Gem::Requirement
130
+ requirement: &79506440 !ruby/object:Gem::Requirement
131
131
  none: false
132
132
  requirements:
133
133
  - - ! '>='
@@ -135,10 +135,10 @@ dependencies:
135
135
  version: 0.2.13
136
136
  type: :runtime
137
137
  prerelease: false
138
- version_requirements: *88700960
138
+ version_requirements: *79506440
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: sass
141
- requirement: &88700580 !ruby/object:Gem::Requirement
141
+ requirement: &79506120 !ruby/object:Gem::Requirement
142
142
  none: false
143
143
  requirements:
144
144
  - - ! '>='
@@ -149,10 +149,10 @@ dependencies:
149
149
  - 1
150
150
  type: :runtime
151
151
  prerelease: false
152
- version_requirements: *88700580
152
+ version_requirements: *79506120
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: compass
155
- requirement: &88700200 !ruby/object:Gem::Requirement
155
+ requirement: &79505810 !ruby/object:Gem::Requirement
156
156
  none: false
157
157
  requirements:
158
158
  - - ! '>='
@@ -164,7 +164,7 @@ dependencies:
164
164
  - 1
165
165
  type: :runtime
166
166
  prerelease: false
167
- version_requirements: *88700200
167
+ version_requirements: *79505810
168
168
  description: ! " A corundum is a synthetic gemstone - including synthetic rubies.
169
169
  \ Ergo: a tool for synthesizing gems.\n\n Corundum starts with the outlook that
170
170
  gemspecs are relatively easy to work with, and that the opinion of the RubyGems
@@ -259,6 +259,8 @@ files:
259
259
  - lib/corundum/version_control/monotone.rb
260
260
  - lib/corundum/version_control/git.rb
261
261
  - lib/corundum/default_configuration/preferences.yaml
262
+ - lib/corundum/default_configuration/example-rakefile
263
+ - lib/corundum/default_configuration/skel-files/gemspec
262
264
  - lib/corundum/default_configuration/templates/doc_assembly/index.html.erb
263
265
  - lib/corundum/default_configuration/templates/doc_assembly/theme/sass/styles.scss
264
266
  - lib/corundum/default_configuration/templates/doc_assembly/theme/stylesheets/pygment_trac.css
@@ -329,7 +331,7 @@ licenses:
329
331
  post_install_message:
330
332
  rdoc_options:
331
333
  - --title
332
- - corundum-0.0.19 RDoc
334
+ - corundum-0.0.20 RDoc
333
335
  require_paths:
334
336
  - lib/
335
337
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -340,7 +342,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
340
342
  version: '0'
341
343
  segments:
342
344
  - 0
343
- hash: -308799359
345
+ hash: -74820749
344
346
  required_rubygems_version: !ruby/object:Gem::Requirement
345
347
  none: false
346
348
  requirements: