departure 5.0.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 188abb75d64bc512bba775dfe589294bdf3bd075
4
- data.tar.gz: 7c06bd461fe3c1a8756a6be3ebf38cc6aad7a9e6
3
+ metadata.gz: fdb2c9fa1e194c422dd3307d185b6221cc67424d
4
+ data.tar.gz: 12751e59aad8b20266827be30d439b0db7426ce9
5
5
  SHA512:
6
- metadata.gz: fcdc8acbd5a3e40643a745b29423eda2dab89e7b919d6248eb3b73d64c9371bf50874d089790f05012b09845ffe4040ebaee9b9bdc1c01a0043d1ee6d26fa96c
7
- data.tar.gz: 1a7933c409ab19e804849a60dd0507d9c6861c9deeadb141fcf03a3022a134dd0c124d56d4911033e2d096aed1b6eb249669f97dbaf8d1eda903d09d0455c744
6
+ metadata.gz: 67ce7ea1006cc6c5558e63561ceeed43e953870c0f3567ac614c1977795747ae73b1cca6e5eec4fdcbfb51733559e1fae1861a175cb0a3327aa889b3c80c5826
7
+ data.tar.gz: f743b0347bf4411dc20751d1d06f3deece63a0accb5a9b5cbe8ac46028669460b7bbad3225a643649541f750f7caedcd66cfd40b2897c4cfa6cabe902dfab12b
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.2
3
+ - 2.2.8
4
4
  before_install:
5
5
  - sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 8507EFA5
6
6
  - echo "deb http://repo.percona.com/apt `lsb_release -cs` main" | sudo tee -a /etc/apt/sources.list
@@ -4,6 +4,25 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
  Please follow the format in [Keep a Changelog](http://keepachangelog.com/)
6
6
 
7
+ ## [Unreleased]
8
+
9
+ ### Added
10
+ ### Changed
11
+ ### Deprecated
12
+ ### Removed
13
+ ### Fixed
14
+
15
+ ## [6.0.0] - 2017-09-25
16
+
17
+ ### Added
18
+
19
+ - Support for ActiveRecord 5.1
20
+
21
+ ### Changed
22
+ ### Deprecated
23
+ ### Removed
24
+ ### Fixed
25
+
7
26
  ## [5.0.0] - 2017-09-19
8
27
 
9
28
  ### Added
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_runtime_dependency 'rails', '~> 5.0.0'
22
+ spec.add_runtime_dependency 'rails', '~> 5.1.0'
23
23
  spec.add_runtime_dependency 'mysql2', '~> 0.4.0'
24
24
 
25
25
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -9,9 +9,8 @@ module ActiveRecord
9
9
  # Establishes a connection to the database that's used by all Active
10
10
  # Record objects.
11
11
  def percona_connection(config)
12
- mysql2_connection = mysql2_connection(config)
13
-
14
12
  config[:username] = 'root' if config[:username].nil?
13
+ mysql2_connection = mysql2_connection(config)
15
14
 
16
15
  connection_details = Departure::ConnectionDetails.new(config)
17
16
  verbose = ActiveRecord::Migration.verbose
@@ -1,3 +1,3 @@
1
1
  module Departure
2
- VERSION = '5.0.0'.freeze
2
+ VERSION = '6.0.0'.freeze
3
3
  end
@@ -1,4 +1,5 @@
1
1
  require 'active_record'
2
+ require 'active_record/connection_adapters/mysql2_adapter'
2
3
 
3
4
  # Setups the test database with the schema_migrations table that ActiveRecord
4
5
  # requires for the migrations, plus a table for the Comment model used throught
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: departure
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Zayats
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2017-09-19 00:00:00.000000000 Z
17
+ date: 2017-09-25 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rails
@@ -22,14 +22,14 @@ dependencies:
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: 5.0.0
25
+ version: 5.1.0
26
26
  type: :runtime
27
27
  prerelease: false
28
28
  version_requirements: !ruby/object:Gem::Requirement
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: 5.0.0
32
+ version: 5.1.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: mysql2
35
35
  requirement: !ruby/object:Gem::Requirement