learn-open 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/learn_open/opener.rb +1 -2
- data/lib/learn_open/version.rb +1 -1
- 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: f5ba1c8cf4021a06c945bb2fee832d3767865301
|
4
|
+
data.tar.gz: 1dfed3060fa300afd18cc6d44f3f4e37df86c534
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 171ac0be601a18067177eedf1c87e6dc73be08ab86648e93d82c45bf2c3e6331509878cd37992838c098b5c4e0783a0547de501f3daf142375db24165e15dda2
|
7
|
+
data.tar.gz: 100a6cccff94bf5d6b36368622b85934c4498c12651a10dad5ab9ffd843f7c890de9021afef6e0ed2b589b4dc757e2fc30c935a9d514f7d4552374cd6d7d0855
|
data/lib/learn_open/opener.rb
CHANGED
@@ -31,8 +31,6 @@ module LearnOpen
|
|
31
31
|
open_with_editor
|
32
32
|
cd_to_lesson
|
33
33
|
end
|
34
|
-
|
35
|
-
cleanup_tmp_file
|
36
34
|
end
|
37
35
|
|
38
36
|
private
|
@@ -195,6 +193,7 @@ module LearnOpen
|
|
195
193
|
def cd_to_lesson
|
196
194
|
puts "Opening lesson..."
|
197
195
|
Dir.chdir("#{lessons_dir}/#{repo_dir}")
|
196
|
+
cleanup_tmp_file
|
198
197
|
puts "Done."
|
199
198
|
exec("#{ENV['SHELL']} -l")
|
200
199
|
end
|
data/lib/learn_open/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: learn-open
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Flatiron School
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|