console1984 0.2.1 → 0.2.2

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: 9d50bc76b769c8f7baa56ad2bfa31534153772c7c6736ff97b0a8a6404bc5941
4
- data.tar.gz: 627d936d50e183b05d7f1a7afe36671b24da3c207ef7e4db02c42e9e9d92a385
3
+ metadata.gz: 2780f949e661adfabca876c59cbe208b724728ba49d48e06caa3301c58419eb5
4
+ data.tar.gz: c6e5dd28ac9aab44c1eb8be6a76a34606cadac94a3d3545a1c6991fde636173c
5
5
  SHA512:
6
- metadata.gz: ed1eb3a208c9698258a203a9167981c7eabbb96426a250e5b7844e8d9bc13d39a6b8108f58ed726846287a7090b12cd2d904d9d1d90ed6fb91e431f626f42a7a
7
- data.tar.gz: ca74d5179eb4ca78a19ce0caac8f9411fd09c518f4c5b00b0bf9bafcc895616b720641e3f2885c48a47c8b3e1aa0d3322aa85ecfd99ffd0ef97e0a4e19db5522
6
+ metadata.gz: 94f9f5032b7211bf3bec1b798417aa02ce33ac383b166808e92f7fff654fe150fb48a2d846adc2cfc14465abed6cc017061c0ebf7694192932744b64962f685d
7
+ data.tar.gz: 0f8e68ebd3aadbcee4904605b74ba47ef88e1ee3b99e3693ad97c39ca223f696f5484794457631348205ecc75283ae19477b926599aaa53ccb010aea6710cf7a
data/README.md CHANGED
@@ -152,7 +152,7 @@ These config options are namespaced in `config.console1984`:
152
152
  | `ask_for_username_if_empty` | If `true`, the console will ask for a username if it is empty. If `false`, it will raise an error if no username is set. Defaults to `false`. |
153
153
  | `production_data_warning` | The text to show when a console session starts. |
154
154
  | `enter_unprotected_encryption_mode_warning` | The text to show when user enters into unprotected mode. |
155
- | `enter_protected_mode_warning` | The text to show when user go backs to protected mode. |
155
+ | `enter_protected_mode_warning` | The text to show when user goes back to protected mode. |
156
156
  | `incinerate` | Whether incinerate sessions automatically after a period of time or not. Default to `true`. |
157
157
  | `incinerate_after` | The period to keep sessions around before incinerate them. Default `30.days`. |
158
158
  | `incineration_queue` | The name of the queue for session incineration jobs. Default `console1984_incineration`. |
@@ -21,6 +21,7 @@ validations:
21
21
  - secret
22
22
  - credentials
23
23
  - irb
24
+ - ENV
24
25
  forbidden_methods:
25
26
  Kernel:
26
27
  - eval
@@ -5,7 +5,7 @@ module Console1984::Ext::Irb::Context
5
5
 
6
6
  # This method is invoked for showing returned objects in the console
7
7
  # Overridden to make sure their evaluation is supervised.
8
- def inspect_last_value
8
+ def inspect_last_value(...)
9
9
  Console1984.command_executor.execute_in_protected_mode do
10
10
  super
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module Console1984
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: console1984
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jorge Manrubia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-21 00:00:00.000000000 Z
11
+ date: 2025-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rainbow