jets 2.2.1 → 2.2.2

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
  SHA256:
3
- metadata.gz: 6becd540bc99766696d49280636867ca4183ab2dc6a9cadec90c9837acd06352
4
- data.tar.gz: '0918860cc1c3429635f1d3cba3db58301d0090e55c1382049d23d45f2763dfa2'
3
+ metadata.gz: bd8c8b5d6b78bfcf3b83cfe9a28e2de4f8dd50cd7ee2d29ed8709d4f2d26226b
4
+ data.tar.gz: a5e568a233712e508895ee95f43ee3ccceb1848b9c3c87ecfe202d3f9cdb9ff4
5
5
  SHA512:
6
- metadata.gz: 8fd318bf3aaa6039226e32a93703ebe5ad89e66b1c739378c525a160a7ae0f902b1709ea421b3849472243f5d3fe3f00ac35f91d7102accf856ceda28f6e3ae9
7
- data.tar.gz: b7c0d69d5230806fbd630ac857abb8dd091f6f1dee8a3708f7f1485c57abcd3c063ae2250843a6a91503f23980a19ec8bbb7a388ade6168ec3ab5ac2547a98f7
6
+ metadata.gz: 987fafa63fc18c2a2b68c42f6f8dd44eafacf589c717ab9889f940e9047a50746dc29df75da8175e89289d06217e0e9ba08940366584b768887508a01fe7a9db
7
+ data.tar.gz: 076b567b2db9b43681d55784e42931d51f3b6dc57372582f5737da3dc62efe30af63d6f72d4b92368164e7e59f0be0aa4aa35340e6daf06abbc5e1536a3e35e1
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [2.2.2]
7
+ - #370 Use unicode for encoding when using postgres
8
+
6
9
  ## [2.2.1]
7
10
  - #369 clean up authorizers and bug fixes
8
11
 
@@ -1,6 +1,10 @@
1
1
  default: &default
2
2
  adapter: <%= @adapter %>
3
+ <% if @adapter == 'postgresql' -%>
4
+ encoding: unicode
5
+ <% else -%>
3
6
  encoding: utf8mb4
7
+ <% end -%>
4
8
  pool: <%%= ENV["DB_POOL"] || 5 %>
5
9
  database: <%%= ENV['DB_NAME'] || '<%= @database_development %>' %>
6
10
  <% if @adapter == 'postgresql' -%>
@@ -1,10 +1,9 @@
1
1
  default: &default
2
2
  adapter: <%= @database == 'mysql' ? 'mysql2' : 'postgresql' %>
3
- encoding: utf8mb4
3
+ encoding: <%= @database == 'mysql' ? 'utf8mb4' : 'unicode' %>
4
4
  pool: <%%= ENV["DB_POOL"] || 5 %>
5
5
  database: <%%= ENV['DB_NAME'] || '<%= @project_name %>_development' %>
6
6
  <% if @database == 'mysql' -%>
7
- encoding: utf8mb4
8
7
  username: <%%= ENV['DB_USER'] || 'root' %>
9
8
  <% else -%>
10
9
  username: <%%= ENV['DB_USER'] || ENV['USER'] %>
data/lib/jets/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "2.2.1"
2
+ VERSION = "2.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-12 00:00:00.000000000 Z
11
+ date: 2019-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer