bankai 0.6.0 → 0.7.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
  SHA256:
3
- metadata.gz: 76ebef80c3eb8a6faf9d274edcf9f63541809a1e956a84b6b7edb36bb795e965
4
- data.tar.gz: 100d72179cd54567ad3cedf5f013607fcd0cadf8e81819c4315ae74eb468a42a
3
+ metadata.gz: a6ae152202fc1035211da5eeb7e7351799e8d56e8f136f7f09dcc1269a0e647e
4
+ data.tar.gz: 0b0d39e8b111f7e3e22a60dba1209910b33c73df22dc556d4d44aedcb58d5d6e
5
5
  SHA512:
6
- metadata.gz: ab0202a6a0e94db7aa81fa6276fbaa1e2df7715b85d9e8d6e363d05dae1170c039d56fe9c540baf160897966ebb161f501a96e50dedcbb54cf2599457b581b5d
7
- data.tar.gz: 1dc831b5f8a5ee868debe64a0fb6e8cc9c35f19fb6488de52e64c6aade9dd451b1741adeec4c03fcf28b56169080b2f90ce30e99b59aa32a456c8839a1509ed0
6
+ metadata.gz: dadcccf32107bc95e5c0665c5605b10ce117b587e44e8ffb2112825eff2ac4236736786b9c7db49664b8272ab4646af53c853731cea1019a4358972415b7666d
7
+ data.tar.gz: 6ac4850e192204202e363f59d43b2c3ad4c4be100ea248b6549fdeca8b2c2bae154eb3947debed74f173e768eac35aff02437fe48948d4765c4039f2bc1699b7
@@ -9,6 +9,11 @@ module Bankai
9
9
  def add_oj
10
10
  gem 'oj'
11
11
  Bundler.with_clean_env { run 'bundle install' }
12
+
13
+ initializer 'oj.rb' do
14
+ "# frozen_string_literal: true\n\n" \
15
+ 'Oj.optimize_rails'
16
+ end
12
17
  end
13
18
  end
14
19
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bankai
4
- VERSION = '0.6.0'
4
+ VERSION = '0.7.0'
5
5
  RUBY_VERSION = '2.6.6'
6
6
  RAILS_VERSION = '6.0.3'
7
7
  RUBOCOP_VERSION = '0.81.0'
@@ -11,7 +11,7 @@ set :repo_url, '<%= repo_url || 'git@example.com:me/my_repo.git' %>'
11
11
  ask :branch, :master
12
12
 
13
13
  # Default deploy_to directory is /var/www/my_app_name
14
- set :deploy_to, '/src/app'
14
+ set :deploy_to, '/srv/app'
15
15
 
16
16
  # Default value for :format is :airbrussh.
17
17
  # set :format, :airbrussh
@@ -5,7 +5,7 @@ RSpec.configure do |config|
5
5
  DatabaseRewinder.clean_all
6
6
  end
7
7
 
8
- config.after(:each) do
8
+ config.after do
9
9
  DatabaseRewinder.clean
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bankai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - 5xRuby
8
8
  - 蒼時弦也
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-06-03 00:00:00.000000000 Z
12
+ date: 2020-09-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -192,7 +192,7 @@ files:
192
192
  homepage: https://github.com/5xRuby/bankai
193
193
  licenses: []
194
194
  metadata: {}
195
- post_install_message:
195
+ post_install_message:
196
196
  rdoc_options: []
197
197
  require_paths:
198
198
  - lib
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  version: '0'
209
209
  requirements: []
210
210
  rubygems_version: 3.0.3
211
- signing_key:
211
+ signing_key:
212
212
  specification_version: 4
213
213
  summary: The Rails template for 5xRuby
214
214
  test_files: []