lense 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lense.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0fc96e0dc9fe038db1f47ec360f2ef9786a3a8fd
4
- data.tar.gz: 32ce21d28a975105fcfdbecb754655865bde5521
3
+ metadata.gz: ab356543df8bb3faeee175771e12835cea962c3a
4
+ data.tar.gz: 74b720ad4b5daa89e2352089de1487a63f0c5ba0
5
5
  SHA512:
6
- metadata.gz: 6f619b9fcf3d4fb41eea70ced7bc2dbda295566ccf5fa044cda250ef8c4cac9d782921f7b3e5f1e8a197d340acf205ca2847e508cee01fc3aaae5ea69abb8f9b
7
- data.tar.gz: ce1ca3c0a43f98c5d4218a3fe0eff0db5baa188e4420a924f322fb97bdeaecf5cc1a5d0c5fea5f45494483771bb815f829213a4e90150df7629292c209957b2f
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.16'
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 (>)"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lense
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Zubieta