lense 0.2.10 → 0.2.11

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: dfccfbb38a9524c09680157894df7c3d3329f196
4
- data.tar.gz: 47f6dedc68a8805973b31f60621b0f39d98d5459
3
+ metadata.gz: a8a2ff85f2d0387074199a1a943929a9dbe8dad6
4
+ data.tar.gz: e9a68d59792f893e687137e0050e95603a5f3657
5
5
  SHA512:
6
- metadata.gz: 825e5fbf97cc43263945963dc0d63f5a8d31b2590d9237ca1fb8d3bf91e86c11bbcff26ae4693c73379212522d4a3a7c5c2a9753c0e2714e86f4db4e25aa4f76
7
- data.tar.gz: d16a43e01936db62100023d6fc05feddf6610f666fb6e40e2bb0b7559b74b2db3f1be7346f3a79f8ffc6175e20d1081c7e438395428897603dd4f63f291e032b
6
+ metadata.gz: bbf46243b28667a015eb07487fc349f566f5a32d39434cb158520f0a1934a980f3f31a2cc8b6d0653faac0348492a3d460dcdd8d552039146a6bb344c0736be9
7
+ data.tar.gz: 959cb899b96352c7d244c26c962b0ba08e13af20e7308bb2d2dfb9eb596773b5031756143a978834f9a42059a83a8251f63d565ad2e6e364731ab7f59ede6853
data/lib/lense.rb CHANGED
@@ -7,7 +7,7 @@ require 'base64'
7
7
  class LENSE
8
8
  attr_reader :config, :current_course, :lense_file_hash
9
9
 
10
- VERSION = '0.2.10'
10
+ VERSION = '0.2.11'
11
11
  LENSE_DIR = File.join(ENV['HOME'],'.lense')
12
12
  COURSES_DIR = File.join(LENSE_DIR,'courses')
13
13
  CURRENT_COURSE_FILE = File.join(LENSE_DIR,'current_course')
@@ -260,7 +260,7 @@ class LENSE
260
260
  def pull()
261
261
  exit_now!("Not in a lense project.") unless File.directory? '.lense'
262
262
  exit_now!("No repo found.") unless File.file? ".lense/repository"
263
- repo = File.read '.lense/repository'
263
+ repo = File.read('.lense/repository').strip()
264
264
  exit_now!("Invalid repo name.") unless repo =~ /\A\w+\/\w+\Z/
265
265
 
266
266
  install_repo repo, 'pull'
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.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Zubieta