activemodel 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/lib/active_model/naming.rb +1 -1
- data/lib/active_model/version.rb +1 -1
- metadata +89 -58
data/CHANGELOG.md
CHANGED
data/lib/active_model/naming.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'active_support/inflector'
|
2
2
|
require 'active_support/core_ext/hash/except'
|
3
3
|
require 'active_support/core_ext/module/introspection'
|
4
|
-
require 'active_support/
|
4
|
+
require 'active_support/deprecation'
|
5
5
|
|
6
6
|
module ActiveModel
|
7
7
|
class Name < String
|
data/lib/active_model/version.rb
CHANGED
metadata
CHANGED
@@ -1,106 +1,137 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: activemodel
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 2
|
9
|
+
- 1
|
10
|
+
version: 3.2.1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- David Heinemeier Hansson
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-01-26 00:00:00 -08:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: activesupport
|
16
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
25
|
none: false
|
18
|
-
requirements:
|
19
|
-
- - =
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
26
|
+
requirements:
|
27
|
+
- - "="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 13
|
30
|
+
segments:
|
31
|
+
- 3
|
32
|
+
- 2
|
33
|
+
- 1
|
34
|
+
version: 3.2.1
|
22
35
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
26
38
|
name: builder
|
27
|
-
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
41
|
none: false
|
29
|
-
requirements:
|
42
|
+
requirements:
|
30
43
|
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 7
|
46
|
+
segments:
|
47
|
+
- 3
|
48
|
+
- 0
|
49
|
+
- 0
|
32
50
|
version: 3.0.0
|
33
51
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
description: A toolkit for building modeling frameworks like Active Record and Active
|
37
|
-
Resource. Rich support for attributes, callbacks, validations, observers, serialization,
|
38
|
-
internationalization, and testing.
|
52
|
+
version_requirements: *id002
|
53
|
+
description: A toolkit for building modeling frameworks like Active Record and Active Resource. Rich support for attributes, callbacks, validations, observers, serialization, internationalization, and testing.
|
39
54
|
email: david@loudthinking.com
|
40
55
|
executables: []
|
56
|
+
|
41
57
|
extensions: []
|
58
|
+
|
42
59
|
extra_rdoc_files: []
|
43
|
-
|
60
|
+
|
61
|
+
files:
|
44
62
|
- CHANGELOG.md
|
45
63
|
- MIT-LICENSE
|
46
64
|
- README.rdoc
|
47
|
-
- lib/active_model/attribute_methods.rb
|
48
|
-
- lib/active_model/callbacks.rb
|
49
|
-
- lib/active_model/conversion.rb
|
50
|
-
- lib/active_model/dirty.rb
|
51
|
-
- lib/active_model/errors.rb
|
52
|
-
- lib/active_model/lint.rb
|
53
65
|
- lib/active_model/locale/en.yml
|
54
|
-
- lib/active_model/mass_assignment_security/permission_set.rb
|
55
66
|
- lib/active_model/mass_assignment_security/sanitizer.rb
|
56
|
-
- lib/active_model/mass_assignment_security.rb
|
57
|
-
- lib/active_model/naming.rb
|
58
|
-
- lib/active_model/observer_array.rb
|
59
|
-
- lib/active_model/observing.rb
|
67
|
+
- lib/active_model/mass_assignment_security/permission_set.rb
|
60
68
|
- lib/active_model/railtie.rb
|
61
|
-
- lib/active_model/
|
62
|
-
- lib/active_model/serialization.rb
|
63
|
-
- lib/active_model/serializers/json.rb
|
64
|
-
- lib/active_model/serializers/xml.rb
|
69
|
+
- lib/active_model/observer_array.rb
|
65
70
|
- lib/active_model/test_case.rb
|
66
71
|
- lib/active_model/translation.rb
|
67
|
-
- lib/active_model/
|
68
|
-
- lib/active_model/
|
69
|
-
- lib/active_model/
|
72
|
+
- lib/active_model/naming.rb
|
73
|
+
- lib/active_model/mass_assignment_security.rb
|
74
|
+
- lib/active_model/secure_password.rb
|
75
|
+
- lib/active_model/errors.rb
|
76
|
+
- lib/active_model/observing.rb
|
77
|
+
- lib/active_model/callbacks.rb
|
78
|
+
- lib/active_model/validations.rb
|
79
|
+
- lib/active_model/version.rb
|
80
|
+
- lib/active_model/dirty.rb
|
81
|
+
- lib/active_model/conversion.rb
|
82
|
+
- lib/active_model/serializers/xml.rb
|
83
|
+
- lib/active_model/serializers/json.rb
|
70
84
|
- lib/active_model/validations/exclusion.rb
|
71
|
-
- lib/active_model/validations/format.rb
|
72
|
-
- lib/active_model/validations/inclusion.rb
|
73
85
|
- lib/active_model/validations/length.rb
|
74
|
-
- lib/active_model/validations/numericality.rb
|
75
86
|
- lib/active_model/validations/presence.rb
|
87
|
+
- lib/active_model/validations/acceptance.rb
|
88
|
+
- lib/active_model/validations/inclusion.rb
|
89
|
+
- lib/active_model/validations/format.rb
|
90
|
+
- lib/active_model/validations/callbacks.rb
|
91
|
+
- lib/active_model/validations/confirmation.rb
|
76
92
|
- lib/active_model/validations/validates.rb
|
77
93
|
- lib/active_model/validations/with.rb
|
78
|
-
- lib/active_model/validations.rb
|
94
|
+
- lib/active_model/validations/numericality.rb
|
95
|
+
- lib/active_model/lint.rb
|
96
|
+
- lib/active_model/attribute_methods.rb
|
79
97
|
- lib/active_model/validator.rb
|
80
|
-
- lib/active_model/
|
98
|
+
- lib/active_model/serialization.rb
|
81
99
|
- lib/active_model.rb
|
100
|
+
has_rdoc: true
|
82
101
|
homepage: http://www.rubyonrails.org
|
83
102
|
licenses: []
|
103
|
+
|
84
104
|
post_install_message:
|
85
105
|
rdoc_options: []
|
86
|
-
|
106
|
+
|
107
|
+
require_paths:
|
87
108
|
- lib
|
88
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
109
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
89
110
|
none: false
|
90
|
-
requirements:
|
91
|
-
- -
|
92
|
-
- !ruby/object:Gem::Version
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
hash: 57
|
115
|
+
segments:
|
116
|
+
- 1
|
117
|
+
- 8
|
118
|
+
- 7
|
93
119
|
version: 1.8.7
|
94
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
121
|
none: false
|
96
|
-
requirements:
|
97
|
-
- -
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
hash: 3
|
126
|
+
segments:
|
127
|
+
- 0
|
128
|
+
version: "0"
|
100
129
|
requirements: []
|
130
|
+
|
101
131
|
rubyforge_project:
|
102
|
-
rubygems_version: 1.
|
132
|
+
rubygems_version: 1.6.2
|
103
133
|
signing_key:
|
104
134
|
specification_version: 3
|
105
135
|
summary: A toolkit for building modeling frameworks (part of Rails).
|
106
136
|
test_files: []
|
137
|
+
|