activerecord 4.0.10.rc1 → 4.0.10.rc2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4531642a42d912b4196f8b84d208cdc11db3d580
|
4
|
+
data.tar.gz: ccec8990e94cb81f7a1ac8d8490998da72d14f6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5090f7c0fcd50099472c4ab41d0c4481e92f98db57909c7657053173ab2688a8b2b7fbef6add5a70b5a9d949b9013ddf585a9374d66b9d494dcf980e8aa3818b
|
7
|
+
data.tar.gz: 58e52c056e8738312c798c969114e92ff92c3eff587f21d2d76a5a21267f08069d9551c189553ff3f30fae9dc17fbd2a5f99c0316bd2672b7bd08f41fed2a102
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
|
-
## Rails 4.0.10 (
|
1
|
+
## Rails 4.0.10 (September 8, 2014) ##
|
2
2
|
|
3
|
-
*
|
3
|
+
* Fixed a regression where whitespaces were stripped from DISTINCT queries in
|
4
|
+
PostgreSQL.
|
5
|
+
|
6
|
+
*Agis Anastasopoulos*
|
7
|
+
|
8
|
+
Fixes #16623.
|
9
|
+
|
10
|
+
* Fix regression on after_commit that didn't fire when having nested transactions.
|
4
11
|
|
5
12
|
Fixes #16425
|
6
13
|
|
@@ -493,7 +493,8 @@ module ActiveRecord
|
|
493
493
|
# Convert Arel node to string
|
494
494
|
s = s.to_sql unless s.is_a?(String)
|
495
495
|
# Remove any ASC/DESC modifiers
|
496
|
-
s.gsub(/\s+(?:ASC|DESC)
|
496
|
+
s.gsub(/\s+(?:ASC|DESC)\b/i, '')
|
497
|
+
.gsub(/\s+NULLS\s+(?:FIRST|LAST)\b/i, '')
|
497
498
|
}.reject(&:blank?).map.with_index { |column, i| "#{column} AS alias_#{i}" }
|
498
499
|
|
499
500
|
[super, *order_columns].join(', ')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.10.
|
4
|
+
version: 4.0.10.rc2
|
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: 2014-08
|
11
|
+
date: 2014-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0.10.
|
19
|
+
version: 4.0.10.rc2
|
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.10.
|
26
|
+
version: 4.0.10.rc2
|
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.10.
|
33
|
+
version: 4.0.10.rc2
|
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.10.
|
40
|
+
version: 4.0.10.rc2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: arel
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -260,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
260
|
version: 1.3.1
|
261
261
|
requirements: []
|
262
262
|
rubyforge_project:
|
263
|
-
rubygems_version: 2.
|
263
|
+
rubygems_version: 2.2.2
|
264
264
|
signing_key:
|
265
265
|
specification_version: 4
|
266
266
|
summary: Object-relational mapper framework (part of Rails).
|