lense 0.1.44 → 0.1.45

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 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fa0474edf8fb46fd1d878863e38c844eaffe97b
4
- data.tar.gz: 6e7a4dd34d2acd9992631b29be72e7eca28c8257
3
+ metadata.gz: f940929222ca5a79c63d778069257846fb351d4f
4
+ data.tar.gz: 6f765540b734b72b28f4f355242c2504958aca24
5
5
  SHA512:
6
- metadata.gz: 55ff5e37cf461d3e0e30770f8ba8e269050d2818ed68a64ca19448fa4bac98d54deb19c22a4e62ec9cfa67c0f4bffc0c8ccd35d1b4b9b3f958945afde82fc6aa
7
- data.tar.gz: 73bd8670da6cdbeebab7463ff2c18a37d96ea7364778cbfa5dde1626e341a3d0651f0f1ca4ded5271587a49f4130c3426447d37de58c47cf8084598c2d6ec281
6
+ metadata.gz: fc972d11b7615773d6167ebc71d878c3d66e7e4443b786f44ab543b1fa88e27bbae34d42e1bcab2966f54ec6043d1c61924e9242f18217619cd0cf96b0501dfc
7
+ data.tar.gz: d89d0a4eee8d5626cfa19b6fe7b5d43d8bd2ca5233603eac0f791c872f4dac35a94243b462fbbaf206c55e0aafba550d2a4b05673fec8ad416572b823be989ae
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.44'
9
+ VERSION = '0.1.45'
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')
@@ -184,7 +184,7 @@ class LENSE
184
184
  @DB.commit
185
185
  end
186
186
  @DB.transaction
187
- @DB.execute 'truncate staging;'
187
+ @DB.execute 'delete from staging;'
188
188
  @DB.commit
189
189
  # add new files to dependancies
190
190
  # create a hash for the commit and add to commits
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.44
4
+ version: 0.1.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Zubieta