schema_dev 3.10.0 → 3.10.1

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: d7eaaf6a1c187f9007eaf668003cf491a869af09
4
- data.tar.gz: e1689579c3452c927017571e33bbde71397816fb
3
+ metadata.gz: 25f414eba47f2915597f0ea3f6915cd54a304da7
4
+ data.tar.gz: e252da9fae6aa0aeb165e72093019b0392de0af6
5
5
  SHA512:
6
- metadata.gz: c8f9106545956a137e61fe4680a1b793a699669ac4c77d2fc22df6e239a0eb44eefb315099432976da68df066cf34cbced0e910a6b728cdc960c0269b82f4cbb
7
- data.tar.gz: 85d9a1dde6740946ffdf46d339749409c3eac1344310767d3706b8e359ee531c5edc651b29dfdd862c5b419e27465d05cc475ba379a5a7534d186f071e0f188a
6
+ metadata.gz: 5dbea1c432d05b4cd204ef827e2acfc5891bcea5d70bf5597c6ce89fe9d6d636b484e7cecc2dbc3fb7aa4b489a1d3ce8f9830d474f2fe2c28db51213fad44ed9
7
+ data.tar.gz: fa18474b38b0048c9be339862f352a2e34b80e25ae360e7cd648f6a8df5d4c020fa367c37357168afded27ce759eac432319b219b430fca04067b91adc96e6f4
data/README.md CHANGED
@@ -137,6 +137,7 @@ Which defines the rake task `create_databases` and also a task for travis-ci
137
137
 
138
138
  Release notes for schema_dev versions:
139
139
 
140
+ * **3.10.1** - Bug fix in rspec db connection; loosen dependency to 5.\*
140
141
  * **3.10.0** - Add support for 5.1 (i.e. 5.1.\*) and lock down dependencies on *.*
141
142
  * **3.9.0** - Add support for AR 5.0.2, 5.0.3, 5.1.0 and 5.1.1. Thanks to [@aliuk2012](https://github.com/aliuk2012)
142
143
  * **3.8.1** - Fixed Gemnasium badge.
@@ -14,11 +14,11 @@ module SchemaDev
14
14
  RSpec.configure do |config|
15
15
  config.include Helpers
16
16
  config.filter_run_excluding :postgresql => :only unless Helpers.postgresql?
17
- config.filter_run_excluding :postgresql => :skip if Helpers.postgresql?
18
- config.filter_run_excluding :mysql => :only unless Helpers.mysql?
19
- config.filter_run_excluding :mysql => :skip if Helpers.mysql?
20
- config.filter_run_excluding :sqlite3 => :only unless Helpers.sqlite3?
21
- config.filter_run_excluding :sqlite3 => :skip if Helpers.sqlite3?
17
+ config.filter_run_excluding :postgresql => :skip if Helpers.postgresql?
18
+ config.filter_run_excluding :mysql => :only unless Helpers.mysql?
19
+ config.filter_run_excluding :mysql => :skip if Helpers.mysql?
20
+ config.filter_run_excluding :sqlite3 => :only unless Helpers.sqlite3?
21
+ config.filter_run_excluding :sqlite3 => :skip if Helpers.sqlite3?
22
22
  end
23
23
  end
24
24
 
@@ -39,31 +39,31 @@ module SchemaDev
39
39
  case @db
40
40
  when 'mysql'
41
41
  {
42
- :adapter => 'mysql',
43
- :database => database,
44
- :username => ENV.fetch('MYSQL_DB_USER', 'schema_plus'),
45
- :encoding => 'utf8',
46
- :min_messages => 'warning'
42
+ "adapter" => 'mysql',
43
+ "database" => database,
44
+ "username" => ENV.fetch('MYSQL_DB_USER', 'schema_plus'),
45
+ "encoding" => 'utf8',
46
+ "min_messages" => 'warning'
47
47
  }
48
48
  when 'mysql2'
49
49
  {
50
- :adapter => 'mysql2',
51
- :database => database,
52
- :username => ENV.fetch('MYSQL_DB_USER', 'schema_plus'),
53
- :encoding => 'utf8',
54
- :min_messages => 'warning'
50
+ "adapter" => 'mysql2',
51
+ "database" => database,
52
+ "username" => ENV.fetch('MYSQL_DB_USER', 'schema_plus'),
53
+ "encoding" => 'utf8',
54
+ "min_messages" => 'warning'
55
55
  }
56
56
  when 'postgresql'
57
57
  {
58
- :adapter => 'postgresql',
59
- :username => ENV['POSTGRESQL_DB_USER'],
60
- :database => database,
61
- :min_messages => 'warning'
58
+ "adapter" => 'postgresql',
59
+ "username" => ENV['POSTGRESQL_DB_USER'],
60
+ "database" => database,
61
+ "min_messages" => 'warning'
62
62
  }
63
63
  when 'sqlite3'
64
64
  {
65
- :adapter => 'sqlite3',
66
- :database => tmproot.join("#{database}.sqlite3").to_s
65
+ "adapter" => 'sqlite3',
66
+ "database" => tmproot.join("#{database}.sqlite3").to_s
67
67
  }
68
68
  else
69
69
  raise "Unknown db adapter #{@db.inspect}"
@@ -1,3 +1,3 @@
1
1
  module SchemaDev
2
- VERSION = "3.10.0"
2
+ VERSION = "3.10.1"
3
3
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- gem.add_dependency "activesupport", "~> 5.1"
21
+ gem.add_dependency "activesupport", "~> 5.0"
22
22
  gem.add_dependency "coveralls", "~> 0.8"
23
23
  gem.add_dependency "faraday", "~> 0.9"
24
24
  gem.add_dependency "fastandand", "~> 1.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.10.0
4
+ version: 3.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ronen barzel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-14 00:00:00.000000000 Z
11
+ date: 2017-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.1'
19
+ version: '5.0'
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: '5.1'
26
+ version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: coveralls
29
29
  requirement: !ruby/object:Gem::Requirement