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
- !binary "U0hBMQ==":
3
- metadata.gz: 717f6012746d9c8644cb6875aee9d2d306fe5e8a
4
- data.tar.gz: 07116e140a8dc876a1bcc9126593af4b352afc3b
5
- !binary "U0hBNTEy":
6
- metadata.gz: c0bedaa2e3548592a8e6b8777a0d10d95c8784513ad13e16fcdebd6e2a0cba5c4c767a32c093eeed874a0709fdf92b4bb882a014b3e2d8025f61c5397c9ec024
7
- data.tar.gz: df627cd93622fc0c869c9420a2d55733da63c315eafe503a09760d751cc6eb7ab50aab1c93f31c79463a56e5d284b10613ba03a96238db194d9529827d75073d
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 = /^(#{Regexp.escape(@prefix)})(.+?)(#{Regexp.escape(@suffix)})$/
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
@@ -19,7 +19,7 @@ module ActiveModel
19
19
  protected
20
20
 
21
21
  def remove_multiparameter_id(key)
22
- key.to_s.gsub(/\(.+/, '')
22
+ key.to_s.gsub(/\(.+/m, '')
23
23
  end
24
24
  end
25
25
 
@@ -2,7 +2,7 @@ module ActiveModel
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
- TINY = 11
5
+ TINY = 12
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.2.11
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-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.2.11
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.11
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.preview3
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).