debugbar 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/build_fixtures.rb +3 -2
- data/lib/debugbar/http/http.rb +2 -0
- data/lib/debugbar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e785af28c739c6cc9e994f3b6d650f92301bb26ef35ed8b267229df4790c9e8
|
4
|
+
data.tar.gz: 16224fff5dc65878d274e265b362f9779320482dad8ede2833a2b83bf13e9bcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45ceef2ea931c265152544862f2b13ac544cd76f8051bf60fb52027dede0c7e8dc7da70ab638c43442f711bb7c5a37247ada7b78c6b218be4994c0fb41f9beec
|
7
|
+
data.tar.gz: 7961b48ce065f62e6aab4d02583b0ce30d76fcaafa856b5e383d4dc8b4c20ea4dac4ed7304ba837596344637a17a60b9de4376e715efba7f06956dd8372b2480
|
data/build_fixtures.rb
CHANGED
@@ -25,7 +25,8 @@ Net::HTTP.start('127.0.0.1', 3000) do |http|
|
|
25
25
|
response = http.request Net::HTTP::Get.new('/_debugbar/poll')
|
26
26
|
data = JSON.parse(response.body)
|
27
27
|
data.each_with_index do |item, idx|
|
28
|
-
|
29
|
-
|
28
|
+
filename = ("%03d" % (idx +1)) + '-' + item['meta']['controller'] + '-' + item['meta']['action'] + '.json'
|
29
|
+
puts "Writing #{filename}"
|
30
|
+
File.write("#{fixtures_dir}/#{filename}", JSON.pretty_generate(item))
|
30
31
|
end
|
31
32
|
end
|
data/lib/debugbar/http/http.rb
CHANGED
data/lib/debugbar/version.rb
CHANGED