activemodel 3.1.10 → 3.1.11

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
- !binary "U0hBMQ==":
3
- metadata.gz: 37abf614a19a1f74ef57a0964b6c67aa766b100d
4
- data.tar.gz: 4310f35361217d9e14a85410e0014bed420a68d8
5
- !binary "U0hBNTEy":
6
- metadata.gz: 6ace0a6136f12ade03fb2ace7af8b08782d91a177753a75c8727a1ef2791699aef83efd8328af6ef4c3282d88c7651a630e21123202475c62e0207fac7c135f6
7
- data.tar.gz: fe3a04d6b58cbd197d447b192d9094ba26ddd83a56753d1d842ebd54bf17386dadab3d65aa00708eb4789bad5e6a13d2ed87e8839879aae85a2fe344246e1fc3
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.9 ##
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 = /^(#{Regexp.escape(@prefix)})(.+?)(#{Regexp.escape(@suffix)})$/
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
@@ -17,7 +17,7 @@ module ActiveModel
17
17
  protected
18
18
 
19
19
  def remove_multiparameter_id(key)
20
- key.to_s.gsub(/\(.+/, '')
20
+ key.to_s.gsub(/\(.+/m, '')
21
21
  end
22
22
  end
23
23
 
@@ -2,7 +2,7 @@ module ActiveModel
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 1
5
- TINY = 10
5
+ TINY = 11
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
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.10
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-01-08 00:00:00.000000000 Z
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.10
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.10
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.preview3
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).