has_vcards 0.12.8 → 0.12.9
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/config/locales/{has_vcards.de.yml → de.yml} +0 -0
- data/config/locales/en.yml +59 -0
- data/lib/has_vcards/version.rb +1 -1
- metadata +39 -8
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2008 [name of plugin creator]
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
File without changes
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# English locale
|
2
|
+
en:
|
3
|
+
has_vcards:
|
4
|
+
address:
|
5
|
+
to_s: %{street_address}, %{postal_code} #{locality}
|
6
|
+
|
7
|
+
activerecord:
|
8
|
+
models:
|
9
|
+
vcard: VCard
|
10
|
+
address: Address
|
11
|
+
phone_number: Contact
|
12
|
+
|
13
|
+
attributes:
|
14
|
+
vcard:
|
15
|
+
full_name: Name
|
16
|
+
nickname: Nickname
|
17
|
+
family_name: Family name
|
18
|
+
give_name: Given name
|
19
|
+
additional_name: Additional name
|
20
|
+
honorific_prefix: Prefix
|
21
|
+
honorific_suffix: Suffix
|
22
|
+
address_type: Type
|
23
|
+
# Include address attributes as we delegate
|
24
|
+
post_office_box: Post Office Box
|
25
|
+
extended_address: Extended address
|
26
|
+
street_address: Street
|
27
|
+
locality: Locality
|
28
|
+
region: Region
|
29
|
+
postal_code: Postalcode
|
30
|
+
country_name: Country
|
31
|
+
address_type: Type
|
32
|
+
phone_number: Phone
|
33
|
+
mobile_number: Mobile
|
34
|
+
fax_number: Fax
|
35
|
+
address:
|
36
|
+
post_office_box: Post Office Box
|
37
|
+
extended_address: Extended address
|
38
|
+
extended_address: Adresszusatz
|
39
|
+
street_address: Strasse
|
40
|
+
locality: Ort
|
41
|
+
region: Region
|
42
|
+
postal_code: PLZ
|
43
|
+
country_name: Land
|
44
|
+
address_type: Art
|
45
|
+
phone_number:
|
46
|
+
number: Number
|
47
|
+
phone_number_type: Number Type
|
48
|
+
|
49
|
+
formtastic:
|
50
|
+
labels:
|
51
|
+
full_name: Name
|
52
|
+
post_office_box: Post Office Box
|
53
|
+
extended_address: Extended address
|
54
|
+
extended_address: Adresszusatz
|
55
|
+
street_address: Strasse
|
56
|
+
locality: Ort
|
57
|
+
region: Region
|
58
|
+
postal_code: PLZ
|
59
|
+
country_name: Land
|
data/lib/has_vcards/version.rb
CHANGED
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:
|
4
|
+
hash: 61
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 12
|
9
|
-
-
|
10
|
-
version: 0.12.
|
9
|
+
- 9
|
10
|
+
version: 0.12.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Simon H\xC3\xBCrlimann (CyT)"
|
@@ -15,9 +15,37 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
19
|
-
dependencies:
|
20
|
-
|
18
|
+
date: 2012-02-06 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rails
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ~>
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 7
|
29
|
+
segments:
|
30
|
+
- 3
|
31
|
+
- 0
|
32
|
+
version: "3.0"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: inherited_resources
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
version: "0"
|
47
|
+
type: :runtime
|
48
|
+
version_requirements: *id002
|
21
49
|
description: vCard like contact and address models and helpers for Rails.
|
22
50
|
email: simon.huerlimann@cyt.ch
|
23
51
|
executables: []
|
@@ -25,6 +53,7 @@ executables: []
|
|
25
53
|
extensions: []
|
26
54
|
|
27
55
|
extra_rdoc_files:
|
56
|
+
- MIT-LICENSE
|
28
57
|
- README.markdown
|
29
58
|
files:
|
30
59
|
- app/controllers/phone_numbers_controller.rb
|
@@ -41,13 +70,15 @@ files:
|
|
41
70
|
- app/views/vcards/_show.html.haml
|
42
71
|
- config/application.rb
|
43
72
|
- config/boot.rb
|
44
|
-
- config/locales/
|
73
|
+
- config/locales/de.yml
|
74
|
+
- config/locales/en.yml
|
45
75
|
- config/routes.rb
|
46
76
|
- db/migrate/000_create_vcard_tables.rb
|
47
77
|
- db/migrate/20120119091225_add_index_to_vcards.rb
|
48
78
|
- lib/has_vcards.rb
|
49
79
|
- lib/has_vcards/railtie.rb
|
50
80
|
- lib/has_vcards/version.rb
|
81
|
+
- MIT-LICENSE
|
51
82
|
- README.markdown
|
52
83
|
homepage: https://github.com/huerlisi/has_vcards
|
53
84
|
licenses:
|
@@ -78,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
109
|
requirements: []
|
79
110
|
|
80
111
|
rubyforge_project:
|
81
|
-
rubygems_version: 1.8.
|
112
|
+
rubygems_version: 1.8.15
|
82
113
|
signing_key:
|
83
114
|
specification_version: 3
|
84
115
|
summary: vCard plugin for Rails
|