ibrain-core 0.5.7 → 0.5.8

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: f191aab54d45f3806d2c2f3cddcc3b31fe5d9e8e4f845ef3761a097ffa588b90
4
- data.tar.gz: '08030f9583b5d32b5d173e2b5d3a913b665b2637547faf8c90d53e70cd43524c'
3
+ metadata.gz: c74180715e26a0b7365da263cc926c968a89176c3b80a7b70233839c8ac971f3
4
+ data.tar.gz: 8f74dd650002174ec4311e83976c98ececf292b2b4e1179fd6c8bc6835ac35f3
5
5
  SHA512:
6
- metadata.gz: d4f80dcef1a20a8caeec9646d55dc965710b44b64b8ad7d9ba7dd63ca5a3673496dca9b10407ea7d5bc15cdf7f2d636d5bd206807e351208e16b39c9c08ad891
7
- data.tar.gz: be236a9a75d62f231609bf493447330075a601a2a2495a24f834ca05c5b8565d62347dfaa50776d24fb1f5bc3873cd19c2bb161c631d48dfeca85adc33a0d285
6
+ metadata.gz: f614df628d2a7ed54a25074acb7c5268d98c26a62b61045b9a6c2f33e0984318e491a5a4228bff5a65403b35e0a8edb571dbf3d1a665a47cb0f2748b17770bac
7
+ data.tar.gz: 37c7d65e40af2ca14a814a9d73e0ac074c78cb6a626ef01e002bb56b34a565802f1cc80d1b6ae23baba67901e2e8e493960877340604b4468fe100db4d171252
@@ -11,7 +11,7 @@ module Ibrain
11
11
  extension(Ibrain::Extentions::SessionRequired, session_required: session_required) if session_required
12
12
  extension(Ibrain::Extentions::Roles, roles: roles) if roles
13
13
 
14
- if ::Ibrain.config.is_activated_account_require && active_required
14
+ if ::Ibrain.config.is_require_activated_account && active_required
15
15
  extension(Ibrain::Extentions::ActiveRequired)
16
16
  end
17
17
  end
@@ -55,7 +55,7 @@ Ibrain.config do |config|
55
55
  config.is_auto_append_mutation = true
56
56
 
57
57
  # Enable require active
58
- config.is_activated_account_require = false
58
+ config.is_require_activated_account = false
59
59
  end
60
60
 
61
61
  <% if defined?(Ibrain::Api::Engine) -%>
@@ -57,7 +57,7 @@ module Ibrain
57
57
 
58
58
  preference :is_auto_append_mutation, :boolean, default: true
59
59
 
60
- preference :is_activated_account_require, :boolean, default: false
60
+ preference :is_require_activated_account, :boolean, default: false
61
61
 
62
62
  def static_model_preferences
63
63
  @static_model_preferences ||= Ibrain::Preferences::StaticModelPreferences.new
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ibrain
4
- VERSION = "0.5.7"
4
+ VERSION = "0.5.8"
5
5
 
6
6
  def self.ibrain_version
7
7
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibrain-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tai Nguyen Van