Skip to content

Commit 1e7dca2

Browse files
Textual updates, fix broken links, privacy statement
1 parent b93620f commit 1e7dca2

6 files changed

Lines changed: 21 additions & 32 deletions

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TryRuby R4
22

3-
This repo holds the source of the TryRuby.nl website. TryRuby is a website
3+
This repo holds the source of the TryRuby website. TryRuby is a website
44
where you can learn the Ruby language. Starting from zero knowledge about
55
programming you can learn the basics of Ruby in 56 short lessons.
66

@@ -52,7 +52,7 @@ for more background information on how and why this website was created.
5252

5353
## The MIT License
5454

55-
Copyright (C) 2014-2017 Ivo Herweijer
55+
Copyright (C) 2014-2018 Ivo Herweijer
5656

5757
Permission is hereby granted, free of charge, to any person obtaining a copy
5858
of this software and associated documentation files (the "Software"), to deal

source/about.html.markdown

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: Ivo Herweijer
66

77
### The MIT License
88

9-
Copyright (C) 2014-2017 Ivo Herweijer
9+
Copyright (C) 2014-2018 Ivo Herweijer
1010

1111
Permission is hereby granted, free of charge, to any person obtaining a copy
1212
of this software and associated documentation files (the "Software"), to deal
@@ -46,10 +46,10 @@ Japanese translation by _Koji Shimada_ & _Masayoshi Takahashi_
4646

4747
### Privacy
4848

49-
TryRuby.nl only uses session cookies. These store language preference and last
50-
lesson visited. The webserver stores visit information in the Apache
51-
combined log format. This includes ip address and date/time.
52-
The webserver that TryRuby.nl runs on is physically located in The Netherlands.
49+
This website only uses session cookies. These store language preference and last
50+
lesson visited.
51+
You can find the privacy statement for the webserver this site is hosted on
52+
<a href="https://help.github.com/articles/github-privacy-statement/" target="_blank">here</a>.
5353

5454
### Source code
5555

source/articles/2015-01-01-try-ruby-version-4.html.markdown

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ the_summary: Some information about the history of TryRuby and the reasons for b
88
## History
99
This is the fourth iteration of the TryRuby website.
1010
TryRuby was originally created by a famous Ruby enthusiast working under the nickname 'why
11-
the lucky stiff'. You can read more about him on
11+
the lucky stiff', a.k.a. \_Why. You can read more about him on
1212
<a href="http://en.wikipedia.org/wiki/Why_the_lucky_stiff" target="_blank">Wikipedia</a>.
1313

1414
\_Why doesn't exist anymore, but TryRuby lives on. It was first recreated by Andrew McElroy
@@ -24,15 +24,8 @@ This fourth iteration of TryRuby was created for several reasons.
2424
- Lesson content also missed some important information (like __if__ statements)
2525
- All previous TryRuby versions consisted of an irb interpreter with a web front-end.
2626
Even though some security measures have been taken (isolating and restricting the irb process
27-
and whitelisting input), this still sounds like a disastrously bad idea from a security
28-
perspective!
27+
and whitelisting input), this still sounds like a bad idea from a security perspective!
2928
TryRuby<sup>R4</sup> runs inside the web browser
30-
- TryRuby.org is embedded in a commercial venture. This doesn't seem in line with the
31-
free spirit in which TryRuby was created
32-
- Since I have a C/C++ background and am switching to Ruby/Rails, I needed a small but significant
33-
Ruby project for my resume.
34-
The original lesson content was brilliant stuff, so working on TryRuby was a most
35-
enjoyable experience
3629

3730
### Changes
3831
By changing the TryRuby mechanics from running irb on a server, to running Opal in the web browser,
@@ -62,7 +55,3 @@ Your opinion is most welcome:
6255
- Add some self evaluation questions at the end of each chapter
6356
- Maybe remove the lessons about classes. It's a bit advanced for an absolute beginners
6457
course
65-
- I am hosting TryRuby<sup>R4</sup> using an .nl domain, simply because this was available and
66-
is the cheapest option for me.
67-
TryRuby really ought to be part of RubyLang.org
68-

source/articles/2015-01-02-testing.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Each feature usually has many scenario's.
9090
### Test tools and automation
9191
Ruby has one of the most advanced set of testing tools available anywhere.
9292

93-
For supporting TDD style testing __rspec__ is very popular.
93+
For supporting TDD style testing both __rspec__ and __minitest__ are very popular.
9494
BDD style testing is often done with __cucumber__. Cucumber lets you translate functional
9595
requirements written in plain English into executable (!) tests for your Ruby code.
9696

source/articles/2015-01-03-app-development.html.markdown

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ device itself.
2121
These days, to deliver the service to a customer we really have to support multiple distribution
2222
channels:
2323
a website usable from a variety of computers and devices, plus a native app for each of the major
24-
platforms (Android, iOS, BlackBerry, Windows Phone, Ubuntu, Gecko).
24+
platforms (Android, iOS, Windows Phone).
2525
A lot of different technologies to learn!
2626

2727
Life for software developers isn't that simple anymore. What are your options ?
@@ -32,9 +32,9 @@ Web browsers are getting more powerful every year. Giving you better control ove
3232
and feel of your website, regardless of the size or type of device used by your customer.
3333

3434
But your customer will still need constant internet access to use your service. Fortunately
35-
the web browser can help us here as well. HTML R5 enabled web browsers support something called
36-
local storage, which you can use to make the customer think he/she is still connected to your
37-
service. When an internet connection becomes available again, you can sync changes.
35+
the web browser can help us here as well. HTML 5 enabled web browsers support something called
36+
local storage and service workers, which you can use to make the customer think he/she is still
37+
connected to your service. When an internet connection becomes available again, you can sync changes.
3838
I am not saying that this is easy to do, far from it, but it's do-able.
3939

4040
One thing that can make life easier is to use <a href="http://opalrb.com/" target="_blank">Opal</a>.
@@ -51,8 +51,8 @@ to support. Native apps give you ultimate control over the look and feel off you
5151
You will also have better access to the sensors built into the device (movement, position, ...).
5252

5353
Huge drawback to this approach is that every mobile platform uses a completely different development
54-
environment and programming language. You might need to learn about Java, Objective-C, C-Sharp and others.
54+
environment and programming language. You might need to learn about Java, Objective-C, Swift,
55+
C-Sharp and others.
5556

56-
But you are in luck ! With <a href="http://www.rubymotion.com" target="_blank">RubyMotion</a>
57-
you can create native apps for iOS and Android using your favorite Ruby language.
58-
It is not free, but it will save you a lot of time !
57+
But you are in luck ! There are cross-platform tools available where you create you app once and
58+
distribute it to multiple mobile platforms.

source/articles/2015-01-04-web-development.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ There are several other Ruby web frameworks that are simpler and easier to learn
3737

3838
- __Sinatra__
3939
Popular: <a href="http://www.sinatrarb.com/" target="_blank">Sinatra</a>
40+
- __Hanami__
41+
Clever: <a href="http://hanamirb.org/" target="_blank">Hanami</a>
4042
- __Camping__
41-
Originally crafted by \_why (just like this website): <a href="http://camping.io/" target="_blank">Camping</a>
42-
- __Grape__
43-
Handy for creating webservices: <a href="http://intridea.github.io/grape/" target="_blank">Grape</a>
43+
Originally crafted by \_why (just like this website): <a href="https://github.com/camping/camping" target="_blank">Camping</a>
4444
- __Ramaze__
4545
Simple and few conventions: <a href="http://ramaze.net/" target="_blank">Ramaze</a>
4646
- __NyNy__

0 commit comments

Comments
 (0)