remarkable_activemodel 4.0.0.alpha1
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.
- data/CHANGELOG +147 -0
- data/LICENSE +20 -0
- data/README +74 -0
- data/lib/remarkable_activemodel.rb +28 -0
- data/lib/remarkable_activemodel/base.rb +252 -0
- data/lib/remarkable_activemodel/matchers/allow_values_for_matcher.rb +88 -0
- data/lib/remarkable_activemodel/matchers/validate_acceptance_of_matcher.rb +50 -0
- data/lib/remarkable_activemodel/matchers/validate_confirmation_of_matcher.rb +44 -0
- data/lib/remarkable_activemodel/matchers/validate_exclusion_of_matcher.rb +57 -0
- data/lib/remarkable_activemodel/matchers/validate_inclusion_of_matcher.rb +57 -0
- data/lib/remarkable_activemodel/matchers/validate_length_of_matcher.rb +150 -0
- data/lib/remarkable_activemodel/matchers/validate_numericality_of_matcher.rb +188 -0
- data/lib/remarkable_activemodel/matchers/validate_presence_of_matcher.rb +91 -0
- data/locale/en.yml +116 -0
- data/remarkable_activemodel.gemspec +61 -0
- data/remarkable_activerecord.gemspec +60 -0
- metadata +118 -0
@@ -0,0 +1,60 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{remarkable_activerecord}
|
8
|
+
s.version = "4.0.0.alpha1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Ho-Sheng Hsiao", "Carlos Brando", "Jos\303\251 Valim", "Diego Carrion"]
|
12
|
+
s.date = %q{2010-04-22}
|
13
|
+
s.description = %q{Remarkable ActiveModel: collection of matchers and macros with I18n for ActiveModel}
|
14
|
+
s.email = ["hosh@sparkfly.com", "eduardobrando@gmail.com", "jose.valim@gmail.com", "dc.rec1@gmail.com"]
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"CHANGELOG",
|
17
|
+
"LICENSE",
|
18
|
+
"README"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
"CHANGELOG",
|
22
|
+
"LICENSE",
|
23
|
+
"README",
|
24
|
+
"lib/remarkable_activemodel.rb",
|
25
|
+
"lib/remarkable_activemodel/base.rb",
|
26
|
+
"lib/remarkable_activemodel/matchers/allow_values_for_matcher.rb",
|
27
|
+
"lib/remarkable_activemodel/matchers/validate_acceptance_of_matcher.rb",
|
28
|
+
"lib/remarkable_activemodel/matchers/validate_confirmation_of_matcher.rb",
|
29
|
+
"lib/remarkable_activemodel/matchers/validate_exclusion_of_matcher.rb",
|
30
|
+
"lib/remarkable_activemodel/matchers/validate_inclusion_of_matcher.rb",
|
31
|
+
"lib/remarkable_activemodel/matchers/validate_length_of_matcher.rb",
|
32
|
+
"lib/remarkable_activemodel/matchers/validate_numericality_of_matcher.rb",
|
33
|
+
"lib/remarkable_activemodel/matchers/validate_presence_of_matcher.rb",
|
34
|
+
"locale/en.yml",
|
35
|
+
"remarkable_activerecord.gemspec"
|
36
|
+
]
|
37
|
+
s.homepage = %q{http://github.com/carlosbrando/remarkable}
|
38
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
39
|
+
s.require_paths = ["lib"]
|
40
|
+
s.rubyforge_project = %q{remarkable}
|
41
|
+
s.rubygems_version = %q{1.3.6}
|
42
|
+
s.summary = %q{Remarkable ActiveModel: collection of matchers and macros with I18n for ActiveModel}
|
43
|
+
|
44
|
+
if s.respond_to? :specification_version then
|
45
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
46
|
+
s.specification_version = 3
|
47
|
+
|
48
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
49
|
+
s.add_runtime_dependency(%q<rspec>, [">= 2.0.0.alpha7"])
|
50
|
+
s.add_runtime_dependency(%q<remarkable>, ["~> 4.0.0.alpha1"])
|
51
|
+
else
|
52
|
+
s.add_dependency(%q<rspec>, [">= 2.0.0.alpha7"])
|
53
|
+
s.add_dependency(%q<remarkable>, ["~> 4.0.0.alpha1"])
|
54
|
+
end
|
55
|
+
else
|
56
|
+
s.add_dependency(%q<rspec>, [">= 2.0.0.alpha7"])
|
57
|
+
s.add_dependency(%q<remarkable>, ["~> 4.0.0.alpha1"])
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
metadata
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: remarkable_activemodel
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: true
|
5
|
+
segments:
|
6
|
+
- 4
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- alpha1
|
10
|
+
version: 4.0.0.alpha1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Ho-Sheng Hsiao
|
14
|
+
- Carlos Brando
|
15
|
+
- "Jos\xC3\xA9 Valim"
|
16
|
+
- Diego Carrion
|
17
|
+
autorequire:
|
18
|
+
bindir: bin
|
19
|
+
cert_chain: []
|
20
|
+
|
21
|
+
date: 2010-04-22 00:00:00 -04:00
|
22
|
+
default_executable:
|
23
|
+
dependencies:
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: rspec
|
26
|
+
prerelease: false
|
27
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
segments:
|
32
|
+
- 2
|
33
|
+
- 0
|
34
|
+
- 0
|
35
|
+
- alpha7
|
36
|
+
version: 2.0.0.alpha7
|
37
|
+
type: :runtime
|
38
|
+
version_requirements: *id001
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: remarkable
|
41
|
+
prerelease: false
|
42
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
segments:
|
47
|
+
- 4
|
48
|
+
- 0
|
49
|
+
- 0
|
50
|
+
- alpha1
|
51
|
+
version: 4.0.0.alpha1
|
52
|
+
type: :runtime
|
53
|
+
version_requirements: *id002
|
54
|
+
description: "Remarkable ActiveModel: collection of matchers and macros with I18n for ActiveModel"
|
55
|
+
email:
|
56
|
+
- hosh@sparkfly.com
|
57
|
+
- eduardobrando@gmail.com
|
58
|
+
- jose.valim@gmail.com
|
59
|
+
- dc.rec1@gmail.com
|
60
|
+
executables: []
|
61
|
+
|
62
|
+
extensions: []
|
63
|
+
|
64
|
+
extra_rdoc_files:
|
65
|
+
- CHANGELOG
|
66
|
+
- LICENSE
|
67
|
+
- README
|
68
|
+
files:
|
69
|
+
- CHANGELOG
|
70
|
+
- LICENSE
|
71
|
+
- README
|
72
|
+
- lib/remarkable_activemodel.rb
|
73
|
+
- lib/remarkable_activemodel/base.rb
|
74
|
+
- lib/remarkable_activemodel/matchers/allow_values_for_matcher.rb
|
75
|
+
- lib/remarkable_activemodel/matchers/validate_acceptance_of_matcher.rb
|
76
|
+
- lib/remarkable_activemodel/matchers/validate_confirmation_of_matcher.rb
|
77
|
+
- lib/remarkable_activemodel/matchers/validate_exclusion_of_matcher.rb
|
78
|
+
- lib/remarkable_activemodel/matchers/validate_inclusion_of_matcher.rb
|
79
|
+
- lib/remarkable_activemodel/matchers/validate_length_of_matcher.rb
|
80
|
+
- lib/remarkable_activemodel/matchers/validate_numericality_of_matcher.rb
|
81
|
+
- lib/remarkable_activemodel/matchers/validate_presence_of_matcher.rb
|
82
|
+
- locale/en.yml
|
83
|
+
- remarkable_activemodel.gemspec
|
84
|
+
- remarkable_activerecord.gemspec
|
85
|
+
has_rdoc: true
|
86
|
+
homepage: http://github.com/carlosbrando/remarkable
|
87
|
+
licenses: []
|
88
|
+
|
89
|
+
post_install_message:
|
90
|
+
rdoc_options:
|
91
|
+
- --charset=UTF-8
|
92
|
+
require_paths:
|
93
|
+
- lib
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
segments:
|
99
|
+
- 0
|
100
|
+
version: "0"
|
101
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">"
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
segments:
|
106
|
+
- 1
|
107
|
+
- 3
|
108
|
+
- 1
|
109
|
+
version: 1.3.1
|
110
|
+
requirements: []
|
111
|
+
|
112
|
+
rubyforge_project: remarkable
|
113
|
+
rubygems_version: 1.3.6
|
114
|
+
signing_key:
|
115
|
+
specification_version: 3
|
116
|
+
summary: "Remarkable ActiveModel: collection of matchers and macros with I18n for ActiveModel"
|
117
|
+
test_files: []
|
118
|
+
|