ajax_pagination 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,6 +1,6 @@
1
1
  *.gem
2
2
  .bundle
3
- /Gemfile.lock
3
+ Gemfile.lock
4
4
  pkg/*
5
5
  *~
6
6
  *.swp
@@ -1,8 +1,15 @@
1
+ ## v0.6.2
2
+ * Added :except and :only options to the ajax_respond class method (to specify actions which trigger responding to AJAX request)
3
+ * Converted ajax_section method to return symbol instead of string, and using symbols for both sections and actions internally (strings passed into methods will be converted into symbols)
4
+ * Rewrote ajax_respond class method to add default_render behaviour which checks for AJAX requests in a more efficient way
5
+ * Rename ajax_section_displayed? to ajax_section?, for brevity.
6
+
1
7
  ## v0.6.1
2
- * the ajaxp:done event now sends an extra argument - the ajax_loadzone DOM element. This makes it easier for the event handler to make animations involving the loadzone. If it does not exist, null is returned.
8
+ * The ajaxp:done event now sends an extra argument - the ajax_loadzone DOM element. This makes it easier for the event handler to make animations involving the loadzone. If it does not exist, null is returned.
3
9
  * one set of internally used data-pagination attributes has been renamed to data-ajax_section_id.
4
- * the ?pagination= querystring parameter has been renamed to ajax_section.
10
+ * The ?pagination= querystring parameter has been renamed to ajax_section.
5
11
  * Fixed Travis CI tests to start up WEBrick servers with the correct rails version.
12
+ * Removed deprecated options - from v0.6.0
6
13
 
7
14
  ## v0.6.0
8
15
  The :pagination option no longer makes as much sense, now that the sections are called ajax_section. Also, this gem is as much about site navigation as pagination. This is the reason for some of the following changes.
@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
8
8
  s.authors = ["Ronald Ping Man Chan"]
9
9
  s.email = ["ronalchn@gmail.com"]
10
10
  s.homepage = "https://github.com/ronalchn/ajax_pagination"
11
- s.summary = %q{Handles AJAX pagination, changing the content when certain links are followed.}
12
- s.description = %q{Handles AJAX pagination for you, by hooking up the links you want to load content with javascript in designated page containers. Each webpage can have multiple page containers, each with a different set of pagination links. The page containers can be nested. Degrades gracefully when javascript is disabled.}
11
+ s.summary = %q{Handles AJAX site navigation, loads content into ajax_section containers using AJAX links.}
12
+ s.description = %q{Loads page content into AJAX sections with AJAX links, handling the details for you, load content with javascript into designated page containers. Supports multiple and/or nested AJAX sections. Designed to be easy to use, customizable, supports browser history robustly, supports AJAX forms and has many more features. Degrades gracefully when javascript is disabled.}
13
13
 
14
14
  s.rubyforge_project = "ajax_pagination"
15
15
 
@@ -2,7 +2,13 @@ module AjaxPagination
2
2
  # This module is automatically added to all controllers
3
3
  module ControllerAdditions
4
4
  module ClassMethods
5
- # Adds default render behaviour for AJAX requests for a section with matching a certain name. By default, this name is the empty string. However, it can be changed.
5
+ # Adds default render behaviour for AJAX requests for a section with matching a certain name. By default,
6
+ # this name is the empty string. However, it can be changed.
7
+ #
8
+ # An AJAX request for the matched section will render a partial, which by default, is the template named
9
+ # "_#{ajax_section_name}", or if it does not exist, the view template matching the controller/action name.
10
+ # By default there is no layout used.
11
+ #
6
12
  # Options:
7
13
  # [:+section_id+]
8
14
  # The AJAX section name which should be matched to invoke AJAX Pagination response. Defaults to "global".
@@ -11,27 +17,57 @@ module AjaxPagination
11
17
  # Overrides default render behaviour for AJAX Pagination, which is to render the partial with name matching the section_id option,
12
18
  # or if it does not exist, renders the default template
13
19
  #
20
+ # [:+only+]
21
+ # The actions that may trigger this render behaviour for AJAX requests. If an action is not included, it will
22
+ # not trigger this behaviour.
23
+ #
24
+ # [:+except+]
25
+ # Actions which will not trigger this render behaviour for AJAX requests.
26
+ #
14
27
  def ajax_respond(options = {});
15
28
  # instead of defining default render normally, we save an unbound reference to original function in case it was already defined, since we want to retain the original behaviour, and add to it (if the method is redefined after, this new behaviour is lost, but at least we don't remove others' behaviour - note that this also allows multiple invocations of this with different parameters)
16
- default_render = self.instance_method(:default_render) # get a reference to original method
17
29
  section_id = options[:section_id] || "global"
18
- view = options[:render] || nil
19
- define_method(:default_render) do |*args|
20
- if ajax_section && ajax_section == section_id && request.format == "html" # override if calling AJAX Pagination
21
- unless view
22
- if lookup_context.find_all(controller_path + "/_" + ajax_section).any?
23
- view = { :partial => ajax_section } # render partial, layout is off
30
+ section = section_id.to_sym
31
+ view = options[:render] || {}
32
+ view = { :action => view } if view.kind_of? String
33
+ only = options[:only] ? Array(options[:only]) : nil
34
+ except = Array(options[:except]) || []
35
+
36
+ if @_ajax_respond.nil? # has this method been called before?
37
+ @_ajax_respond = {}
38
+ _ajax_respond = @_ajax_respond # create reference to class instance variable
39
+ # create default_render intercepting method (if not already defined)
40
+ default_render = self.instance_method(:default_render) # get a reference to original method
41
+
42
+ define_method(:default_render) do |*args|
43
+ action = action_name.to_sym
44
+ render = nil # nil means call original default_render method
45
+ if ajax_section && _ajax_respond.has_key?(ajax_section) && request.format == "html"
46
+ # might override render... let's find out
47
+ if _ajax_respond[ajax_section][1].has_key?(action)
48
+ render = _ajax_respond[ajax_section][1][action] # use action-specific render hash for this ajax_section (can still be nil)
24
49
  else
25
- view = { :layout => false } # render default view, but turn off layout
50
+ render = _ajax_respond[ajax_section][0] # use default render hash for this ajax_section (can still be nil)
26
51
  end
27
52
  end
28
- respond_to do |format|
29
- ajax_respond format, :section_id => section_id, :render => view
53
+ if !render.nil?
54
+ # AJAX response overriding normal default_render behaviour
55
+ respond_to do |format|
56
+ ajax_respond format, :section_id => ajax_section, :render => render
57
+ end
58
+ else # otherwise do what would have been done
59
+ default_render.bind(self).call(*args) # call original method of the same name
30
60
  end
31
- else # otherwise do what would have been done
32
- default_render.bind(self).call(*args) # call original method of the same name
33
61
  end
34
62
  end
63
+
64
+ @_ajax_respond[section] ||= [nil,{}]
65
+ if only.nil?
66
+ except.each {|x| @_ajax_respond[section][1][x.to_sym] = @_ajax_respond[section][0] unless @_ajax_respond[section][1].has_key? x.to_sym } # sets excluded actions to old default (if not already set)
67
+ @_ajax_respond[section][0] = view # creates default for all other actions
68
+ else
69
+ @_ajax_respond[section][1] = Hash[(only - except).map { |x| [x.to_sym,view] }] # sets specific actions to view render options
70
+ end
35
71
  end
36
72
  end
37
73
  def self.included(base)
@@ -44,7 +80,8 @@ module AjaxPagination
44
80
  base.before_filter do
45
81
  # simply manipulating querystring will not get ajax response (in production mode)
46
82
  if request.xhr? || Rails.env == 'development'
47
- @_ajax_section = request.GET[:ajax_section] || params[:ajax_section]
83
+ @_ajax_section = (request.GET[:ajax_section] || params[:ajax_section])
84
+ @_ajax_section = @_ajax_section.to_sym unless @_ajax_section.nil?
48
85
  params.delete(:ajax_section) if request.get?
49
86
  end
50
87
  end
@@ -92,11 +129,12 @@ module AjaxPagination
92
129
  # end
93
130
  #
94
131
  def ajax_respond(format,options = {})
95
- if ajax_section == (options[:section_id] || 'global').to_s
96
- if options[:render]
97
- view = options[:render] # render non partial
98
- elsif lookup_context.find_all(controller_path + "/_" + ajax_section).any?
99
- view = {:partial => ajax_section} # render partial of the same name as section_id
132
+ if ajax_section == (options[:section_id] || 'global').to_sym
133
+ render = options[:render] || {}
134
+ if !render.empty?
135
+ view = render # render non partial
136
+ elsif lookup_context.find_all(controller_path + "/_" + ajax_section.to_s).any?
137
+ view = {:partial => ajax_section.to_s} # render partial of the same name as section_id
100
138
  else # render usual view
101
139
  view = {}
102
140
  end
@@ -113,6 +151,8 @@ module AjaxPagination
113
151
  # if the format is html, and the ajax_section parameter is set. If it is set, then it will return whether
114
152
  # ajax_section == section_id (the name of the section, which defaults to page).
115
153
  #
154
+ # In effect, this method returns (ajax_section.nil? || ajax_section == section_id.to_sym)
155
+ #
116
156
  # This method is a convenience function so that the controller does not need to perform heavy computation which might only
117
157
  # be required if only a certain section is displayed (for an AJAX request).
118
158
  #
@@ -121,13 +161,13 @@ module AjaxPagination
121
161
  #
122
162
  # class PostsController < ApplicationController
123
163
  # def index
124
- # if ajax_section_displayed? :page do
164
+ # if ajax_section? :page do
125
165
  # @posts = Post.published
126
166
  # @posts.each do |post|
127
167
  # post.heavycomputation
128
168
  # end
129
169
  # end
130
- # if current_user.is_admin && ajax_section_displayed? :upcomingpage do
170
+ # if current_user.is_admin && ajax_section? :upcomingpage do
131
171
  # @upcomingposts = Post.upcoming
132
172
  # @upcomingposts.each do |post|
133
173
  # post.heavycomputation
@@ -142,8 +182,8 @@ module AjaxPagination
142
182
  # end
143
183
  #
144
184
  # The heavy computation will only be performed on posts which will be displayed when AJAX Pagination only wants a partial.
145
- def ajax_section_displayed?(section_id = :global)
146
- (ajax_section.nil?) || (ajax_section == section_id.to_s)
185
+ def ajax_section?(section_id = :global)
186
+ (ajax_section.nil?) || (ajax_section == section_id.to_sym)
147
187
  end
148
188
 
149
189
  # This after_filter method is automatically included by AJAX Paginate, and does not need to be included manually. However,
@@ -1,3 +1,3 @@
1
1
  module AjaxPagination
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
@@ -2,7 +2,7 @@ require "spec_helper"
2
2
 
3
3
  module SetAjaxSection
4
4
  def ajax_section= (name)
5
- @_ajax_section = name
5
+ @_ajax_section = name.to_sym
6
6
  end
7
7
  def controller_path
8
8
  "dummycontroller"
@@ -73,31 +73,31 @@ describe AjaxPagination::ControllerAdditions do
73
73
  end
74
74
  end
75
75
 
76
- describe 'ajax_section_displayed?' do
76
+ describe 'ajax_section?' do
77
77
  it 'should display partial when format is not html' do
78
- @controller.ajax_section_displayed?.should be_true
78
+ @controller.ajax_section?.should be_true
79
79
  end
80
80
  it 'should display partial when format is html but section_id is not defined' do
81
81
  stub_request_format_html(true)
82
- @controller.ajax_section_displayed?.should be_true
82
+ @controller.ajax_section?.should be_true
83
83
  end
84
84
  it 'should display partial when .html?section_id=pagename' do
85
85
  stub_request_format_html(true)
86
86
  stub_ajax_section('global')
87
- @controller.ajax_section_displayed?.should be_true
87
+ @controller.ajax_section?.should be_true
88
88
  stub_ajax_section('page2')
89
- @controller.ajax_section_displayed?('page2').should be_true
89
+ @controller.ajax_section?('page2').should be_true
90
90
  stub_ajax_section('page3')
91
- @controller.ajax_section_displayed?(:page3).should be_true
91
+ @controller.ajax_section?(:page3).should be_true
92
92
  end
93
93
  it 'should not display partial when .html?pagination!=pagename' do
94
94
  stub_request_format_html(true)
95
95
  stub_ajax_section('notpage')
96
- @controller.ajax_section_displayed?.should be_false
96
+ @controller.ajax_section?.should be_false
97
97
  stub_ajax_section('notpage2')
98
- @controller.ajax_section_displayed?('page2').should be_false
98
+ @controller.ajax_section?('page2').should be_false
99
99
  stub_ajax_section('notpage3')
100
- @controller.ajax_section_displayed?(:page3).should be_false
100
+ @controller.ajax_section?(:page3).should be_false
101
101
  end
102
102
  end
103
103
  end
@@ -9,7 +9,7 @@ describe 'paginating with javascript on', :js => true do
9
9
 
10
10
  it 'displays a loading image' do
11
11
  retry_exceptions do
12
- # following 3 lines to warm up loading image
12
+ # following lines to warm up loading image
13
13
  visit("http://localhost:#{SERVERSLOWPORT}") # goes to welcome page
14
14
  sleep(3)
15
15
  click_link 'Changelog'
@@ -29,7 +29,13 @@ describe 'paginating with javascript on', :js => true do
29
29
  end
30
30
  end
31
31
  it 'displays a loading image with nested and multiple paginated sections' do
32
- retry_exceptions do
32
+ retry_exceptions(5) do
33
+ # following lines to warm up
34
+ visit("http://localhost:#{SERVERSLOWPORT}") # goes to welcome page
35
+ sleep(3)
36
+ click_link 'Changelog'
37
+ sleep(3)
38
+
33
39
  visit("http://localhost:#{SERVERSLOWPORT}/changelog")
34
40
  sleep(2)
35
41
  page.should have_selector('#changelogpagetitle')
@@ -37,6 +43,8 @@ describe 'paginating with javascript on', :js => true do
37
43
  page.should have_selector('.ajaxpagination-loader')
38
44
  sleep(1.5)
39
45
  page.should have_no_selector('.ajaxpagination-loader')
46
+
47
+ visit("http://localhost:#{SERVERSLOWPORT}") # goes to welcome page
40
48
  find('#signin').click
41
49
  sleep(2)
42
50
  visit("http://localhost:#{SERVERSLOWPORT}/posts")
@@ -193,25 +201,25 @@ describe 'paginating with javascript on', :js => true do
193
201
  ajaxCount.should == count + 1
194
202
  end
195
203
  end
196
- ## This spec does not work in rbx on travis.
197
- ## Tested to work in rbx-1.2.4 on local machine. Also works using MRI ruby on travis.
198
- #it 'submits ajax_form_for form via PUT link' do
199
- # visit("http://localhost:#{SERVERPORT}")
200
- # find('#signin').click
201
- # sleep(2)
202
- # visit("http://localhost:#{SERVERPORT}/posts/2")
203
- # click_link("Edit");
204
- # sleep(2)
205
- # within(".edit_post") do
206
- # fill_in 'Content', :with => 'some supercontent'
207
- # end
208
- # count = ajaxCount
209
- # click_button("Update Post");
210
- # sleep(3)
211
- # # page.should have_content("Post was successfully updated.") # does not work in rbx on travis (????)
212
- # page.should have_content("some supercontent")
213
- # ajaxCount.should == count + 1
214
- #end
204
+ # This spec does not work in rbx on travis.
205
+ # Tested to work in rbx-1.2.4 on local machine. Also works using MRI ruby on travis.
206
+ it 'submits ajax_form_for form via PUT link' do
207
+ visit("http://localhost:#{SERVERPORT}")
208
+ find('#signin').click
209
+ sleep(2)
210
+ visit("http://localhost:#{SERVERPORT}/posts/2")
211
+ click_link("Edit");
212
+ sleep(2)
213
+ within(".edit_post") do
214
+ fill_in 'Content', :with => 'some supercontent'
215
+ end
216
+ count = ajaxCount
217
+ click_button("Update Post");
218
+ sleep(3)
219
+ # page.should have_content("Post was successfully updated.") # does not work in rbx on travis (????)
220
+ page.should have_content("some supercontent")
221
+ ajaxCount.should == count + 1
222
+ end
215
223
  it 'changes title' do
216
224
  visit("http://localhost:#{SERVERPORT}")
217
225
  title = page.evaluate_script("document.title") # because what is between the <title> tags and what is shown in the window title can differ (document.title gets set by javascript)
@@ -2,7 +2,7 @@
2
2
  //= require jquery.url
3
3
 
4
4
  /*
5
- * AJAX Pagination v0.6.1.alpha: Ajaxifying your navigation
5
+ * AJAX Pagination v0.6.2.alpha: Ajaxifying your navigation
6
6
  * https://github.com/ronalchn/ajax_pagination
7
7
  *
8
8
  * Copyright (c) 2012 Ronald Ping Man Chan
@@ -47,7 +47,7 @@ jQuery(document).ready(function () {
47
47
  $.ajax_pagination = function (section_id) {
48
48
  return new ajax_section_object(section_id);
49
49
  };
50
- $.ajax_pagination.version = '0.6.1.alpha';
50
+ $.ajax_pagination.version = '0.6.2.alpha';
51
51
  $.ajax_pagination.enabled = true;
52
52
  function ajax_section_object(section_id) {
53
53
  this.get = function(url,options) {
@@ -1,7 +1,8 @@
1
1
  class ApplicationController < ActionController::Base
2
2
  protect_from_forgery
3
3
  before_filter :slowajaxload
4
- ajax_respond :section_id => "global", :render => { :layout => "ajax" }
4
+ ajax_respond :section_id => "global", :render => { :layout => "ajax" }, :except => "about"
5
+ ajax_respond :section_id => "global", :render => { :layout => "ajax" }, :only => "about" # assuming :except option works, this line tests the :only option
5
6
  def slowajaxload
6
7
  if (!ajax_section.nil?) && Rails.env == "test"
7
8
  delay = 0
@@ -1,6 +1,6 @@
1
1
  class PagesController < ApplicationController
2
2
  respond_to :html, :js, :only => :about
3
-
3
+ ajax_respond :section_id => "page", :render => "_warningpage", :except => ["welcome","warnings"] # does nothing - tests that :except option works
4
4
  def readme
5
5
  @readme = IO.read(File.expand_path("../../../../../README.md",__FILE__))
6
6
  respond_to do |format|
@@ -1,5 +1,5 @@
1
1
  class PostsController < ApplicationController
2
- ajax_respond :section_id => 'page'
2
+ ajax_respond :section_id => 'page', :only => "index" # tests that :only option is not excluding index action
3
3
  # GET /posts
4
4
  # GET /posts.json
5
5
  def index
@@ -9,7 +9,7 @@ class PostsController < ApplicationController
9
9
  format.html # index.html.erb
10
10
  format.json { render :json => @posts }
11
11
  ajax_respond format, :section_id => :upcomingpage
12
- ajax_respond format, :section_id => "", :render => { :layout => "ajax" }
12
+ ajax_respond format, :section_id => "global", :render => { :layout => "ajax" }
13
13
  end
14
14
  end
15
15
 
@@ -0,0 +1,4 @@
1
+ <p>You are on page <%= params[:page] ||= 1 %>.</p>
2
+
3
+ <p><%= ajax_link_to "Reload whole page just to refresh this content", pages_warnings_path(:page => (params[:page].to_i+1)), :section_id => "page", :id => "fullpagelink" %></p>
4
+
@@ -2,11 +2,7 @@
2
2
  This page gives examples of the warnings that may be given, from AJAX Pagination, when some configuration or otherwise is suboptimal, or prevents proper functioning of the gem.
3
3
 
4
4
  <%= content_tag :div, :style => "display: inline-block; width: 300px; height: 100px; border: 1px solid black; margin: 10px; padding: 10px; vertical-align: middle;" do %>
5
- <%= ajax_section :id => "page" do %>
6
- <p>You are on page <%= params[:page] ||= 1 %>.</p>
7
-
8
- <p><%= ajax_link_to "Reload whole page just to refresh this content", pages_warnings_path(:page => (params[:page].to_i+1)), :section_id => "page", :id => "fullpagelink" %></p>
9
- <% end %>
5
+ <%= ajax_section :id => "page", :render => "warningpage" %>
10
6
  <% end %>
11
7
 
12
8
  <%= content_tag :div, :style => "display: inline-block; width: 300px; height: 100px; border: 1px solid black; margin: 10px; padding: 10px; vertical-align: middle;" do %>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ajax_pagination
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 1
10
- version: 0.6.1
9
+ - 2
10
+ version: 0.6.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ronald Ping Man Chan
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-14 00:00:00 Z
18
+ date: 2012-03-16 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rake
@@ -132,7 +132,7 @@ dependencies:
132
132
  version: "0"
133
133
  type: :runtime
134
134
  version_requirements: *id008
135
- description: Handles AJAX pagination for you, by hooking up the links you want to load content with javascript in designated page containers. Each webpage can have multiple page containers, each with a different set of pagination links. The page containers can be nested. Degrades gracefully when javascript is disabled.
135
+ description: Loads page content into AJAX sections with AJAX links, handling the details for you, load content with javascript into designated page containers. Supports multiple and/or nested AJAX sections. Designed to be easy to use, customizable, supports browser history robustly, supports AJAX forms and has many more features. Degrades gracefully when javascript is disabled.
136
136
  email:
137
137
  - ronalchn@gmail.com
138
138
  executables: []
@@ -177,7 +177,6 @@ files:
177
177
  - spec/ajax_pagination/integration/warnings_spec.rb
178
178
  - spec/rails30_app/.gitignore
179
179
  - spec/rails30_app/Gemfile
180
- - spec/rails30_app/Gemfile.lock
181
180
  - spec/rails30_app/Rakefile
182
181
  - spec/rails30_app/app/controllers/application_controller.rb
183
182
  - spec/rails30_app/app/controllers/changelog_controller.rb
@@ -238,7 +237,6 @@ files:
238
237
  - spec/rails30_app/script/rails
239
238
  - spec/rails_app/.gitignore
240
239
  - spec/rails_app/Gemfile
241
- - spec/rails_app/Gemfile.lock
242
240
  - spec/rails_app/README.rdoc
243
241
  - spec/rails_app/Rakefile
244
242
  - spec/rails_app/app/assets/images/myajax-loader.gif
@@ -263,6 +261,7 @@ files:
263
261
  - spec/rails_app/app/views/layouts/ajax.html.erb
264
262
  - spec/rails_app/app/views/layouts/application.html.erb
265
263
  - spec/rails_app/app/views/layouts/flash.html.erb
264
+ - spec/rails_app/app/views/pages/_warningpage.html.erb
266
265
  - spec/rails_app/app/views/pages/about.html.erb
267
266
  - spec/rails_app/app/views/pages/readme.html.erb
268
267
  - spec/rails_app/app/views/pages/warnings.html.erb
@@ -337,6 +336,6 @@ rubyforge_project: ajax_pagination
337
336
  rubygems_version: 1.8.17
338
337
  signing_key:
339
338
  specification_version: 3
340
- summary: Handles AJAX pagination, changing the content when certain links are followed.
339
+ summary: Handles AJAX site navigation, loads content into ajax_section containers using AJAX links.
341
340
  test_files: []
342
341
 
@@ -1,96 +0,0 @@
1
- PATH
2
- remote: ../..
3
- specs:
4
- ajax_pagination (0.6.1.alpha)
5
- jquery-historyjs
6
- jquery-rails (>= 1.0.17)
7
- rails (>= 3.0)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- abstract (1.0.0)
13
- actionmailer (3.0.12)
14
- actionpack (= 3.0.12)
15
- mail (~> 2.2.19)
16
- actionpack (3.0.12)
17
- activemodel (= 3.0.12)
18
- activesupport (= 3.0.12)
19
- builder (~> 2.1.2)
20
- erubis (~> 2.6.6)
21
- i18n (~> 0.5.0)
22
- rack (~> 1.2.5)
23
- rack-mount (~> 0.6.14)
24
- rack-test (~> 0.5.7)
25
- tzinfo (~> 0.3.23)
26
- activemodel (3.0.12)
27
- activesupport (= 3.0.12)
28
- builder (~> 2.1.2)
29
- i18n (~> 0.5.0)
30
- activerecord (3.0.12)
31
- activemodel (= 3.0.12)
32
- activesupport (= 3.0.12)
33
- arel (~> 2.0.10)
34
- tzinfo (~> 0.3.23)
35
- activeresource (3.0.12)
36
- activemodel (= 3.0.12)
37
- activesupport (= 3.0.12)
38
- activesupport (3.0.12)
39
- arel (2.0.10)
40
- builder (2.1.2)
41
- erubis (2.6.6)
42
- abstract (>= 1.0.0)
43
- i18n (0.5.0)
44
- jquery-historyjs (0.2.3)
45
- railties (>= 3.0)
46
- thor (>= 0.14)
47
- jquery-rails (1.0.19)
48
- railties (~> 3.0)
49
- thor (~> 0.14)
50
- json (1.6.5)
51
- mail (2.2.19)
52
- activesupport (>= 2.3.6)
53
- i18n (>= 0.4.0)
54
- mime-types (~> 1.16)
55
- treetop (~> 1.4.8)
56
- mime-types (1.17.2)
57
- polyglot (0.3.3)
58
- rack (1.2.5)
59
- rack-mount (0.6.14)
60
- rack (>= 1.0.0)
61
- rack-test (0.5.7)
62
- rack (>= 1.0)
63
- rails (3.0.12)
64
- actionmailer (= 3.0.12)
65
- actionpack (= 3.0.12)
66
- activerecord (= 3.0.12)
67
- activeresource (= 3.0.12)
68
- activesupport (= 3.0.12)
69
- bundler (~> 1.0)
70
- railties (= 3.0.12)
71
- railties (3.0.12)
72
- actionpack (= 3.0.12)
73
- activesupport (= 3.0.12)
74
- rake (>= 0.8.7)
75
- rdoc (~> 3.4)
76
- thor (~> 0.14.4)
77
- rake (0.9.2.2)
78
- rdoc (3.12)
79
- json (~> 1.4)
80
- thor (0.14.6)
81
- treetop (1.4.10)
82
- polyglot
83
- polyglot (>= 0.3.1)
84
- tzinfo (0.3.32)
85
- will_paginate (3.0.3)
86
-
87
- PLATFORMS
88
- ruby
89
-
90
- DEPENDENCIES
91
- ajax_pagination!
92
- jquery-historyjs
93
- jquery-rails
94
- json
95
- rails (~> 3.0.0)
96
- will_paginate
@@ -1,107 +0,0 @@
1
- PATH
2
- remote: ../..
3
- specs:
4
- ajax_pagination (0.6.1.alpha)
5
- jquery-historyjs
6
- jquery-rails (>= 1.0.17)
7
- rails (>= 3.0)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actionmailer (3.2.1)
13
- actionpack (= 3.2.1)
14
- mail (~> 2.4.0)
15
- actionpack (3.2.1)
16
- activemodel (= 3.2.1)
17
- activesupport (= 3.2.1)
18
- builder (~> 3.0.0)
19
- erubis (~> 2.7.0)
20
- journey (~> 1.0.1)
21
- rack (~> 1.4.0)
22
- rack-cache (~> 1.1)
23
- rack-test (~> 0.6.1)
24
- sprockets (~> 2.1.2)
25
- activemodel (3.2.1)
26
- activesupport (= 3.2.1)
27
- builder (~> 3.0.0)
28
- activerecord (3.2.1)
29
- activemodel (= 3.2.1)
30
- activesupport (= 3.2.1)
31
- arel (~> 3.0.0)
32
- tzinfo (~> 0.3.29)
33
- activeresource (3.2.1)
34
- activemodel (= 3.2.1)
35
- activesupport (= 3.2.1)
36
- activesupport (3.2.1)
37
- i18n (~> 0.6)
38
- multi_json (~> 1.0)
39
- arel (3.0.2)
40
- builder (3.0.0)
41
- erubis (2.7.0)
42
- hike (1.2.1)
43
- i18n (0.6.0)
44
- journey (1.0.3)
45
- jquery-historyjs (0.2.2)
46
- railties (>= 3.0)
47
- thor (>= 0.14)
48
- jquery-rails (2.0.1)
49
- railties (>= 3.2.0, < 5.0)
50
- thor (~> 0.14)
51
- json (1.6.5)
52
- mail (2.4.1)
53
- i18n (>= 0.4.0)
54
- mime-types (~> 1.16)
55
- treetop (~> 1.4.8)
56
- mime-types (1.17.2)
57
- multi_json (1.1.0)
58
- polyglot (0.3.3)
59
- rack (1.4.1)
60
- rack-cache (1.2)
61
- rack (>= 0.4)
62
- rack-ssl (1.3.2)
63
- rack
64
- rack-test (0.6.1)
65
- rack (>= 1.0)
66
- rails (3.2.1)
67
- actionmailer (= 3.2.1)
68
- actionpack (= 3.2.1)
69
- activerecord (= 3.2.1)
70
- activeresource (= 3.2.1)
71
- activesupport (= 3.2.1)
72
- bundler (~> 1.0)
73
- railties (= 3.2.1)
74
- railties (3.2.1)
75
- actionpack (= 3.2.1)
76
- activesupport (= 3.2.1)
77
- rack-ssl (~> 1.3.2)
78
- rake (>= 0.8.7)
79
- rdoc (~> 3.4)
80
- thor (~> 0.14.6)
81
- rake (0.9.2.2)
82
- rdoc (3.12)
83
- json (~> 1.4)
84
- sprockets (2.1.2)
85
- hike (~> 1.2)
86
- rack (~> 1.0)
87
- tilt (~> 1.1, != 1.3.0)
88
- sqlite3 (1.3.5)
89
- thor (0.14.6)
90
- tilt (1.3.3)
91
- treetop (1.4.10)
92
- polyglot
93
- polyglot (>= 0.3.1)
94
- tzinfo (0.3.32)
95
- will_paginate (3.0.3)
96
-
97
- PLATFORMS
98
- ruby
99
-
100
- DEPENDENCIES
101
- ajax_pagination!
102
- jquery-historyjs
103
- jquery-rails
104
- json
105
- rails (= 3.2.1)
106
- sqlite3
107
- will_paginate