has_vcards 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
data/app/models/vcard.rb CHANGED
@@ -20,6 +20,7 @@ class Vcard < ActiveRecord::Base
20
20
 
21
21
  scope :active, :conditions => {:active => true}
22
22
  scope :by_name, lambda {|name| {:conditions => self.by_name_conditions(name)}}
23
+ scope :with_address, joins(:address)
23
24
 
24
25
  belongs_to :object, :polymorphic => true
25
26
 
@@ -1,3 +1,3 @@
1
1
  module HasVcards
2
- VERSION = '0.11.0'
2
+ VERSION = '0.11.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_vcards
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
5
- prerelease: false
4
+ hash: 49
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 11
9
- - 0
10
- version: 0.11.0
9
+ - 1
10
+ version: 0.11.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Simon H\xC3\xBCrlimann (CyT)"
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-18 00:00:00 +01:00
19
- default_executable:
18
+ date: 2011-12-21 00:00:00 Z
20
19
  dependencies: []
21
20
 
22
21
  description: Rails gem providing VCard like contact and address models and helpers.
@@ -48,7 +47,6 @@ files:
48
47
  - lib/has_vcards/railtie.rb
49
48
  - lib/has_vcards/version.rb
50
49
  - README.markdown
51
- has_rdoc: true
52
50
  homepage: https://github.com/huerlisi/bookyt_pos
53
51
  licenses: []
54
52
 
@@ -78,9 +76,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
76
  requirements: []
79
77
 
80
78
  rubyforge_project:
81
- rubygems_version: 1.3.7
79
+ rubygems_version: 1.8.10
82
80
  signing_key:
83
81
  specification_version: 3
84
82
  summary: VCard rails plugin
85
83
  test_files: []
86
84
 
85
+ has_rdoc: