lense 0.1.47 → 0.1.48
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 -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: 8a0ca49df7aa317a5222db89a5dab870bacb0dd6
|
4
|
+
data.tar.gz: 9c5353bb925935169a4d86d904797a422707bcba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb64d69eb3e6a653048c10f2ef1f3ba366e292964c65b47030be0fb2c37d65fa0b443ab4b0a555584113dbf168933a2d38a2752c9e8c139582fa6593625bfdc3
|
7
|
+
data.tar.gz: b47d97e2da80778ec6ede77e9dafa592b378b0162ee5a44c7a1ae44b72fc982166e875ed89959c14d49526d5eff4e21c7a9b0127fb976a46ef750fc78f67e571
|
data/lib/lense.rb
CHANGED
@@ -6,7 +6,7 @@ require 'sqlite3'
|
|
6
6
|
class LENSE
|
7
7
|
attr_reader :config, :current_course, :lense_file_hash
|
8
8
|
|
9
|
-
VERSION = '0.1.
|
9
|
+
VERSION = '0.1.48'
|
10
10
|
LENSE_DIR = File.join(ENV['HOME'],'.lense')
|
11
11
|
COURSES_DIR = File.join(LENSE_DIR,'courses')
|
12
12
|
CURRENT_COURSE_FILE = File.join(LENSE_DIR,'current_course')
|
@@ -251,7 +251,7 @@ class LENSE
|
|
251
251
|
limit 1;
|
252
252
|
", file)
|
253
253
|
if rows.length > 0
|
254
|
-
id, path, added_at, file_hash, saved_at, commit_hash =
|
254
|
+
id, path, added_at, file_hash, saved_at, commit_hash = rows[0]
|
255
255
|
|
256
256
|
{
|
257
257
|
id: id,
|