not_naughty 0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +22 -0
- data/COPYING +18 -0
- data/README +62 -0
- data/Rakefile +130 -0
- data/lib/not_naughty/builder.rb +68 -0
- data/lib/not_naughty/errors.rb +61 -0
- data/lib/not_naughty/instance_methods.rb +20 -0
- data/lib/not_naughty/validation.rb +126 -0
- data/lib/not_naughty/validations/acceptance_validation.rb +39 -0
- data/lib/not_naughty/validations/confirmation_validation.rb +41 -0
- data/lib/not_naughty/validations/format_validation.rb +45 -0
- data/lib/not_naughty/validations/length_validation.rb +95 -0
- data/lib/not_naughty/validations/numericality_validation.rb +43 -0
- data/lib/not_naughty/validations/presence_validation.rb +31 -0
- data/lib/not_naughty/validator.rb +119 -0
- data/lib/not_naughty.rb +85 -0
- data/lib/sequel_not_naughty.rb +106 -0
- data/spec/builder_spec.rb +69 -0
- data/spec/errors_spec.rb +61 -0
- data/spec/not_naughty_spec.rb +80 -0
- data/spec/rcov.opts +4 -0
- data/spec/sequel_spec_helper.rb +17 -0
- data/spec/sequel_validated_spec.rb +97 -0
- data/spec/spec.opts +5 -0
- data/spec/spec_helper.rb +7 -0
- data/spec/validation_spec.rb +118 -0
- data/spec/validations_spec.rb +267 -0
- data/spec/validator_spec.rb +123 -0
- metadata +84 -0
metadata
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: not_naughty
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: "0.3"
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- "Florian A\xC3\x9Fmann"
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-02-13 00:00:00 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Heavily armed validation framework.
|
17
|
+
email: florian.assmann@oniversus.de
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- README
|
24
|
+
- CHANGELOG
|
25
|
+
- COPYING
|
26
|
+
files:
|
27
|
+
- COPYING
|
28
|
+
- README
|
29
|
+
- Rakefile
|
30
|
+
- spec/builder_spec.rb
|
31
|
+
- spec/errors_spec.rb
|
32
|
+
- spec/not_naughty_spec.rb
|
33
|
+
- spec/rcov.opts
|
34
|
+
- spec/sequel_spec_helper.rb
|
35
|
+
- spec/sequel_validated_spec.rb
|
36
|
+
- spec/spec.opts
|
37
|
+
- spec/spec_helper.rb
|
38
|
+
- spec/validation_spec.rb
|
39
|
+
- spec/validations_spec.rb
|
40
|
+
- spec/validator_spec.rb
|
41
|
+
- lib/not_naughty
|
42
|
+
- lib/not_naughty/builder.rb
|
43
|
+
- lib/not_naughty/errors.rb
|
44
|
+
- lib/not_naughty/instance_methods.rb
|
45
|
+
- lib/not_naughty/validation.rb
|
46
|
+
- lib/not_naughty/validations
|
47
|
+
- lib/not_naughty/validations/acceptance_validation.rb
|
48
|
+
- lib/not_naughty/validations/confirmation_validation.rb
|
49
|
+
- lib/not_naughty/validations/format_validation.rb
|
50
|
+
- lib/not_naughty/validations/length_validation.rb
|
51
|
+
- lib/not_naughty/validations/numericality_validation.rb
|
52
|
+
- lib/not_naughty/validations/presence_validation.rb
|
53
|
+
- lib/not_naughty/validator.rb
|
54
|
+
- lib/not_naughty.rb
|
55
|
+
- lib/sequel_not_naughty.rb
|
56
|
+
- CHANGELOG
|
57
|
+
has_rdoc: true
|
58
|
+
homepage: http://not-naughty.rubyforge.org
|
59
|
+
post_install_message:
|
60
|
+
rdoc_options: []
|
61
|
+
|
62
|
+
require_paths:
|
63
|
+
- lib
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.8.4
|
69
|
+
version:
|
70
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: "0"
|
75
|
+
version:
|
76
|
+
requirements: []
|
77
|
+
|
78
|
+
rubyforge_project: not_naughty
|
79
|
+
rubygems_version: 1.0.1
|
80
|
+
signing_key:
|
81
|
+
specification_version: 2
|
82
|
+
summary: Heavily armed validation framework.
|
83
|
+
test_files: []
|
84
|
+
|