lapis_lazuli 2.0.0 → 2.0.1

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: 05f31ca8e6b595e90bfdf4dd47a474e72a4cd1d3
4
- data.tar.gz: 6e26fbb44ea553ea4e457f9f799c77da3a74ba20
3
+ metadata.gz: 5ba7d3bc93d8cc88cf24da242e8ce8d9fac690e1
4
+ data.tar.gz: 547f0135054b8d4751a01df27842e9d1d679959e
5
5
  SHA512:
6
- metadata.gz: d4ecd69d51356464a628bb503d15135433960f56dcfcb2d1e5eb3875c16eb1241a72fd0bf9d1d77488461a99f5e6ef810ec41c33994b578b604273001d5e0ee5
7
- data.tar.gz: 10b5b4124a3722b5b10222b4c8b3f7c9ff59454e04d15b97a35a124f84d478b0396bf86f7fe6737ef245474aa38fc999c5270ff289d4f105e28d0893a947d63b
6
+ metadata.gz: d7b214da9b4862efb132d7aa529bb69cd46c7bcc6af194c95d8eff6a2bb0900eaea16206f28a128fa8cc23e71f5040512e22ec91f5bde2d999a199610eec37c1
7
+ data.tar.gz: 4ecc7e7c7512f976240242843ae9666c1bcba998ad3afc9b1b591e5c85abbb89c238e609d1ef0a3f5da107c4b91ac8dfee87cd590c12d751a457e966708c705c
@@ -316,6 +316,8 @@ module LapisLazuli
316
316
  case browser_wanted.to_s.downcase
317
317
  when 'chrome'
318
318
  b = :chrome
319
+ when 'edge'
320
+ b = :edge
319
321
  when 'safari'
320
322
  b = :safari
321
323
  when 'ie'
@@ -23,6 +23,7 @@ firefox: BROWSER=firefox
23
23
  chrome: BROWSER=chrome
24
24
  ie: BROWSER=ie
25
25
  safari: BROWSER=safari
26
+ edge: BROWSER=edge
26
27
 
27
28
 
28
29
  ################################################################################
@@ -6,5 +6,5 @@
6
6
  # All rights reserved.
7
7
  #
8
8
  module LapisLazuli
9
- VERSION = "2.0.0"
9
+ VERSION = "2.0.1"
10
10
  end
@@ -116,11 +116,14 @@ module WorldModule
116
116
 
117
117
  # Try all files in order
118
118
  files.each do |file|
119
- begin
120
- # Try to load a config file
121
- return self.load_config_from_file(file)
122
- rescue
123
- # Do nothing, load the next file
119
+ # Check if files exist
120
+ if File.file?(file)
121
+ begin
122
+ # Try to load a config file
123
+ return self.load_config_from_file(file)
124
+ rescue Exception => e
125
+ raise e
126
+ end
124
127
  end
125
128
  end
126
129
  end
@@ -175,9 +178,8 @@ module WorldModule
175
178
  json = File.read(filename)
176
179
  data = JSON.parse(json)
177
180
  end
178
- rescue RuntimeError => err
179
- # Can't help you
180
- raise "Error loading file: #{filename} #{err}"
181
+ rescue Exception => e
182
+ raise "Error loading file: #{filename} #{e}"
181
183
  end
182
184
 
183
185
  # Fix up empty files
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lapis_lazuli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Onno Steenbergen
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-07-14 00:00:00.000000000 Z
14
+ date: 2017-11-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler