activerecord 4.0.13.rc1 → 4.0.13

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: 2ba363d6a3bc9185c6e4676cd69a0c8af08051cd
4
- data.tar.gz: bddcbc3eeff462cda0c439f19d3439bbf5c4c0be
3
+ metadata.gz: ae43dd1ef6e205033ec72d38b8d3b6ab7b604684
4
+ data.tar.gz: f163d6b09dea15d4333c978592a61e40089532fe
5
5
  SHA512:
6
- metadata.gz: 26c568021fccd2ab9d463e1752b9fb42753ec6ea938cdaf6e39aa654acaa98ab15db1d7852dda87af852601dc9d676eacb5059fd1ee337de4dc76273cf89e971
7
- data.tar.gz: c6aeece39dcfb73d89740d7bd64210f927bad042db1832cdacf975ae101fb68d128875bf1a38a896cc430ee36ffe3c41973dbe97b65c281d45ffbf1e1fe1b4aa
6
+ metadata.gz: feb23693186e93a56685ad58fd1ea6ac5f91b69f7f114c4c15c7f5dc4b9ac9ac5011360f61d7d073bae8bc61e3afc5c7e3b8b2482b4b72ed31e73d10ea8183e5
7
+ data.tar.gz: 1a4d52daeaf706cbcce8fae899ec0c5b9ac7ade9b7ab1fb878eb3876d02db1c7c5f2f48e37ddd33b598c01ea6722b565ad5f217f77ff6352d1c8234a5d2d1741
@@ -1,3 +1,5 @@
1
+ ## Rails 4.0.13 (January 6, 2015) ##
2
+
1
3
  * Renaming a table in pg also renames the primary key index.
2
4
 
3
5
  Fixes #12856
@@ -31,6 +31,9 @@ module ActiveRecord
31
31
  class Bytea < Type
32
32
  def type_cast(value)
33
33
  return if value.nil?
34
+ # This is a flawed heuristic, but it avoids truncation;
35
+ # we really shouldn’t be calling this with already-unescaped values
36
+ return value if value.dup.force_encoding("BINARY") =~ /\x00/
34
37
  PGconn.unescape_bytea value
35
38
  end
36
39
  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.13.rc1"
4
+ Gem::Version.new "4.0.13"
5
5
  end
6
6
 
7
7
  module VERSION #:nodoc:
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.13.rc1
4
+ version: 4.0.13
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: 2015-01-02 00:00:00.000000000 Z
11
+ date: 2015-01-06 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.13.rc1
19
+ version: 4.0.13
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.13.rc1
26
+ version: 4.0.13
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.13.rc1
33
+ version: 4.0.13
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.13.rc1
40
+ version: 4.0.13
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: arel
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -255,9 +255,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
255
255
  version: 1.9.3
256
256
  required_rubygems_version: !ruby/object:Gem::Requirement
257
257
  requirements:
258
- - - ">"
258
+ - - ">="
259
259
  - !ruby/object:Gem::Version
260
- version: 1.3.1
260
+ version: '0'
261
261
  requirements: []
262
262
  rubyforge_project:
263
263
  rubygems_version: 2.4.5