octopress-ink 1.0.0.alpha.17 → 1.0.0.alpha.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/octopress-ink/assets/asset.rb +4 -3
- data/lib/octopress-ink/assets/config.rb +39 -0
- data/lib/octopress-ink/assets/include.rb +1 -5
- data/lib/octopress-ink/assets/layout.rb +0 -4
- data/lib/octopress-ink/assets/sass.rb +1 -1
- data/lib/octopress-ink/assets.rb +1 -0
- data/lib/octopress-ink/helpers/content_for.rb +2 -2
- data/lib/octopress-ink/jekyll/hooks.rb +3 -1
- data/lib/octopress-ink/plugin.rb +11 -1
- data/lib/octopress-ink/plugins.rb +25 -2
- data/lib/octopress-ink/tags/content_for.rb +1 -1
- data/lib/octopress-ink/tags/include.rb +3 -3
- data/lib/octopress-ink/version.rb +1 -1
- data/test/expected/tag_tests/content_for.html +3 -12
- data/test/expected/tag_tests/footer.html +2 -12
- data/test/expected/tag_tests/head.html +4 -13
- data/test/expected/tag_tests/include_theme_override.html +1 -1
- data/test/expected/tag_tests/scripts.html +3 -12
- data/test/expected/test_config/plugin_config.html +2 -0
- data/test/expected/test_config/theme_config.html +2 -0
- data/test/site/tag_tests/content_for.html +3 -12
- data/test/site/tag_tests/footer.html +2 -12
- data/test/site/tag_tests/head.html +4 -13
- data/test/site/tag_tests/include_theme_override.html +1 -1
- data/test/site/tag_tests/scripts.html +3 -12
- data/test/site/test_config/plugin_config.html +2 -0
- data/test/site/test_config/theme_config.html +2 -0
- data/test/source/_custom/awesome-sauce/config.yml +1 -0
- data/test/source/_custom/theme/config.yml +1 -0
- data/test/source/_layouts/content_for.html +3 -0
- data/test/source/_layouts/head.html +1 -0
- data/test/source/_plugins/awesome-sauce/config.yml +2 -0
- data/test/source/_plugins/test-theme/config.yml +2 -0
- data/test/source/_plugins/test-theme/includes/{foo.html → greet.html} +0 -0
- data/test/source/tag_tests/content_for.html +1 -1
- data/test/source/tag_tests/footer.html +1 -1
- data/test/source/tag_tests/head.html +1 -1
- data/test/source/tag_tests/include_theme.html +1 -1
- data/test/source/tag_tests/scripts.html +1 -1
- data/test/source/test_config/plugin_config.html +4 -0
- data/test/source/test_config/theme_config.html +4 -0
- data/test/test.rb +6 -0
- metadata +29 -6
- data/test/source/_layouts/default.html +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c888518337b350c4592c3808f128f21393f30e12
|
4
|
+
data.tar.gz: 8733d8937ac4bdc95426e0112aeb3a242bc63f05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 560806fb9ef8998368bc7511bc77d8c6ffed88ea4c141a1e11b8136ae9d391acd329d9c01f008b7ce50d94c787b097f30eae8cbf1cffc25a4058ba1ac2405a92
|
7
|
+
data.tar.gz: d3563681fbf6e66639eb31d6c98b8b5760d2f2ac9aba7ceba84bb99f53be6b67a5eb8f1be5c848a6f0bda4ce476f7ba0c691ed618648e0255a982e585d099dfa
|
@@ -16,7 +16,9 @@ module Octopress
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def path(site)
|
19
|
-
|
19
|
+
if @found_file and !@no_cache
|
20
|
+
@found_file
|
21
|
+
else
|
20
22
|
files = []
|
21
23
|
files << user_path(site)
|
22
24
|
files << plugin_path unless @plugin.type == 'local_plugin'
|
@@ -27,7 +29,6 @@ module Octopress
|
|
27
29
|
end
|
28
30
|
@found_file = Pathname.new files[0]
|
29
31
|
end
|
30
|
-
@found_file
|
31
32
|
end
|
32
33
|
|
33
34
|
def file(file, site)
|
@@ -52,7 +53,7 @@ module Octopress
|
|
52
53
|
end
|
53
54
|
|
54
55
|
def user_dir(site)
|
55
|
-
File.join site.source, Plugins.custom_dir(site), @dir
|
56
|
+
File.join site.source, Plugins.custom_dir(site.config), @dir
|
56
57
|
end
|
57
58
|
|
58
59
|
def local_plugin_path(site)
|
@@ -0,0 +1,39 @@
|
|
1
|
+
module Octopress
|
2
|
+
module Assets
|
3
|
+
class Config < Asset
|
4
|
+
|
5
|
+
def initialize(plugin, path)
|
6
|
+
@root = plugin.assets_path
|
7
|
+
@plugin = plugin
|
8
|
+
@dir = plugin.namespace
|
9
|
+
@type = ''
|
10
|
+
@exists = {}
|
11
|
+
@file = path
|
12
|
+
end
|
13
|
+
|
14
|
+
def user_dir(site)
|
15
|
+
File.join site['source'], Plugins.custom_dir(site), @dir
|
16
|
+
end
|
17
|
+
|
18
|
+
def local_plugin_path(site)
|
19
|
+
File.join site['source'], @dir, @file
|
20
|
+
end
|
21
|
+
|
22
|
+
def read(site)
|
23
|
+
config = {}
|
24
|
+
if @plugin.type != 'local_plugin'
|
25
|
+
default = plugin_path
|
26
|
+
if exists? default
|
27
|
+
config = YAML::load(File.open(default))
|
28
|
+
end
|
29
|
+
end
|
30
|
+
override = user_path(site)
|
31
|
+
if exists? override
|
32
|
+
config = config.deep_merge YAML::load(File.open(override))
|
33
|
+
end
|
34
|
+
config
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
@@ -17,7 +17,7 @@ module Octopress
|
|
17
17
|
|
18
18
|
# TODO: choose user path before local path.
|
19
19
|
def user_load_path(site)
|
20
|
-
File.join(site.source, Plugins.custom_dir(site), @dir, File.dirname(@file)).sub /\/\.$/, ''
|
20
|
+
File.join(site.source, Plugins.custom_dir(site.config), @dir, File.dirname(@file)).sub /\/\.$/, ''
|
21
21
|
end
|
22
22
|
|
23
23
|
def theme_load_path
|
data/lib/octopress-ink/assets.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
module Octopress
|
2
2
|
module Assets
|
3
3
|
autoload :Asset, 'octopress-ink/assets/asset'
|
4
|
+
autoload :Config, 'octopress-ink/assets/config'
|
4
5
|
autoload :Javascript, 'octopress-ink/assets/javascript'
|
5
6
|
autoload :Stylesheet, 'octopress-ink/assets/stylesheet'
|
6
7
|
autoload :Sass, 'octopress-ink/assets/sass'
|
@@ -16,12 +16,12 @@ module Octopress
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def self.render(context, block)
|
19
|
-
content = get_block(context, block).map { |b| b
|
19
|
+
content = get_block(context, block).map { |b| b }.join
|
20
20
|
end
|
21
21
|
|
22
22
|
def self.append_to_block(context, block, content)
|
23
23
|
converter = context.environments.first['converter']
|
24
|
-
content = converter.convert(content
|
24
|
+
content = converter.convert(content).lstrip
|
25
25
|
get_block(context, block) << content
|
26
26
|
end
|
27
27
|
end
|
@@ -1,10 +1,12 @@
|
|
1
|
-
|
2
1
|
module Jekyll
|
3
2
|
module Convertible
|
4
3
|
alias_method :do_layout_orig, :do_layout
|
5
4
|
|
6
5
|
def do_layout(payload, layouts)
|
7
6
|
# The contentblock tags needs access to the converter to process it while rendering.
|
7
|
+
config = Octopress::Plugins.config(payload['site'])
|
8
|
+
payload['plugins'] = config['plugins']
|
9
|
+
payload['theme'] = config['theme']
|
8
10
|
payload['converter'] = self.converter
|
9
11
|
do_layout_orig(payload, layouts)
|
10
12
|
end
|
data/lib/octopress-ink/plugin.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Octopress
|
2
2
|
class Plugin
|
3
|
-
attr_accessor :name, :type, :asset_override, :assets_path,
|
3
|
+
attr_accessor :name, :type, :asset_override, :assets_path, :config,
|
4
4
|
:layouts_dir, :stylesheets_dir, :javascripts_dir, :files_dir, :includes_dir, :images_dir,
|
5
5
|
:layouts, :includes, :stylesheets, :javascripts, :images, :sass, :fonts, :files
|
6
6
|
|
@@ -12,6 +12,7 @@ module Octopress
|
|
12
12
|
@includes_dir = 'includes'
|
13
13
|
@javascripts_dir = 'javascripts'
|
14
14
|
@stylesheets_dir = 'stylesheets'
|
15
|
+
@config_file = 'config.yml'
|
15
16
|
@name = name
|
16
17
|
@type = type
|
17
18
|
@layouts = []
|
@@ -25,12 +26,17 @@ module Octopress
|
|
25
26
|
add_assets
|
26
27
|
add_layouts
|
27
28
|
add_includes
|
29
|
+
add_config
|
28
30
|
end
|
29
31
|
|
30
32
|
def add_assets
|
31
33
|
|
32
34
|
end
|
33
35
|
|
36
|
+
def add_config
|
37
|
+
@config = Assets::Config.new(self, @config_file)
|
38
|
+
end
|
39
|
+
|
34
40
|
def namespace
|
35
41
|
if @type == 'local_plugin'
|
36
42
|
''
|
@@ -139,5 +145,9 @@ module Octopress
|
|
139
145
|
def include(file, site)
|
140
146
|
@includes.file(file, site)
|
141
147
|
end
|
148
|
+
|
149
|
+
def configs(site)
|
150
|
+
@config.read(site)
|
151
|
+
end
|
142
152
|
end
|
143
153
|
end
|
@@ -23,6 +23,25 @@ module Octopress
|
|
23
23
|
[@theme].concat(@plugins).concat(@local_plugins).compact
|
24
24
|
end
|
25
25
|
|
26
|
+
def self.config(site)
|
27
|
+
if @config
|
28
|
+
@config
|
29
|
+
else
|
30
|
+
@config = {}
|
31
|
+
@config['plugins'] = {}
|
32
|
+
@config['theme'] = @theme.configs(site)
|
33
|
+
|
34
|
+
|
35
|
+
plugins.each do |p|
|
36
|
+
unless p == @theme
|
37
|
+
@config['plugins'][p.name] = p.configs(site)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
@config
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
26
45
|
def self.include(name, file, site)
|
27
46
|
p = plugin(name)
|
28
47
|
p.include(file, site)
|
@@ -47,8 +66,12 @@ module Octopress
|
|
47
66
|
end
|
48
67
|
end
|
49
68
|
|
50
|
-
def self.custom_dir(
|
51
|
-
|
69
|
+
def self.custom_dir(config)
|
70
|
+
if config['octopress'] and config['octopress']['custom']
|
71
|
+
config['octopress']['custom']
|
72
|
+
else
|
73
|
+
CUSTOM_DIR
|
74
|
+
end
|
52
75
|
end
|
53
76
|
|
54
77
|
def self.fingerprint(paths)
|
@@ -13,9 +13,9 @@ module Octopress
|
|
13
13
|
|
14
14
|
# If markup references a plugin e.g. plugin-name:include-file.html
|
15
15
|
if @markup.strip =~ PLUGIN_SYNTAX
|
16
|
-
|
17
|
-
|
18
|
-
content = Plugins.include(
|
16
|
+
plugin = $1
|
17
|
+
path = $2
|
18
|
+
content = Plugins.include(plugin, path, context.registers[:site]).read
|
19
19
|
partial = Liquid::Template.parse(content)
|
20
20
|
context.stack {
|
21
21
|
context['include'] = include_tag.parse_params(context)
|
@@ -1,13 +1,3 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name='generator' content='Octopress 1.0.0.alpha.15'>
|
6
1
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
<footer>This should go in the footer</footer>
|
11
|
-
|
12
|
-
</body>
|
13
|
-
</html>
|
2
|
+
<footer>This should go in the footer</footer>
|
3
|
+
|
@@ -1,13 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
<meta name='generator' content='Octopress 1.0.0.alpha.15'>
|
6
|
-
Testing head tagTesting that content_for is additive
|
7
|
-
</head>
|
8
|
-
<body>
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
</body>
|
13
|
-
</html>
|
1
|
+
<meta name='generator' content='Octopress 1.0.0.alpha.17'>
|
2
|
+
Testing head tag
|
3
|
+
Testing that content_for is additive
|
4
|
+
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
include from theme override
|
@@ -1,13 +1,3 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name='generator' content='Octopress 1.0.0.alpha.15'>
|
6
1
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
<footer>This should go in the footer</footer>
|
11
|
-
|
12
|
-
</body>
|
13
|
-
</html>
|
2
|
+
<footer>This should go in the footer</footer>
|
3
|
+
|
@@ -1,13 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
<meta name='generator' content='Octopress 1.0.0.alpha.15'>
|
6
|
-
Testing head tagTesting that content_for is additive
|
7
|
-
</head>
|
8
|
-
<body>
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
</body>
|
13
|
-
</html>
|
1
|
+
<meta name='generator' content='Octopress 1.0.0.alpha.17'>
|
2
|
+
Testing head tag
|
3
|
+
Testing that content_for is additive
|
4
|
+
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
include from theme override
|
@@ -0,0 +1 @@
|
|
1
|
+
test_override: config from plugin override
|
@@ -0,0 +1 @@
|
|
1
|
+
test_override: config from theme override
|
@@ -0,0 +1 @@
|
|
1
|
+
{% yield head %}
|
File without changes
|
data/test/test.rb
CHANGED
@@ -42,6 +42,11 @@ def test_layouts(dir)
|
|
42
42
|
layouts.each { |file| test("layout_tests/#{file}.html", dir) }
|
43
43
|
end
|
44
44
|
|
45
|
+
def test_configs(dir)
|
46
|
+
configs = %w{plugin_config theme_config}
|
47
|
+
configs.each { |file| test("test_config/#{file}.html", dir) }
|
48
|
+
end
|
49
|
+
|
45
50
|
def test_stylesheets(dir, concat_css=true)
|
46
51
|
if concat_css
|
47
52
|
stylesheets = %w{all-* print-*}
|
@@ -61,6 +66,7 @@ end
|
|
61
66
|
test_tags('expected')
|
62
67
|
test_layouts('expected')
|
63
68
|
test_stylesheets('concat_css')
|
69
|
+
test_configs('expected')
|
64
70
|
|
65
71
|
build '_concat_css_false.yml'
|
66
72
|
test_stylesheets('concat_css_false', false)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-ink
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.alpha.
|
4
|
+
version: 1.0.0.alpha.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -97,6 +97,7 @@ files:
|
|
97
97
|
- lib/octopress-ink.rb
|
98
98
|
- lib/octopress-ink/assets.rb
|
99
99
|
- lib/octopress-ink/assets/asset.rb
|
100
|
+
- lib/octopress-ink/assets/config.rb
|
100
101
|
- lib/octopress-ink/assets/include.rb
|
101
102
|
- lib/octopress-ink/assets/javascript.rb
|
102
103
|
- lib/octopress-ink/assets/layout.rb
|
@@ -149,6 +150,8 @@ files:
|
|
149
150
|
- test/expected/tag_tests/include_theme.html
|
150
151
|
- test/expected/tag_tests/include_theme_override.html
|
151
152
|
- test/expected/tag_tests/scripts.html
|
153
|
+
- test/expected/test_config/plugin_config.html
|
154
|
+
- test/expected/test_config/theme_config.html
|
152
155
|
- test/sass_compact/stylesheets/all-e10f647557c9d610df6df40a458bc823.css
|
153
156
|
- test/sass_compact/stylesheets/print-0dc274efb4e3fba0ae71bd22eef6fb38.css
|
154
157
|
- test/sass_expanded/stylesheets/all-e10f647557c9d610df6df40a458bc823.css
|
@@ -168,22 +171,29 @@ files:
|
|
168
171
|
- test/site/tag_tests/include_theme.html
|
169
172
|
- test/site/tag_tests/include_theme_override.html
|
170
173
|
- test/site/tag_tests/scripts.html
|
174
|
+
- test/site/test_config/plugin_config.html
|
175
|
+
- test/site/test_config/theme_config.html
|
171
176
|
- test/source/.gitignore
|
177
|
+
- test/source/_custom/awesome-sauce/config.yml
|
178
|
+
- test/source/_custom/theme/config.yml
|
172
179
|
- test/source/_custom/theme/includes/bar.html
|
173
180
|
- test/source/_custom/theme/layouts/test.html
|
174
181
|
- test/source/_custom/theme/stylesheets/_colors.sass
|
175
182
|
- test/source/_custom/theme/stylesheets/theme-test.css
|
176
183
|
- test/source/_includes/foo.html
|
177
|
-
- test/source/_layouts/
|
184
|
+
- test/source/_layouts/content_for.html
|
185
|
+
- test/source/_layouts/head.html
|
178
186
|
- test/source/_layouts/local.html
|
187
|
+
- test/source/_plugins/awesome-sauce/config.yml
|
179
188
|
- test/source/_plugins/awesome-sauce/includes/some-include.html
|
180
189
|
- test/source/_plugins/awesome-sauce/layouts/test-layout.html
|
181
190
|
- test/source/_plugins/awesome-sauce/stylesheets/plugin-media-test.css
|
182
191
|
- test/source/_plugins/awesome-sauce/stylesheets/plugin-test.css
|
183
192
|
- test/source/_plugins/bundler.rb
|
193
|
+
- test/source/_plugins/test-theme/config.yml
|
184
194
|
- test/source/_plugins/test-theme/files/test.html
|
185
195
|
- test/source/_plugins/test-theme/includes/bar.html
|
186
|
-
- test/source/_plugins/test-theme/includes/
|
196
|
+
- test/source/_plugins/test-theme/includes/greet.html
|
187
197
|
- test/source/_plugins/test-theme/javascripts/bar.js
|
188
198
|
- test/source/_plugins/test-theme/javascripts/foo.js
|
189
199
|
- test/source/_plugins/test-theme/layouts/default.html
|
@@ -209,6 +219,8 @@ files:
|
|
209
219
|
- test/source/tag_tests/include_theme.html
|
210
220
|
- test/source/tag_tests/include_theme_override.html
|
211
221
|
- test/source/tag_tests/scripts.html
|
222
|
+
- test/source/test_config/plugin_config.html
|
223
|
+
- test/source/test_config/theme_config.html
|
212
224
|
- test/test.rb
|
213
225
|
homepage: https://github.com/octopress/ink
|
214
226
|
licenses:
|
@@ -262,6 +274,8 @@ test_files:
|
|
262
274
|
- test/expected/tag_tests/include_theme.html
|
263
275
|
- test/expected/tag_tests/include_theme_override.html
|
264
276
|
- test/expected/tag_tests/scripts.html
|
277
|
+
- test/expected/test_config/plugin_config.html
|
278
|
+
- test/expected/test_config/theme_config.html
|
265
279
|
- test/sass_compact/stylesheets/all-e10f647557c9d610df6df40a458bc823.css
|
266
280
|
- test/sass_compact/stylesheets/print-0dc274efb4e3fba0ae71bd22eef6fb38.css
|
267
281
|
- test/sass_expanded/stylesheets/all-e10f647557c9d610df6df40a458bc823.css
|
@@ -281,22 +295,29 @@ test_files:
|
|
281
295
|
- test/site/tag_tests/include_theme.html
|
282
296
|
- test/site/tag_tests/include_theme_override.html
|
283
297
|
- test/site/tag_tests/scripts.html
|
298
|
+
- test/site/test_config/plugin_config.html
|
299
|
+
- test/site/test_config/theme_config.html
|
284
300
|
- test/source/.gitignore
|
301
|
+
- test/source/_custom/awesome-sauce/config.yml
|
302
|
+
- test/source/_custom/theme/config.yml
|
285
303
|
- test/source/_custom/theme/includes/bar.html
|
286
304
|
- test/source/_custom/theme/layouts/test.html
|
287
305
|
- test/source/_custom/theme/stylesheets/_colors.sass
|
288
306
|
- test/source/_custom/theme/stylesheets/theme-test.css
|
289
307
|
- test/source/_includes/foo.html
|
290
|
-
- test/source/_layouts/
|
308
|
+
- test/source/_layouts/content_for.html
|
309
|
+
- test/source/_layouts/head.html
|
291
310
|
- test/source/_layouts/local.html
|
311
|
+
- test/source/_plugins/awesome-sauce/config.yml
|
292
312
|
- test/source/_plugins/awesome-sauce/includes/some-include.html
|
293
313
|
- test/source/_plugins/awesome-sauce/layouts/test-layout.html
|
294
314
|
- test/source/_plugins/awesome-sauce/stylesheets/plugin-media-test.css
|
295
315
|
- test/source/_plugins/awesome-sauce/stylesheets/plugin-test.css
|
296
316
|
- test/source/_plugins/bundler.rb
|
317
|
+
- test/source/_plugins/test-theme/config.yml
|
297
318
|
- test/source/_plugins/test-theme/files/test.html
|
298
319
|
- test/source/_plugins/test-theme/includes/bar.html
|
299
|
-
- test/source/_plugins/test-theme/includes/
|
320
|
+
- test/source/_plugins/test-theme/includes/greet.html
|
300
321
|
- test/source/_plugins/test-theme/javascripts/bar.js
|
301
322
|
- test/source/_plugins/test-theme/javascripts/foo.js
|
302
323
|
- test/source/_plugins/test-theme/layouts/default.html
|
@@ -322,4 +343,6 @@ test_files:
|
|
322
343
|
- test/source/tag_tests/include_theme.html
|
323
344
|
- test/source/tag_tests/include_theme_override.html
|
324
345
|
- test/source/tag_tests/scripts.html
|
346
|
+
- test/source/test_config/plugin_config.html
|
347
|
+
- test/source/test_config/theme_config.html
|
325
348
|
- test/test.rb
|