tarpaulin 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -1
- data/VERSION +1 -1
- data/lib/tarpaulin/camping/filter.rb +1 -2
- data/lib/tarpaulin/logger.rb +1 -3
- data/lib/tarpaulin/tilt/clearsilver_template.rb +2 -3
- data/tarpaulin.gemspec +2 -2
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -44,6 +44,7 @@ at the moment:
|
|
44
44
|
|
45
45
|
* hackety hack
|
46
46
|
|
47
|
+
* bin/rake -T
|
47
48
|
* bin/rake version:bump:X
|
48
49
|
* bin/rake gemspec
|
49
50
|
* git commit -m "all my hackz r kool"
|
@@ -51,6 +52,6 @@ at the moment:
|
|
51
52
|
|
52
53
|
== Copyright
|
53
54
|
|
54
|
-
Copyright (c) 2011 Anthony Durity. See LICENSE.txt for
|
55
|
+
Copyright (c) 2011/2012 Anthony Durity. See LICENSE.txt for
|
55
56
|
further details.
|
56
57
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.5
|
@@ -24,7 +24,6 @@ module CampingHooks
|
|
24
24
|
instance_eval <<-EOT
|
25
25
|
def #{hook_sym}(actions, &block)
|
26
26
|
actions = [actions] unless actions.respond_to?(:each)
|
27
|
-
#binding.pry
|
28
27
|
actions.each do |action|
|
29
28
|
set_hook_value(:#{hook_sym}, [action, block])
|
30
29
|
end
|
@@ -63,4 +62,4 @@ module CampingHooks
|
|
63
62
|
end
|
64
63
|
override_self
|
65
64
|
end
|
66
|
-
end
|
65
|
+
end
|
data/lib/tarpaulin/logger.rb
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
require 'logger'
|
2
2
|
require 'singleton'
|
3
3
|
|
4
|
-
require 'pry'
|
5
|
-
|
6
4
|
class ContextLogger < Logger
|
7
5
|
|
8
6
|
include Singleton
|
@@ -15,7 +13,7 @@ class ContextLogger < Logger
|
|
15
13
|
# puts context[:self].inspect
|
16
14
|
if context[:self]
|
17
15
|
klass = context[:self].class.to_s.split('::').last
|
18
|
-
if klass == "Object"
|
16
|
+
if klass == "Object"; klass = 'main' end
|
19
17
|
end
|
20
18
|
if context[:function]
|
21
19
|
if klass
|
@@ -8,7 +8,6 @@ require 'tilt/template'
|
|
8
8
|
# Tilt.register :rhtml, Tilt[:erubis]
|
9
9
|
|
10
10
|
require 'neo'
|
11
|
-
require 'pry'
|
12
11
|
|
13
12
|
module Tilt
|
14
13
|
# ClearSilver implementation. See:
|
@@ -94,9 +93,9 @@ module Tilt
|
|
94
93
|
# @engine.register_fileload(obj, method, locals) # call before parse_x, should use splat
|
95
94
|
end
|
96
95
|
@engine.parse_string @data # CS C API
|
97
|
-
#binding.pry
|
98
96
|
end
|
99
|
-
@output = @engine.render locals[:locale]
|
97
|
+
@output = @engine.render locals[:locale]
|
98
|
+
# @output = @engine.render locals[:locale] # it's actually called render in CS C API
|
100
99
|
end
|
101
100
|
|
102
101
|
end
|
data/tarpaulin.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "tarpaulin"
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Anthony Durity"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2012-06-20"
|
13
13
|
s.description = "So I don't have to copy and paste a million times."
|
14
14
|
s.email = "github@jollyrotten.org"
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tarpaulin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 5
|
10
|
+
version: 0.3.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Anthony Durity
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-06-20 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|