ii_interactor 1.1.0 → 1.1.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
  SHA256:
3
- metadata.gz: 3d08217ca0d49ae98a2c034ed00bb785aca82359dd90a2d06285a6b6e850b5ac
4
- data.tar.gz: 85d61cde0ae2f9e828637fcf5cd7144aabf9ba42d9842c582f9a86d06e7328d2
3
+ metadata.gz: 98e0554614d026c2bfae6957324c4865bcc5b42accda1722c597415de801b222
4
+ data.tar.gz: 53cdc0666633a1ab0f04b0ed7200a3e3444ca846f7e78ba1f05106fc9bfe021b
5
5
  SHA512:
6
- metadata.gz: 148a1e202624098aef8cbe7fcbededf1cd86a03d33c070768e1d75f0aa848363b45e4a9b349e6b614e1f753710d8256a4ac3aed9a39d2bf91a7444a9eb0140fd
7
- data.tar.gz: daf5475ab67cae1eb42043c5b0cc20334683f94e4fdf908e222bcb67e323f81606b8b888a5e14c07b3d31c4a7ee1f68c285fa692f784fe575098f51ed6f20c89
6
+ metadata.gz: 7b82959dadcc853ad7b1123f8282a23a25704bee0c462923cd41da6de357fa64f8d929139c37a5a94d21d49c5a2750eb265af046f76bb2ef8e5383592c0b4259
7
+ data.tar.gz: 790eb7bfc8de896dd22b9af3b8546721022a45c2fb3a86b3d6c6241a5aab269eb7c76c29491ee4c11a359486b7e13f858e5813f2aa639a72a03b28e233b90508
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.1.1
4
+
5
+ * Check `config.eager_load` instead of `Rails.env` before file loading.
6
+
3
7
  ## 1.1.0
4
8
 
5
9
  * Add log subscriber.
@@ -5,7 +5,7 @@ module IIInteractor
5
5
  class << self
6
6
  def call
7
7
  return unless defined?(Rails)
8
- return if Rails.env.production?
8
+ return if Rails.application.config.eager_load
9
9
 
10
10
  engines = [Rails] + Rails::Engine.subclasses.map(&:instance)
11
11
  engines.each do |engine|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IIInteractor
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ii_interactor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshikazu Kaneta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-19 00:00:00.000000000 Z
11
+ date: 2021-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport