delano-storable 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
data/CHANGES.txt CHANGED
@@ -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
data/lib/storable.rb CHANGED
@@ -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
 
data/storable.gemspec CHANGED
@@ -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: delano-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