lense 0.2.25 → 0.2.26
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 +4 -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: 11c63248b71babc2549c5d65c79fa601c517607f
|
4
|
+
data.tar.gz: 4cfd463af3c5528076540f6b67b60af0ad00779b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51909362f035ebffd5a30198ff618b611c03db524eafa540b5c371318665dd42a4224c72660dcfbc846f6780a0a34591dd279146fb387784aa114b569b3a2f0f
|
7
|
+
data.tar.gz: c7c9d1e8160aa8c754f79cff11835d2efdaf02e02973a37bdf19b2fa01e35b908fafb72775fcd593d9e18e15fcef54ade1e392fe5e5617b819b83a564fd145b2
|
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.26'
|
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')
|
@@ -300,7 +300,9 @@ class LENSE
|
|
300
300
|
filename: tar_fname,
|
301
301
|
content_type: "application/x-tar",
|
302
302
|
},
|
303
|
-
lesson: {
|
303
|
+
lesson: {
|
304
|
+
difficulty: 4,
|
305
|
+
}
|
304
306
|
}
|
305
307
|
response = RestClient.post "#{API_BASE}/#{repo}/push", post_body
|
306
308
|
say "response: #{response}"
|