kaminari-bootstrap 0.1.3 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +94 -68
- data/VERSION +1 -1
- data/app/views/kaminari/_first_page.html.erb +1 -1
- data/app/views/kaminari/_last_page.html.erb +1 -1
- data/app/views/kaminari/_next_page.html.erb +1 -1
- data/app/views/kaminari/_paginator.html.erb +12 -16
- data/app/views/kaminari/_prev_page.html.erb +1 -1
- data/kaminari-bootstrap.gemspec +7 -7
- metadata +17 -30
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4b262b49998adc3ec12fbe3a63cda1990136285a
|
4
|
+
data.tar.gz: 1ef200c79790bef2214498a6058239c4429885fc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: caf6e2b542ebed18b79801bfc2a8fa2243f55c902b12c5e09f2bb6efa97f40d1606d210eb751e63489dc32a95ec99b1607bf9dd8ad3351bf4abc9762fadd0cae
|
7
|
+
data.tar.gz: 4be75a7b2e601e836d7a7f05cbd387bd709b15973fb77c14e4f82ea0ff23821ac52f9ae2b48deb6e823420a3b03ce4ebf0bd93ba6e5faf77794ca96b5c2496e4
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,98 +1,124 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionmailer (
|
5
|
-
actionpack (=
|
6
|
-
mail (~> 2.
|
7
|
-
actionpack (
|
8
|
-
|
9
|
-
|
10
|
-
builder (~> 3.0.0)
|
4
|
+
actionmailer (4.0.1)
|
5
|
+
actionpack (= 4.0.1)
|
6
|
+
mail (~> 2.5.4)
|
7
|
+
actionpack (4.0.1)
|
8
|
+
activesupport (= 4.0.1)
|
9
|
+
builder (~> 3.1.0)
|
11
10
|
erubis (~> 2.7.0)
|
12
|
-
|
13
|
-
rack (~>
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
builder (3.
|
11
|
+
rack (~> 1.5.2)
|
12
|
+
rack-test (~> 0.6.2)
|
13
|
+
activemodel (4.0.1)
|
14
|
+
activesupport (= 4.0.1)
|
15
|
+
builder (~> 3.1.0)
|
16
|
+
activerecord (4.0.1)
|
17
|
+
activemodel (= 4.0.1)
|
18
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
19
|
+
activesupport (= 4.0.1)
|
20
|
+
arel (~> 4.0.0)
|
21
|
+
activerecord-deprecated_finders (1.0.3)
|
22
|
+
activesupport (4.0.1)
|
23
|
+
i18n (~> 0.6, >= 0.6.4)
|
24
|
+
minitest (~> 4.2)
|
25
|
+
multi_json (~> 1.3)
|
26
|
+
thread_safe (~> 0.1)
|
27
|
+
tzinfo (~> 0.3.37)
|
28
|
+
addressable (2.3.5)
|
29
|
+
arel (4.0.1)
|
30
|
+
atomic (1.1.14)
|
31
|
+
builder (3.1.4)
|
33
32
|
erubis (2.7.0)
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
33
|
+
faraday (0.8.8)
|
34
|
+
multipart-post (~> 1.2.0)
|
35
|
+
git (1.2.6)
|
36
|
+
github_api (0.10.1)
|
37
|
+
addressable
|
38
|
+
faraday (~> 0.8.1)
|
39
|
+
hashie (>= 1.2)
|
40
|
+
multi_json (~> 1.4)
|
41
|
+
nokogiri (~> 1.5.2)
|
42
|
+
oauth2
|
43
|
+
hashie (2.0.5)
|
44
|
+
highline (1.6.20)
|
45
|
+
hike (1.2.3)
|
46
|
+
httpauth (0.2.0)
|
47
|
+
i18n (0.6.5)
|
48
|
+
jeweler (1.8.8)
|
49
|
+
builder
|
38
50
|
bundler (~> 1.0)
|
39
51
|
git (>= 1.2.5)
|
52
|
+
github_api (= 0.10.1)
|
53
|
+
highline (>= 1.6.15)
|
54
|
+
nokogiri (= 1.5.10)
|
40
55
|
rake
|
41
56
|
rdoc
|
42
|
-
|
43
|
-
|
44
|
-
|
57
|
+
json (1.8.1)
|
58
|
+
jwt (0.1.8)
|
59
|
+
multi_json (>= 1.5)
|
60
|
+
kaminari (0.15.0)
|
45
61
|
actionpack (>= 3.0.0)
|
46
62
|
activesupport (>= 3.0.0)
|
47
|
-
|
48
|
-
mail (2.4.4)
|
49
|
-
i18n (>= 0.4.0)
|
63
|
+
mail (2.5.4)
|
50
64
|
mime-types (~> 1.16)
|
51
65
|
treetop (~> 1.4.8)
|
52
|
-
mime-types (1.
|
53
|
-
|
66
|
+
mime-types (1.25.1)
|
67
|
+
minitest (4.7.5)
|
68
|
+
multi_json (1.8.2)
|
69
|
+
multi_xml (0.5.5)
|
70
|
+
multipart-post (1.2.0)
|
71
|
+
nokogiri (1.5.10)
|
72
|
+
oauth2 (0.9.2)
|
73
|
+
faraday (~> 0.8)
|
74
|
+
httpauth (~> 0.2)
|
75
|
+
jwt (~> 0.1.4)
|
76
|
+
multi_json (~> 1.0)
|
77
|
+
multi_xml (~> 0.5)
|
78
|
+
rack (~> 1.2)
|
54
79
|
polyglot (0.3.3)
|
55
|
-
rack (1.
|
56
|
-
rack-
|
57
|
-
rack (>= 0.4)
|
58
|
-
rack-ssl (1.3.2)
|
59
|
-
rack
|
60
|
-
rack-test (0.6.1)
|
80
|
+
rack (1.5.2)
|
81
|
+
rack-test (0.6.2)
|
61
82
|
rack (>= 1.0)
|
62
|
-
rails (
|
63
|
-
actionmailer (=
|
64
|
-
actionpack (=
|
65
|
-
activerecord (=
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
railties (
|
71
|
-
actionpack (=
|
72
|
-
activesupport (=
|
73
|
-
rack-ssl (~> 1.3.2)
|
83
|
+
rails (4.0.1)
|
84
|
+
actionmailer (= 4.0.1)
|
85
|
+
actionpack (= 4.0.1)
|
86
|
+
activerecord (= 4.0.1)
|
87
|
+
activesupport (= 4.0.1)
|
88
|
+
bundler (>= 1.3.0, < 2.0)
|
89
|
+
railties (= 4.0.1)
|
90
|
+
sprockets-rails (~> 2.0.0)
|
91
|
+
railties (4.0.1)
|
92
|
+
actionpack (= 4.0.1)
|
93
|
+
activesupport (= 4.0.1)
|
74
94
|
rake (>= 0.8.7)
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
rdoc (3.12)
|
95
|
+
thor (>= 0.18.1, < 2.0)
|
96
|
+
rake (10.1.0)
|
97
|
+
rdoc (4.0.1)
|
79
98
|
json (~> 1.4)
|
80
|
-
sprockets (2.1
|
99
|
+
sprockets (2.10.1)
|
81
100
|
hike (~> 1.2)
|
101
|
+
multi_json (~> 1.0)
|
82
102
|
rack (~> 1.0)
|
83
103
|
tilt (~> 1.1, != 1.3.0)
|
84
|
-
|
85
|
-
|
86
|
-
|
104
|
+
sprockets-rails (2.0.1)
|
105
|
+
actionpack (>= 3.0)
|
106
|
+
activesupport (>= 3.0)
|
107
|
+
sprockets (~> 2.8)
|
108
|
+
thor (0.18.1)
|
109
|
+
thread_safe (0.1.3)
|
110
|
+
atomic
|
111
|
+
tilt (1.4.1)
|
112
|
+
treetop (1.4.15)
|
87
113
|
polyglot
|
88
114
|
polyglot (>= 0.3.1)
|
89
|
-
tzinfo (0.3.
|
115
|
+
tzinfo (0.3.38)
|
90
116
|
|
91
117
|
PLATFORMS
|
92
118
|
ruby
|
93
119
|
|
94
120
|
DEPENDENCIES
|
95
121
|
bundler
|
96
|
-
jeweler (
|
122
|
+
jeweler (>= 1.8.5)
|
97
123
|
kaminari (>= 0.13.0)
|
98
124
|
rails
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1
|
1
|
+
3.0.1
|
@@ -7,21 +7,17 @@
|
|
7
7
|
paginator: the paginator that renders the pagination tags inside
|
8
8
|
-%>
|
9
9
|
<%= paginator.render do -%>
|
10
|
-
<
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
<% elsif !page.was_truncated? -%>
|
19
|
-
<%= gap_tag %>
|
20
|
-
<% end -%>
|
10
|
+
<ul class="pagination">
|
11
|
+
<%= first_page_tag unless current_page.first? %>
|
12
|
+
<%= prev_page_tag unless current_page.first? %>
|
13
|
+
<% each_page do |page| -%>
|
14
|
+
<% if page.left_outer? || page.right_outer? || page.inside_window? -%>
|
15
|
+
<%= page_tag page %>
|
16
|
+
<% elsif !page.was_truncated? -%>
|
17
|
+
<%= gap_tag %>
|
21
18
|
<% end -%>
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
</nav>
|
19
|
+
<% end -%>
|
20
|
+
<%= next_page_tag unless current_page.last? %>
|
21
|
+
<%= last_page_tag unless current_page.last? %>
|
22
|
+
</ul>
|
27
23
|
<% end -%>
|
data/kaminari-bootstrap.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "kaminari-bootstrap"
|
8
|
-
s.version = "0.1
|
8
|
+
s.version = "3.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["mcasimir"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2013-11-27"
|
13
13
|
s.description = "Kaminari views for Twitter Bootstrap (rails engine)"
|
14
14
|
s.email = "maurizio.cas@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -37,28 +37,28 @@ Gem::Specification.new do |s|
|
|
37
37
|
s.homepage = "http://github.com/mcasimir/kaminari-bootstrap"
|
38
38
|
s.licenses = ["MIT"]
|
39
39
|
s.require_paths = ["lib"]
|
40
|
-
s.rubygems_version = "
|
40
|
+
s.rubygems_version = "2.0.6"
|
41
41
|
s.summary = "Kaminari views for Twitter Bootstrap (rails engine)"
|
42
42
|
|
43
43
|
if s.respond_to? :specification_version then
|
44
|
-
s.specification_version =
|
44
|
+
s.specification_version = 4
|
45
45
|
|
46
46
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
47
47
|
s.add_runtime_dependency(%q<rails>, [">= 0"])
|
48
48
|
s.add_runtime_dependency(%q<kaminari>, [">= 0.13.0"])
|
49
49
|
s.add_development_dependency(%q<bundler>, [">= 0"])
|
50
|
-
s.add_development_dependency(%q<jeweler>, ["
|
50
|
+
s.add_development_dependency(%q<jeweler>, [">= 1.8.5"])
|
51
51
|
else
|
52
52
|
s.add_dependency(%q<rails>, [">= 0"])
|
53
53
|
s.add_dependency(%q<kaminari>, [">= 0.13.0"])
|
54
54
|
s.add_dependency(%q<bundler>, [">= 0"])
|
55
|
-
s.add_dependency(%q<jeweler>, ["
|
55
|
+
s.add_dependency(%q<jeweler>, [">= 1.8.5"])
|
56
56
|
end
|
57
57
|
else
|
58
58
|
s.add_dependency(%q<rails>, [">= 0"])
|
59
59
|
s.add_dependency(%q<kaminari>, [">= 0.13.0"])
|
60
60
|
s.add_dependency(%q<bundler>, [">= 0"])
|
61
|
-
s.add_dependency(%q<jeweler>, ["
|
61
|
+
s.add_dependency(%q<jeweler>, [">= 1.8.5"])
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
metadata
CHANGED
@@ -1,80 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaminari-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
5
|
-
prerelease:
|
4
|
+
version: 3.0.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- mcasimir
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-11-27 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: kaminari
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 0.13.0
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 0.13.0
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: bundler
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: jeweler
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
|
-
version: 1.8.
|
61
|
+
version: 1.8.5
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
|
-
version: 1.8.
|
68
|
+
version: 1.8.5
|
78
69
|
description: Kaminari views for Twitter Bootstrap (rails engine)
|
79
70
|
email: maurizio.cas@gmail.com
|
80
71
|
executables: []
|
@@ -102,29 +93,25 @@ files:
|
|
102
93
|
homepage: http://github.com/mcasimir/kaminari-bootstrap
|
103
94
|
licenses:
|
104
95
|
- MIT
|
96
|
+
metadata: {}
|
105
97
|
post_install_message:
|
106
98
|
rdoc_options: []
|
107
99
|
require_paths:
|
108
100
|
- lib
|
109
101
|
required_ruby_version: !ruby/object:Gem::Requirement
|
110
|
-
none: false
|
111
102
|
requirements:
|
112
|
-
- -
|
103
|
+
- - '>='
|
113
104
|
- !ruby/object:Gem::Version
|
114
105
|
version: '0'
|
115
|
-
segments:
|
116
|
-
- 0
|
117
|
-
hash: -2672621769260605252
|
118
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
|
-
none: false
|
120
107
|
requirements:
|
121
|
-
- -
|
108
|
+
- - '>='
|
122
109
|
- !ruby/object:Gem::Version
|
123
110
|
version: '0'
|
124
111
|
requirements: []
|
125
112
|
rubyforge_project:
|
126
|
-
rubygems_version:
|
113
|
+
rubygems_version: 2.0.6
|
127
114
|
signing_key:
|
128
|
-
specification_version:
|
115
|
+
specification_version: 4
|
129
116
|
summary: Kaminari views for Twitter Bootstrap (rails engine)
|
130
117
|
test_files: []
|