activerecord 4.1.9.rc1 → 4.1.9

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: e5287fa16445f7b98a3fcea72da500425ec78bd5
4
- data.tar.gz: e0506df4805c389dfb5bba80a98213757853decd
3
+ metadata.gz: 0fefe42490f697250635bb596a1cc5f10981a13f
4
+ data.tar.gz: 978502842819d7e7c43da979feb6759cd8332bd8
5
5
  SHA512:
6
- metadata.gz: ee1d915128d2cf0959ad1e3e40f4260d46c8fcf86442b3431d1a0f2725af36ec03696f8b1410d50342eec5c8c12d5bbaea2a8aec010b87c6a11917607edd5c4a
7
- data.tar.gz: 2e39f5e3a3679cec9ab406e15f3d53697a6f7f842d04349816d1dfc14da1cd80efc64cd64fd76f78d72a562cc28ae65a4d50ed2e93f42bf420ea573aa4c38d91
6
+ metadata.gz: 96218532f5abd1a52c878f7cbd3bb566a5c96f51aac50072fca2dcc204fdf709aebb0b5be216bd829ef4ae8d6c5dea8057f06fc01f25ab329dbaf9ab7f7828c9
7
+ data.tar.gz: ad46a3a1d6a43b0bcd3330502998b69cd9f0f8ddc83c589fdb5d64cf663347765a9b9ec0d34b1080be6c8203baeea63dcd4f60459213e6888a29fc9f4c6005d5
@@ -1,3 +1,5 @@
1
+ ## Rails 4.1.9 (January 6, 2015) ##
2
+
1
3
  * `db:schema:load` and `db:structure:load` no longer purge the database
2
4
  before loading the schema. This is left for the user to do.
3
5
  `db:test:prepare` will still purge the database.
@@ -27,6 +27,9 @@ module ActiveRecord
27
27
  class Bytea < Type
28
28
  def type_cast(value)
29
29
  return if value.nil?
30
+ # This is a flawed heuristic, but it avoids truncation;
31
+ # we really shouldn’t be calling this with already-unescaped values
32
+ return value if value.dup.force_encoding("BINARY") =~ /\x00/
30
33
  PGconn.unescape_bytea value
31
34
  end
32
35
  end
@@ -8,7 +8,7 @@ module ActiveRecord
8
8
  MAJOR = 4
9
9
  MINOR = 1
10
10
  TINY = 9
11
- PRE = "rc1"
11
+ PRE = nil
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
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.1.9.rc1
4
+ version: 4.1.9
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.1.9.rc1
19
+ version: 4.1.9
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.1.9.rc1
26
+ version: 4.1.9
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.1.9.rc1
33
+ version: 4.1.9
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.1.9.rc1
40
+ version: 4.1.9
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: arel
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -243,9 +243,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
243
243
  version: 1.9.3
244
244
  required_rubygems_version: !ruby/object:Gem::Requirement
245
245
  requirements:
246
- - - ">"
246
+ - - ">="
247
247
  - !ruby/object:Gem::Version
248
- version: 1.3.1
248
+ version: '0'
249
249
  requirements: []
250
250
  rubyforge_project:
251
251
  rubygems_version: 2.4.5