lense 0.2.23 → 0.2.24
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 -4
- 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: 7a6bdec5a1ce693b8b28408f7c6182ceb5d27249
|
4
|
+
data.tar.gz: b9968afedf998886c0441507639d39fc0a062c1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8ef593b6a35859e69975ab7f865cee3e4326fd4a7892bbd06931e884cbddeb80cf347b239bcb3580a857cc7ab45a38dafee862567b71ddbd2522a715fca665b
|
7
|
+
data.tar.gz: 37be3014e80241f1fe1d0c186d971c0b6548841ba316b1db707cb15f39d8d8d1f67339977c4f8683488437820b223b65e8297cc13978f9aeb0b084fb13ed4af7
|
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.24'
|
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')
|
@@ -298,9 +298,7 @@ class LENSE
|
|
298
298
|
tar_file_base64: Base64::encode64(File.read(tar_path)),
|
299
299
|
filename: tar_fname,
|
300
300
|
content_type: "application/x-tar",
|
301
|
-
lesson: {
|
302
|
-
difficulty: 4
|
303
|
-
}
|
301
|
+
lesson: { }
|
304
302
|
}
|
305
303
|
response = RestClient.post "#{API_BASE}/#{repo}/push", post_body
|
306
304
|
say "response: #{response}"
|