gender 0.0.1

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.
Files changed (3) hide show
  1. checksums.yaml +15 -0
  2. data/lib/gender.rb +11 -0
  3. metadata +44 -0
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NWIwZGZkMDQyYjcxYTBjZGFmNzUxMWMxODY0MjkwNDdkZWI2NzAwNg==
5
+ data.tar.gz: !binary |-
6
+ MDNhZDVkMjkyOWY5Nzk5NWZjMWE5MTE2ZGZmODRiYmU1NWUxOTg0Yg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NWEyOTdmMjBkNDk1ZjRmMTY5YTA4OGMzNDRhN2I4ZDRkNmFmMTFjYTcyYzQw
10
+ N2JkMzRiMDdiN2E0YzQzMjhmNDY5ZGE3MmY3YWY4ZWIxOWFjOWU0MTA3OTBm
11
+ YzExNDNlZjk2OGQ5ODljYWMyZjU4ZjkwMWM1NjkwODRmNmFmYTQ=
12
+ data.tar.gz: !binary |-
13
+ YjgwM2M1OThjMmQwMjcxZTI3ODRkZGEyYWNjMzkyZGQzYmEzYmIyNmVhMDFl
14
+ ZTI1ZTdhNTA3OGI3YTMyYjkyYWE0ZmUyYWY4MmY0OWUyMzNhYThhMGMzZTE2
15
+ Y2ZmMjc5ZDdkNDM2ZDQ1NzFhMDIxMjU5YzYxMWM4MWNmNTAyZGI=
data/lib/gender.rb ADDED
@@ -0,0 +1,11 @@
1
+ class Gender
2
+
3
+ include ActiveModel::Validations
4
+
5
+ attr_accessor :gender
6
+
7
+ validates_each :gender do |g|
8
+ true
9
+ end
10
+
11
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gender
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - ! '@didlix'
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-09-20 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: ''
14
+ email: inrotie
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/gender.rb
20
+ homepage: http://github.com/didlix/gender
21
+ licenses:
22
+ - GPLv2
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubyforge_project:
40
+ rubygems_version: 2.2.2
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: Validator for gender fields
44
+ test_files: []