json-schema 0.9.7 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,7 @@ From the git repo:
18
18
 
19
19
  <pre>
20
20
  $ gem build json-schema.gemspec
21
- $ gem install json-schema-0.9.7.gem
21
+ $ gem install json-schema-0.9.8.gem
22
22
  </pre>
23
23
 
24
24
 
@@ -293,6 +293,8 @@ module JSON
293
293
 
294
294
  if begin
295
295
  Gem::Specification::find_by_name('json')
296
+ rescue Gem::LoadError
297
+ false
296
298
  rescue
297
299
  Gem.available?('json')
298
300
  end
@@ -304,6 +306,8 @@ module JSON
304
306
 
305
307
  if begin
306
308
  Gem::Specification::find_by_name('yajl-ruby')
309
+ rescue Gem::LoadError
310
+ false
307
311
  rescue
308
312
  Gem.available?('yajl-ruby')
309
313
  end
@@ -317,6 +321,8 @@ module JSON
317
321
 
318
322
  if begin
319
323
  Gem::Specification::find_by_name('uuidtools')
324
+ rescue Gem::LoadError
325
+ false
320
326
  rescue
321
327
  Gem.available?('uuidtools')
322
328
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json-schema
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 43
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 7
10
- version: 0.9.7
9
+ - 8
10
+ version: 0.9.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kenny Hoxworth
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-29 00:00:00 -04:00
18
+ date: 2011-07-13 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies: []
21
21