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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 522d80592f2f4b77c7e6ffeada39972ce6158a22
4
- data.tar.gz: 84c90c4b99bab33bc60f03a7fdebf2847ca59c4d
3
+ metadata.gz: bb5d0270c2596e3e0d41e1bc2748f52333937a63
4
+ data.tar.gz: 7e90c2229c57dec0b392ce1474db4530e0ae0756
5
5
  SHA512:
6
- metadata.gz: 7b44ff292a99453a36e076c412c0d7dc5822e1b8b721fa3aa1f56038b95a9fbf1563d403daa5bb8da04d7a5b256b91f190852bf21a96865ea087bfaf5451ec83
7
- data.tar.gz: 34cd501255cd85334186655b8c54062e06966ba8a678e288924baa8ea09cd56b72a561eea4f55d106e77523dca1280ceca4ba605feec73541835461efdef8d93
6
+ metadata.gz: 0d09926592eeec9291ae2aaf888297b0282b6d13051894f210c2620e88854f56fb585adf90199513a7fb99042cac47e81a19d50c3c632105db3abace19a2ad14
7
+ data.tar.gz: 55e66939b6fdfc3ea8a832dee7b3f7d1daf0e0d256916daa7accfbd3cdaef88778a29aaccfeaa9baac900c57db6505dab437e13069ba6af39ce8b1981054cfff
@@ -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
- setup_backup_if_needed
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? || jupyter_notebook_environment?
67
+ if ide_environment? && ide_git_wip_enabled?
67
68
  restore_files
68
69
  watch_for_changes
69
70
  end
@@ -1,3 +1,3 @@
1
1
  module LearnOpen
2
- VERSION = '1.2.17'
2
+ VERSION = '1.2.18'
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.2.17
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-07 00:00:00.000000000 Z
11
+ date: 2018-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler