contextr 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/History.txt +6 -0
- data/{README.txt → README.rdoc} +0 -0
- data/Rakefile +38 -121
- data/TODO.taskpaper +2 -0
- data/VERSION.yml +4 -0
- data/autotest/discover.rb +3 -0
- data/autotest/rspec_test.rb +13 -0
- data/benchmark/contextr/bench.rb +91 -0
- data/benchmark/contextr/results_for_different_hashes.txt +31 -0
- data/contextr.gemspec +119 -0
- data/lib/contextr.rb +1 -1
- data/test/lib/literate_maruku_test.rb +4 -1
- data/website/ContextR_euruko_2008.pdf +0 -0
- data/website/index.html +241 -0
- data/website/index.txt +143 -0
- data/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/website/stylesheets/screen.css +144 -0
- data/website/template.rhtml +53 -0
- metadata +85 -43
- data.tar.gz.sig +0 -0
- data/Manifest.txt +0 -44
- data/lib/contextr/version.rb +0 -9
- data/scripts/txt2html +0 -67
- metadata.gz.sig +0 -0
@@ -0,0 +1,144 @@
|
|
1
|
+
body {
|
2
|
+
background-color: #E1D1F1;
|
3
|
+
font-family: "Georgia", sans-serif;
|
4
|
+
font-size: 16px;
|
5
|
+
line-height: 1.6em;
|
6
|
+
padding: 1.6em 0 0 0;
|
7
|
+
color: #333;
|
8
|
+
}
|
9
|
+
h1, h2, h3, h4, h5, h6 {
|
10
|
+
color: #444;
|
11
|
+
}
|
12
|
+
h1 {
|
13
|
+
font-family: sans-serif;
|
14
|
+
font-weight: normal;
|
15
|
+
font-size: 4em;
|
16
|
+
line-height: 0.8em;
|
17
|
+
letter-spacing: -0.1ex;
|
18
|
+
margin: 5px;
|
19
|
+
}
|
20
|
+
li {
|
21
|
+
padding: 0;
|
22
|
+
margin: 0;
|
23
|
+
list-style-type: square;
|
24
|
+
}
|
25
|
+
a {
|
26
|
+
color: #5E5AFF;
|
27
|
+
background-color: #DAC;
|
28
|
+
font-weight: normal;
|
29
|
+
text-decoration: underline;
|
30
|
+
}
|
31
|
+
blockquote {
|
32
|
+
font-size: 90%;
|
33
|
+
font-style: italic;
|
34
|
+
border-left: 1px solid #111;
|
35
|
+
padding-left: 1em;
|
36
|
+
}
|
37
|
+
.caps {
|
38
|
+
font-size: 80%;
|
39
|
+
}
|
40
|
+
|
41
|
+
#main {
|
42
|
+
width: 45em;
|
43
|
+
padding: 0;
|
44
|
+
margin: 0 auto;
|
45
|
+
}
|
46
|
+
.coda {
|
47
|
+
text-align: right;
|
48
|
+
color: #77f;
|
49
|
+
font-size: smaller;
|
50
|
+
}
|
51
|
+
|
52
|
+
table {
|
53
|
+
font-size: 90%;
|
54
|
+
line-height: 1.4em;
|
55
|
+
color: #ff8;
|
56
|
+
background-color: #111;
|
57
|
+
padding: 2px 10px 2px 10px;
|
58
|
+
border-style: dashed;
|
59
|
+
}
|
60
|
+
|
61
|
+
th {
|
62
|
+
color: #fff;
|
63
|
+
}
|
64
|
+
|
65
|
+
td {
|
66
|
+
padding: 2px 10px 2px 10px;
|
67
|
+
}
|
68
|
+
|
69
|
+
.success {
|
70
|
+
color: #0CC52B;
|
71
|
+
}
|
72
|
+
|
73
|
+
.failed {
|
74
|
+
color: #E90A1B;
|
75
|
+
}
|
76
|
+
|
77
|
+
.unknown {
|
78
|
+
color: #995000;
|
79
|
+
}
|
80
|
+
pre, code {
|
81
|
+
font-family: monospace;
|
82
|
+
font-size: 90%;
|
83
|
+
line-height: 1.4em;
|
84
|
+
color: #ff8;
|
85
|
+
background-color: #111;
|
86
|
+
padding: 2px 10px 2px 10px;
|
87
|
+
}
|
88
|
+
pre code {
|
89
|
+
padding: 0px;
|
90
|
+
}
|
91
|
+
.comment { color: #aaa; font-style: italic; }
|
92
|
+
.keyword { color: #eff; font-weight: bold; }
|
93
|
+
.punct { color: #eee; font-weight: bold; }
|
94
|
+
.symbol { color: #0bb; }
|
95
|
+
.string { color: #6b4; }
|
96
|
+
.ident { color: #ff8; }
|
97
|
+
.constant { color: #66f; }
|
98
|
+
.regex { color: #ec6; }
|
99
|
+
.number { color: #F99; }
|
100
|
+
.expr { color: #227; }
|
101
|
+
|
102
|
+
#version {
|
103
|
+
float: right;
|
104
|
+
text-align: right;
|
105
|
+
font-family: sans-serif;
|
106
|
+
font-weight: normal;
|
107
|
+
background-color: #B3ABFF;
|
108
|
+
color: #141331;
|
109
|
+
padding: 15px 20px 10px 20px;
|
110
|
+
margin: 0 auto;
|
111
|
+
margin-top: 15px;
|
112
|
+
border: 3px solid #141331;
|
113
|
+
}
|
114
|
+
|
115
|
+
#version .numbers {
|
116
|
+
display: block;
|
117
|
+
font-size: 4em;
|
118
|
+
line-height: 0.8em;
|
119
|
+
letter-spacing: -0.1ex;
|
120
|
+
margin-bottom: 15px;
|
121
|
+
}
|
122
|
+
|
123
|
+
#version p {
|
124
|
+
text-decoration: none;
|
125
|
+
color: #141331;
|
126
|
+
background-color: #B3ABFF;
|
127
|
+
margin: 0;
|
128
|
+
padding: 0;
|
129
|
+
}
|
130
|
+
|
131
|
+
#version a {
|
132
|
+
text-decoration: none;
|
133
|
+
color: #141331;
|
134
|
+
background-color: #B3ABFF;
|
135
|
+
}
|
136
|
+
|
137
|
+
.clickable {
|
138
|
+
cursor: pointer;
|
139
|
+
cursor: hand;
|
140
|
+
}
|
141
|
+
|
142
|
+
.older_versions h3, .older_versions {
|
143
|
+
color: #999;
|
144
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
+
<title>
|
8
|
+
<%= title %>
|
9
|
+
</title>
|
10
|
+
<script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
|
11
|
+
<style>
|
12
|
+
|
13
|
+
</style>
|
14
|
+
<script type="text/javascript">
|
15
|
+
window.onload = function() {
|
16
|
+
settings = {
|
17
|
+
tl: { radius: 10 },
|
18
|
+
tr: { radius: 10 },
|
19
|
+
bl: { radius: 10 },
|
20
|
+
br: { radius: 10 },
|
21
|
+
antiAlias: true,
|
22
|
+
autoPad: true,
|
23
|
+
validTags: ["div"]
|
24
|
+
}
|
25
|
+
var versionBox = new curvyCorners(settings, document.getElementById("version"));
|
26
|
+
versionBox.applyCornersToAll();
|
27
|
+
}
|
28
|
+
</script>
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="main">
|
32
|
+
|
33
|
+
<h1><%= title %></h1>
|
34
|
+
<div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
|
35
|
+
<p>Get Version</p>
|
36
|
+
<a href="<%= download %>" class="numbers"><%= version %></a>
|
37
|
+
</div>
|
38
|
+
<%= body %>
|
39
|
+
<p class="coda">
|
40
|
+
<%= modified.pretty %><br>
|
41
|
+
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
42
|
+
</p>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
|
46
|
+
</script>
|
47
|
+
<script type="text/javascript">
|
48
|
+
_uacct = "UA-510991-4";
|
49
|
+
urchinTracker();
|
50
|
+
</script>
|
51
|
+
|
52
|
+
</body>
|
53
|
+
</html>
|
metadata
CHANGED
@@ -1,39 +1,67 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contextr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregor Schmidt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
- |
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDODCCAiCgAwIBAgIBADANBgkqhkiG9w0BAQUFADBCMQ0wCwYDVQQDDARydWJ5
|
14
|
-
MR0wGwYKCZImiZPyLGQBGRYNc2NobWlkdHdpc3NlcjESMBAGCgmSJomT8ixkARkW
|
15
|
-
AmRlMB4XDTA3MDkxNjEwMzkyN1oXDTA4MDkxNTEwMzkyN1owQjENMAsGA1UEAwwE
|
16
|
-
cnVieTEdMBsGCgmSJomT8ixkARkWDXNjaG1pZHR3aXNzZXIxEjAQBgoJkiaJk/Is
|
17
|
-
ZAEZFgJkZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOzbl83o33wh
|
18
|
-
veLMQ2JyEstgOulisHRBFpfbF9LbdavuS/EdoOUeEPkziWL/ZI0jvUo0MGmQ/8Of
|
19
|
-
F9DJbvNbhDdg0bK7BMe4R/I3Wpu49mX+7pOsdlC44nzJkVG1DQ67qWp6jx1zvDRc
|
20
|
-
iCoXaQKnROtsx6bCavVvm4P7XLrAQvs7l+1Ke5KLkXRtJ9xJWtAyBLRFoM4e6DeT
|
21
|
-
Py0DsixF9Zb5Nrb7UvK0CN8m6dulsKXNRDVQLHkFa5Zg/BEb0RI93LPmeBt8KGIE
|
22
|
-
eYVjk+6z+py03D18xd9KsUhOB/0lC0a5vWSZIKfZnxf1uYY9TTZVqTGGUMFi1sD4
|
23
|
-
k2TYBqQVsS8CAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
|
24
|
-
BBYEFAeq4388e2PUlF/YeemzaY8neefWMA0GCSqGSIb3DQEBBQUAA4IBAQAArQQo
|
25
|
-
3teQbCcYmZFTrdOzujMca6F4JVzTp+yTnOsp1/5hiBEUMc3GreCVAPh2tU9+IpuB
|
26
|
-
Lif+s5nLfYdI+JrpCHDzm+ecJEJ7u7gxidzUwEBPYpVuU32ALge7fuWWhQfi29JY
|
27
|
-
QwNZgIkGe34z3a2+r2GLBns/GY7t0Lomv6U2SvwLreLc8g7thr2hZfgEJidvcrJR
|
28
|
-
Q6amsFqY06NalH+I175Bp4y9rR7IArgNDS3I5Cly5/heVKK2SRm5Z+IACmKMxIXh
|
29
|
-
hzBK8YDsrjUvPNIJn9yl0LeEsZ5VhupI2OXr6Cqa/tVMJq0oiTsLfel3Tsb9Ph83
|
30
|
-
y3O9DT3o4BiyPe77
|
31
|
-
-----END CERTIFICATE-----
|
10
|
+
cert_chain: []
|
32
11
|
|
33
|
-
date:
|
12
|
+
date: 2009-12-03 00:00:00 +01:00
|
34
13
|
default_executable:
|
35
|
-
dependencies:
|
36
|
-
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rake
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: markaby
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: "0"
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: literate_maruku
|
37
|
+
type: :development
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: "0"
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: rspec
|
47
|
+
type: :development
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "0"
|
54
|
+
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jeweler
|
57
|
+
type: :development
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 1.4.0
|
64
|
+
version:
|
37
65
|
description: The goal is to equip Ruby with an API to allow context-oriented programming.
|
38
66
|
email: ruby@schmidtwisser.de
|
39
67
|
executables: []
|
@@ -41,22 +69,24 @@ executables: []
|
|
41
69
|
extensions: []
|
42
70
|
|
43
71
|
extra_rdoc_files:
|
44
|
-
- GPL.txt
|
45
|
-
- History.txt
|
46
72
|
- LICENSE.txt
|
47
|
-
-
|
48
|
-
- Manifest.txt
|
49
|
-
- README.txt
|
50
|
-
- RUBY.txt
|
73
|
+
- README.rdoc
|
51
74
|
files:
|
75
|
+
- .gitignore
|
52
76
|
- GPL.txt
|
53
77
|
- History.txt
|
54
78
|
- LICENSE.txt
|
55
79
|
- MIT.txt
|
56
|
-
-
|
57
|
-
- README.txt
|
80
|
+
- README.rdoc
|
58
81
|
- RUBY.txt
|
59
82
|
- Rakefile
|
83
|
+
- TODO.taskpaper
|
84
|
+
- VERSION.yml
|
85
|
+
- autotest/discover.rb
|
86
|
+
- autotest/rspec_test.rb
|
87
|
+
- benchmark/contextr/bench.rb
|
88
|
+
- benchmark/contextr/results_for_different_hashes.txt
|
89
|
+
- contextr.gemspec
|
60
90
|
- examples/README
|
61
91
|
- examples/employer.rb
|
62
92
|
- examples/node.rb
|
@@ -71,10 +101,8 @@ files:
|
|
71
101
|
- lib/contextr/modules/mutex_code.rb
|
72
102
|
- lib/contextr/modules/unique_id.rb
|
73
103
|
- lib/contextr/public_api.rb
|
74
|
-
- lib/contextr/version.rb
|
75
104
|
- lib/ext/active_support_subset.rb
|
76
105
|
- lib/ext/dynamic.rb
|
77
|
-
- scripts/txt2html
|
78
106
|
- setup.rb
|
79
107
|
- spec/contextr_spec.rb
|
80
108
|
- spec/spec.opts
|
@@ -93,12 +121,20 @@ files:
|
|
93
121
|
- test/restrictions.mkd
|
94
122
|
- test/test_contextr.rb
|
95
123
|
- test/test_helper.rb
|
124
|
+
- test/test_plain.rb
|
125
|
+
- website/ContextR_euruko_2008.pdf
|
126
|
+
- website/index.html
|
127
|
+
- website/index.txt
|
128
|
+
- website/javascripts/rounded_corners_lite.inc.js
|
129
|
+
- website/stylesheets/screen.css
|
130
|
+
- website/template.rhtml
|
96
131
|
has_rdoc: true
|
97
|
-
homepage: http://contextr
|
132
|
+
homepage: http://github.com/schmidt/contextr
|
133
|
+
licenses: []
|
134
|
+
|
98
135
|
post_install_message:
|
99
136
|
rdoc_options:
|
100
|
-
- --
|
101
|
-
- README.txt
|
137
|
+
- --charset=UTF-8
|
102
138
|
require_paths:
|
103
139
|
- lib
|
104
140
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -115,12 +151,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
151
|
version:
|
116
152
|
requirements: []
|
117
153
|
|
118
|
-
rubyforge_project:
|
119
|
-
rubygems_version: 1.
|
154
|
+
rubyforge_project:
|
155
|
+
rubygems_version: 1.3.5
|
120
156
|
signing_key:
|
121
|
-
specification_version:
|
122
|
-
summary:
|
157
|
+
specification_version: 3
|
158
|
+
summary: Context-oriented programming API for Ruby
|
123
159
|
test_files:
|
160
|
+
- spec/contextr_spec.rb
|
161
|
+
- spec/spec_helper.rb
|
162
|
+
- test/lib/example_test.rb
|
163
|
+
- test/lib/literate_maruku_test.rb
|
124
164
|
- test/test_contextr.rb
|
125
165
|
- test/test_helper.rb
|
126
166
|
- test/test_plain.rb
|
167
|
+
- examples/employer.rb
|
168
|
+
- examples/node.rb
|
data.tar.gz.sig
DELETED
Binary file
|
data/Manifest.txt
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
GPL.txt
|
2
|
-
History.txt
|
3
|
-
LICENSE.txt
|
4
|
-
MIT.txt
|
5
|
-
Manifest.txt
|
6
|
-
README.txt
|
7
|
-
RUBY.txt
|
8
|
-
Rakefile
|
9
|
-
examples/README
|
10
|
-
examples/employer.rb
|
11
|
-
examples/node.rb
|
12
|
-
lib/contextr.rb
|
13
|
-
lib/contextr/class_methods.rb
|
14
|
-
lib/contextr/core_ext.rb
|
15
|
-
lib/contextr/core_ext/module.rb
|
16
|
-
lib/contextr/core_ext/object.rb
|
17
|
-
lib/contextr/event_machine.rb
|
18
|
-
lib/contextr/inner_class.rb
|
19
|
-
lib/contextr/layer.rb
|
20
|
-
lib/contextr/modules/mutex_code.rb
|
21
|
-
lib/contextr/modules/unique_id.rb
|
22
|
-
lib/contextr/public_api.rb
|
23
|
-
lib/contextr/version.rb
|
24
|
-
lib/ext/active_support_subset.rb
|
25
|
-
lib/ext/dynamic.rb
|
26
|
-
scripts/txt2html
|
27
|
-
setup.rb
|
28
|
-
spec/contextr_spec.rb
|
29
|
-
spec/spec.opts
|
30
|
-
spec/spec_helper.rb
|
31
|
-
test/class_side.mkd
|
32
|
-
test/dynamic_scope.mkd
|
33
|
-
test/dynamics.mkd
|
34
|
-
test/hello_world.mkd
|
35
|
-
test/introduction.mkd
|
36
|
-
test/layer_state.mkd
|
37
|
-
test/lib/example_test.rb
|
38
|
-
test/lib/literate_maruku_test.rb
|
39
|
-
test/meta_api.mkd
|
40
|
-
test/method_missing.mkd
|
41
|
-
test/ordering.mkd
|
42
|
-
test/restrictions.mkd
|
43
|
-
test/test_contextr.rb
|
44
|
-
test/test_helper.rb
|
data/lib/contextr/version.rb
DELETED
data/scripts/txt2html
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
require 'redcloth'
|
5
|
-
require 'syntax/convertors/html'
|
6
|
-
require 'erb'
|
7
|
-
require File.dirname(__FILE__) + '/../lib/contextr/version.rb'
|
8
|
-
|
9
|
-
version = ContextR::VERSION::STRING
|
10
|
-
download = 'http://rubyforge.org/projects/contextr'
|
11
|
-
|
12
|
-
class Fixnum
|
13
|
-
def ordinal
|
14
|
-
# teens
|
15
|
-
return 'th' if (10..19).include?(self % 100)
|
16
|
-
# others
|
17
|
-
case self % 10
|
18
|
-
when 1: return 'st'
|
19
|
-
when 2: return 'nd'
|
20
|
-
when 3: return 'rd'
|
21
|
-
else return 'th'
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
class Time
|
27
|
-
def pretty
|
28
|
-
return "#{mday}#{mday.ordinal} #{strftime('%B')} #{year}"
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
def convert_syntax(syntax, source)
|
33
|
-
return Syntax::Convertors::HTML.for_syntax(syntax).convert(source).gsub(%r!^<pre>|</pre>$!,'')
|
34
|
-
end
|
35
|
-
|
36
|
-
if ARGV.length >= 1
|
37
|
-
src, template = ARGV
|
38
|
-
template ||= File.dirname(__FILE__) + '/../website/template.rhtml'
|
39
|
-
|
40
|
-
else
|
41
|
-
puts("Usage: #{File.split($0).last} source.txt [template.rhtml] > output.html")
|
42
|
-
exit!
|
43
|
-
end
|
44
|
-
|
45
|
-
template = ERB.new(File.open(template).read)
|
46
|
-
|
47
|
-
title = nil
|
48
|
-
body = nil
|
49
|
-
File.open(src) do |fsrc|
|
50
|
-
title_text = fsrc.readline
|
51
|
-
body_text = fsrc.read
|
52
|
-
syntax_items = []
|
53
|
-
body_text.gsub!(%r!<(pre|code)[^>]*?syntax=['"]([^'"]+)[^>]*>(.*?)</>!m){
|
54
|
-
ident = syntax_items.length
|
55
|
-
element, syntax, source = $1, $2, $3
|
56
|
-
syntax_items << "<#{element} class='syntax'>#{convert_syntax(syntax, source)}</#{element}>"
|
57
|
-
"syntax-temp-#{ident}"
|
58
|
-
}
|
59
|
-
title = RedCloth.new(title_text).to_html.gsub(%r!<.*?>!,'').strip
|
60
|
-
body = RedCloth.new(body_text).to_html
|
61
|
-
body.gsub!(%r!(?:<pre><code>)?syntax-temp-(d+)(?:</code></pre>)?!){ syntax_items[$1.to_i] }
|
62
|
-
end
|
63
|
-
stat = File.stat(src)
|
64
|
-
created = stat.ctime
|
65
|
-
modified = stat.mtime
|
66
|
-
|
67
|
-
$stdout << template.result(binding)
|