mattock 0.4.0 → 0.4.1

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.
@@ -46,6 +46,7 @@ module Mattock
46
46
 
47
47
  yield(t) if block_given?
48
48
  end
49
+ return task
49
50
  end
50
51
  end
51
52
 
@@ -8,6 +8,10 @@ describe Mattock::TemplateHost do
8
8
  end
9
9
  end
10
10
 
11
+ it "should handle relative paths nicely" do
12
+ Mattock::ValiseManager.rel_dir(__FILE__, "spec").should =~ /.*spec$/
13
+ end
14
+
11
15
  it "should be able to do easy templating" do
12
16
  template_host.templates_are_in(Mattock::ValiseManager.default_valise("spec_help"))
13
17
  template_host.render("test.erb").should == "Templated: A test value\n"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mattock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
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: 2013-03-30 00:00:00.000000000 Z
12
+ date: 2013-03-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: corundum
@@ -34,10 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: '0.9'
38
- segments:
39
- - 0
40
- - 9
37
+ version: 0.9.1
41
38
  type: :runtime
42
39
  prerelease: false
43
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -45,10 +42,7 @@ dependencies:
45
42
  requirements:
46
43
  - - ! '>='
47
44
  - !ruby/object:Gem::Version
48
- version: '0.9'
49
- segments:
50
- - 0
51
- - 9
45
+ version: 0.9.1
52
46
  - !ruby/object:Gem::Dependency
53
47
  name: tilt
54
48
  requirement: !ruby/object:Gem::Requirement
@@ -116,13 +110,13 @@ files:
116
110
  homepage: http://nyarly.github.com/mattock/
117
111
  licenses:
118
112
  - MIT
119
- post_install_message: Another tidy package brought to you by Judson
113
+ post_install_message:
120
114
  rdoc_options:
121
115
  - --inline-source
122
116
  - --main
123
117
  - doc/README
124
118
  - --title
125
- - mattock-0.4.0 RDoc
119
+ - mattock-0.4.1 RDoc
126
120
  require_paths:
127
121
  - lib/
128
122
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -133,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
127
  version: '0'
134
128
  segments:
135
129
  - 0
136
- hash: 725889327
130
+ hash: -492969553
137
131
  required_rubygems_version: !ruby/object:Gem::Requirement
138
132
  none: false
139
133
  requirements: