has_vcards 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/config/locales/has_vcards.de.yml +8 -0
- data/lib/has_vcards/version.rb +3 -0
- metadata +20 -40
- data/MIT-LICENSE +0 -20
- data/Rakefile +0 -56
- data/test/vcards_test.rb +0 -8
@@ -6,6 +6,14 @@ de:
|
|
6
6
|
activerecord:
|
7
7
|
attributes:
|
8
8
|
vcard:
|
9
|
+
full_name: Name
|
10
|
+
nickname: Spitzname
|
11
|
+
family_name: Nachname
|
12
|
+
give_name: Vorname
|
13
|
+
additional_name: Mittelname
|
14
|
+
honorific_prefix: Anrede
|
15
|
+
honorific_suffix: Namenszusatz
|
16
|
+
address:
|
9
17
|
post_office_box: Postfach
|
10
18
|
extended_address: Adresszusatz
|
11
19
|
street_address: Strasse
|
metadata
CHANGED
@@ -1,46 +1,24 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_vcards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 7
|
8
|
-
-
|
9
|
-
version: 0.7.
|
9
|
+
- 2
|
10
|
+
version: 0.7.2
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
|
-
- "Simon H\xC3\xBCrlimann"
|
13
|
+
- "Simon H\xC3\xBCrlimann (CyT)"
|
13
14
|
autorequire:
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2011-
|
18
|
+
date: 2011-07-25 00:00:00 +02:00
|
18
19
|
default_executable:
|
19
|
-
dependencies:
|
20
|
-
|
21
|
-
name: activerecord
|
22
|
-
prerelease: false
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 0
|
29
|
-
version: "0"
|
30
|
-
type: :runtime
|
31
|
-
version_requirements: *id001
|
32
|
-
- !ruby/object:Gem::Dependency
|
33
|
-
name: i18n
|
34
|
-
prerelease: false
|
35
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
segments:
|
40
|
-
- 0
|
41
|
-
version: "0"
|
42
|
-
type: :runtime
|
43
|
-
version_requirements: *id002
|
20
|
+
dependencies: []
|
21
|
+
|
44
22
|
description: Rails gem providing VCard like contact and address models and helpers.
|
45
23
|
email: simon.huerlimann@cyt.ch
|
46
24
|
executables: []
|
@@ -50,9 +28,6 @@ extensions: []
|
|
50
28
|
extra_rdoc_files:
|
51
29
|
- README.markdown
|
52
30
|
files:
|
53
|
-
- MIT-LICENSE
|
54
|
-
- README.markdown
|
55
|
-
- Rakefile
|
56
31
|
- app/helpers/has_vcards_helper.rb
|
57
32
|
- app/models/address.rb
|
58
33
|
- app/models/phone_number.rb
|
@@ -65,36 +40,41 @@ files:
|
|
65
40
|
- lib/generators/has_vcards/templates/migration.rb
|
66
41
|
- lib/has_vcards.rb
|
67
42
|
- lib/has_vcards/railtie.rb
|
68
|
-
-
|
43
|
+
- lib/has_vcards/version.rb
|
44
|
+
- README.markdown
|
69
45
|
has_rdoc: true
|
70
|
-
homepage:
|
46
|
+
homepage: https://github.com/huerlisi/bookyt_pos
|
71
47
|
licenses: []
|
72
48
|
|
73
49
|
post_install_message:
|
74
|
-
rdoc_options:
|
75
|
-
|
50
|
+
rdoc_options: []
|
51
|
+
|
76
52
|
require_paths:
|
77
53
|
- lib
|
78
54
|
required_ruby_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
79
56
|
requirements:
|
80
57
|
- - ">="
|
81
58
|
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
82
60
|
segments:
|
83
61
|
- 0
|
84
62
|
version: "0"
|
85
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
86
65
|
requirements:
|
87
66
|
- - ">="
|
88
67
|
- !ruby/object:Gem::Version
|
68
|
+
hash: 3
|
89
69
|
segments:
|
90
70
|
- 0
|
91
71
|
version: "0"
|
92
72
|
requirements: []
|
93
73
|
|
94
74
|
rubyforge_project:
|
95
|
-
rubygems_version: 1.3.
|
75
|
+
rubygems_version: 1.3.7
|
96
76
|
signing_key:
|
97
77
|
specification_version: 3
|
98
|
-
summary:
|
99
|
-
test_files:
|
100
|
-
|
78
|
+
summary: VCard rails plugin
|
79
|
+
test_files: []
|
80
|
+
|
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
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.
|
data/Rakefile
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
require 'rake'
|
3
|
-
require 'rake/testtask'
|
4
|
-
require 'rake/rdoctask'
|
5
|
-
|
6
|
-
begin
|
7
|
-
GEM = "has_vcards"
|
8
|
-
AUTHOR = "Simon Hürlimann"
|
9
|
-
EMAIL = "simon.huerlimann@cyt.ch"
|
10
|
-
SUMMARY = "Rails gem providing VCard like contact and address models and helpers."
|
11
|
-
HOMEPAGE = "http://github.com/huerlisi/has_vcards/tree/master"
|
12
|
-
|
13
|
-
gem 'jeweler', '>= 1.0.0'
|
14
|
-
require 'jeweler'
|
15
|
-
|
16
|
-
Jeweler::Tasks.new do |s|
|
17
|
-
s.name = GEM
|
18
|
-
s.summary = SUMMARY
|
19
|
-
s.email = EMAIL
|
20
|
-
s.homepage = HOMEPAGE
|
21
|
-
s.description = SUMMARY
|
22
|
-
s.author = AUTHOR
|
23
|
-
|
24
|
-
s.require_path = 'lib'
|
25
|
-
s.files = %w(MIT-LICENSE README.markdown Rakefile) + Dir.glob("{lib,app,test,config}/**/*")
|
26
|
-
|
27
|
-
# Runtime dependencies: When installing has_vcards these will be checked if they are installed.
|
28
|
-
# Will be offered to install these if they are not already installed.
|
29
|
-
s.add_dependency 'activerecord'
|
30
|
-
s.add_dependency 'i18n'
|
31
|
-
end
|
32
|
-
|
33
|
-
Jeweler::GemcutterTasks.new
|
34
|
-
rescue LoadError
|
35
|
-
puts "[has_vcards:] Jeweler - or one of its dependencies - is not available. Install it with: sudo gem install jeweler -s http://gemcutter.org"
|
36
|
-
end
|
37
|
-
|
38
|
-
desc 'Default: run unit tests.'
|
39
|
-
task :default => :test
|
40
|
-
|
41
|
-
desc 'Test the has_vcards plugin.'
|
42
|
-
Rake::TestTask.new(:test) do |t|
|
43
|
-
t.libs << 'lib'
|
44
|
-
t.libs << 'test'
|
45
|
-
t.pattern = 'test/**/*_test.rb'
|
46
|
-
t.verbose = true
|
47
|
-
end
|
48
|
-
|
49
|
-
desc 'Generate documentation for the has_vcards plugin.'
|
50
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
51
|
-
rdoc.rdoc_dir = 'rdoc'
|
52
|
-
rdoc.title = 'has_vcards'
|
53
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
54
|
-
rdoc.rdoc_files.include('README.markdown')
|
55
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
56
|
-
end
|