learn-open 1.1.56 → 1.1.57

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: e877dc0fd456d545cfb2c13f6aa66370e62c6305
4
- data.tar.gz: 28e16a3f6a1c0a424f4ba979f7b0836ecc0d2f89
3
+ metadata.gz: 9bf065df8624e78cc8719eb490875aa9aa37f454
4
+ data.tar.gz: e391cf5d3afe82ba6e0235ef328d9ca5258bdd1c
5
5
  SHA512:
6
- metadata.gz: a9dbfc707fb099fd1077f346ff638034d42262bedc7249991fcfea57a74df8d3c8ac5f3979df4a0d549e1281819b24379e7aaa2c2c27e9dd0caa1fd098dd85e9
7
- data.tar.gz: 5d593d885a9a6e993cb891d4e9c01cf482485251e76e60376ce5b85bb436f6ad30fb3f40417dc5273d988e459cd8e9ec088aa01566322cdfced3b203a19ffd90
6
+ metadata.gz: 369602ed4a34d85ea275a58e8d693a317dcebdeecf0d6f6331de115eb43ef0bb83fb71de31f79b1b0cebb6d96653431010abeda223ededec3b56a5f26faa2483
7
+ data.tar.gz: fcd08902cff1fa8b6d604145ecbd0aef6a5fa0491b85900a22a0cac8f7c9a23f78d43b3e9f19434d8654b7431c723f4ae713d4dea3abbda57f745894d4144cbf
@@ -241,6 +241,17 @@ module LearnOpen
241
241
  File.write(file_path, 'ERROR: Problem parsing lesson data. Try again.')
242
242
  exit
243
243
  end
244
+ rescue NoMethodError => e
245
+ if xcodeproj_file? || xcworkspace_file?
246
+ true
247
+ elsif e.message.match(/for false:FalseClass/)
248
+ false
249
+ else
250
+ puts "Sorry, there seems to be a problem with this lesson. Please submit a bug report to bugs@learn.co and try again later."
251
+ puts "If you'd like to work on your next lesson now, type: learn next"
252
+ File.write(file_path, 'ERROR: Problem parsing lesson data. Try again.')
253
+ exit
254
+ end
244
255
  end
245
256
  end
246
257
 
@@ -1,3 +1,3 @@
1
1
  module LearnOpen
2
- VERSION = '1.1.56'
2
+ VERSION = '1.1.57'
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.1.56
4
+ version: 1.1.57
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-10-26 00:00:00.000000000 Z
11
+ date: 2015-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler