lense 0.2.26 → 0.2.27
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: b187ccfed33de5133ab6d7f9c4e669deaa192ea5
|
4
|
+
data.tar.gz: 9631c3241be0b5664694aab03a777ebb3593d407
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1702498697850e24e36ee5cae731f81d8f122bb67c0bca998a31cf645cbd019b1b02d767d1be69359c62dac3f115a240a482bbc68e3e917af5416f7dba7a8e61
|
7
|
+
data.tar.gz: ce9e7aa98a39d03298cba2a1252bdf9c1acb6c4bd60c258228ab96ad25e640d4d609762fba916d06890fc4b9d7b26c0e4d357f8bedb079b97aa34c912e735162
|
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.27'
|
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')
|
@@ -301,7 +301,9 @@ class LENSE
|
|
301
301
|
content_type: "application/x-tar",
|
302
302
|
},
|
303
303
|
lesson: {
|
304
|
-
|
304
|
+
title: repo['title'],
|
305
|
+
difficulty: repo['difficulty'],
|
306
|
+
description: repo['description'],
|
305
307
|
}
|
306
308
|
}
|
307
309
|
response = RestClient.post "#{API_BASE}/#{repo}/push", post_body
|