lense 0.2.28 → 0.2.29

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: 39c69917064c679a1025d6dcd88428c81377307d
4
- data.tar.gz: 3ba14efeb6b2ca09c3b7a92e28c823d6df64dff1
3
+ metadata.gz: 32b80c5720711c9d533557f97ca7f963dd54b7ed
4
+ data.tar.gz: 832a16ab6845e4f0975a047b6a7483a967922ca5
5
5
  SHA512:
6
- metadata.gz: 7a5d63c3b0e49b15eb90421b6eb46fe2cc53118b0f64d93fe7a41a4f4895cac58fe34f85d489c6f6e5361c6484ed2281b87bc00f452d88449d9c8944b262d91d
7
- data.tar.gz: 2b11f6bf6dbbf8d0347854486951a09f7401df507768902b428d7672db72bb0cd7e3553e683d84c9fe0882b7d33d33c9ba65328adb81cc147f6224051029c4b0
6
+ metadata.gz: 8af90a2b804ead7f631de699a20df422fb7a5b8826615b161e6522e342200a8afb5215ac4bb534d4fc54b786b1214527e0b2493c8fc0a8bee108a12145588299
7
+ data.tar.gz: 6890ad54e3fe692e55117aa290f4f5e3ac6ce9f5ea61db2a138364265c3a1afdfaa7c3b892cc8b07f355327b21edf8520538a306ba89968c53542cda31f08126
data/lib/lense.rb CHANGED
@@ -7,7 +7,7 @@ require 'base64'
7
7
  class LENSE
8
8
  attr_reader :config, :current_course, :lense_file_hash
9
9
 
10
- VERSION = '0.2.28'
10
+ VERSION = '0.2.29'
11
11
  LENSE_DIR = File.join(ENV['HOME'],'.lense')
12
12
  COURSES_DIR = File.join(LENSE_DIR,'courses')
13
13
  CURRENT_COURSE_FILE = File.join(LENSE_DIR,'current_course')
@@ -280,7 +280,7 @@ class LENSE
280
280
  # only include files < 10 megabytes
281
281
  max_size_10megs = 10485760
282
282
  deps = rows.select do |path|
283
- File.size path <= max_size_10megs
283
+ File.size(path) <= max_size_10megs
284
284
  end
285
285
 
286
286
  Dir.mkdir '.lense/temp' unless File.directory? '.lense/temp'
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.2.28
4
+ version: 0.2.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Zubieta