smartkiosk-client 0.1.15 → 0.1.16

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,5 +1,3 @@
1
1
  class SessionRecord < ActiveRecord::Base
2
- scope :recent, where(
3
- arel_table[:created_at].gt(Date.today-1.month)
4
- ).order(arel_table[:id].desc)
2
+ scope :recent, order(arel_table[:id].desc).limit(100)
5
3
  end
@@ -2,6 +2,6 @@ require 'sinatra/base'
2
2
 
3
3
  module Smartkiosk
4
4
  class Client < Sinatra::Base
5
- VERSION = '0.1.15'
5
+ VERSION = '0.1.16'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartkiosk-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -629,7 +629,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
629
629
  version: '0'
630
630
  segments:
631
631
  - 0
632
- hash: -3441276206886059844
632
+ hash: -2842094525876176643
633
633
  required_rubygems_version: !ruby/object:Gem::Requirement
634
634
  none: false
635
635
  requirements:
@@ -638,7 +638,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
638
638
  version: '0'
639
639
  segments:
640
640
  - 0
641
- hash: -3441276206886059844
641
+ hash: -2842094525876176643
642
642
  requirements: []
643
643
  rubyforge_project:
644
644
  rubygems_version: 1.8.24