rack-serverinfo 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rack/serverinfo.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db3ebd2b8910a33ccd7cf342d463fdec65656be9
4
- data.tar.gz: 56e47a331b41d303429eb7990e86a1a090e65023
3
+ metadata.gz: 6ef986a1dda9c34385e4fa8e92025b118a18aa46
4
+ data.tar.gz: 45267c03a0a0bf39a4aa9f3b3827b2ac83d56382
5
5
  SHA512:
6
- metadata.gz: 57304fad1bfdf8d97a962e3e74f4a0c9b2a739520d9281087211fafe5e98b950b9d66458241669313699ec85a2613f217c64b19f7f95f7a6bd50d3bf704d73ed
7
- data.tar.gz: beea26ca45c653861ff468d61aa31aad13ea2edea87afe93d0fdc48a5da0b2fe57abbc21e7b63b2e876ba86c4de60aab1abaf756a91877158a605866af5069b4
6
+ metadata.gz: 618b426d318e5e24cfe3cf05cf80ec36ff44cb7ff8e0e6f889e22f15f7dd94fbacda1d7924c0b9873c7c3484bb7a2c017a68e4e935152fa75c35d42bf93055ad
7
+ data.tar.gz: 49cad9fc6e2489b32e0eab2326cc72da068392d5f14ae59e5740db10ba8880b1c7e775e349c172399638a15afeccd45ec086b6e093d1ce4f394877ca637d3f2e
@@ -6,7 +6,7 @@ module Rack
6
6
  class Serverinfo < Plastic
7
7
 
8
8
  def change_nokogiri_doc(doc)
9
- return request.xhr?
9
+ return doc if request.xhr?
10
10
 
11
11
  badge = doc.create_element 'div', style: style
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-serverinfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Simecek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-12 00:00:00.000000000 Z
11
+ date: 2014-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack-plastic