combustion 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0275fd92cc333b6729a5d6e7e02870093863d650984f6404ebebc31fd3267318
4
- data.tar.gz: 90127237a18f2c7d76ab833033fc97bc70e600d5b0690aefe9760216f8ea9aea
3
+ metadata.gz: 1d2797e2ea24494eaab910d769ebe2261b51798415548227c6eb31b98e3cd69e
4
+ data.tar.gz: 2febf7d0b905f4cabe6c097a2ca18efa983750cbf1c588b1ea73509a3160a509
5
5
  SHA512:
6
- metadata.gz: 73039b686308ad1e2b01005338352a184f997c534f50cec4336490d6d087849e6bb2616d145d3e5b9f05b5cd195345b7fa4e749dd02588a683423f0afc90a2d6
7
- data.tar.gz: 3410f78c2cfc778e9b2e26573f5a7dbba06315f3284522ce7f77b92540b57aab2b44ea2cd267c1988069e7ebf911f4ef13c44796c2088ea69191c24c40bfb48d
6
+ metadata.gz: acb4a683a993d61a81d372f90fd1a34cef3476b9e8bcc8c9c2255db17d471c1e9885e84a0e629fb4914ab5e7d083c0a420cf04f1be96f0a814f802616b2c625d
7
+ data.tar.gz: 5a6f4291cee25dda4fd77c132d01077cf93ddc923279fa02a7bf4842285c1fab2b843a53befba776f030346c3f86d76ad73ab09798780a5a60500682bc8eb6ad
@@ -12,7 +12,7 @@ class Combustion::Databases::MySQL < Combustion::Databases::Base
12
12
  private
13
13
 
14
14
  def charset
15
- configuration[:charset] || ENV["CHARSET"] || "utf8"
15
+ configuration[:charset] || ENV["CHARSET"]
16
16
  end
17
17
 
18
18
  def charset_error
@@ -22,7 +22,7 @@ class Combustion::Databases::MySQL < Combustion::Databases::Base
22
22
  end
23
23
 
24
24
  def collation
25
- configuration[:collation] || ENV["COLLATION"] || "utf8_unicode_ci"
25
+ configuration[:collation] || ENV["COLLATION"]
26
26
  end
27
27
 
28
28
  def create
@@ -46,7 +46,7 @@ class Combustion::Databases::MySQL < Combustion::Databases::Base
46
46
  end
47
47
 
48
48
  def creation_options
49
- {:charset => charset, :collation => collation}
49
+ {:charset => charset, :collation => collation}.compact
50
50
  end
51
51
 
52
52
  def drop
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: combustion
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan