Skip to content

Commit

Permalink
Merge pull request #1793 from epergo/ep/remove-radius
Browse files Browse the repository at this point in the history
Remove Radius
  • Loading branch information
jkowens committed Jul 17, 2022
2 parents 00c97a7 + 0c2eab0 commit fb6f2da
Show file tree
Hide file tree
Showing 23 changed files with 6 additions and 306 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

* Breaking change: Remove support for Creole as a template engine. [#1792](https://github.com/sinatra/sinatra/pull/1792) by Eloy Pérez

* Breaking change: Remove support for Radius as a template engine. [#1793](https://github.com/sinatra/sinatra/pull/1793) by Eloy Pérez

* Breaking change: Remove support for the defunct Less templating library. See [#1716](https://github.com/sinatra/sinatra/issues/1716), [#1715](https://github.com/sinatra/sinatra/issues/1715) for more discussion and background. [d1af2f1e](https://github.com/sinatra/sinatra/commit/d1af2f1e6c8710419dfe3102a660f7a32f0e67e3) by Olle Jonsson

* Breaking change: Remove Reel integration. [54597502](https://github.com/sinatra/sinatra/commit/545975025927a27a1daca790598620038979f1c5) by Olle Jonsson
Expand Down
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ gem 'slim', '~> 4'
gem 'rdoc'
gem 'kramdown'
gem 'markaby'
gem 'radius'
gem 'asciidoctor'
gem 'liquid'
gem 'rabl'
Expand Down
21 changes: 0 additions & 21 deletions README.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ diesen Server verwenden.
- [Markdown Templates](#markdown-templates)
- [RDoc Templates](#rdoc-templates)
- [AsciiDoc Templates](#asciidoc-templates)
- [Radius Templates](#radius-templates)
- [Markaby Templates](#markaby-templates)
- [RABL Templates](#rabl-templates)
- [Slim Templates](#slim-templates)
Expand Down Expand Up @@ -776,26 +775,6 @@ Da man aus dem AsciiDoc-Template heraus keine Ruby-Methoden aufrufen kann
(ausgenommen `yield`), wird man üblicherweise locals verwenden wollen, mit
denen man Variablen weitergibt.

#### Radius Templates

<table>
<tr>
<td>Abhängigkeit</td>
<td><a href="https://github.com/jlong/radius">radius</a></td>
</tr>
<tr>
<td>Dateierweiterung</td>
<td><tt>.radius</tt></td>
</tr>
<tr>
<td>Beispiel</td>
<td><tt>radius :index, :locals => { :key => 'Wert' }</tt></td>
</tr>
</table>

Da man aus dem Radius-Template heraus keine Ruby-Methoden aufrufen kann, wird
man üblicherweise locals verwenden wollen, mit denen man Variablen weitergibt.

#### Markaby Templates

<table>
Expand Down
21 changes: 0 additions & 21 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ Se recomienda ejecutar `gem install puma`, porque Sinatra lo utilizará si está
- [Plantillas Markdown](#plantillas-markdown)
- [Plantillas RDoc](#plantillas-rdoc)
- [Plantillas AsciiDoc](#plantillas-asciidoc)
- [Plantillas Radius](#plantillas-radius)
- [Plantillas Markaby](#plantillas-markaby)
- [Plantillas RABL](#plantillas-rabl)
- [Plantillas Slim](#plantillas-slim)
Expand Down Expand Up @@ -784,26 +783,6 @@ al de la plantilla pasando la opción `:layout_engine`.
Desde que no se puede utilizar métodos de Ruby desde una
plantilla AsciiDoc, casi siempre va a querer pasarle locales.

#### Plantillas Radius

<table>
<tr>
<td>Dependencias</td>
<td><a href="https://github.com/jlong/radius" title="Radius">Radius</a></td>
</tr>
<tr>
<td>Extensiones de Archivo</td>
<td><tt>.radius</tt></td>
</tr>
<tr>
<td>Ejemplo</td>
<td><tt>radius :index, :locals => { :clave => 'valor' }</tt></td>
</tr>
</table>

Desde que no se puede utilizar métodos de Ruby (excepto por `yield`) de una
plantilla Radius, casi siempre se necesita pasar locales.

#### Plantillas Markaby

<table>
Expand Down
21 changes: 0 additions & 21 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ Sinatra utilise le server Thin quand il est disponible.
- [Templates Markdown](#templates-markdown)
- [Templates RDoc](#templates-rdoc)
- [Templates Asciidoc](#templates-asciidoc)
- [Templates Radius](#templates-radius)
- [Templates Markaby](#templates-markaby)
- [Templates RABL](#templates-rabl)
- [Templates Slim](#templates-slim)
Expand Down Expand Up @@ -784,26 +783,6 @@ pour le layout en utilisant l’option `:layout_engine`.
Comme vous ne pouvez pas appeler de méthodes Ruby depuis un template
AsciiDoc, vous aurez sûrement à lui passer des variables locales.

#### Templates Radius

<table>
<tr>
<td>Dépendances</td>
<td><a href="https://github.com/jlong/radius" title="Radius">Radius</a></td>
</tr>
<tr>
<td>Extensions de fichier</td>
<td><tt>.radius</tt></td>
</tr>
<tr>
<td>Exemple</td>
<td><tt>radius :index, :locals => { :key => 'value' }</tt></td>
</tr>
</table>

Comme vous ne pouvez pas appeler de méthodes Ruby depuis un template
Radius, vous aurez sûrement à lui passer des variables locales.

#### Templates Markaby

<table>
Expand Down
20 changes: 0 additions & 20 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ PumaがあればSinatraはこれを利用するので、`gem install puma`する
- [Markdown テンプレート](#markdown-テンプレート)
- [RDoc テンプレート](#rdoc-テンプレート)
- [AsciiDoc テンプレート](#asciidoc-テンプレート)
- [Radius テンプレート](#radius-テンプレート)
- [Markaby テンプレート](#markaby-テンプレート)
- [RABL テンプレート](#rabl-テンプレート)
- [Slim テンプレート](#slim-テンプレート)
Expand Down Expand Up @@ -712,25 +711,6 @@ RDocからはRubyを呼ぶことができないので、RDocで書かれたレ

AsciiDocテンプレートからRubyのメソッドを直接呼び出すことができないため、ほぼ全ての場合にlocalsを指定する必要があるでしょう。

#### Radius テンプレート

<table>
<tr>
<td>依存</td>
<td><a href="https://github.com/jlong/radius" title="Radius">Radius</a></td>
</tr>
<tr>
<td>ファイル拡張子</td>
<td><tt>.radius</tt></td>
</tr>
<tr>
<td>例</td>
<td><tt>radius :index, :locals => { :key => 'value' }</tt></td>
</tr>
</table>

RadiusテンプレートからRubyのメソッドを直接呼び出すことができないため、ほぼ全ての場合にlocalsを指定する必要があるでしょう。

#### Markaby テンプレート

<table>
Expand Down
21 changes: 0 additions & 21 deletions README.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ thin이 설치되어 있을 경우 Sinatra는 thin을 통해 실행합니다.
- [Markdown 템플릿](#markdown-템플릿)
- [RDoc 템플릿](#rdoc-템플릿)
- [AsciiDoc 템플릿](#asciidoc-템플릿)
- [Radius 템플릿](#radius-템플릿)
- [Markaby 템플릿](#markaby-템플릿)
- [RABL 템플릿](#rabl-템플릿)
- [Slim 템플릿](#slim-템플릿)
Expand Down Expand Up @@ -705,26 +704,6 @@ RDoc에서 루비를 호출할 수 없기 때문에, RDoc으로 작성된 레이
AsciiDoc 템플릿에서는 루비 메서드를 호출할 수 없기
때문에, 거의 대부분의 경우 locals를 전달해야 합니다.

#### Radius 템플릿

<table>
<tr>
<td>의존성</td>
<td><a href="https://github.com/jlong/radius" title="Radius">radius</a></td>
</tr>
<tr>
<td>파일 확장자</td>
<td><tt>.radius</tt></td>
</tr>
<tr>
<td>예제</td>
<td><tt>radius :index, :locals => { :key => 'value' }</tt></td>
</tr>
</table>

Radius 템플릿에서는 루비 메서드를 호출할 수 없기
때문에, 거의 대부분의 경우 locals를 전달해야 합니다.

#### Markaby 템플릿

<table>
Expand Down
21 changes: 0 additions & 21 deletions README.malayalam.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ View at: [http://localhost:4567](http://localhost:4567)
- [Markdown Templates](#markdown-templates)
- [RDoc Templates](#rdoc-templates)
- [AsciiDoc Templates](#asciidoc-templates)
- [Radius Templates](#radius-templates)
- [Markaby Templates](#markaby-templates)
- [RABL Templates](#rabl-templates)
- [Slim Templates](#slim-templates)
Expand Down Expand Up @@ -750,26 +749,6 @@ template than for the layout by passing the `:layout_engine` option.
Since you cannot call Ruby methods directly from an AsciiDoc template, you
almost always want to pass locals to it.

#### Radius Templates

<table>
<tr>
<td>Dependency</td>
<td><a href="https://github.com/jlong/radius" title="Radius">Radius</a></td>
</tr>
<tr>
<td>File Extension</td>
<td><tt>.radius</tt></td>
</tr>
<tr>
<td>Example</td>
<td><tt>radius :index, :locals => { :key => 'value' }</tt></td>
</tr>
</table>

Since you cannot call Ruby methods directly from a Radius template, you
almost always want to pass locals to it.

#### Markaby Templates

<table>
Expand Down
21 changes: 0 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ pick up if available.
- [Markdown Templates](#markdown-templates)
- [RDoc Templates](#rdoc-templates)
- [AsciiDoc Templates](#asciidoc-templates)
- [Radius Templates](#radius-templates)
- [Markaby Templates](#markaby-templates)
- [RABL Templates](#rabl-templates)
- [Slim Templates](#slim-templates)
Expand Down Expand Up @@ -777,26 +776,6 @@ template than for the layout by passing the `:layout_engine` option.
Since you cannot call Ruby methods directly from an AsciiDoc template, you
almost always want to pass locals to it.

#### Radius Templates

<table>
<tr>
<td>Dependency</td>
<td><a href="https://github.com/jlong/radius" title="Radius">Radius</a></td>
</tr>
<tr>
<td>File Extension</td>
<td><tt>.radius</tt></td>
</tr>
<tr>
<td>Example</td>
<td><tt>radius :index, :locals => { :key => 'value' }</tt></td>
</tr>
</table>

Since you cannot call Ruby methods directly from a Radius template, you
almost always want to pass locals to it.

#### Markaby Templates

<table>
Expand Down
21 changes: 0 additions & 21 deletions README.pl.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ którego Sinatra użyje jeżeli będzie dostępny.
- [Markdown Templates](#markdown-templates)
- [RDoc Templates](#rdoc-templates)
- [AsciiDoc Templates](#asciidoc-templates)
- [Radius Templates](#radius-templates)
- [Markaby Templates](#markaby-templates)
- [RABL Templates](#rabl-templates)
- [Slim Templates](#slim-templates)
Expand Down Expand Up @@ -775,26 +774,6 @@ template than for the layout by passing the `:layout_engine` option.
Since you cannot call Ruby methods directly from an AsciiDoc template, you
almost always want to pass locals to it.

#### Radius Templates

<table>
<tr>
<td>Dependency</td>
<td><a href="https://github.com/jlong/radius" title="Radius">Radius</a></td>
</tr>
<tr>
<td>File Extension</td>
<td><tt>.radius</tt></td>
</tr>
<tr>
<td>Example</td>
<td><tt>radius :index, :locals => { :key => 'value' }</tt></td>
</tr>
</table>

Since you cannot call Ruby methods directly from a Radius template, you
almost always want to pass locals to it.

#### Markaby Templates

<table>
Expand Down
21 changes: 0 additions & 21 deletions README.pt-br.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ disponível, o Sinatra irá utilizá-la.
- [Markdown Templates](#markdown-templates)
- [RDoc Templates](#rdoc-templates)
- [AsciiDoc Templates](#asciidoc-templates)
- [Radius Templates](#radius-templates)
- [Markaby Templates](#markaby-templates)
- [RABL Templates](#rabl-templates)
- [Slim Templates](#slim-templates)
Expand Down Expand Up @@ -824,26 +823,6 @@ deve-se passar a `:layout_engine` como opção.
Já que você não pode chamar o Ruby pelo template AsciiDoc,
você quase sempre precisará passar o `locals` para ele.

#### Radius Templates

<table>
<tr>
<td>Dependência</td>
<td><a href="https://github.com/jlong/radius" title="Radius">Radius</a></td>
</tr>
<tr>
<td>Extensão do Arquivo</td>
<td><tt>.radius</tt></td>
</tr>
<tr>
<td>Exemplo</td>
<td><tt>radius :index, :locals => { :key => 'value' }</tt></td>
</tr>
</table>

Já que você não pode chamar o Ruby pelo template Radius,
você quase sempre precisará passar o `locals` para ele.

#### Markaby Templates

<table>
Expand Down
21 changes: 0 additions & 21 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ ruby myapp.rb
- [Markdown шаблоны](#markdown-шаблоны)
- [RDoc шаблоны](#rdoc-шаблоны)
- [AsciiDoc шаблоны](#asciidoc-шаблоны)
- [Radius шаблоны](#radius-шаблоны)
- [Markaby шаблоны](#markaby-шаблоны)
- [RABL шаблоны](#rabl-шаблоны)
- [Slim шаблоны](#slim-шаблоны)
Expand Down Expand Up @@ -781,26 +780,6 @@ erb :overview, :locals => { :text => rdoc(:introduction) }
Так как в AsciiDoc шаблонах невозможно вызывать методы из Ruby напрямую, то вы
почти всегда будете передавать в шаблон локальные переменные.

#### Radius шаблоны

<table>
<tr>
<td>Зависимости</td>
<td><a href="https://github.com/jlong/radius" title="Radius">Radius</a></td>
</tr>
<tr>
<td>Расширения файлов</td>
<td><tt>.radius</tt></td>
</tr>
<tr>
<td>Пример</td>
<td><tt>radius :index, :locals => { :key => 'value' }</tt></td>
</tr>
</table>

Так как в Radius шаблонах невозможно вызывать методы из Ruby напрямую, то вы
почти всегда будете передавать в шаблон локальные переменные.

#### Markaby шаблоны

<table>
Expand Down
20 changes: 0 additions & 20 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ ruby myapp.rb
- [Markdown 模板](#markdown-模板)
- [RDoc 模板](#rdoc-模板)
- [AsciiDoc 模板](#asciidoc-模板)
- [Radius 模板](#radius-模板)
- [Markaby 模板](#markaby-模板)
- [RABL 模板](#rabl-模板)
- [Slim 模板](#slim-模板)
Expand Down Expand Up @@ -714,25 +713,6 @@ erb :overview, :locals => { :text => rdoc(:introduction) }

因为不能在 AsciiDoc 模板中直接调用 Ruby 方法,你几乎总是需要传递 locals 对象给它。

#### Radius 模板

<table>
<tr>
<td>依赖项</td>
<td><a href="https://github.com/jlong/radius" title="Radius">Radius</a></td>
</tr>
<tr>
<td>文件扩展名</td>
<td><tt>.radius</tt></td>
</tr>
<tr>
<td>例子</td>
<td><tt>radius :index, :locals => { :key => 'value' }</tt></td>
</tr>
</table>

因为不能在 Radius 模板中直接调用 Ruby 方法,你几乎总是可以传递 locals 对象给它。

#### Markaby 模板

<table>
Expand Down

0 comments on commit fb6f2da

Please sign in to comment.