lense 0.2.19 → 0.2.20

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 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dde2ef6f7effa4d8ca5ce04fe3fa07a4c20a72fe
4
- data.tar.gz: 395d5904a3d120d1433e426efc0cbfbab127df70
3
+ metadata.gz: 409851f7cf170403cbc0a5037c7bc4fceeb51f01
4
+ data.tar.gz: 9f974b52281401123f223df843d7df7330edb42d
5
5
  SHA512:
6
- metadata.gz: c89b96ef8bd428661082395d25946dc6d93e53cf62bfa4a1ccab34efe18d59fb921a13e250c80d8f6e8c97c21955a22c66d68cb3fb1f45f66ed146eeb4ede783
7
- data.tar.gz: b41009a673d426a0cc4005cc18d7642f5c621edcc443c2c5682a70636157516a9474e9c76b996876691b15a31f8102d82785f01b9144cb82803b883d493ede4e
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.19'
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}"
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.19
4
+ version: 0.2.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Zubieta