neat-pages 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -121,7 +121,7 @@ class NeatPage
121
121
  $('#neat-pages-ajax-wrapper').css( opacity: 1 )
122
122
  $('#neat-pages-ajax-wrapper').html(data)
123
123
  $('#neat-pages-ajax-wrapper').fadeIn(300)
124
- $('body').scrollTop(0)
124
+ $('body, html').animate({scrollTop : 0}, 0);
125
125
 
126
126
  $('#neat-pages-navigation').trigger 'change'
127
127
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neat-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,41 +9,56 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-26 00:00:00.000000000 Z
12
+ date: 2013-05-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- requirement: &2154413140 !ruby/object:Gem::Requirement
15
+ name: rake
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: 0.8.7
20
- none: false
21
22
  prerelease: false
22
23
  type: :development
23
- name: rake
24
- version_requirements: *2154413140
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 0.8.7
25
30
  - !ruby/object:Gem::Dependency
26
- requirement: &2154412600 !ruby/object:Gem::Requirement
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
27
34
  requirements:
28
35
  - - ! '>='
29
36
  - !ruby/object:Gem::Version
30
37
  version: '2.0'
31
- none: false
32
38
  prerelease: false
33
39
  type: :development
34
- name: rspec
35
- version_requirements: *2154412600
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '2.0'
36
46
  - !ruby/object:Gem::Dependency
37
- requirement: &2154412100 !ruby/object:Gem::Requirement
47
+ name: rails
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
38
50
  requirements:
39
51
  - - ! '>='
40
52
  - !ruby/object:Gem::Version
41
53
  version: '3.0'
42
- none: false
43
54
  prerelease: false
44
55
  type: :development
45
- name: rails
46
- version_requirements: *2154412100
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
47
62
  description: A simple pagination API to paginate Mongoid Models.
48
63
  email:
49
64
  - sebastien@demarque.com
@@ -53,24 +68,24 @@ extra_rdoc_files:
53
68
  - LICENSE
54
69
  - README.md
55
70
  files:
56
- - app/assets/javascripts/neat_pages/base.coffee
57
- - app/assets/javascripts/neat_pages/index.js
58
71
  - app/assets/stylesheets/neat_pages/base.css.scss
59
72
  - app/assets/stylesheets/neat_pages/index.css
60
- - config/locales/en.yml
73
+ - app/assets/javascripts/neat_pages/index.js
74
+ - app/assets/javascripts/neat_pages/base.coffee
61
75
  - config/locales/fr.yml
62
- - lib/neat-pages.rb
63
- - lib/neat_pages/base.rb
76
+ - config/locales/en.yml
64
77
  - lib/neat_pages/engine.rb
65
78
  - lib/neat_pages/errors.rb
66
- - lib/neat_pages/helpers/builder.rb
67
- - lib/neat_pages/helpers/navigation.rb
68
- - lib/neat_pages/helpers/status.rb
79
+ - lib/neat_pages/implants.rb
69
80
  - lib/neat_pages/helpers.rb
70
81
  - lib/neat_pages/implants/action_controller_implant.rb
71
82
  - lib/neat_pages/implants/mongoid_implant.rb
72
83
  - lib/neat_pages/implants/railtie.rb
73
- - lib/neat_pages/implants.rb
84
+ - lib/neat_pages/base.rb
85
+ - lib/neat_pages/helpers/builder.rb
86
+ - lib/neat_pages/helpers/status.rb
87
+ - lib/neat_pages/helpers/navigation.rb
88
+ - lib/neat-pages.rb
74
89
  - spec/neat-pages_spec.rb
75
90
  - spec/neat_pages/base_spec.rb
76
91
  - spec/spec_helper.rb
@@ -87,20 +102,20 @@ rdoc_options: []
87
102
  require_paths:
88
103
  - lib
89
104
  required_ruby_version: !ruby/object:Gem::Requirement
105
+ none: false
90
106
  requirements:
91
107
  - - ! '>='
92
108
  - !ruby/object:Gem::Version
93
109
  version: '0'
94
- none: false
95
110
  required_rubygems_version: !ruby/object:Gem::Requirement
111
+ none: false
96
112
  requirements:
97
113
  - - ! '>='
98
114
  - !ruby/object:Gem::Version
99
115
  version: '0'
100
- none: false
101
116
  requirements: []
102
117
  rubyforge_project: neat-pages
103
- rubygems_version: 1.8.10
118
+ rubygems_version: 1.8.25
104
119
  signing_key:
105
120
  specification_version: 3
106
121
  summary: A simple pagination API to paginate Mongoid Models.