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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9dac63067e52d10a585f503c38724acc8cccd657
4
- data.tar.gz: cecbad2654040c472a0ead8d2d2fc05710410d0e
3
+ metadata.gz: f5ba1c8cf4021a06c945bb2fee832d3767865301
4
+ data.tar.gz: 1dfed3060fa300afd18cc6d44f3f4e37df86c534
5
5
  SHA512:
6
- metadata.gz: 49d16f5d3d3d0bd501db9d946e31186cb8f67f23ef6afa462c44958554c890919189d283afdb9a69df592a3e441aaa417155221fef258afc7d7f6905945ff0f2
7
- data.tar.gz: 3c01183fe94ef1fbdcf77d0a41e0460509987a7eefe968784b4553f68dce446c9fb0d661de322a08579404ca9ed25ed031a2d45caad91db71a2f640141212bd8
6
+ metadata.gz: 171ac0be601a18067177eedf1c87e6dc73be08ab86648e93d82c45bf2c3e6331509878cd37992838c098b5c4e0783a0547de501f3daf142375db24165e15dda2
7
+ data.tar.gz: 100a6cccff94bf5d6b36368622b85934c4498c12651a10dad5ab9ffd843f7c890de9021afef6e0ed2b589b4dc757e2fc30c935a9d514f7d4552374cd6d7d0855
@@ -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
@@ -1,3 +1,3 @@
1
1
  module LearnOpen
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
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.3
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-02 00:00:00.000000000 Z
11
+ date: 2015-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler