rails_pagination 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,9 @@
|
|
6
6
|
<% if pagination.has_previous_page? %>
|
7
7
|
<%= link_to t('pager.previous'), pagination.previous_page_path, class: 'previous' %>
|
8
8
|
<% end %>
|
9
|
+
<% if pagination.navigation.has_less_pages? %>
|
10
|
+
<span class="ellipsis">...</span>
|
11
|
+
<% end %>
|
9
12
|
<% pagination.navigation.pages.each do |page| %>
|
10
13
|
<% if pagination.is_current_page? page %>
|
11
14
|
<span class="page current"><%= page %></span>
|
@@ -13,6 +16,9 @@
|
|
13
16
|
<%= link_to page, pagination.page_path(page), class: 'page' %>
|
14
17
|
<% end %>
|
15
18
|
<% end %>
|
19
|
+
<% if pagination.navigation.has_more_pages? %>
|
20
|
+
<span class="ellipsis">...</span>
|
21
|
+
<% end %>
|
16
22
|
<% if pagination.has_next_page? %>
|
17
23
|
<%= link_to t('pager.next'), pagination.next_page_path, class: 'next' %>
|
18
24
|
<% end %>
|
@@ -2902,3 +2902,228 @@ Served asset /jquery.js - 304 Not Modified (0ms)
|
|
2902
2902
|
|
2903
2903
|
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-23 18:31:42 -0300
|
2904
2904
|
Served asset /application.js - 304 Not Modified (0ms)
|
2905
|
+
Connecting to database specified by database.yml
|
2906
|
+
|
2907
|
+
|
2908
|
+
Started GET "/" for 127.0.0.1 at 2013-06-11 07:14:46 -0300
|
2909
|
+
Processing by TestController#index as HTML
|
2910
|
+
[1m[36m (15.4ms)[0m [1mSELECT COUNT(*) FROM "models" [0m
|
2911
|
+
Rendered /Users/Matt/Documents/Mattways/Emprendimientos/Rails/rails_pagination/app/views/rails_pagination/_pager.html.erb (46.4ms)
|
2912
|
+
Rendered test/index.html.erb within layouts/application (99.5ms)
|
2913
|
+
Completed 500 Internal Server Error in 255ms
|
2914
|
+
|
2915
|
+
ActionView::Template::Error (undefined method `navigation' for nil:NilClass):
|
2916
|
+
6: <% if pagination.has_previous_page? %>
|
2917
|
+
7: <%= link_to t('pager.previous'), pagination.previous_page_path, class: 'previous' %>
|
2918
|
+
8: <% end %>
|
2919
|
+
9: <% if pager.navigation.has_less_pages? %>
|
2920
|
+
10: <span class="ellipsis">...</span>
|
2921
|
+
11: <% end %>
|
2922
|
+
12: <% pagination.navigation.pages.each do |page| %>
|
2923
|
+
app/views/test/index.html.erb:1:in `_app_views_test_index_html_erb__1888665723522898678_70289201149780'
|
2924
|
+
|
2925
|
+
|
2926
|
+
Rendered /Users/Matt/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
|
2927
|
+
Rendered /Users/Matt/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
|
2928
|
+
Rendered /Users/Matt/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (19.9ms)
|
2929
|
+
|
2930
|
+
|
2931
|
+
Started GET "/" for 127.0.0.1 at 2013-06-11 07:15:16 -0300
|
2932
|
+
Processing by TestController#index as HTML
|
2933
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "models"
|
2934
|
+
Rendered /Users/Matt/Documents/Mattways/Emprendimientos/Rails/rails_pagination/app/views/rails_pagination/_pager.html.erb (106.5ms)
|
2935
|
+
Rendered test/index.html.erb within layouts/application (109.5ms)
|
2936
|
+
Completed 200 OK in 185ms (Views: 184.5ms | ActiveRecord: 0.1ms)
|
2937
|
+
|
2938
|
+
|
2939
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-11 07:15:16 -0300
|
2940
|
+
Served asset /jquery_ujs.js - 200 OK (2ms)
|
2941
|
+
|
2942
|
+
|
2943
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-11 07:15:16 -0300
|
2944
|
+
Served asset /application.css - 200 OK (2ms)
|
2945
|
+
|
2946
|
+
|
2947
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-11 07:15:16 -0300
|
2948
|
+
Served asset /application.js - 200 OK (6ms)
|
2949
|
+
|
2950
|
+
|
2951
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-11 07:15:16 -0300
|
2952
|
+
Served asset /jquery.js - 200 OK (3ms)
|
2953
|
+
|
2954
|
+
|
2955
|
+
Started GET "/?p=2" for 127.0.0.1 at 2013-06-11 07:15:18 -0300
|
2956
|
+
Processing by TestController#index as HTML
|
2957
|
+
Parameters: {"p"=>"2"}
|
2958
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "models" [0m
|
2959
|
+
Rendered /Users/Matt/Documents/Mattways/Emprendimientos/Rails/rails_pagination/app/views/rails_pagination/_pager.html.erb (1.6ms)
|
2960
|
+
Rendered test/index.html.erb within layouts/application (4.5ms)
|
2961
|
+
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.1ms)
|
2962
|
+
|
2963
|
+
|
2964
|
+
Started GET "/?p=5" for 127.0.0.1 at 2013-06-11 07:15:39 -0300
|
2965
|
+
Processing by TestController#index as HTML
|
2966
|
+
Parameters: {"p"=>"5"}
|
2967
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "models"
|
2968
|
+
Rendered /Users/Matt/Documents/Mattways/Emprendimientos/Rails/rails_pagination/app/views/rails_pagination/_pager.html.erb (1.1ms)
|
2969
|
+
Rendered test/index.html.erb within layouts/application (3.9ms)
|
2970
|
+
Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.1ms)
|
2971
|
+
|
2972
|
+
|
2973
|
+
Started GET "/?p=1" for 127.0.0.1 at 2013-06-11 07:15:40 -0300
|
2974
|
+
Processing by TestController#index as HTML
|
2975
|
+
Parameters: {"p"=>"1"}
|
2976
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "models" [0m
|
2977
|
+
Rendered /Users/Matt/Documents/Mattways/Emprendimientos/Rails/rails_pagination/app/views/rails_pagination/_pager.html.erb (1.2ms)
|
2978
|
+
Rendered test/index.html.erb within layouts/application (4.1ms)
|
2979
|
+
Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.2ms)
|
2980
|
+
|
2981
|
+
|
2982
|
+
Started GET "/?p=1" for 127.0.0.1 at 2013-06-11 07:16:11 -0300
|
2983
|
+
Processing by TestController#index as HTML
|
2984
|
+
Parameters: {"p"=>"1"}
|
2985
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "models"
|
2986
|
+
Rendered /Users/Matt/Documents/Mattways/Emprendimientos/Rails/rails_pagination/app/views/rails_pagination/_pager.html.erb (1.2ms)
|
2987
|
+
Rendered test/index.html.erb within layouts/application (5.3ms)
|
2988
|
+
Completed 200 OK in 16ms (Views: 10.3ms | ActiveRecord: 0.6ms)
|
2989
|
+
|
2990
|
+
|
2991
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:11 -0300
|
2992
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2993
|
+
|
2994
|
+
|
2995
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-11 07:16:11 -0300
|
2996
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
2997
|
+
|
2998
|
+
|
2999
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:11 -0300
|
3000
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3001
|
+
|
3002
|
+
|
3003
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:11 -0300
|
3004
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3005
|
+
|
3006
|
+
|
3007
|
+
Started GET "/?p=2" for 127.0.0.1 at 2013-06-11 07:16:13 -0300
|
3008
|
+
Processing by TestController#index as HTML
|
3009
|
+
Parameters: {"p"=>"2"}
|
3010
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "models" [0m
|
3011
|
+
Rendered /Users/Matt/Documents/Mattways/Emprendimientos/Rails/rails_pagination/app/views/rails_pagination/_pager.html.erb (1.5ms)
|
3012
|
+
Rendered test/index.html.erb within layouts/application (4.3ms)
|
3013
|
+
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.1ms)
|
3014
|
+
|
3015
|
+
|
3016
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-11 07:16:13 -0300
|
3017
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
3018
|
+
|
3019
|
+
|
3020
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:13 -0300
|
3021
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3022
|
+
|
3023
|
+
|
3024
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:13 -0300
|
3025
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3026
|
+
|
3027
|
+
|
3028
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:13 -0300
|
3029
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3030
|
+
|
3031
|
+
|
3032
|
+
Started GET "/?p=1" for 127.0.0.1 at 2013-06-11 07:16:14 -0300
|
3033
|
+
Processing by TestController#index as HTML
|
3034
|
+
Parameters: {"p"=>"1"}
|
3035
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "models"
|
3036
|
+
Rendered /Users/Matt/Documents/Mattways/Emprendimientos/Rails/rails_pagination/app/views/rails_pagination/_pager.html.erb (1.2ms)
|
3037
|
+
Rendered test/index.html.erb within layouts/application (4.1ms)
|
3038
|
+
Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.1ms)
|
3039
|
+
|
3040
|
+
|
3041
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:14 -0300
|
3042
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3043
|
+
|
3044
|
+
|
3045
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-11 07:16:14 -0300
|
3046
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
3047
|
+
|
3048
|
+
|
3049
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:14 -0300
|
3050
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3051
|
+
|
3052
|
+
|
3053
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:14 -0300
|
3054
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3055
|
+
|
3056
|
+
|
3057
|
+
Started GET "/?p=2" for 127.0.0.1 at 2013-06-11 07:16:17 -0300
|
3058
|
+
Processing by TestController#index as HTML
|
3059
|
+
Parameters: {"p"=>"2"}
|
3060
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "models" [0m
|
3061
|
+
Rendered /Users/Matt/Documents/Mattways/Emprendimientos/Rails/rails_pagination/app/views/rails_pagination/_pager.html.erb (1.6ms)
|
3062
|
+
Rendered test/index.html.erb within layouts/application (4.6ms)
|
3063
|
+
Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.1ms)
|
3064
|
+
|
3065
|
+
|
3066
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-11 07:16:17 -0300
|
3067
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
3068
|
+
|
3069
|
+
|
3070
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:17 -0300
|
3071
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3072
|
+
|
3073
|
+
|
3074
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:17 -0300
|
3075
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3076
|
+
|
3077
|
+
|
3078
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:17 -0300
|
3079
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3080
|
+
|
3081
|
+
|
3082
|
+
Started GET "/?p=10" for 127.0.0.1 at 2013-06-11 07:16:21 -0300
|
3083
|
+
Processing by TestController#index as HTML
|
3084
|
+
Parameters: {"p"=>"10"}
|
3085
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "models"
|
3086
|
+
Rendered /Users/Matt/Documents/Mattways/Emprendimientos/Rails/rails_pagination/app/views/rails_pagination/_pager.html.erb (1.2ms)
|
3087
|
+
Rendered test/index.html.erb within layouts/application (4.2ms)
|
3088
|
+
Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.1ms)
|
3089
|
+
|
3090
|
+
|
3091
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-11 07:16:21 -0300
|
3092
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
3093
|
+
|
3094
|
+
|
3095
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:21 -0300
|
3096
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3097
|
+
|
3098
|
+
|
3099
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:21 -0300
|
3100
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3101
|
+
|
3102
|
+
|
3103
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:21 -0300
|
3104
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3105
|
+
|
3106
|
+
|
3107
|
+
Started GET "/?p=9" for 127.0.0.1 at 2013-06-11 07:16:23 -0300
|
3108
|
+
Processing by TestController#index as HTML
|
3109
|
+
Parameters: {"p"=>"9"}
|
3110
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "models" [0m
|
3111
|
+
Rendered /Users/Matt/Documents/Mattways/Emprendimientos/Rails/rails_pagination/app/views/rails_pagination/_pager.html.erb (1.8ms)
|
3112
|
+
Rendered test/index.html.erb within layouts/application (5.2ms)
|
3113
|
+
Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.2ms)
|
3114
|
+
|
3115
|
+
|
3116
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-11 07:16:23 -0300
|
3117
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
3118
|
+
|
3119
|
+
|
3120
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:23 -0300
|
3121
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3122
|
+
|
3123
|
+
|
3124
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:23 -0300
|
3125
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3126
|
+
|
3127
|
+
|
3128
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-11 07:16:23 -0300
|
3129
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_pagination
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-06-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|