slash_console 0.1.1 → 0.1.2

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: 2546d74cfa82b8d4e60020419498adda0670b98bcb4e8ff960efcbde6a7fa8de
4
- data.tar.gz: 90f01621492ebb8ddc223f88a21cc6bd2d0488ce03d81075b02d952fd12de999
3
+ metadata.gz: fb5381d321cbd1238e698244b9ba04050b9937627204199f3fef59880f3981f7
4
+ data.tar.gz: bd81d8a72cc75213c81e140fc560a20126e3ecc2f77632b8f9e49b880c068d69
5
5
  SHA512:
6
- metadata.gz: 4351308846ebd3545556ef3d549cdd36c713f3168f4f298e30a76d5c9871b6a72f3c7ae0125e1d5e30dbc895572eed7425ee86a1dbe60553101462d3f93a520e
7
- data.tar.gz: 26ca881412e8c7cba3beb64dc5813018c91181429707c47a8dba2db5cd592482391887875700ed285b5fae415231aa028c0e8df91913b00ee1ff3df275630afe
6
+ metadata.gz: d992fbf5cf7924b605437bcd2c4b3d10587dc070ceea934cbdd667490c8f5a726eabc3f2c3b4e44ae8f5710a76dec8ed03cb73662c8219b7cb5424c4da921d7d
7
+ data.tar.gz: 1aa4751859732584429ce5ce62bca7b947fb17b4e89b7140056e4180d48378efffe0d3634451d712e038fc3346b93d138bf8cfdd0a476add776afcafc126ed2f
@@ -2,14 +2,15 @@ module SlashConsole
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace SlashConsole
4
4
 
5
+ config.before_initialize do
6
+ Rails.application.config.web_console ||= ActiveSupport::OrderedOptions.new
7
+ Rails.application.config.web_console.development_only = false
8
+ end
9
+
5
10
  initializer "slash_console.mount_engine" do |app|
6
11
  app.routes.prepend do
7
12
  mount SlashConsole::Engine => "/rails", :as => :slash_console_engine
8
13
  end
9
14
  end
10
-
11
- initializer "slash_console.configure_web_console" do |app|
12
- app.config.web_console.development_only = false
13
- end
14
15
  end
15
16
  end
@@ -1,3 +1,3 @@
1
1
  module SlashConsole
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slash_console
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raghu Betina