ops 0.0.3 → 0.0.4

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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ops (0.0.2)
4
+ ops (0.0.3)
5
5
  oj (~> 1.4)
6
6
  rabl (~> 0.7)
7
7
  sinatra (~> 1.3)
@@ -52,7 +52,7 @@ GEM
52
52
  treetop (~> 1.4.8)
53
53
  mime-types (1.19)
54
54
  multi_json (1.4.0)
55
- oj (1.4.6)
55
+ oj (1.4.7)
56
56
  polyglot (0.3.3)
57
57
  rabl (0.7.9)
58
58
  activesupport (>= 2.3.14)
@@ -60,7 +60,7 @@ GEM
60
60
  rack (1.4.1)
61
61
  rack-cache (1.2)
62
62
  rack (>= 0.4)
63
- rack-protection (1.2.0)
63
+ rack-protection (1.3.0)
64
64
  rack
65
65
  rack-ssl (1.3.2)
66
66
  rack
@@ -3,10 +3,12 @@ require 'sinatra/respond_to'
3
3
  require 'ops/server/helpers'
4
4
  require 'rabl'
5
5
  require 'slim'
6
+ require 'oj'
6
7
 
7
8
  module Ops
8
9
  class Server < Sinatra::Base
9
10
  Rabl.register!
11
+ Oj.default_options = { time_format: :ruby }
10
12
  Server.register Sinatra::RespondTo
11
13
  dir = File.dirname(File.expand_path(__FILE__))
12
14
  set :views, "#{dir}/server/views"
@@ -1,3 +1,3 @@
1
1
  module Ops
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ops
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-12-07 00:00:00.000000000 Z
14
+ date: 2012-12-10 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: oj