@@ -610,7 +610,7 @@ get('/') { markdown :index }
610610<table >
611611 <tr >
612612 <td>依存</td>
613- <td><a href="http ://sass-lang.com/" title="sass">sass</a></td>
613+ <td><a href="https ://sass-lang.com/" title="sass">sass</a></td>
614614 </tr >
615615 <tr >
616616 <td>ファイル拡張子</td>
@@ -627,7 +627,7 @@ get('/') { markdown :index }
627627<table >
628628 <tr >
629629 <td>依存</td>
630- <td><a href="http ://sass-lang.com/" title="sass">sass</a></td>
630+ <td><a href="https ://sass-lang.com/" title="sass">sass</a></td>
631631 </tr >
632632 <tr >
633633 <td>ファイル拡張子</td>
@@ -661,7 +661,7 @@ get('/') { markdown :index }
661661<table >
662662 <tr >
663663 <td>依存</td>
664- <td><a href="http ://liquidmarkup.org /" title="liquid">liquid</a></td>
664+ <td><a href="https ://shopify.github.io/liquid /" title="liquid">liquid</a></td>
665665 </tr >
666666 <tr >
667667 <td>ファイル拡張子</td>
@@ -684,8 +684,8 @@ LiquidテンプレートからRubyのメソッド(`yield`を除く)を呼び出
684684 次の何れか:
685685 <a href="https://github.com/davidfstr/rdiscount" title="RDiscount">RDiscount</a>,
686686 <a href="https://github.com/vmg/redcarpet" title="RedCarpet">RedCarpet</a>,
687- <a href="http ://deveiate.org/projects/BlueCloth " title="BlueCloth ">BlueCloth</a>,
688- <a href="http ://kramdown.gettalong.org/" title="kramdown">kramdown</a>,
687+ <a href="https ://github.com/ged/bluecloth " title="bluecloth ">BlueCloth</a>,
688+ <a href="https ://kramdown.gettalong.org/" title="kramdown">kramdown</a>,
689689 <a href="https://github.com/bhollis/maruku" title="maruku">maruku</a>
690690 </td>
691691 </tr >
@@ -786,7 +786,7 @@ RDocからはRubyを呼ぶことができないので、RDocで書かれたレ
786786<table >
787787 <tr >
788788 <td >依存</td >
789- <td ><a href =" http ://asciidoctor.org/" title =" Asciidoctor " >Asciidoctor</a ></td >
789+ <td ><a href =" https ://asciidoctor.org/" title =" Asciidoctor " >Asciidoctor</a ></td >
790790 </tr >
791791 <tr >
792792 <td >ファイル拡張子</td >
@@ -824,7 +824,7 @@ RadiusテンプレートからRubyのメソッドを直接呼び出すことが
824824<table >
825825 <tr >
826826 <td>依存</td>
827- <td><a href="http ://markaby.github.io/" title="Markaby">Markaby</a></td>
827+ <td><a href="https ://markaby.github.io/" title="Markaby">Markaby</a></td>
828828 </tr >
829829 <tr >
830830 <td>ファイル拡張子</td>
@@ -1456,7 +1456,7 @@ get '/foo' do
14561456 status 418
14571457 headers \
14581458 "Allow" => "BREW, POST, GET, PROPFIND, WHEN",
1459- "Refresh" => "Refresh: 20; http ://www.ietf.org/rfc/rfc2324.txt"
1459+ "Refresh" => "Refresh: 20; https ://www.ietf.org/rfc/rfc2324.txt"
14601460 body "I'm a tea pot!"
14611461end
14621462` ` `
@@ -1586,7 +1586,7 @@ end
15861586
15871587` ` ` ruby
15881588redirect to('/bar'), 303
1589- redirect 'http ://www.google.com/', 'wrong place, buddy'
1589+ redirect 'https ://www.google.com/', 'wrong place, buddy'
15901590` ` `
15911591
15921592また、` redirect back` を使えば、簡単にユーザが来たページへ戻るリダイレクトを作れます。
@@ -2219,7 +2219,7 @@ Sinatraを開発環境の下で実行している場合は、特別な`not_found
22192219
22202220## Rackミドルウェア(Rack Middleware)
22212221
2222- SinatraはRuby製Webフレームワークのミニマルな標準的インタフェースである[ Rack] ( http ://rack.github.io/) 上に構築されています。アプリケーションデベロッパーにとってRackにおける最も興味深い機能は、「ミドルウェア(middleware)」をサポートしていることであり、これは、サーバとアプリケーションとの間に置かれ、HTTPリクエスト/レスポンスを監視および/または操作することで、各種の汎用的機能を提供するコンポーネントです。
2222+ SinatraはRuby製Webフレームワークのミニマルな標準的インタフェースである[ Rack] ( https ://rack.github.io/) 上に構築されています。アプリケーションデベロッパーにとってRackにおける最も興味深い機能は、「ミドルウェア(middleware)」をサポートしていることであり、これは、サーバとアプリケーションとの間に置かれ、HTTPリクエスト/レスポンスを監視および/または操作することで、各種の汎用的機能を提供するコンポーネントです。
22232223
22242224Sinatraはトップレベルの` use ` メソッドを通して、Rackミドルウェアパイプラインの構築を楽にします。
22252225
@@ -2636,7 +2636,8 @@ ruby myapp.rb [-h] [-x] [-e ENVIRONMENT] [-p PORT] [-o HOST] [-s HANDLER]
26362636
26372637### マルチスレッド
26382638
2639- _ この[ StackOverflow] [ so-answer ] でのKonstantinによる回答を言い換えています。_
2639+ _ この[ StackOverflow] ( https://stackoverflow.com/a/6282999/5245129 )
2640+ のKonstantinによる回答を言い換えています。_
26402641
26412642Sinatraでは同時実行モデルを負わせることはできませんが、根本的な部分であるThinやPuma、WebrickのようなRackハンドラ(サーバー)部分に委ねることができます。
26422643Sinatra自身はスレッドセーフであり、もしRackハンドラが同時実行モデルのスレッドを使用していても問題はありません。
@@ -2663,8 +2664,6 @@ App.run!
26632664thin --threaded start
26642665```
26652666
2666- [ so-answer] : http://stackoverflow.com/questions/6278817/is-sinatra-multi-threaded/6282999#6282999 )
2667-
26682667## 必要環境
26692668
26702669次のRubyバージョンが公式にサポートされています。
@@ -2734,7 +2733,7 @@ gem install sinatra --pre
27342733
27352734### Bundlerを使う場合
27362735
2737- 最新のSinatraでアプリケーションを動作させたい場合には、[ Bundler] ( http ://bundler.io) を使うのがお薦めのやり方です。
2736+ 最新のSinatraでアプリケーションを動作させたい場合には、[ Bundler] ( https ://bundler.io) を使うのがお薦めのやり方です。
27382737
27392738まず、Bundlerがなければそれをインストールします。
27402739
@@ -2797,15 +2796,15 @@ sudo rake install
27972796
27982797## バージョニング(Versioning)
27992798
2800- Sinatraは、[ Semantic Versioning] ( http ://semver.org/) におけるSemVerおよびSemVerTagの両方に準拠しています。
2799+ Sinatraは、[ Semantic Versioning] ( https ://semver.org/) におけるSemVerおよびSemVerTagの両方に準拠しています。
28012800
28022801## 参考文献
28032802
28042803* [ プロジェクトサイト] ( http://www.sinatrarb.com/ ) - ドキュメント、ニュース、他のリソースへのリンクがあります。
28052804* [ プロジェクトに参加(貢献)する] ( http://www.sinatrarb.com/contributing.html ) - バグレポート パッチの送信、サポートなど
28062805* [ Issue tracker] ( https://github.com/sinatra/sinatra/issues )
28072806* [ Twitter] ( https://twitter.com/sinatra )
2808- * [ メーリングリスト] ( http ://groups.google.com/group/sinatrarb/topics)
2807+ * [ メーリングリスト] ( https ://groups.google.com/group/sinatrarb/topics)
28092808* http://freenode.net上のIRC : [ #sinatra] ( irc://chat.freenode.net/#sinatra )
28102809* [ Sinatra Book] ( https://github.com/sinatra/sinatra-book/ ) クックブック、チュートリアル
28112810* [ Sinatra Recipes] ( http://recipes.sinatrarb.com/ ) コミュニティによるレシピ集
0 commit comments