vcardigan 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ccf24ad70c7e77507a727fc711161d1b9a49914
4
- data.tar.gz: ebf00bb504baef0a007c94f8982874ebf9a7cb1c
3
+ metadata.gz: 3d17b584dc1aa19a4570203f8fa4ea1ca49d64e3
4
+ data.tar.gz: e3acbb6382e21a38facc61ff7332e13d00e85e96
5
5
  SHA512:
6
- metadata.gz: c1aff52e87d131553450fc836f2d6de3728f4e2f0cd4ac871f6cfc39eaad4c6bc089856d957a64787fb9ca42ba5de07690e323b7292010d7514903822ecd3056
7
- data.tar.gz: 62e2de500251985a05245a4937c23124324bcf097dbb52b60d67fcec40034c187e70f3188683e20247d70a18332bf91da75bae12565ba0734067b36377f8d680
6
+ metadata.gz: fa7f97c30c5909071163e96311b6c775e6706f9830b3f3c24e4d6f08c6c5092a6010eaa8ea576b969f544496b599c799caeecd702b367992d82bd4c88f547abe
7
+ data.tar.gz: 0c64a137c2c6a381208f33f3bcc83d7d96cf0972eac3b8a508d39cce28463978597ea6469c0d775aca056b6731f84f1ea102f93369df1b3894445a060dae7055
@@ -56,6 +56,10 @@ module VCardigan
56
56
  end
57
57
  end
58
58
 
59
+ def respond_to_missing?(name, include_private = false)
60
+ true
61
+ end
62
+
59
63
  def add(name, *args)
60
64
  if @group
61
65
  # If there's a group, add it to the name
@@ -1,5 +1,5 @@
1
1
  module VCardigan
2
2
 
3
- VERSION = '0.0.8'
3
+ VERSION = '0.0.9'
4
4
 
5
5
  end
@@ -192,6 +192,14 @@ describe VCardigan::VCard do
192
192
  end
193
193
  end
194
194
 
195
+ describe '#respond_to?' do
196
+ let(:vcard) { VCardigan.create }
197
+
198
+ it 'should always return true, even for missing methods' do
199
+ expect(vcard).to respond_to(:whatever)
200
+ end
201
+ end
202
+
195
203
  describe '#field' do
196
204
  let(:vcard) { VCardigan.create }
197
205
  let(:fields) { vcard.instance_variable_get(:@fields) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vcardigan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Morgan
@@ -14,28 +14,28 @@ dependencies:
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: vCardigan is a ruby library for building and parsing vCards that supports
@@ -64,17 +64,17 @@ require_paths:
64
64
  - lib
65
65
  required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - '>='
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
76
  rubyforge_project:
77
- rubygems_version: 2.2.2
77
+ rubygems_version: 2.4.5
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: Ruby vCard Builder/Parser