rack_web_console 0.1.2 → 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 +4 -4
- data/History.md +23 -0
- data/lib/rack-console-view.erb +1 -0
- data/lib/rack_console/version.rb +1 -1
- data/lib/rack_web_console.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 314e65918f28b885675d30dcb5bcf1ae6463bef3
|
|
4
|
+
data.tar.gz: 5f0280aeba099f083cdf14e1fb1e1d4a1d3c9dcd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad8b22b9a10a50e2915640531d076423d9e9a11a9323230723fd9d033b0de0340aba07da2c73a31a772ae0780403b8f05bc7c4d1da682733d14f13dc2b43020f
|
|
7
|
+
data.tar.gz: 7c172dd60203277bd8115ea402af16d44e45685fab81f1f01530933a6c7ea02bb3268ab1ff2e83e01ef053a8aed5a557ef74e44a61984ca179bb298476fd63ba
|
data/History.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Version 0.1.3
|
|
2
|
+
|
|
3
|
+
### Enhancement
|
|
4
|
+
|
|
5
|
+
* Changed output white-space to pre-wrap to preserve leading spaces. This is specially
|
|
6
|
+
useful when `puts obj.method(:method).source` is used.
|
|
7
|
+
|
|
8
|
+
# Version 0.1.2
|
|
9
|
+
|
|
10
|
+
### Security
|
|
11
|
+
|
|
12
|
+
* Added a token for better protection against CSRF.
|
|
13
|
+
|
|
14
|
+
# Version 0.1.1
|
|
15
|
+
|
|
16
|
+
### Security
|
|
17
|
+
|
|
18
|
+
* Added basic protection against CSRF by checking Referer or Origin headers.
|
|
19
|
+
|
|
20
|
+
# Version 0.1.0
|
|
21
|
+
|
|
22
|
+
First release.
|
|
23
|
+
|
data/lib/rack-console-view.erb
CHANGED
data/lib/rack_console/version.rb
CHANGED
data/lib/rack_web_console.rb
CHANGED
|
@@ -39,7 +39,7 @@ class RackConsole
|
|
|
39
39
|
end
|
|
40
40
|
headers = { 'Content-Type' => 'text/html; charset=utf-8' }
|
|
41
41
|
@_storage.set_cookie_header! headers
|
|
42
|
-
[ 200, headers, [ result.join("\n")
|
|
42
|
+
[ 200, headers, [ result.join("\n") ] ]
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
def same_origin?(env)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rack_web_console
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rodrigo Rosenfeld Rosas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-07-
|
|
11
|
+
date: 2016-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -77,6 +77,7 @@ files:
|
|
|
77
77
|
- ".rspec"
|
|
78
78
|
- ".travis.yml"
|
|
79
79
|
- Gemfile
|
|
80
|
+
- History.md
|
|
80
81
|
- LICENSE.txt
|
|
81
82
|
- README.md
|
|
82
83
|
- Rakefile
|