storable 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGES.txt +5 -0
  2. data/lib/storable.rb +6 -2
  3. data/storable.gemspec +1 -1
  4. metadata +1 -1
@@ -1,6 +1,11 @@
1
1
  STORABLE, CHANGES
2
2
 
3
3
 
4
+ #### 0.5.3 (2009-05-12) #############################
5
+
6
+ * FIXED: Corrected error handling when json not available (ignore and continue)
7
+
8
+
4
9
  #### 0.5.2 (2009-05-12) #############################
5
10
 
6
11
  * CHANGE: Put OrderedHash into Storable namespace and imported merge fix from Caesars
@@ -6,8 +6,12 @@
6
6
 
7
7
  USE_ORDERED_HASH = (RUBY_VERSION =~ /1.9/).nil?
8
8
 
9
- require 'json' rescue nil
10
-
9
+ begin
10
+ require 'json'
11
+ rescue LoadError
12
+ # Silently!
13
+ end
14
+
11
15
  require 'yaml'
12
16
  require 'fileutils'
13
17
 
@@ -1,7 +1,7 @@
1
1
  @spec = Gem::Specification.new do |s|
2
2
  s.name = "storable"
3
3
  s.rubyforge_project = "storable"
4
- s.version = "0.5.2"
4
+ s.version = "0.5.3"
5
5
  s.summary = "Storable: Marshal Ruby classes into and out of multiple formats (yaml, json, csv, tsv)"
6
6
  s.description = s.summary
7
7
  s.author = "Delano Mandelbaum"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: storable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delano Mandelbaum