activemodel 3.1.10 → 3.1.11
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.
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: d288a9eed7a6d857f93f4b3c56c83ef4d82ade55
|
|
4
|
+
data.tar.gz: 0e3639396524fd4ccd4f0a69927e071e38ccc691
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 9bc04c163402cb05228ff5e0ada2005a05c6c5aa62ce926ac741d22ed6cb2b891fe8052d5b47192a55999c69e0aa706e362a1a967c479594c93c413a489a7af0
|
|
7
|
+
data.tar.gz: 650e15cfe1a1dba062e7e0dcb0f67e89e6e923b2e444a400fa25372f867669ce3d4aad13a0f65e130fbdf86f8d63401348ceb35fa09ca7e0fe51e7741a375d7b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
## Rails 3.1.
|
|
1
|
+
## Rails 3.1.11 (unreleased) ##
|
|
2
|
+
|
|
3
|
+
## Rails 3.1.10 (Jan 8, 2013) ##
|
|
4
|
+
|
|
5
|
+
* No changes.
|
|
6
|
+
|
|
7
|
+
## Rails 3.1.9 (Jan 2, 2013) ##
|
|
2
8
|
|
|
3
9
|
* Due to a change in builder, nil values now generates closed tags, so instead of this:
|
|
4
10
|
|
|
@@ -10,15 +16,15 @@
|
|
|
10
16
|
|
|
11
17
|
*Carlos Antonio da Silva*
|
|
12
18
|
|
|
13
|
-
## Rails 3.1.8 (Aug 9, 2012)
|
|
19
|
+
## Rails 3.1.8 (Aug 9, 2012) ##
|
|
14
20
|
|
|
15
21
|
* No changes.
|
|
16
22
|
|
|
17
|
-
## Rails 3.1.7 (Jul 26, 2012)
|
|
23
|
+
## Rails 3.1.7 (Jul 26, 2012) ##
|
|
18
24
|
|
|
19
25
|
* No changes.
|
|
20
26
|
|
|
21
|
-
## Rails 3.1.6 (Jun 12, 2012)
|
|
27
|
+
## Rails 3.1.6 (Jun 12, 2012) ##
|
|
22
28
|
|
|
23
29
|
* No changes.
|
|
24
30
|
|
|
@@ -346,7 +346,7 @@ module ActiveModel
|
|
|
346
346
|
def initialize(options = {})
|
|
347
347
|
options.symbolize_keys!
|
|
348
348
|
@prefix, @suffix = options[:prefix] || '', options[:suffix] || ''
|
|
349
|
-
@regex =
|
|
349
|
+
@regex = /\A(#{Regexp.escape(@prefix)})(.+?)(#{Regexp.escape(@suffix)})\z/
|
|
350
350
|
@method_missing_target = "#{@prefix}attribute#{@suffix}"
|
|
351
351
|
@method_name = "#{prefix}%s#{suffix}"
|
|
352
352
|
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.1.
|
|
4
|
+
version: 3.1.11
|
|
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.1.
|
|
19
|
+
version: 3.1.11
|
|
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.1.
|
|
26
|
+
version: 3.1.11
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: builder
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
117
117
|
version: '0'
|
|
118
118
|
requirements: []
|
|
119
119
|
rubyforge_project:
|
|
120
|
-
rubygems_version: 2.0.0.
|
|
120
|
+
rubygems_version: 2.0.0.rc.2
|
|
121
121
|
signing_key:
|
|
122
122
|
specification_version: 4
|
|
123
123
|
summary: A toolkit for building modeling frameworks (part of Rails).
|