brendanlim-contacts 1.0.14.1 → 1.0.14.2

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 (2) hide show
  1. data/lib/contacts/gmail.rb +5 -11
  2. metadata +1 -1
@@ -1,14 +1,8 @@
1
- # begin
2
- # If the json gem is available, use it
3
- # require "json/add/rails"
4
- # rescue MissingSourceFile
5
- # Otherwise wrap the ActiveSupport JSON implementation for our simple use case
6
- class JSON
7
- def self.parse(i)
8
- ActiveSupport::JSON.decode(i)
9
- end
10
- # end
11
- # end
1
+ module JSON
2
+ def self.parse(i)
3
+ ActiveSupport::JSON.decode(i)
4
+ end
5
+ end
12
6
 
13
7
  class Contacts
14
8
  class Gmail < Base
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brendanlim-contacts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14.1
4
+ version: 1.0.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brendan G. Lim