salutations 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 86b999088ea03342634e5c724bc3e157ba4e9d8b
4
+ data.tar.gz: 4747d30ca1157db53a51c5e85ad4aac828c88b35
5
+ SHA512:
6
+ metadata.gz: 0007bd8df5b9cf7cb1b0694a339b32b7380c6773c1b339594ba5a8434fb446b2c7ad4ce0d79858e7feaa9c8f7ff42d2eb7bd1c99764cd18b296fb5d47ba3686b
7
+ data.tar.gz: d3e90c2dc679b5d6be1dfb9e5389e7df70232738348e93da9c88e8a03cd0635040b5e03f54ff21756b0f108482c716a6b2c544506644228227b60f1a245e0df5
data/LICENSE ADDED
@@ -0,0 +1,24 @@
1
+ Copyright (c) 2014, Diplomat project contributors
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+ * Redistributions of source code must retain the above copyright
7
+ notice, this list of conditions and the following disclaimer.
8
+ * Redistributions in binary form must reproduce the above copyright
9
+ notice, this list of conditions and the following disclaimer in the
10
+ documentation and/or other materials provided with the distribution.
11
+ * Neither the name of the Ruby FFI project nor the
12
+ names of its contributors may be used to endorse or promote products
13
+ derived from this software without specific prior written permission.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
19
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,17 @@
1
+ class Salutations
2
+ def self.get
3
+ [
4
+ "Mr.", "Mrs.", "Miss",
5
+ "Dr.", "Ms.", "Prof.",
6
+ "Rev.", "Lady", "Sir",
7
+ "Capt.", "Major", "Lt.-Col.",
8
+ "Col.", "Lady", "Lt.-Cmdr.",
9
+ "The Hon.", "Cmdr.", "Flt. Lt.",
10
+ "Brgdr.", "Judge", "Lord",
11
+ "The Hon. Mrs", "Wng. Cmdr.", "Group Capt.",
12
+ "Rt. Hon. Lord", "Revd. Father", "Revd Canon",
13
+ "Maj.-Gen.", "Air Cdre.", "Viscount",
14
+ "Dame", "Rear Admrl."
15
+ ]
16
+ end
17
+ end
@@ -0,0 +1,3 @@
1
+ module Salutations
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,18 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'salutations/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "salutations"
8
+ spec.version = Salutations::VERSION
9
+ spec.authors = ["John Hamelink"]
10
+ spec.email = ["john@johnhamelink.com"]
11
+ spec.description = %q{Salutations wraps up a list of salutations (Mr, Mrs, Ms, etc) for usage in forms, ordered by usage}
12
+ spec.summary = %q{Salutations contains a list of salutations (Mr, Mrs, Ms, etc)}
13
+ spec.homepage = "https://github.com/wearefarmgeek/salutations"
14
+ spec.license = "BSD"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.require_paths = ["lib"]
18
+ end
metadata ADDED
@@ -0,0 +1,50 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: salutations
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - John Hamelink
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-08-30 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Salutations wraps up a list of salutations (Mr, Mrs, Ms, etc) for usage
14
+ in forms, ordered by usage
15
+ email:
16
+ - john@johnhamelink.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - LICENSE
22
+ - lib/salutations.rb
23
+ - lib/salutations/version.rb
24
+ - salutations.gemspec
25
+ homepage: https://github.com/wearefarmgeek/salutations
26
+ licenses:
27
+ - BSD
28
+ metadata: {}
29
+ post_install_message:
30
+ rdoc_options: []
31
+ require_paths:
32
+ - lib
33
+ required_ruby_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ required_rubygems_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
43
+ requirements: []
44
+ rubyforge_project:
45
+ rubygems_version: 2.2.1
46
+ signing_key:
47
+ specification_version: 4
48
+ summary: Salutations contains a list of salutations (Mr, Mrs, Ms, etc)
49
+ test_files: []
50
+ has_rdoc: