lense 0.1.7 → 0.1.8

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.
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: bb76341de398504bd254e2924424dd490bb79aed
4
- data.tar.gz: 65530d6b58000248ed7f0b6c854406e93754b913
3
+ metadata.gz: e8ff208904ee8710807453d0b7bb1036a3a29152
4
+ data.tar.gz: adde9f7b469edbe14758e4ca76fdbca2c7534528
5
5
  SHA512:
6
- metadata.gz: 76062ac51ff5fb8b207891d94b3788643a21bd68f48e6dc06e7d580df4fb40ecae56ba4d413fd2116fc79db66fca79256544059a49f3f473fd9ebea22a873a8e
7
- data.tar.gz: c04d159cde4c0e71abf5353f8c9d43503ea8b0cb4141118bf966dac014434ef84b79d0b74049ed30006630262892ac6c5859c5293d7b1da714d7393c4a46bb40
6
+ metadata.gz: 5c3287edbbb74e9667fbe352ede4783a85f04a3728542546967cf30fa3d65925ed2c551ad54a27a652b36aca7267593fa6cdc5bf5ddff55d374783263a289511
7
+ data.tar.gz: 5282014601f53c1024faafac2ad8bec6b49f01c290934b0cdc2f47ca8093a04805e40acae1ecd2ee3408b268d2bdb66cf971b673ceeb5afeacf79702a68c1867
data/lib/lense.rb CHANGED
@@ -1,14 +1,14 @@
1
1
  class LENSE
2
2
  attr_reader :config
3
3
 
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
5
5
  LENSE_DIR = File.join(ENV['HOME'],'.lense')
6
6
 
7
7
  def initialize()
8
8
  Dir.mkdir(LENSE_DIR) unless File.directory?(LENSE_DIR)
9
9
  config_file = File.join(LENSE_DIR,'config')
10
10
  config_str = File.file?(config_file) ? File.read(config_file) : ''
11
- @config = Psych.load(str)
11
+ @config = Psych.load(config_str)
12
12
  end
13
13
 
14
14
  end
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.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Zubieta