has_vcards 0.12.2 → 0.12.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.
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.12.2'
2
+ VERSION = '0.12.3'
3
3
  end
metadata CHANGED
@@ -1,33 +1,23 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: has_vcards
3
- version: !ruby/object:Gem::Version
4
- hash: 43
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 12
9
- - 2
10
- version: 0.12.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.12.3
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
13
- - "Simon H\xC3\xBCrlimann (CyT)"
7
+ authors:
8
+ - Simon Hürlimann (CyT)
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-11-21 00:00:00 +01:00
19
- default_executable:
12
+ date: 2011-11-25 00:00:00.000000000Z
20
13
  dependencies: []
21
-
22
14
  description: Rails gem providing VCard like contact and address models and helpers.
23
15
  email: simon.huerlimann@cyt.ch
24
16
  executables: []
25
-
26
17
  extensions: []
27
-
28
- extra_rdoc_files:
18
+ extra_rdoc_files:
29
19
  - README.markdown
30
- files:
20
+ files:
31
21
  - app/controllers/phone_numbers_controller.rb
32
22
  - app/helpers/has_vcards_helper.rb
33
23
  - app/models/address.rb
@@ -48,39 +38,28 @@ files:
48
38
  - lib/has_vcards/railtie.rb
49
39
  - lib/has_vcards/version.rb
50
40
  - README.markdown
51
- has_rdoc: true
52
41
  homepage: https://github.com/huerlisi/bookyt_pos
53
42
  licenses: []
54
-
55
43
  post_install_message:
56
44
  rdoc_options: []
57
-
58
- require_paths:
45
+ require_paths:
59
46
  - lib
60
- required_ruby_version: !ruby/object:Gem::Requirement
47
+ required_ruby_version: !ruby/object:Gem::Requirement
61
48
  none: false
62
- requirements:
63
- - - ">="
64
- - !ruby/object:Gem::Version
65
- hash: 3
66
- segments:
67
- - 0
68
- version: "0"
69
- required_rubygems_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
54
  none: false
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- hash: 3
75
- segments:
76
- - 0
77
- version: "0"
55
+ requirements:
56
+ - - ! '>='
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
78
59
  requirements: []
79
-
80
60
  rubyforge_project:
81
- rubygems_version: 1.3.7
61
+ rubygems_version: 1.8.11
82
62
  signing_key:
83
63
  specification_version: 3
84
64
  summary: VCard rails plugin
85
65
  test_files: []
86
-