rack-insight 0.5.25 → 0.5.26

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,4 +1,14 @@
1
- == HEAD
1
+ == 0.5.26 / 2013-08-06
2
+
3
+ * Bug Fixes
4
+
5
+ * Dont reload page, just close panel by Harry Walter (5 months ago)
6
+ * Allow panels to scroll when fixed to bottom by Harry Walter (5 months ago)
7
+ * Set position to fixed to keep toolbar at bottom by Harry Walter (5 months ago)
8
+
9
+ * Other
10
+
11
+ * Update README.md by Agis Anastasopoulos (5 months ago)
2
12
 
3
13
  == 0.5.25 / 2013-03-15
4
14
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rack-insight (0.5.24)
4
+ rack-insight (0.5.25)
5
5
  rack
6
6
  sqlite3 (>= 1.3.3)
7
7
  uuidtools (>= 2.1.2)
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- Rack::Insight [![Dependency Status](https://gemnasium.com/pboling/rack-insight.png)](https://gemnasium.com/pboling/rack-insight) [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/pboling/rack-insight) [![Build Status](https://secure.travis-ci.org/pboling/rack-insight.png?branch=master)](https://travis-ci.org/pboling/rack-insight) [![Endorse Me](http://api.coderwall.com/pboling/endorsecount.png)](http://coderwall.com/pboling)
1
+ Rack::Insight [![Maintainer Status](http://stillmaintained.com/pboling/rack-insight.png)](http://stillmaintained.com/pboling/rack-insight) [![Dependency Status](https://gemnasium.com/pboling/rack-insight.png)](https://gemnasium.com/pboling/rack-insight) [![Code Climate](https://codeclimate.com/github/pboling/rack-insight.png)](https://codeclimate.com/github/pboling/rack-insight) [![Build Status](https://secure.travis-ci.org/pboling/rack-insight.png?branch=master)](https://travis-ci.org/pboling/rack-insight) [![Endorse Me](http://api.coderwall.com/pboling/endorsecount.png)](http://coderwall.com/pboling)
2
2
  =============
3
3
 
4
4
 
@@ -44,12 +44,13 @@ Build Status
44
44
 
45
45
  Travis-ci: [![Build Status](https://secure.travis-ci.org/pboling/rack-insight.png?branch=master)](https://travis-ci.org/pboling/rack-insight) - Please help if you have time!
46
46
 
47
- CodeClimate: [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/pboling/rack-insight)
47
+ CodeClimate: [![Code Climate](https://codeclimate.com/github/pboling/rack-insight.png)](https://codeclimate.com/github/pboling/rack-insight)
48
48
 
49
49
  Rails quick start
50
50
  ---------------------------
51
51
 
52
- Add this to your Gemfile
52
+ Add this to your Gemfile:
53
+
53
54
  gem "rack-insight"
54
55
 
55
56
  In config/environments/development.rb, add:
@@ -318,8 +319,6 @@ MIT. See LICENSE in this directory.
318
319
  Notes
319
320
  -----
320
321
 
321
- The ActiveRecord panel doesn't seem to work currently. Probably something minor, but haven't had time to look into it.
322
-
323
322
  Legacy files: would like to re-include them, but they need work
324
323
 
325
324
  lib/rack/insight/views/panels/mongo.html.erb
@@ -26,9 +26,10 @@
26
26
  border-top: 2px solid #234f32;
27
27
  height: auto;
28
28
  clear: both;
29
- position: relative;
30
29
  z-index: 10;
31
30
  margin-top: -3em;
31
+ position: fixed;
32
+ bottom: 0;
32
33
  }
33
34
 
34
35
  .rack-insight_top #rack-insight_toolbar {
@@ -115,7 +116,9 @@
115
116
  }
116
117
 
117
118
  #rack-insight.rack-insight_bottom .panel_content {
118
- top: auto;
119
+ bottom: 32px;
120
+ top: 0;
121
+ overflow-y: auto;
119
122
  }
120
123
 
121
124
  #rack-insight .panel_content p a,
@@ -81,6 +81,12 @@ jQuery(function($) {
81
81
  $.insight.toggleCurrent()
82
82
  return false;
83
83
  });
84
+ $('#rack-insight .panel_content .rack-insight_close').on('click', function() {
85
+ $.insight.panel_id = this.id
86
+ $.insight.switchCurrentPanel()
87
+ $.insight.toggleCurrent()
88
+ return false;
89
+ });
84
90
  $('#rack-insight_debug_window a.back').on('click',function() {
85
91
  $(this).parent().hide();
86
92
  return false;
@@ -1,7 +1,7 @@
1
1
  module Rack
2
2
  module Insight
3
3
 
4
- VERSION = '0.5.25'
4
+ VERSION = '0.5.26'
5
5
 
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-insight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.25
4
+ version: 0.5.26
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-03-15 00:00:00.000000000 Z
15
+ date: 2013-08-07 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rack