web-console 4.1.0 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +7 -0
- data/MIT-LICENSE +1 -1
- data/README.markdown +4 -4
- data/lib/web_console/evaluator.rb +6 -1
- data/lib/web_console/templates/layouts/inlined_string.erb +1 -1
- data/lib/web_console/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a491428cda19f89cf20ad5ef83558e948feecb7acb7f46b453c5644ad419131b
|
4
|
+
data.tar.gz: 3e3d2902466fc03684b00591b294df2c19af06db31e43f58f1f9e8de14cb731f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d949e602f1056bda92b2e7e13e030a78bd856befeb52ccd89c57c27a5341bab30830e27969f3fd9bf8e3d5e4467de381cb788cd9d5809ad6f5d662b2a00b3993
|
7
|
+
data.tar.gz: a17229c83c77f2fdc2b06ca4d25674391e9318490da932de015d0d8ebc59bf652ccb010577eea9d95c357fcd703ba6b5fb8f2afc8343ad79306e80834f52d77d
|
data/CHANGELOG.markdown
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
|
3
3
|
## master (unreleased)
|
4
4
|
|
5
|
+
## 4.2.0
|
6
|
+
|
7
|
+
* [#308](https://github.com/rails/web-console/pull/308) Fix web-console inline templates rendering ([@voxik])
|
8
|
+
* [#306](https://github.com/rails/web-console/pull/306) Support Ruby 3.0 and above ([@ruanwood])
|
9
|
+
|
5
10
|
## 4.1.0
|
6
11
|
|
7
12
|
* [#304](https://github.com/rails/web-console/pull/304) Add support for Rails 6.1 ([@stephannv])
|
@@ -179,3 +184,5 @@ go to 3.1.0 instead.
|
|
179
184
|
[@celvro]: https://github.com/celvro
|
180
185
|
[@JuanitoFatas]: https://github.com/JuanitoFatas
|
181
186
|
[@p8]: https://github.com/p8
|
187
|
+
[@voxik]: https://github.com/voxik
|
188
|
+
[@ryanwood]: https://github.com/ryanwood
|
data/MIT-LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright 2014-2016
|
1
|
+
Copyright 2014-2016 Hailey Somerville, Genadi Samokovarov, Guillermo Iguaran and Ryan Dao
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
data/README.markdown
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<p align=right>
|
2
|
-
<strong>Current version: 4.1.0</strong> Documentation for:
|
2
|
+
<strong>Current version: 4.1.0</strong> | Documentation for:
|
3
3
|
<a href=https://github.com/rails/web-console/tree/v1.0.4>v1.0.4</a>
|
4
4
|
<a href=https://github.com/rails/web-console/tree/v2.2.1>v2.2.1</a>
|
5
5
|
<a href=https://github.com/rails/web-console/tree/v3.7.0>v3.7.0</a>
|
@@ -175,15 +175,15 @@ Make sure your configuration lives in `config/environments/development.rb`.
|
|
175
175
|
|
176
176
|
## Credits
|
177
177
|
|
178
|
-
* Shoutout to [
|
178
|
+
* Shoutout to [Hailey Somerville] for [better_errors].
|
179
179
|
* Kudos to [John Mair] for [binding_of_caller] and [debug_inspector].
|
180
180
|
* Thanks to [Charles Oliver Nutter] for all the _JRuby_ feedback.
|
181
181
|
* Hugs and kisses to all of our [contributors]!
|
182
182
|
|
183
|
-
[better_errors]: https://github.com/
|
183
|
+
[better_errors]: https://github.com/BetterErrors/better_errors
|
184
184
|
[debug_inspector]: https://github.com/banister/debug_inspector
|
185
185
|
[binding_of_caller]: https://github.com/banister/binding_of_caller
|
186
|
-
[
|
186
|
+
[Hailey Somerville]: https://github.com/haileys
|
187
187
|
[John Mair]: https://github.com/banister
|
188
188
|
[Charles Oliver Nutter]: https://github.com/headius
|
189
189
|
[templates]: https://github.com/rails/web-console/tree/master/lib/web_console/templates
|
@@ -19,7 +19,12 @@ module WebConsole
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def eval(input)
|
22
|
-
|
22
|
+
# Binding#source_location is available since Ruby 2.6.
|
23
|
+
if @binding.respond_to? :source_location
|
24
|
+
"=> #{@binding.eval(input, *@binding.source_location).inspect}\n"
|
25
|
+
else
|
26
|
+
"=> #{@binding.eval(input).inspect}\n"
|
27
|
+
end
|
23
28
|
rescue Exception => exc
|
24
29
|
format_exception(exc)
|
25
30
|
end
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
`<%= j yield %>`
|
data/lib/web_console/version.rb
CHANGED
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: web-console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Hailey Somerville
|
8
8
|
- Genadi Samokovarov
|
9
9
|
- Guillermo Iguaran
|
10
10
|
- Ryan Dao
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: railties
|
@@ -71,7 +71,7 @@ dependencies:
|
|
71
71
|
version: 0.4.0
|
72
72
|
description:
|
73
73
|
email:
|
74
|
-
-
|
74
|
+
- hailey@hailey.lol
|
75
75
|
- gsamokovarov@gmail.com
|
76
76
|
- guilleiguaran@gmail.com
|
77
77
|
- daoduyducduong@gmail.com
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
|
-
rubygems_version: 3.
|
141
|
+
rubygems_version: 3.1.6
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: A debugging tool for your Ruby on Rails applications.
|