Skip to content

Commit 097eaf5

Browse files
author
Zachary Scott
committed
Merge pull request #62 from vipulnsward/typos
Fix some typos and github => GitHub
2 parents ab16180 + f48955e commit 097eaf5

File tree

12 files changed

+17
-17
lines changed

12 files changed

+17
-17
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ recipes that have been requested or are in progress.
2727

2828
## Here's the run down
2929

30-
To get started you should clone the repository from github:
30+
To get started you should clone the repository from GitHub:
3131

3232
```bash
3333
git clone git://github.com/sinatra/sinatra-recipes.git

app.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def get_activity_by_author
222222
p
223223
|Browse the <a href="/activity">latest activity</a>
224224
p
225-
| These recipes are provided by the following outsanding members of the Sinatra
225+
| These recipes are provided by the following outstanding members of the Sinatra
226226
| community:
227227
dl id="contributors"
228228
- @contributors.each do |contributor|

deployment/dreamhost_via_passenger.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The solution is to explicitly require the rack and sinatra gems in your
6565
config.ru. Add the following two lines to the start of your config.ru file:
6666

6767
```ruby
68-
require '/home/USERNAME/.gem/ruby/1.8/gems/rack-VERSION-OF-RACK-GEM-YOU-HAVE-INSTALLELD/lib/rack.rb'
69-
require '/home/USERNAME/.gem/ruby/1.8/gems/sinatra-VERSION-OF-SINATRA-GEM-YOU-HAVE-INSTALLELD/lib/sinatra.rb'
68+
require '/home/USERNAME/.gem/ruby/1.8/gems/rack-VERSION-OF-RACK-GEM-YOU-HAVE-INSTALLED/lib/rack.rb'
69+
require '/home/USERNAME/.gem/ruby/1.8/gems/sinatra-VERSION-OF-SINATRA-GEM-YOU-HAVE-INSTALLED/lib/sinatra.rb'
7070
```
7171

deployment/nginx_proxied_to_unicorn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ information on stopping the server look into `man ps` and `man kill`.
267267

268268
### Resources
269269

270-
* [unicorn source on github](http://github.com/defunkt/unicorn)
270+
* [unicorn source on GitHub](http://github.com/defunkt/unicorn)
271271
* [original unicorn announcement](http://github.com/blog/517-unicorn)
272272
* [official unicorn homepage](http://unicorn.bogomips.org/)
273273
* [unicorn rdoc](http://rdoc.info/gems/unicorn/2.0.0/frames)

development/bundler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Requiring `bundler/setup` is the same as calling `Bundler.setup` yourself, and
117117
is the recommended method in the gembundler documentation.
118118

119119
```ruby
120-
# If you're using Ruby 1.9 you'll need to specifially load rubygems
120+
# If you're using Ruby 1.9 you'll need to specifically load rubygems
121121
require 'rubygems'
122122

123123
# and now load bundler with your dependencies load paths

development/i18n.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The following configuration is necessary on I18n so that:
1212

1313
* it can fallback on other locales if the requested one is not
1414
available (ie: translation does not exist).
15-
* all the transalations are read from YAML files located in the
15+
* all the translations are read from YAML files located in the
1616
`locales` directory
1717

1818
```ruby
@@ -25,7 +25,7 @@ end
2525

2626
Now we need to choose the locale that the user wants. There are several
2727
solutions (and some can even be mixed together): browser preference,
28-
spefic URL, dedicated subdomain, cookies/session management.
28+
specific URL, dedicated subdomain, cookies/session management.
2929
Only the first three will be shown below:
3030

3131
### Browser preference (requires `rack-contrib`)

embed/event-machine.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
EventMachine is a very useful tool and sometimes you need to add a web-interface
44
on top of it. Yes, EM does support this out of the box, but it can be ugly and
5-
hard to work with. Why not use somethig that everyone already knows and loves
5+
hard to work with. Why not use something that everyone already knows and loves
66
like Sinatra?
77

88
Below is a (working) code-sample for running a simple HelloWorld Sinatra app
@@ -120,6 +120,6 @@ ab -c 10 -n 100 http://localhost:8181/delayed-hello
120120
If this finishes in "zero point something" seconds, then you have successfully
121121
setup Sinatra to run within EM and you are taking requests on the event-loop
122122
and deferring tasks to the background. If it takes any longer than that, then
123-
you are most likely taking requetss in the background which means when the EM
123+
you are most likely taking requests in the background which means when the EM
124124
queue fills up, you can't process your sinatra requests (not a good thing!).
125125
Make sure that you have threaded set to false and then try again.

helpers/partials_using_the_sinatra-partial_gem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ end
4444
### More information
4545

4646
For more configuration options and usage,
47-
[view the sinatra-partial gem in github](https://github.com/yb66/Sinatra-Partial).
47+
[view the sinatra-partial gem on GitHub](https://github.com/yb66/Sinatra-Partial).

middleware/rack_parser.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ And your Message model would have an appropriate `#from_hash` method that
2020
grabs what it needs from the parsed message and throws it into a new instance.
2121

2222
If your application has several different endpoints, all using the same
23-
content-type, you could save some repitition by moving it to a helper:
23+
content-type, you could save some repetition by moving it to a helper:
2424

2525
```ruby
2626
helpers do
@@ -43,7 +43,7 @@ the parsing logic out of your application itself starts to become attractive.
4343
One option is to move it into a module that your app extends.
4444

4545
But another option is to do the parsing in a middleware. That way, your app is
46-
not resposible for doing the basic parsing at all -- it's done and exposed to
46+
not responsible for doing the basic parsing at all -- it's done and exposed to
4747
your app by the time the request arrives.
4848

4949
The idea is *to mimic what Rack does to process form data*, which is to populate

testing/capybara_with_steak.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ end
3939

4040
**Steak Resources**
4141

42-
* [Source on github](https://github.com/cavalle/steak)
42+
* [Source on GitHub](https://github.com/cavalle/steak)
4343
* [Documentation](http://rdoc.info/gems/steak/1.0.1/frames/)
4444
* [Timeless: BDD with RSpec and Steak](http://timeless.judofyr.net/bdd-with-rspec-and-steak)
4545
* [More Steak Resources](https://github.com/cavalle/steak/wiki/Resources)

0 commit comments

Comments
 (0)