googlecontacts 0.1.7 → 0.1.8

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
@@ -1,6 +1,8 @@
1
1
  $:.unshift File.dirname(__FILE__)
2
2
  require 'rubygems'
3
3
  require 'active_support'
4
+ require 'active_support/core_ext/hash'
5
+ require 'active_support/core_ext/module'
4
6
  require 'oauth'
5
7
  require 'nokogiri'
6
8
 
@@ -1,6 +1,6 @@
1
1
  module GoogleContacts
2
2
  module Proxies
3
- class Array < BlankSlate
3
+ class Array < ActiveSupport::BasicObject
4
4
  def initialize(parent, options)
5
5
  @parent = parent
6
6
  @tag = options[:tag]
@@ -1,6 +1,6 @@
1
1
  module GoogleContacts
2
2
  module Proxies
3
- class Emails < BlankSlate
3
+ class Emails < ActiveSupport::BasicObject
4
4
  def initialize(parent)
5
5
  @parent = parent
6
6
  reinitialize
@@ -1,6 +1,6 @@
1
1
  module GoogleContacts
2
2
  module Proxies
3
- class Hash < BlankSlate
3
+ class Hash < ActiveSupport::BasicObject
4
4
  def initialize(parent, options)
5
5
  @parent = parent
6
6
  @tag = options[:tag]
@@ -1,6 +1,9 @@
1
1
  module GoogleContacts
2
2
  module Proxies
3
- class Tag < BlankSlate
3
+ class Tag < ActiveSupport::BasicObject
4
+ # Proxy #nil? to the value of the tag
5
+ undef_method :nil? if instance_methods.include?("nil?")
6
+
4
7
  def initialize(parent, options)
5
8
  @parent = parent
6
9
  @tag = options[:tag]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googlecontacts
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
9
+ - 8
10
+ version: 0.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pieter Noordhuis
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-06 00:00:00 +01:00
18
+ date: 2011-01-02 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -126,7 +126,6 @@ extra_rdoc_files:
126
126
  files:
127
127
  - .autotest
128
128
  - .document
129
- - .gitignore
130
129
  - LICENSE
131
130
  - README.rdoc
132
131
  - Rakefile
@@ -161,8 +160,8 @@ homepage: http://github.com/pietern/googlecontacts
161
160
  licenses: []
162
161
 
163
162
  post_install_message:
164
- rdoc_options:
165
- - --charset=UTF-8
163
+ rdoc_options: []
164
+
166
165
  require_paths:
167
166
  - lib
168
167
  required_ruby_version: !ruby/object:Gem::Requirement
data/.gitignore DELETED
@@ -1,10 +0,0 @@
1
- ## PROJECT::GENERAL
2
- coverage
3
- rdoc
4
- pkg
5
-
6
- ## PROJECT::SPECIFIC
7
- .gitattributes
8
- .rvmrc
9
- script/console
10
- notes