smartkiosk-server 0.11.5 → 0.11.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,11 +48,11 @@ class TerminalPingsController < ApplicationController
48
48
  }
49
49
  end
50
50
 
51
- providers = ActiveSupport::Gzip.compress(ActiveSupport::JSON.encode(providers))
51
+ providers = ActiveSupport::JSON.encode(providers)
52
52
  profile.cached_providers.value = providers
53
53
  end
54
54
  end
55
55
 
56
- send_data providers, :type => 'application/gzip', :disposition => 'inline'
56
+ send_data providers, :type => 'application/json', :disposition => 'inline'
57
57
  end
58
58
  end
@@ -1,5 +1,5 @@
1
1
  module Smartkiosk
2
2
  module Server
3
- VERSION = '0.11.5'
3
+ VERSION = '0.11.6'
4
4
  end
5
5
  end
@@ -47,7 +47,7 @@ describe TerminalPingsController do
47
47
  it "delivers correct data" do
48
48
  get :providers, :terminal => 'test'
49
49
 
50
- body = ActiveSupport::JSON.decode ActiveSupport::Gzip.decompress(response.body)
50
+ body = ActiveSupport::JSON.decode response.body
51
51
  DateTime.parse(body["updated_at"]).to_i.should == @terminal.terminal_profile.actual_timestamp.to_i
52
52
  end
53
53
 
@@ -74,7 +74,7 @@ describe TerminalPingsController do
74
74
 
75
75
  get :providers, :terminal => 'test'
76
76
 
77
- body = ActiveSupport::JSON.decode ActiveSupport::Gzip.decompress(response.body)
77
+ body = ActiveSupport::JSON.decode response.body
78
78
  new_stamp = DateTime.parse(body["updated_at"])
79
79
  new_stamp.should > initial_stamp
80
80
  new_stamp.to_i.should == @terminal.terminal_profile.actual_timestamp.to_i
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartkiosk-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.5
4
+ version: 0.11.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -334,7 +334,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
334
334
  version: '0'
335
335
  segments:
336
336
  - 0
337
- hash: -2336776553200624072
337
+ hash: 4539088124566055437
338
338
  required_rubygems_version: !ruby/object:Gem::Requirement
339
339
  none: false
340
340
  requirements: