lense 0.2.28 → 0.2.29
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: 32b80c5720711c9d533557f97ca7f963dd54b7ed
|
4
|
+
data.tar.gz: 832a16ab6845e4f0975a047b6a7483a967922ca5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
283
|
+
File.size(path) <= max_size_10megs
|
284
284
|
end
|
285
285
|
|
286
286
|
Dir.mkdir '.lense/temp' unless File.directory? '.lense/temp'
|