slash_console 0.1.1 → 0.1.3

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: 96cd0c9ea55bdb6466fe41fa964d7bd6de0c4b8a050571d536eda06f4eddc85c
4
+ data.tar.gz: 264ad9b94392e73019c2beed9796944fec0b249b939aa7b723c1cb65086a3d44
5
5
  SHA512:
6
- metadata.gz: 4351308846ebd3545556ef3d549cdd36c713f3168f4f298e30a76d5c9871b6a72f3c7ae0125e1d5e30dbc895572eed7425ee86a1dbe60553101462d3f93a520e
7
- data.tar.gz: 26ca881412e8c7cba3beb64dc5813018c91181429707c47a8dba2db5cd592482391887875700ed285b5fae415231aa028c0e8df91913b00ee1ff3df275630afe
6
+ metadata.gz: 2d5e19d7f92f0f5a3ff643e12aa0e94978b6917af77391b9eaea1c35a711083213647a17345882f7d84670d3aaf3600736978d29135c64977376cd729f442742
7
+ data.tar.gz: 7ab42ae5ea73a5719fc586c874f6816415dc60ad23bd3843970a4ecf17d7e614c6de3d2d58dcb0a8c05e3cc8c7904b12c08a14fd51ebad306dc6333f3eae5af3
data/CHANGELOG.md ADDED
@@ -0,0 +1,41 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.1.3] - 2025-09-15
11
+
12
+ ### Changed
13
+ - Add proper GitHub repository metadata links
14
+ - Add bug tracker and documentation URIs
15
+ - Specify minimum Ruby version (>= 3.0)
16
+ - Include CHANGELOG.md in gem files
17
+
18
+ ## [0.1.2] - 2025-09-15
19
+
20
+ ### Fixed
21
+ - Configure web-console earlier in boot process using before_initialize
22
+ - Properly initialize web_console config to prevent production deployment errors
23
+
24
+ ## [0.1.1] - 2025-09-15
25
+
26
+ ### Fixed
27
+ - Configure web-console to allow production mode deployment
28
+ - Prevent "Web Console is activated in production" error on Render and similar platforms
29
+
30
+ ## [0.1.0] - 2025-09-15
31
+
32
+ ### Added
33
+ - Initial release
34
+ - Auto-mounting at `/rails/console`
35
+ - Production authentication via environment variables
36
+ - Full-page console interface
37
+ - Development mode with no authentication required
38
+ - Standard Ruby style guide compliance
39
+
40
+ [Unreleased]: https://github.com/firstdraft/slash_console/compare/v0.1.0...HEAD
41
+ [0.1.0]: https://github.com/firstdraft/slash_console/releases/tag/v0.1.0
@@ -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.3"
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raghu Betina
@@ -59,6 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - CHANGELOG.md
62
63
  - MIT-LICENSE
63
64
  - README.md
64
65
  - Rakefile
@@ -79,6 +80,8 @@ metadata:
79
80
  homepage_uri: https://github.com/firstdraft/slash_console
80
81
  source_code_uri: https://github.com/firstdraft/slash_console
81
82
  changelog_uri: https://github.com/firstdraft/slash_console/blob/main/CHANGELOG.md
83
+ bug_tracker_uri: https://github.com/firstdraft/slash_console/issues
84
+ documentation_uri: https://github.com/firstdraft/slash_console#readme
82
85
  rdoc_options: []
83
86
  require_paths:
84
87
  - lib
@@ -86,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
89
  requirements:
87
90
  - - ">="
88
91
  - !ruby/object:Gem::Version
89
- version: '0'
92
+ version: '3.0'
90
93
  required_rubygems_version: !ruby/object:Gem::Requirement
91
94
  requirements:
92
95
  - - ">="