hackety_hack-lessons 1.0.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/content/a-tour-of-hackety-hack.md +6 -6
- data/content/an-introduction-to-programming.md +1 -1
- data/content/an-introduction-to-ruby-with-hackety-hack.md +2 -2
- data/lib/hackety_hack/lessons.rb +6 -0
- data/lib/hackety_hack/lessons/rails/engine.rb +8 -0
- data/lib/hackety_hack/lessons/version.rb +1 -1
- data/vendor/assets/images/matz.jpg +0 -0
- data/vendor/assets/images/tab-cheat.png +0 -0
- data/vendor/assets/images/tab-hand.png +0 -0
- data/vendor/assets/images/tab-help.png +0 -0
- data/vendor/assets/images/tab-new.png +0 -0
- data/vendor/assets/images/tab-properties.png +0 -0
- data/vendor/assets/images/tab-quit.png +0 -0
- metadata +59 -28
@@ -51,7 +51,7 @@ games, and a few other things.
|
|
51
51
|
That's all there really is to say about the homepage. Try opening the Editor.
|
52
52
|
Here's its icon:
|
53
53
|
|
54
|
-

|
55
55
|
|
56
56
|
## Editor
|
57
57
|
|
@@ -83,7 +83,7 @@ off to other Hackety Hackers. :) More about this when we talk about Preferences.
|
|
83
83
|
|
84
84
|
The next tab is the Help tab. It looks like this:
|
85
85
|
|
86
|
-

|
87
87
|
|
88
88
|
Click it, and it'll open up a new window. Browse around and come back, I'll be
|
89
89
|
here.
|
@@ -101,7 +101,7 @@ there's a lot! Luckily, there's also a much shorter cheat sheet too...
|
|
101
101
|
|
102
102
|
Peek at the Cheat Sheet by clicking the icon like this:
|
103
103
|
|
104
|
-

|
105
105
|
|
106
106
|
The Cheat Sheet is much simpler. It just contains some helpful bits that you
|
107
107
|
should find useful. A quick reference of often used bits. And a short sheet
|
@@ -115,7 +115,7 @@ The classic About box. These have been around basically since the beginning of
|
|
115
115
|
time. It's just a fun little image that tells you what version of Hackety Hack
|
116
116
|
you're using. It'll change with every release.
|
117
117
|
|
118
|
-

|
119
119
|
|
120
120
|
Time for the last one...
|
121
121
|
|
@@ -125,7 +125,7 @@ Time for the last one...
|
|
125
125
|
|
126
126
|
The Preferences icon is towards the bottom, and looks like this:
|
127
127
|
|
128
|
-

|
129
129
|
|
130
130
|
This lets you adjust your preferences for Hackety Hack. Right now, there's only
|
131
131
|
one preference: linking Hackety with your account on
|
@@ -144,7 +144,7 @@ If you did click the quit icon, well, you wouldn't be here anymore. And that'd
|
|
144
144
|
be unfortunate. So, don't click it until you're good and ready. When it's your
|
145
145
|
time to go, it'll be there waiting for you.
|
146
146
|
|
147
|
-

|
148
148
|
|
149
149
|
Come back soon!
|
150
150
|
|
@@ -121,7 +121,7 @@ the turtle isn't doing what you expect!
|
|
121
121
|
|
122
122
|
Click on the editor tab to get started:
|
123
123
|
|
124
|
-

|
125
125
|
|
126
126
|
### Type it in!
|
127
127
|
|
@@ -26,7 +26,7 @@ _Ruby_ was created by
|
|
26
26
|
(you can just call him Matz) in 1995. If you couldn't guess, Matz is from
|
27
27
|
Japan. Here he is:
|
28
28
|
|
29
|
-

|
30
30
|
|
31
31
|
### Ruby is enjoyable
|
32
32
|
|
@@ -51,7 +51,7 @@ screen. Otherwise, you won't know what's going on!
|
|
51
51
|
In order to start coding, we need to bring up the Editor. Its icon looks like
|
52
52
|
this:
|
53
53
|
|
54
|
-

|
55
55
|
|
56
56
|
Click the icon to open the Editor up, and then we'll move on...
|
57
57
|
|
data/lib/hackety_hack/lessons.rb
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
require 'hackety_hack/lessons/version'
|
2
|
+
require 'hackety_hack/lessons/rails/engine' if defined?(Rails)
|
3
|
+
|
2
4
|
require 'metadown'
|
3
5
|
|
4
6
|
module HacketyHack
|
@@ -26,5 +28,9 @@ module HacketyHack
|
|
26
28
|
def all
|
27
29
|
FILE_LIST.collect{|file| Metadown.render(File.read(file)) }
|
28
30
|
end
|
31
|
+
|
32
|
+
def static_directory
|
33
|
+
"#{File.dirname(__FILE__)}/../../static"
|
34
|
+
end
|
29
35
|
end
|
30
36
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,34 +1,46 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: hackety_hack-lessons
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 3461773182973075480
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 1.1.0
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Steve Klabnik
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-01-25 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: metadown
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 2002549777813010636
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
22
32
|
type: :runtime
|
23
|
-
|
24
|
-
version_requirements: *2154038220
|
33
|
+
version_requirements: *id001
|
25
34
|
description: A set of lessons to learn Ruby programming, from the Hackety Hack project.
|
26
|
-
email:
|
35
|
+
email:
|
27
36
|
- steve@steveklabnik.com
|
28
37
|
executables: []
|
38
|
+
|
29
39
|
extensions: []
|
40
|
+
|
30
41
|
extra_rdoc_files: []
|
31
|
-
|
42
|
+
|
43
|
+
files:
|
32
44
|
- .gitignore
|
33
45
|
- Gemfile
|
34
46
|
- LICENSE
|
@@ -40,29 +52,48 @@ files:
|
|
40
52
|
- content/an-introduction-to-shoes.md
|
41
53
|
- hackety_hack-lessons.gemspec
|
42
54
|
- lib/hackety_hack/lessons.rb
|
55
|
+
- lib/hackety_hack/lessons/rails/engine.rb
|
43
56
|
- lib/hackety_hack/lessons/version.rb
|
57
|
+
- vendor/assets/images/matz.jpg
|
58
|
+
- vendor/assets/images/tab-cheat.png
|
59
|
+
- vendor/assets/images/tab-hand.png
|
60
|
+
- vendor/assets/images/tab-help.png
|
61
|
+
- vendor/assets/images/tab-new.png
|
62
|
+
- vendor/assets/images/tab-properties.png
|
63
|
+
- vendor/assets/images/tab-quit.png
|
44
64
|
homepage: http://hackety.com/lessons
|
45
65
|
licenses: []
|
66
|
+
|
46
67
|
post_install_message:
|
47
68
|
rdoc_options: []
|
48
|
-
|
69
|
+
|
70
|
+
require_paths:
|
49
71
|
- lib
|
50
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
51
73
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
|
56
|
-
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 2002549777813010636
|
78
|
+
segments:
|
79
|
+
- 0
|
80
|
+
version: "0"
|
81
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
82
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
hash: 2002549777813010636
|
87
|
+
segments:
|
88
|
+
- 0
|
89
|
+
version: "0"
|
62
90
|
requirements: []
|
91
|
+
|
63
92
|
rubyforge_project:
|
64
|
-
rubygems_version: 1.8.
|
93
|
+
rubygems_version: 1.8.12
|
65
94
|
signing_key:
|
66
95
|
specification_version: 3
|
67
96
|
summary: The lessons from Hackety Hack.
|
68
97
|
test_files: []
|
98
|
+
|
99
|
+
has_rdoc:
|