learn-open 1.2.9 → 1.2.10

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: 6660a18414782def164a57f68447ce1d809fe9ad
4
- data.tar.gz: 2a3e54f759d7e6a08c4ff3ac6c0f473e65f52709
3
+ metadata.gz: 4d9140c7b81ba5d698641f14215e45500dd61e6d
4
+ data.tar.gz: 1e7cbaa7180462f8913b938f0719073d75cbe0e3
5
5
  SHA512:
6
- metadata.gz: fadcaf816ac12c7acc1feaaaef3449583271baf012bcb0bd11e8605fea960bd3be19909c9498dd9301d92130b2fc263f68fa533b88844075ce0051549d0aa671
7
- data.tar.gz: bcf247ad6ff5e9d1b6849a4aac6da12cdb94c036a03bf71d075be1b97df7e11a6ef94b2378a3453794a795939e7be8016308ae9694bed1f3f01edcfce34a9265
6
+ metadata.gz: 01e232cf39a4d10667aaf7c16632696d61ab3ea60cd815a3d228e54cfa7fd11acdd3072519afb692e92925dc3e9da306140b817f7d4b865faeecbf816a1c6893
7
+ data.tar.gz: 14bda038c53422df8c7f76831f690f9e75d2d625ba9cda66b831aaa48133fb0ea316cb539af0ceafe1648e51b3cf5c284c2dba1d5d5812ea973eaf3898ce6417
@@ -26,7 +26,8 @@ module LearnOpen
26
26
 
27
27
  if ide_version_3?
28
28
  if self.repo_dir != ENV['LAB_NAME']
29
- File.open(".custom_commands.log", "w+") do |f|
29
+ home_dir = "/home/#{CREATED_USER}"
30
+ File.open("#{home_dir}/.custom_commands.log", "w+") do |f|
30
31
  f.puts %Q{{"command": "open_lab", "lab_name": "#{self.lesson}"}}
31
32
  end
32
33
  exit
@@ -1,3 +1,3 @@
1
1
  module LearnOpen
2
- VERSION = '1.2.9'
2
+ VERSION = '1.2.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: learn-open
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.9
4
+ version: 1.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flatiron School