lense 0.1.45 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lense.rb +2 -1
- 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: a935c1490424e0272ac52c17c20da704b9408947
|
4
|
+
data.tar.gz: 1d6b0ba7164c450470247bb5ca391f0f78d90280
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1a98e61d5e4528f10ff614fab47b1d9bd9feb057949aad8b4b6aff002b452e1f2c5feffa4d57ec5a41d89b3aaf9b0d714538c8e2318b4237b77e53f2f2c1ced
|
7
|
+
data.tar.gz: 5a2505bd4b206e8f7f56a0fc3dad9759341f59b9c800af9a3977cad9fd437a931ccbb999ff90988896abb785e5faafa70e9ab63181e65fbc7f94f105dd1dcf9f
|
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.46'
|
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')
|
@@ -265,6 +265,7 @@ class LENSE
|
|
265
265
|
end
|
266
266
|
|
267
267
|
def setup_db()
|
268
|
+
@DB = SQLite3::Database.new File.join(LOCAL_LENSE_DIR,'db')
|
268
269
|
@DB.execute <<-SQL
|
269
270
|
CREATE TABLE IF NOT EXISTS dependencies (
|
270
271
|
id integer primary key autoincrement,
|