rbbt-rest 1.3.19 → 1.3.20

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2a006865d21c046279c0cc2d87ffac21321a018
4
- data.tar.gz: 5c8772b1b327cd9f068d98f2840560ea16fa4dc1
3
+ metadata.gz: 384d8085f33759c1e07aacb67e9f510db096939f
4
+ data.tar.gz: a9909b226a1dfa582c3df13fa4fd53f8cf5eddbe
5
5
  SHA512:
6
- metadata.gz: f0cefe9e52e17f09b23d136646b2042032ccab69cb7b5c8a5d3c3f809888a6d5d9e1687d31d0ff488d5b58c879e686dd801b503243c80c8de705ce31c88292cc
7
- data.tar.gz: ea852f15fd45ee308a7019fd77248cf2b67519a96b1b05f80fc541b060f4503cd63097b6ee021ff2e1b76ef82e3d9b781e06e5ce851f7afbd5926c3e153e5d19
6
+ metadata.gz: 6088ca28a5bf788b37e002b028044ef88918537a8ecb51a61cda71c2dad43109f5431186fe7d89c939ec08bd05b32674d6d6f771739709c564aebbe4a69f5949
7
+ data.tar.gz: c1b0ce1b9bb06902f3ac13ad0771594dc07d1808fbba14700b6573ceaad5d82a9e90e63eafc368c17644f3c81245797d3acf02f0dc31d5550495bd37d0bc69d7
@@ -42,7 +42,7 @@ module Sinatra
42
42
  out << chunk
43
43
  end
44
44
  ensure
45
- tar.force_close
45
+ tar.close
46
46
  end
47
47
  out.flush
48
48
  end
@@ -53,7 +53,7 @@ module Sinatra
53
53
  :yellow
54
54
  end
55
55
 
56
- Log.info{ "#{Log.color method_color, method} #{Log.color(:blue, request.ip)}: " << request.path_info.gsub('/', Log.color(:blue, "/")) << ". Params: " << Log.color(:blue, Misc.fingerprint(params))}
56
+ Log.medium{ "#{Log.color method_color, method} #{Log.color(:blue, request.ip)}: " << request.path_info.gsub('/', Log.color(:blue, "/")) << ". Params: " << Log.color(:blue, Misc.fingerprint(params))}
57
57
  process_common_parameters
58
58
 
59
59
  headers 'Access-Control-Allow-Origin' => '*'
@@ -83,7 +83,7 @@ module Sinatra
83
83
  else
84
84
  color = nil
85
85
  end
86
- Log.info{ "#{Log.color method_color, method} #{Log.color :blue, request.ip}: " << request.path_info.gsub('/', Log.color(:blue, "/")) << ". Status: " << Log.color(color, status) }
86
+ Log.medium{ "#{Log.color method_color, method} #{Log.color :blue, request.ip}: " << request.path_info.gsub('/', Log.color(:blue, "/")) << ". Status: " << Log.color(color, status) }
87
87
 
88
88
  if profile
89
89
  result = RubyProf.stop
@@ -21,5 +21,7 @@
21
21
  margin: auto
22
22
  border-top: solid 1px lighten($color_alt, 20)
23
23
  background-color: lighten($base3, 10)
24
- margin-top: -2em
24
+ margin-top: -2.7em
25
+ font-size: 0.8em
26
+ padding: 0.3em
25
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.19
4
+ version: 1.3.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-22 00:00:00.000000000 Z
11
+ date: 2014-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake