activerecord 4.0.7 → 4.0.8

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activerecord might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed57556216d551308db2fbb815b338d14119a30e
4
- data.tar.gz: b389388752ab7db483d355986b817d7d6821643c
3
+ metadata.gz: c4745d3312fd56d5ef5c280dbe53dcad6eb2f4a0
4
+ data.tar.gz: 96f13ec91a49b5149fdaef774450c1508f436797
5
5
  SHA512:
6
- metadata.gz: eca5bc65707480717b3fe8c33bfed64c82a2591c7a51f4b4ba80bcb2a6ecd3cdf1d98ece4731d6d301ef56129b6b76793cabbde758c83128951f9773da8e1741
7
- data.tar.gz: e801171603f0e548ce230db98e29003394e8c41057d4bd4d33b9a55da4c03056cd3a81a23b305c5ab61f90b85b64bd982b244368b0a4672105e7d0848401b93e
6
+ metadata.gz: 13374d2082e6c5a4c019efffe9295a081b9d7c515e891ee36c8ae46df69fe3e6576a18aa88701033dcaa0d42eeaf2fb9eba0a3547848158cdb4b13b634bafaaa
7
+ data.tar.gz: 69da6336fe69511f958d08c902d3b6283eb7634ef772136a2189646056cff17cacb37821bfae07c18375e230585be749d26cc2c1d0ca1f9ffd51bbf6e1b455c8
@@ -1,3 +1,10 @@
1
+ ## Rails 4.0.8 (July 2, 2014) ##
2
+
3
+ * Fix regression added from the latest security fix.
4
+
5
+ *Sean Griffin*, *Matthew Draper*
6
+
7
+
1
8
  ## Rails 4.0.7 (July 2, 2014) ##
2
9
 
3
10
  * Fix SQL Injection Vulnerability in 'range' quoting.
@@ -24,7 +24,7 @@ module ActiveRecord
24
24
  when Range
25
25
  if /range$/ =~ sql_type
26
26
  escaped = quote_string(PostgreSQLColumn.range_to_string(value))
27
- "#{escaped}::#{sql_type}"
27
+ "'#{escaped}'::#{sql_type}"
28
28
  else
29
29
  super
30
30
  end
@@ -1,7 +1,7 @@
1
1
  module ActiveRecord
2
2
  # Returns the version of the currently loaded ActiveRecord as a Gem::Version
3
3
  def self.version
4
- Gem::Version.new "4.0.7"
4
+ Gem::Version.new "4.0.8"
5
5
  end
6
6
 
7
7
  module VERSION #:nodoc:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.7
4
+ version: 4.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.7
19
+ version: 4.0.8
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: 4.0.7
26
+ version: 4.0.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activemodel
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.0.7
33
+ version: 4.0.8
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 4.0.7
40
+ version: 4.0.8
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: arel
43
43
  requirement: !ruby/object:Gem::Requirement