lense 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lense.rb +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a985317c752318434cd125d50af9e3edb429097d
|
4
|
+
data.tar.gz: 10bb8e6d02530157ae24f49b7fc6ac87715c0590
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30c9418559c0fef59d6259489315aa0f9c927e87b3274699b389e2abee19463fe1ff216d83870842e4b1e35044804259d5bf1300c4dc5564cad0d29d5a2df987
|
7
|
+
data.tar.gz: b1b6f9bced70692fe184e2eccba16a85c67916e8095a0b59252e19a9ed7cd5d3cb15672168d0997e76c46d84e2e7cf38ef33a9b61718301369ba640d22362d00
|
data/lib/lense.rb
CHANGED
@@ -8,7 +8,7 @@ require 'psych'
|
|
8
8
|
class LENSE
|
9
9
|
attr_reader :config, :current_course, :lense_file_hash
|
10
10
|
|
11
|
-
VERSION = '0.3.
|
11
|
+
VERSION = '0.3.4'
|
12
12
|
LENSE_DIR = File.join(ENV['HOME'],'.lense')
|
13
13
|
COURSES_DIR = File.join(LENSE_DIR,'courses')
|
14
14
|
CURRENT_COURSE_FILE = File.join(LENSE_DIR,'current_course')
|
@@ -149,11 +149,13 @@ class LENSE
|
|
149
149
|
end
|
150
150
|
|
151
151
|
rows = @DB.execute 'select path from dependencies where not deleted;'
|
152
|
-
if rows.length >0
|
152
|
+
if rows.length > 0
|
153
153
|
say "\nUnstaged Modified Files:\n"
|
154
154
|
rows.each do |row|
|
155
155
|
path = row[0]
|
156
|
-
|
156
|
+
dependency = get_dependency(path)
|
157
|
+
hash = hash_file(path)
|
158
|
+
say "\t<%= color('Modified: #{path}',:red) %>" unless hash = dependency[:file_hash]
|
157
159
|
end
|
158
160
|
end
|
159
161
|
|
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.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Zubieta
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|