inversion 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/Manifest.txt +45 -0
- data/lib/inversion.rb +2 -2
- data/lib/inversion/template/begintag.rb +122 -0
- data/lib/inversion/template/defaulttag.rb +135 -0
- data/lib/inversion/template/rescuetag.rb +92 -0
- data/lib/inversion/template/timedeltatag.rb +93 -0
- data/manual/layouts/default.erb +87 -0
- data/manual/lib/api-filter.rb +96 -0
- data/manual/lib/editorial-filter.rb +59 -0
- data/manual/lib/examples-filter.rb +238 -0
- data/manual/lib/links-filter.rb +111 -0
- data/manual/resources/css/manual.css +764 -0
- data/manual/resources/fonts/GraublauWeb.otf +0 -0
- data/manual/resources/fonts/GraublauWebBold.otf +0 -0
- data/manual/resources/fonts/Inconsolata.otf +0 -0
- data/manual/resources/images/arrow_225_small.png +0 -0
- data/manual/resources/images/arrow_315_small.png +0 -0
- data/manual/resources/images/arrow_skip.png +0 -0
- data/manual/resources/images/cc-by.png +0 -0
- data/manual/resources/images/dialog-error.png +0 -0
- data/manual/resources/images/dialog-information.png +0 -0
- data/manual/resources/images/dialog-warning.png +0 -0
- data/manual/resources/images/emblem-important.png +0 -0
- data/manual/resources/images/help.png +0 -0
- data/manual/resources/images/information.png +0 -0
- data/manual/resources/images/magnifier.png +0 -0
- data/manual/resources/images/magnifier_left.png +0 -0
- data/manual/resources/images/page_white_code.png +0 -0
- data/manual/resources/images/page_white_copy.png +0 -0
- data/manual/resources/images/printer.png +0 -0
- data/manual/resources/images/question.png +0 -0
- data/manual/resources/images/scripts_code.png +0 -0
- data/manual/resources/images/wrap.png +0 -0
- data/manual/resources/images/wrapping.png +0 -0
- data/manual/resources/js/jquery-1.4.4.min.js +167 -0
- data/manual/resources/js/manual.js +30 -0
- data/manual/resources/js/sh.js +580 -0
- data/manual/resources/swf/clipboard.swf +0 -0
- data/manual/src/examples.page +154 -0
- data/manual/src/gettingstarted.page +64 -0
- data/manual/src/index.page +97 -0
- data/manual/src/tags.page +501 -0
- data/manual/src/templates.page +74 -0
- data/spec/inversion/template/begintag_spec.rb +217 -0
- data/spec/inversion/template/defaulttag_spec.rb +60 -0
- data/spec/inversion/template/rescuetag_spec.rb +109 -0
- data/spec/inversion/template/timedeltatag_spec.rb +215 -0
- metadata +72 -27
- metadata.gz.sig +0 -0
@@ -0,0 +1,215 @@
|
|
1
|
+
#!/usr/bin/env rspec -cfd -b
|
2
|
+
# vim: set noet nosta sw=4 ts=4 :
|
3
|
+
|
4
|
+
BEGIN {
|
5
|
+
require 'pathname'
|
6
|
+
basedir = Pathname( __FILE__ ).dirname.parent.parent.parent
|
7
|
+
libdir = basedir + 'lib'
|
8
|
+
|
9
|
+
$LOAD_PATH.unshift( basedir.to_s ) unless $LOAD_PATH.include?( basedir.to_s )
|
10
|
+
$LOAD_PATH.unshift( libdir.to_s ) unless $LOAD_PATH.include?( libdir.to_s )
|
11
|
+
}
|
12
|
+
|
13
|
+
require 'rspec'
|
14
|
+
require 'spec/lib/helpers'
|
15
|
+
require 'inversion/template/timedeltatag'
|
16
|
+
|
17
|
+
describe Inversion::Template::TimeDeltaTag do
|
18
|
+
|
19
|
+
MINUTES = 60
|
20
|
+
HOURS = 60 * MINUTES
|
21
|
+
DAYS = 24 * HOURS
|
22
|
+
WEEKS = 7 * DAYS
|
23
|
+
MONTHS = 30 * DAYS
|
24
|
+
YEARS = 365.25 * DAYS
|
25
|
+
|
26
|
+
before( :all ) do
|
27
|
+
@real_tz = ENV['TZ']
|
28
|
+
|
29
|
+
# Make the timezone consistent for testing, using modern zone and
|
30
|
+
# falling back to old-style zones if the modern one doesn't seem to
|
31
|
+
# work.
|
32
|
+
ENV['TZ'] = 'US/Pacific'
|
33
|
+
ENV['TZ'] = 'PST8PDT' if Time.now.utc_offset.zero?
|
34
|
+
|
35
|
+
setup_logging( :fatal )
|
36
|
+
|
37
|
+
@past = "Fri Aug 20 08:21:35.1876455 -0700 2010"
|
38
|
+
@pasttime = Time.parse( @past )
|
39
|
+
@pastsecs = @pasttime.to_i
|
40
|
+
@pastdate = Date.parse( @past )
|
41
|
+
@pastdatetime = DateTime.parse( @past )
|
42
|
+
@now = Time.parse( "Sat Aug 21 08:21:35.1876455 -0700 2010" )
|
43
|
+
@future = "Sun Aug 22 08:21:35.1876455 -0700 2010"
|
44
|
+
@futuretime = Time.parse( @future )
|
45
|
+
@futuresecs = @futuretime.to_i
|
46
|
+
@futuredate = Date.parse( @future )
|
47
|
+
@futuredatetime = DateTime.parse( @future )
|
48
|
+
end
|
49
|
+
|
50
|
+
before( :each ) do
|
51
|
+
@tag = Inversion::Template::TimeDeltaTag.new( "foo" )
|
52
|
+
Time.stub( :now ).and_return( @now )
|
53
|
+
end
|
54
|
+
|
55
|
+
after( :all ) do
|
56
|
+
reset_logging()
|
57
|
+
ENV['TZ'] = @real_tz
|
58
|
+
end
|
59
|
+
|
60
|
+
|
61
|
+
it "renders the attribute as an approximate interval of time if it's a future Time object" do
|
62
|
+
renderstate = Inversion::RenderState.new( :foo => @futuretime )
|
63
|
+
@tag.render( renderstate ).should == "about a day from now"
|
64
|
+
end
|
65
|
+
|
66
|
+
it "renders the attribute as an approximate interval of time if it's a past Time object" do
|
67
|
+
renderstate = Inversion::RenderState.new( :foo => @pasttime )
|
68
|
+
@tag.render( renderstate ).should == "about a day ago"
|
69
|
+
end
|
70
|
+
|
71
|
+
it "renders the attribute as an approximate interval of time if it's a future Date object" do
|
72
|
+
renderstate = Inversion::RenderState.new( :foo => @futuredate )
|
73
|
+
@tag.render( renderstate ).should == "16 hours from now"
|
74
|
+
end
|
75
|
+
|
76
|
+
it "renders the attribute as an approximate interval of time if it's a past Date object" do
|
77
|
+
renderstate = Inversion::RenderState.new( :foo => @pastdate )
|
78
|
+
@tag.render( renderstate ).should == "2 days ago"
|
79
|
+
end
|
80
|
+
|
81
|
+
it "renders the attribute as an approximate interval of time if it's a future DateTime object" do
|
82
|
+
renderstate = Inversion::RenderState.new( :foo => @futuredatetime )
|
83
|
+
@tag.render( renderstate ).should == "about a day from now"
|
84
|
+
end
|
85
|
+
|
86
|
+
it "renders the attribute as an approximate interval of time if it's a past DateTime object" do
|
87
|
+
renderstate = Inversion::RenderState.new( :foo => @pastdatetime )
|
88
|
+
@tag.render( renderstate ).should == "about a day ago"
|
89
|
+
end
|
90
|
+
|
91
|
+
it "renders the attribute as an approximate interval of time if it's a future String object" do
|
92
|
+
renderstate = Inversion::RenderState.new( :foo => @future )
|
93
|
+
@tag.render( renderstate ).should == "about a day from now"
|
94
|
+
end
|
95
|
+
|
96
|
+
it "renders the attribute as an approximate interval of time if it's a past String object" do
|
97
|
+
renderstate = Inversion::RenderState.new( :foo => @past )
|
98
|
+
@tag.render( renderstate ).should == "about a day ago"
|
99
|
+
end
|
100
|
+
|
101
|
+
it "renders the attribute as an approximate interval of time if it's a future epoch Numeric" do
|
102
|
+
renderstate = Inversion::RenderState.new( :foo => @futuresecs )
|
103
|
+
@tag.render( renderstate ).should == "about a day from now"
|
104
|
+
end
|
105
|
+
|
106
|
+
it "renders the attribute as an approximate interval of time if it's a past epoch Numeric" do
|
107
|
+
renderstate = Inversion::RenderState.new( :foo => @pastsecs )
|
108
|
+
@tag.render( renderstate ).should == "about a day ago"
|
109
|
+
end
|
110
|
+
|
111
|
+
|
112
|
+
describe "time period calculation" do
|
113
|
+
|
114
|
+
before( :all ) do
|
115
|
+
@now_epoch = @now.to_i
|
116
|
+
end
|
117
|
+
|
118
|
+
it "renders a period of a minute or less as 'less than a minute'" do
|
119
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 44 )
|
120
|
+
@tag.render( renderstate ).should == "less than a minute from now"
|
121
|
+
end
|
122
|
+
|
123
|
+
it "renders a period of 58 seconds as 'a minute'" do
|
124
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 58 )
|
125
|
+
@tag.render( renderstate ).should == "a minute from now"
|
126
|
+
end
|
127
|
+
|
128
|
+
it "renders a period of 60 seconds as 'a minute'" do
|
129
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 60 )
|
130
|
+
@tag.render( renderstate ).should == "a minute from now"
|
131
|
+
end
|
132
|
+
|
133
|
+
it "renders a period of 68 seconds as 'a minute'" do
|
134
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 68 )
|
135
|
+
@tag.render( renderstate ).should == "a minute from now"
|
136
|
+
end
|
137
|
+
|
138
|
+
it "renders a period of 93 seconds as '2 minutes'" do
|
139
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 93 )
|
140
|
+
@tag.render( renderstate ).should == "2 minutes from now"
|
141
|
+
end
|
142
|
+
|
143
|
+
it "renders a period of 30 minutes as '30 minutes'" do
|
144
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 30 * MINUTES )
|
145
|
+
@tag.render( renderstate ).should == "30 minutes from now"
|
146
|
+
end
|
147
|
+
|
148
|
+
it "renders a period of 58 minutes as 'about an hour'" do
|
149
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 58 * MINUTES )
|
150
|
+
@tag.render( renderstate ).should == "about an hour from now"
|
151
|
+
end
|
152
|
+
|
153
|
+
it "renders a period of 89 minutes as 'about an hour'" do
|
154
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 89 * MINUTES )
|
155
|
+
@tag.render( renderstate ).should == "about an hour from now"
|
156
|
+
end
|
157
|
+
|
158
|
+
it "renders a period of 95 minutes as '2 hours'" do
|
159
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 95 * MINUTES )
|
160
|
+
@tag.render( renderstate ).should == "2 hours from now"
|
161
|
+
end
|
162
|
+
|
163
|
+
it "renders a period of 17 hours as '17 hours'" do
|
164
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 17 * HOURS )
|
165
|
+
@tag.render( renderstate ).should == "17 hours from now"
|
166
|
+
end
|
167
|
+
|
168
|
+
it "renders a period of 20 hours as 'about a day'" do
|
169
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 20 * HOURS )
|
170
|
+
@tag.render( renderstate ).should == "about a day from now"
|
171
|
+
end
|
172
|
+
|
173
|
+
it "renders a period of 6 days as '6 days'" do
|
174
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 6 * DAYS )
|
175
|
+
@tag.render( renderstate ).should == "6 days from now"
|
176
|
+
end
|
177
|
+
|
178
|
+
it "renders a period of 11 days as 'about a week'" do
|
179
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 11 * DAYS )
|
180
|
+
@tag.render( renderstate ).should == "about a week from now"
|
181
|
+
end
|
182
|
+
|
183
|
+
it "renders a period of 18 days as '3 weeks'" do
|
184
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 18 * DAYS )
|
185
|
+
@tag.render( renderstate ).should == "3 weeks from now"
|
186
|
+
end
|
187
|
+
|
188
|
+
it "renders a period of 10 weeks as '10 weeks'" do
|
189
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 10 * WEEKS )
|
190
|
+
@tag.render( renderstate ).should == "10 weeks from now"
|
191
|
+
end
|
192
|
+
|
193
|
+
it "renders a period of 4 months as '4 months'" do
|
194
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 4 * MONTHS )
|
195
|
+
@tag.render( renderstate ).should == "4 months from now"
|
196
|
+
end
|
197
|
+
|
198
|
+
it "renders a period of 14 months as '14 months'" do
|
199
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 14 * MONTHS )
|
200
|
+
@tag.render( renderstate ).should == "14 months from now"
|
201
|
+
end
|
202
|
+
|
203
|
+
it "renders a period of 20 months as '2 years'" do
|
204
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 20 * MONTHS )
|
205
|
+
@tag.render( renderstate ).should == "2 years from now"
|
206
|
+
end
|
207
|
+
|
208
|
+
it "renders a period of 120 years as '120 years'" do
|
209
|
+
renderstate = Inversion::RenderState.new( :foo => @now_epoch + 120 * YEARS )
|
210
|
+
@tag.render( renderstate ).should == "120 years from now"
|
211
|
+
end
|
212
|
+
|
213
|
+
end
|
214
|
+
|
215
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inversion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -53,7 +53,7 @@ date: 2011-08-15 00:00:00.000000000Z
|
|
53
53
|
dependencies:
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: hoe-mercurial
|
56
|
-
requirement: &
|
56
|
+
requirement: &70108532487080 !ruby/object:Gem::Requirement
|
57
57
|
none: false
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
@@ -61,10 +61,10 @@ dependencies:
|
|
61
61
|
version: 1.2.1
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
|
-
version_requirements: *
|
64
|
+
version_requirements: *70108532487080
|
65
65
|
- !ruby/object:Gem::Dependency
|
66
66
|
name: hoe-manualgen
|
67
|
-
requirement: &
|
67
|
+
requirement: &70108532486580 !ruby/object:Gem::Requirement
|
68
68
|
none: false
|
69
69
|
requirements:
|
70
70
|
- - ~>
|
@@ -72,10 +72,10 @@ dependencies:
|
|
72
72
|
version: 0.2.0
|
73
73
|
type: :development
|
74
74
|
prerelease: false
|
75
|
-
version_requirements: *
|
75
|
+
version_requirements: *70108532486580
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
77
|
name: hoe-highline
|
78
|
-
requirement: &
|
78
|
+
requirement: &70108532486160 !ruby/object:Gem::Requirement
|
79
79
|
none: false
|
80
80
|
requirements:
|
81
81
|
- - ~>
|
@@ -83,10 +83,10 @@ dependencies:
|
|
83
83
|
version: 0.0.1
|
84
84
|
type: :development
|
85
85
|
prerelease: false
|
86
|
-
version_requirements: *
|
86
|
+
version_requirements: *70108532486160
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
88
|
name: rspec
|
89
|
-
requirement: &
|
89
|
+
requirement: &70108532485700 !ruby/object:Gem::Requirement
|
90
90
|
none: false
|
91
91
|
requirements:
|
92
92
|
- - ~>
|
@@ -94,10 +94,10 @@ dependencies:
|
|
94
94
|
version: 2.6.0
|
95
95
|
type: :development
|
96
96
|
prerelease: false
|
97
|
-
version_requirements: *
|
97
|
+
version_requirements: *70108532485700
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: tilt
|
100
|
-
requirement: &
|
100
|
+
requirement: &70108532485200 !ruby/object:Gem::Requirement
|
101
101
|
none: false
|
102
102
|
requirements:
|
103
103
|
- - ~>
|
@@ -105,10 +105,10 @@ dependencies:
|
|
105
105
|
version: 1.3.2
|
106
106
|
type: :development
|
107
107
|
prerelease: false
|
108
|
-
version_requirements: *
|
108
|
+
version_requirements: *70108532485200
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: sinatra
|
111
|
-
requirement: &
|
111
|
+
requirement: &70108532484780 !ruby/object:Gem::Requirement
|
112
112
|
none: false
|
113
113
|
requirements:
|
114
114
|
- - ~>
|
@@ -116,10 +116,10 @@ dependencies:
|
|
116
116
|
version: 1.2.6
|
117
117
|
type: :development
|
118
118
|
prerelease: false
|
119
|
-
version_requirements: *
|
119
|
+
version_requirements: *70108532484780
|
120
120
|
- !ruby/object:Gem::Dependency
|
121
121
|
name: rack-test
|
122
|
-
requirement: &
|
122
|
+
requirement: &70108532484360 !ruby/object:Gem::Requirement
|
123
123
|
none: false
|
124
124
|
requirements:
|
125
125
|
- - ~>
|
@@ -127,10 +127,10 @@ dependencies:
|
|
127
127
|
version: 0.6.0
|
128
128
|
type: :development
|
129
129
|
prerelease: false
|
130
|
-
version_requirements: *
|
130
|
+
version_requirements: *70108532484360
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: simplecov
|
133
|
-
requirement: &
|
133
|
+
requirement: &70108532483940 !ruby/object:Gem::Requirement
|
134
134
|
none: false
|
135
135
|
requirements:
|
136
136
|
- - ~>
|
@@ -138,10 +138,10 @@ dependencies:
|
|
138
138
|
version: 0.4.2
|
139
139
|
type: :development
|
140
140
|
prerelease: false
|
141
|
-
version_requirements: *
|
141
|
+
version_requirements: *70108532483940
|
142
142
|
- !ruby/object:Gem::Dependency
|
143
143
|
name: hoe-manualgen
|
144
|
-
requirement: &
|
144
|
+
requirement: &70108532483520 !ruby/object:Gem::Requirement
|
145
145
|
none: false
|
146
146
|
requirements:
|
147
147
|
- - ~>
|
@@ -149,10 +149,10 @@ dependencies:
|
|
149
149
|
version: 0.2.0
|
150
150
|
type: :development
|
151
151
|
prerelease: false
|
152
|
-
version_requirements: *
|
152
|
+
version_requirements: *70108532483520
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: trollop
|
155
|
-
requirement: &
|
155
|
+
requirement: &70108532483100 !ruby/object:Gem::Requirement
|
156
156
|
none: false
|
157
157
|
requirements:
|
158
158
|
- - ~>
|
@@ -160,10 +160,10 @@ dependencies:
|
|
160
160
|
version: 0.16.2
|
161
161
|
type: :development
|
162
162
|
prerelease: false
|
163
|
-
version_requirements: *
|
163
|
+
version_requirements: *70108532483100
|
164
164
|
- !ruby/object:Gem::Dependency
|
165
165
|
name: highline
|
166
|
-
requirement: &
|
166
|
+
requirement: &70108532482680 !ruby/object:Gem::Requirement
|
167
167
|
none: false
|
168
168
|
requirements:
|
169
169
|
- - ~>
|
@@ -171,10 +171,10 @@ dependencies:
|
|
171
171
|
version: 1.6.2
|
172
172
|
type: :development
|
173
173
|
prerelease: false
|
174
|
-
version_requirements: *
|
174
|
+
version_requirements: *70108532482680
|
175
175
|
- !ruby/object:Gem::Dependency
|
176
176
|
name: sysexits
|
177
|
-
requirement: &
|
177
|
+
requirement: &70108532482260 !ruby/object:Gem::Requirement
|
178
178
|
none: false
|
179
179
|
requirements:
|
180
180
|
- - ~>
|
@@ -182,10 +182,10 @@ dependencies:
|
|
182
182
|
version: 1.0.2
|
183
183
|
type: :development
|
184
184
|
prerelease: false
|
185
|
-
version_requirements: *
|
185
|
+
version_requirements: *70108532482260
|
186
186
|
- !ruby/object:Gem::Dependency
|
187
187
|
name: hoe
|
188
|
-
requirement: &
|
188
|
+
requirement: &70108532481840 !ruby/object:Gem::Requirement
|
189
189
|
none: false
|
190
190
|
requirements:
|
191
191
|
- - ~>
|
@@ -193,7 +193,7 @@ dependencies:
|
|
193
193
|
version: '2.10'
|
194
194
|
type: :development
|
195
195
|
prerelease: false
|
196
|
-
version_requirements: *
|
196
|
+
version_requirements: *70108532481840
|
197
197
|
description: ! 'Inversion is a templating system for Ruby. It uses the "Inversion
|
198
198
|
of Control" principle to decouple
|
199
199
|
|
@@ -225,12 +225,14 @@ files:
|
|
225
225
|
- lib/inversion/sinatra.rb
|
226
226
|
- lib/inversion/template.rb
|
227
227
|
- lib/inversion/template/attrtag.rb
|
228
|
+
- lib/inversion/template/begintag.rb
|
228
229
|
- lib/inversion/template/calltag.rb
|
229
230
|
- lib/inversion/template/codetag.rb
|
230
231
|
- lib/inversion/template/commenttag.rb
|
231
232
|
- lib/inversion/template/conditionaltag.rb
|
232
233
|
- lib/inversion/template/configtag.rb
|
233
234
|
- lib/inversion/template/containertag.rb
|
235
|
+
- lib/inversion/template/defaulttag.rb
|
234
236
|
- lib/inversion/template/elsetag.rb
|
235
237
|
- lib/inversion/template/elsiftag.rb
|
236
238
|
- lib/inversion/template/endtag.rb
|
@@ -243,25 +245,66 @@ files:
|
|
243
245
|
- lib/inversion/template/parser.rb
|
244
246
|
- lib/inversion/template/pptag.rb
|
245
247
|
- lib/inversion/template/publishtag.rb
|
248
|
+
- lib/inversion/template/rescuetag.rb
|
246
249
|
- lib/inversion/template/subscribetag.rb
|
247
250
|
- lib/inversion/template/tag.rb
|
248
251
|
- lib/inversion/template/textnode.rb
|
252
|
+
- lib/inversion/template/timedeltatag.rb
|
249
253
|
- lib/inversion/template/unlesstag.rb
|
250
254
|
- lib/inversion/template/uriencodetag.rb
|
251
255
|
- lib/inversion/template/yieldtag.rb
|
252
256
|
- lib/inversion/tilt.rb
|
253
257
|
- lib/inversion/utils.rb
|
258
|
+
- manual/layouts/default.erb
|
259
|
+
- manual/lib/api-filter.rb
|
260
|
+
- manual/lib/editorial-filter.rb
|
261
|
+
- manual/lib/examples-filter.rb
|
262
|
+
- manual/lib/links-filter.rb
|
263
|
+
- manual/resources/css/manual.css
|
264
|
+
- manual/resources/fonts/GraublauWeb.otf
|
265
|
+
- manual/resources/fonts/GraublauWebBold.otf
|
266
|
+
- manual/resources/fonts/Inconsolata.otf
|
267
|
+
- manual/resources/images/arrow_225_small.png
|
268
|
+
- manual/resources/images/arrow_315_small.png
|
269
|
+
- manual/resources/images/arrow_skip.png
|
270
|
+
- manual/resources/images/cc-by.png
|
271
|
+
- manual/resources/images/dialog-error.png
|
272
|
+
- manual/resources/images/dialog-information.png
|
273
|
+
- manual/resources/images/dialog-warning.png
|
274
|
+
- manual/resources/images/emblem-important.png
|
275
|
+
- manual/resources/images/help.png
|
276
|
+
- manual/resources/images/information.png
|
277
|
+
- manual/resources/images/magnifier.png
|
278
|
+
- manual/resources/images/magnifier_left.png
|
279
|
+
- manual/resources/images/page_white_code.png
|
280
|
+
- manual/resources/images/page_white_copy.png
|
281
|
+
- manual/resources/images/printer.png
|
282
|
+
- manual/resources/images/question.png
|
283
|
+
- manual/resources/images/scripts_code.png
|
284
|
+
- manual/resources/images/wrap.png
|
285
|
+
- manual/resources/images/wrapping.png
|
286
|
+
- manual/resources/js/jquery-1.4.4.min.js
|
287
|
+
- manual/resources/js/manual.js
|
288
|
+
- manual/resources/js/sh.js
|
289
|
+
- manual/resources/swf/clipboard.swf
|
290
|
+
- manual/src/examples.page
|
291
|
+
- manual/src/gettingstarted.page
|
292
|
+
- manual/src/index.page
|
293
|
+
- manual/src/tags.page
|
294
|
+
- manual/src/templates.page
|
254
295
|
- spec/data/sinatra/hello.inversion
|
255
296
|
- spec/inversion/mixins_spec.rb
|
256
297
|
- spec/inversion/monkeypatches_spec.rb
|
257
298
|
- spec/inversion/renderstate_spec.rb
|
258
299
|
- spec/inversion/sinatra_spec.rb
|
259
300
|
- spec/inversion/template/attrtag_spec.rb
|
301
|
+
- spec/inversion/template/begintag_spec.rb
|
260
302
|
- spec/inversion/template/calltag_spec.rb
|
261
303
|
- spec/inversion/template/codetag_spec.rb
|
262
304
|
- spec/inversion/template/commenttag_spec.rb
|
263
305
|
- spec/inversion/template/configtag_spec.rb
|
264
306
|
- spec/inversion/template/containertag_spec.rb
|
307
|
+
- spec/inversion/template/defaulttag_spec.rb
|
265
308
|
- spec/inversion/template/elsetag_spec.rb
|
266
309
|
- spec/inversion/template/elsiftag_spec.rb
|
267
310
|
- spec/inversion/template/endtag_spec.rb
|
@@ -274,9 +317,11 @@ files:
|
|
274
317
|
- spec/inversion/template/parser_spec.rb
|
275
318
|
- spec/inversion/template/pptag_spec.rb
|
276
319
|
- spec/inversion/template/publishtag_spec.rb
|
320
|
+
- spec/inversion/template/rescuetag_spec.rb
|
277
321
|
- spec/inversion/template/subscribetag_spec.rb
|
278
322
|
- spec/inversion/template/tag_spec.rb
|
279
323
|
- spec/inversion/template/textnode_spec.rb
|
324
|
+
- spec/inversion/template/timedeltatag_spec.rb
|
280
325
|
- spec/inversion/template/unlesstag_spec.rb
|
281
326
|
- spec/inversion/template/uriencodetag_spec.rb
|
282
327
|
- spec/inversion/template/yieldtag_spec.rb
|