learn-open 1.2.17 → 1.2.18
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 +4 -3
- 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: bb5d0270c2596e3e0d41e1bc2748f52333937a63
|
4
|
+
data.tar.gz: 7e90c2229c57dec0b392ce1474db4530e0ae0756
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d09926592eeec9291ae2aaf888297b0282b6d13051894f210c2620e88854f56fb585adf90199513a7fb99042cac47e81a19d50c3c632105db3abace19a2ad14
|
7
|
+
data.tar.gz: 55e66939b6fdfc3ea8a832dee7b3f7d1daf0e0d256916daa7accfbd3cdaef88778a29aaccfeaa9baac900c57db6505dab437e13069ba6af39ce8b1981054cfff
|
data/lib/learn_open/opener.rb
CHANGED
@@ -35,14 +35,15 @@ module LearnOpen
|
|
35
35
|
end
|
36
36
|
|
37
37
|
puts "Looking for lesson..."
|
38
|
-
warn_if_necessary
|
39
38
|
|
40
39
|
if jupyter_notebook_environment?
|
41
40
|
git_tasks
|
42
41
|
file_tasks
|
43
|
-
|
42
|
+
restore_files
|
43
|
+
watch_for_changes
|
44
44
|
completion_tasks
|
45
45
|
else
|
46
|
+
warn_if_necessary
|
46
47
|
if lesson_is_readme?
|
47
48
|
open_readme
|
48
49
|
else
|
@@ -63,7 +64,7 @@ module LearnOpen
|
|
63
64
|
private
|
64
65
|
|
65
66
|
def setup_backup_if_needed
|
66
|
-
if ide_environment? && ide_git_wip_enabled?
|
67
|
+
if ide_environment? && ide_git_wip_enabled?
|
67
68
|
restore_files
|
68
69
|
watch_for_changes
|
69
70
|
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.2.
|
4
|
+
version: 1.2.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Flatiron School
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|