RubyApp 0.0.90 → 0.0.91

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.0.90)
4
+ RubyApp (0.0.91)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -28,8 +28,8 @@ module RubyApp
28
28
  [
29
29
  200,
30
30
  {
31
- 'cache-control' => 'no-cache',
32
- 'content-type' => 'text/html'
31
+ 'Cache-Control' => 'no-cache',
32
+ 'Content-Type' => 'text/html'
33
33
  },
34
34
  [ RubyApp::Elements::Pages::QuitPage.new.render(:html) ]
35
35
  ]
@@ -44,8 +44,8 @@ module RubyApp
44
44
  [
45
45
  200,
46
46
  {
47
- 'cache-control' => 'no-cache',
48
- 'content-type' => RubyApp::Rack::Route.get_content_type(format)
47
+ 'Cache-Control' => 'no-cache',
48
+ 'Content-Type' => RubyApp::Rack::Route.get_content_type(format)
49
49
  },
50
50
  [ RubyApp::Element.get_element(element_id).render(format.to_sym) ]
51
51
  ]
@@ -54,8 +54,8 @@ module RubyApp
54
54
  [
55
55
  200,
56
56
  {
57
- 'cache-control' => 'no-cache',
58
- 'content-type' => RubyApp::Rack::Route.get_content_type(format)
57
+ 'Cache-Control' => 'no-cache',
58
+ 'Content-Type' => RubyApp::Rack::Route.get_content_type(format)
59
59
  },
60
60
  [ RubyApp::Elements::ExceptionElement.new(exception).render(format.to_sym) ]
61
61
  ]
@@ -67,8 +67,8 @@ module RubyApp
67
67
  [
68
68
  200,
69
69
  {
70
- 'cache-control' => 'no-cache',
71
- 'content-type' => RubyApp::Rack::Route.get_content_type(format)
70
+ 'Cache-Control' => 'no-cache',
71
+ 'Content-Type' => RubyApp::Rack::Route.get_content_type(format)
72
72
  },
73
73
  [
74
74
  RubyApp::Log.duration("#{self}.route method=#{method.inspect} path=#{path.inspect} format=#{format.to_sym.inspect} RubyApp::Session.pages.last=#{RubyApp::Session.pages.last.class}") do
@@ -95,8 +95,8 @@ module RubyApp
95
95
  [
96
96
  200,
97
97
  {
98
- 'cache-control' => 'no-cache',
99
- 'content-type' => 'application/json'
98
+ 'Cache-Control' => 'no-cache',
99
+ 'Content-Type' => 'application/json'
100
100
  },
101
101
  [
102
102
  RubyApp::Log.duration("#{self}.route method=#{method.inspect} path=#{path.inspect} POST['_class']=#{RubyApp::Request.POST['_class']}") do
@@ -112,8 +112,8 @@ module RubyApp
112
112
  [
113
113
  200,
114
114
  {
115
- 'cache-control' => 'no-cache',
116
- 'content-type' => 'application/json'
115
+ 'Cache-Control' => 'no-cache',
116
+ 'Content-Type' => 'application/json'
117
117
  },
118
118
  [ Yajl::Encoder.new.encode(RubyApp::Element::ExceptionEvent.new(exception).to_hash) ]
119
119
  ]
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.0.90"
2
+ VERSION = "0.0.91"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RubyApp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 171
4
+ hash: 169
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 90
10
- version: 0.0.90
9
+ - 91
10
+ version: 0.0.91
11
11
  platform: ruby
12
12
  authors:
13
13
  - Frank G. Ficnar