hackety_hack-lessons 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,6 +11,10 @@ module HacketyHack
11
11
  all.collect{|data| data.metadata["title"]}
12
12
  end
13
13
 
14
+ def slugs
15
+ all.collect{|data| data.metadata["slug"]}
16
+ end
17
+
14
18
  def find_by_title(title)
15
19
  all.find{|data| data.metadata["title"] == title}
16
20
  end
@@ -1,5 +1,5 @@
1
1
  module HacketyHack
2
2
  module Lessons
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hackety_hack-lessons
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: metadown
16
- requirement: &2152981180 !ruby/object:Gem::Requirement
16
+ requirement: &2154038220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2152981180
24
+ version_requirements: *2154038220
25
25
  description: A set of lessons to learn Ruby programming, from the Hackety Hack project.
26
26
  email:
27
27
  - steve@steveklabnik.com