will_paginate-materialize 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/README.md +5 -7
- data/lib/materialize_pagination/version.rb +1 -1
- data/will_paginate-materialize.gemspec +2 -0
- metadata +28 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 260c0bf901cd6ab32f476b35c9338e2b52d5252c
|
4
|
+
data.tar.gz: 756b30922c1853fb5137d974a440378156ccb28d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21dcda2db6ceec6c25a7256edc88f88b89f48ca1ece7bbf970d8972ed0026c0eb848e2f809a24eafe27e34cdf49061fb2c87551e8f41b81f4ce25d720cbb487e
|
7
|
+
data.tar.gz: 1f88ba92983c59a919a4391c9f8ac48f6ff69cb8f19efd3bb77295ce360e6891076ddb1e28e0af3ad3ffc2c7f6cf625f9600a04aaabfa97e6722072eee3464e2
|
data/README.md
CHANGED
@@ -21,12 +21,11 @@ Or install it yourself as:
|
|
21
21
|
## Usage
|
22
22
|
|
23
23
|
1. Install [Materialize-sass](https://github.com/mkhairi/materialize-sass)
|
24
|
-
2.
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
4. Add the following to your application.scss file
|
24
|
+
2. In your view, use the renderer: MaterializePagination::Rails option with the will_paginate helper.
|
25
|
+
```ruby
|
26
|
+
<%= will_paginate @collection, renderer: MaterializePagination::Rails %>
|
27
|
+
```
|
28
|
+
3. Add the following to your application.scss file
|
30
29
|
```
|
31
30
|
.pagination a li.active {
|
32
31
|
color: #fff;
|
@@ -38,7 +37,6 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/patric
|
|
38
37
|
|
39
38
|
### Further works
|
40
39
|
* Extend gem so the MaterializePagination renderer is the default renderer
|
41
|
-
* Extend gem so that users do not need to add will-paginate in their Gemfile
|
42
40
|
* Add specs
|
43
41
|
|
44
42
|
## License
|
metadata
CHANGED
@@ -1,57 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: will_paginate-materialize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Lindsay
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.10'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.10'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: will_paginate
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 3.0.6
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 3.0.6
|
55
69
|
description: This gem integrates the MaterializeCSS pagination component with the
|
56
70
|
will_paginate pagination gem.
|
57
71
|
email:
|
@@ -60,9 +74,9 @@ executables: []
|
|
60
74
|
extensions: []
|
61
75
|
extra_rdoc_files: []
|
62
76
|
files:
|
63
|
-
- .gitignore
|
64
|
-
- .rspec
|
65
|
-
- .travis.yml
|
77
|
+
- ".gitignore"
|
78
|
+
- ".rspec"
|
79
|
+
- ".travis.yml"
|
66
80
|
- CODE_OF_CONDUCT.md
|
67
81
|
- Gemfile
|
68
82
|
- LICENSE.txt
|
@@ -85,17 +99,17 @@ require_paths:
|
|
85
99
|
- lib
|
86
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
87
101
|
requirements:
|
88
|
-
- -
|
102
|
+
- - ">="
|
89
103
|
- !ruby/object:Gem::Version
|
90
104
|
version: '0'
|
91
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
106
|
requirements:
|
93
|
-
- -
|
107
|
+
- - ">="
|
94
108
|
- !ruby/object:Gem::Version
|
95
109
|
version: '0'
|
96
110
|
requirements: []
|
97
111
|
rubyforge_project:
|
98
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.2.2
|
99
113
|
signing_key:
|
100
114
|
specification_version: 4
|
101
115
|
summary: MaterializeCSS pagination renderer for the will_paginate pagination gem.
|