lense 0.1.16 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lense.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab356543df8bb3faeee175771e12835cea962c3a
|
4
|
+
data.tar.gz: 74b720ad4b5daa89e2352089de1487a63f0c5ba0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6b9f2ecc57367b449d2fdae3517cf5a3b5ce9112f0e5de3854eb9c4922530a657cee16cbd88074de4440f3171fb46b7f00738a53b2d1c23bdd129b892e85bad
|
7
|
+
data.tar.gz: a0b6acac3aceaa9a6e614e8518623dabb3acaf7cda35ee04edafc3d73f038ad2383c69bd5f58cf07b1c685c50118e589b6025f44d98610f97ec0a60166345902
|
data/lib/lense.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
class LENSE
|
2
2
|
attr_reader :config, :current_course
|
3
3
|
|
4
|
-
VERSION = '0.1.
|
4
|
+
VERSION = '0.1.17'
|
5
5
|
LENSE_DIR = File.join(ENV['HOME'],'.lense')
|
6
6
|
COURSES_DIR = File.join(LENSE_DIR,'courses')
|
7
7
|
CURRENT_COURSE_FILE = File.join(LENSE_DIR,'current_course')
|
@@ -37,7 +37,7 @@ class LENSE
|
|
37
37
|
def list_courses()
|
38
38
|
Dir.entries(COURSES_DIR).each do |c|
|
39
39
|
prefix = c == @current_course ? " > " : " "
|
40
|
-
puts "#{prefix}#{c}"
|
40
|
+
puts "#{prefix}#{c}" unless ['.','..'].include? c
|
41
41
|
end
|
42
42
|
puts ""
|
43
43
|
puts "Indicates current course (>)"
|