activerecord 4.1.15 → 4.1.16.rc1

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: 2a9eb69b2c6d7f200f2a376c9a43a0e9a5123c4b
4
- data.tar.gz: 601315dc3a4c20956652c0fa8fca9c268ba888a1
3
+ metadata.gz: 195beabe0b6cce52c4d51dbbd9530f98d062b2f2
4
+ data.tar.gz: db3ab046083e72a5c3f534cf6b06a12b6b30592a
5
5
  SHA512:
6
- metadata.gz: a5cfdd485d4acc4fe446f7189637bfa75cf0179ce492760d9cdffb237c6e28e03c9bbe73dbfe1e8256a88d5e4605e762931f39e8caa5651be1f85c7f45d5897f
7
- data.tar.gz: d2b9d0d1434f9e05c61993181b1d5712a89e0f1d66cafd491ce1add7d4620cf6628cf7e8fd9d9797d32c7b7e55946ac450c131d1b1cc66a748f313c176e2e5fe
6
+ metadata.gz: cfa6589f0c81a489e162ddd2aca0fe3485fabcd16c2cc33bfc39a05c7f89558cf2655c002896c85d1c66afba9f1aee80a832408f75e36bf2e18463dcce23f1e5
7
+ data.tar.gz: 7716d963b4c95a56903a3e267156b2cefb3af07156bcc42a002141e97a1c343bff6e05f7d20b8a184a1bbecade2e7bc32c78da066111996515ba37f54b4e533c
@@ -1,3 +1,12 @@
1
+ ## Rails 4.1.16.rc1 (July 01, 2016) ##
2
+
3
+ * Correctly pass MySQL options when using structure_dump or structure_load
4
+
5
+ Specifically, it fixes an issue when using SSL authentication.
6
+
7
+ *Alex Coomans*
8
+
9
+
1
10
  ## Rails 4.1.15 (March 07, 2016) ##
2
11
 
3
12
  * Fixes custom primary keys for associations when calling `Relation#where`
@@ -7,8 +7,8 @@ module ActiveRecord
7
7
  module VERSION
8
8
  MAJOR = 4
9
9
  MINOR = 1
10
- TINY = 15
11
- PRE = nil
10
+ TINY = 16
11
+ PRE = "rc1"
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
@@ -129,15 +129,21 @@ IDENTIFIED BY '#{configuration['password']}' WITH GRANT OPTION;
129
129
  end
130
130
 
131
131
  def prepare_command_options(command)
132
- args = [command]
133
- args.concat(['--user', configuration['username']]) if configuration['username']
134
- args << "--password=#{configuration['password']}" if configuration['password']
135
- args.concat(['--default-character-set', configuration['encoding']]) if configuration['encoding']
136
- configuration.slice('host', 'port', 'socket').each do |k, v|
137
- args.concat([ "--#{k}", v.to_s ]) if v
138
- end
139
-
140
- args
132
+ args = {
133
+ 'host' => '--host',
134
+ 'port' => '--port',
135
+ 'socket' => '--socket',
136
+ 'username' => '--user',
137
+ 'password' => '--password',
138
+ 'encoding' => '--default-character-set',
139
+ 'sslca' => '--ssl-ca',
140
+ 'sslcert' => '--ssl-cert',
141
+ 'sslcapath' => '--ssl-capath',
142
+ 'sslcipher' => '--ssl-cipher',
143
+ 'sslkey' => '--ssl-key'
144
+ }.map { |opt, arg| "#{arg}=#{configuration[opt]}" if configuration[opt] }.compact
145
+
146
+ [command, *args]
141
147
  end
142
148
  end
143
149
  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.15
4
+ version: 4.1.16.rc1
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: 2016-03-07 00:00:00.000000000 Z
11
+ date: 2016-07-02 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.15
19
+ version: 4.1.16.rc1
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.15
26
+ version: 4.1.16.rc1
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.15
33
+ version: 4.1.16.rc1
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.15
40
+ version: 4.1.16.rc1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: arel
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -243,12 +243,12 @@ 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: '0'
248
+ version: 1.3.1
249
249
  requirements: []
250
250
  rubyforge_project:
251
- rubygems_version: 2.5.1
251
+ rubygems_version: 2.6.6
252
252
  signing_key:
253
253
  specification_version: 4
254
254
  summary: Object-relational mapper framework (part of Rails).