lense 0.1.45 → 0.1.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lense.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f940929222ca5a79c63d778069257846fb351d4f
4
- data.tar.gz: 6f765540b734b72b28f4f355242c2504958aca24
3
+ metadata.gz: a935c1490424e0272ac52c17c20da704b9408947
4
+ data.tar.gz: 1d6b0ba7164c450470247bb5ca391f0f78d90280
5
5
  SHA512:
6
- metadata.gz: fc972d11b7615773d6167ebc71d878c3d66e7e4443b786f44ab543b1fa88e27bbae34d42e1bcab2966f54ec6043d1c61924e9242f18217619cd0cf96b0501dfc
7
- data.tar.gz: d89d0a4eee8d5626cfa19b6fe7b5d43d8bd2ca5233603eac0f791c872f4dac35a94243b462fbbaf206c55e0aafba550d2a4b05673fec8ad416572b823be989ae
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.45'
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,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lense
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.45
4
+ version: 0.1.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Zubieta