Dex_Rack 0.1.2 → 0.1.3

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.
data/lib/Dex_Rack.rb CHANGED
@@ -110,7 +110,7 @@ class Dex_Rack
110
110
  vars = nav.merge(
111
111
  Hash[
112
112
  :title => "Dex List",
113
- :list => dex.limit(nav[:limit], nav[:offset]).to_a.reverse,
113
+ :list => list_recent(nav[:limit], nav[:offset]),
114
114
  :app => self
115
115
  ])
116
116
 
@@ -1,5 +1,5 @@
1
1
  require "sinatra/base"
2
2
 
3
3
  class Dex_Rack < Sinatra::Base
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
data/spec/Dex_App.rb CHANGED
@@ -3,7 +3,7 @@ describe "Dex_Rack" do
3
3
 
4
4
  it "has methods that can be overridden" do
5
5
  m = Module.new {
6
- def recent *args
6
+ def list_recent *args
7
7
  'ok'
8
8
  end
9
9
 
@@ -17,7 +17,7 @@ describe "Dex_Rack" do
17
17
  end
18
18
 
19
19
  get "/new-recent" do
20
- recent
20
+ list_recent
21
21
  end
22
22
 
23
23
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Dex_Rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: