lense 0.2.19 → 0.2.20
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 -1
- 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: 409851f7cf170403cbc0a5037c7bc4fceeb51f01
|
4
|
+
data.tar.gz: 9f974b52281401123f223df843d7df7330edb42d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf15fdc84c8d272b97ab2579045f2c6e54c5edbf5b69e084493a7ccfb208ebe899429af9ec1a39ddd9e3e216744ee7c6c9a89c3b0c353d681bdef5e98d5902c2
|
7
|
+
data.tar.gz: 4bde29821ec4c3b282b15077334bf193ee54adbd14deb96218d7c0d77d053950acff503aad5fdd4860c9e40b442e82401c9d6e368b4d26a72faa660f4b0f51c5
|
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.20'
|
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')
|
@@ -283,6 +283,7 @@ class LENSE
|
|
283
283
|
File.size path <= max_size_10megs
|
284
284
|
end
|
285
285
|
|
286
|
+
Dir.mkdir '.lense/temp' unless File.directory? '.lense/temp'
|
286
287
|
db_hash = hash_file '.lense/db'
|
287
288
|
tar_fname = "#{user}_#{project}_#{db_hash}.tar"
|
288
289
|
tar_path = ".lense/temp/#{tar_fname}"
|