learn-open 1.2.12 → 1.2.13

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: 3cfdc6bad1b790d8f6a9c347a144428d16399299
4
- data.tar.gz: 6fb41e26d44beb73fcbaebc2591f6f2eb8894fc1
3
+ metadata.gz: '09c7a59b07714fca681875bd28551d961c8462b2'
4
+ data.tar.gz: f1d9855e74f517a604d28519bed71d9f5f42fdce
5
5
  SHA512:
6
- metadata.gz: b6d65abf32471bb6d8c34135f6f8fb16fd4a05583810bd543eb98e587cd6f022d2679f3ad5df1edfb9be897b3a7a0ee70ecd84bea4aa212e22a7a255174aad7f
7
- data.tar.gz: c2bb0151e5c96fe4a230b5d1fdb94e0b0b11e3840e34054167b1c1041d5c3b4db9578aa1bd466e53d25718e8fa0ecf2f18d75484c21a8740d14e31746ed1b2b9
6
+ metadata.gz: 7c946ec777f744074504aa60c0e6f941ac84ce89aa45abd16b94649d8c7a1746b35eed3053fd2a57d443f1b27517c48e95e85b69492703f899a025a4163f1951
7
+ data.tar.gz: a69de8ad9762fa0923196e405d89eabb3e06b0374811b497ac878cc2c144041d888e1df392149f4c7938bc7501532bae964f382928a5ee75c53d938f5885da11
@@ -34,6 +34,7 @@ module LearnOpen
34
34
  end
35
35
  end
36
36
 
37
+ puts "Looking for lesson..."
37
38
  warn_if_necessary
38
39
 
39
40
  if lesson_is_readme?
@@ -122,21 +123,18 @@ module LearnOpen
122
123
  File.write(file_path, 'Getting lesson...')
123
124
 
124
125
  if !lesson && !get_next_lesson
125
- puts "Getting current lesson..."
126
126
  self.lesson = get_current_lesson_forked_repo
127
127
  self.lesson_is_lab = current_lesson.lab
128
128
  self.lesson_id = current_lesson.id
129
129
  self.later_lesson = false
130
130
  self.dot_learn = current_lesson.dot_learn
131
131
  elsif !lesson && get_next_lesson
132
- puts "Getting next lesson..."
133
132
  self.lesson = get_next_lesson_forked_repo
134
133
  self.lesson_is_lab = next_lesson.lab
135
134
  self.lesson_id = next_lesson.id
136
135
  self.later_lesson = false
137
136
  self.dot_learn = next_lesson.dot_learn
138
137
  else
139
- puts "Looking for lesson..."
140
138
  self.lesson = ensure_correct_lesson.clone_repo
141
139
  self.lesson_is_lab = correct_lesson.lab
142
140
  self.lesson_id = correct_lesson.lesson_id
@@ -365,6 +363,7 @@ module LearnOpen
365
363
 
366
364
  def open_readme
367
365
  if ide_environment?
366
+ puts "Opening readme..."
368
367
  File.open(".custom_commands.log", "w+") do |f|
369
368
  f.puts %Q{{"command": "browser_open", "url": "https://learn.co/lessons/#{lesson_id}"}}
370
369
  end
@@ -1,3 +1,3 @@
1
1
  module LearnOpen
2
- VERSION = '1.2.12'
2
+ VERSION = '1.2.13'
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.12
4
+ version: 1.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flatiron School
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-31 00:00:00.000000000 Z
11
+ date: 2017-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  requirements: []
125
125
  rubyforge_project:
126
- rubygems_version: 2.6.10
126
+ rubygems_version: 2.6.11
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: Open Learn lessons locally