activemodel 3.2.11 → 3.2.12
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
5
|
-
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 04067c15edf41a8d5ce689e6cbb9310fe1732138
|
4
|
+
data.tar.gz: dd07c473867f7a3429a7dca2c8943921c93c0ad8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: afe4a7e0d27d0aa1329e377ab123dd17dc4e5525c9f6d82f58b1c3fe927fa929545c1a1ab473dab2b16e8e05d616194815a32e3ac90f2bb1ad89eb0a1dd404a0
|
7
|
+
data.tar.gz: ddab958f8295fd1dd685856f533c9d854b9240d3c227ecd244688d286579c8f13852f704e6defc02da8207661b05a1a3ca82d2d156a1741bec3bdf1ccac323f4
|
@@ -365,7 +365,7 @@ module ActiveModel
|
|
365
365
|
end
|
366
366
|
|
367
367
|
@prefix, @suffix = options[:prefix] || '', options[:suffix] || ''
|
368
|
-
@regex =
|
368
|
+
@regex = /\A(#{Regexp.escape(@prefix)})(.+?)(#{Regexp.escape(@suffix)})\z/
|
369
369
|
@method_missing_target = "#{@prefix}attribute#{@suffix}"
|
370
370
|
@method_name = "#{prefix}%s#{suffix}"
|
371
371
|
end
|
data/lib/active_model/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activemodel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.2.
|
19
|
+
version: 3.2.12
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.2.
|
26
|
+
version: 3.2.12
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: builder
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
105
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.0.0.
|
106
|
+
rubygems_version: 2.0.0.rc.2
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: A toolkit for building modeling frameworks (part of Rails).
|