mobile_pagination 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,2 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
+
4
+ group :development, :test do
5
+ gem 'coveralls', require: false
6
+ end
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- mobile_pagination
1
+ MobilePagination
2
2
  =========
3
3
  [![Code Climate](https://codeclimate.com/github/primedia/mobile_pagination.png)](https://codeclimate.com/github/primedia/mobile_pagination)
4
4
  [![Build Status](https://travis-ci.org/primedia/mobile_pagination.png)](https://travis-ci.org/primedia/mobile_pagination)
@@ -6,13 +6,12 @@ mobile_pagination
6
6
  [![Dependency Status](https://gemnasium.com/primedia/mobile_pagination.png)](https://gemnasium.com/primedia/mobile_pagination)
7
7
  [![Gem Version](https://badge.fury.io/rb/mobile_pagination.png)](http://badge.fury.io/rb/mobile_pagination)
8
8
 
9
- ## Requirements
9
+ Gem for producing minimal pagination links, best suited for smaller screens.
10
10
 
11
- ...
11
+ ![<Display Name>](http://i.imgur.com/xvzh817.png)
12
12
 
13
13
  ## Installation
14
14
 
15
-
16
15
  Add this line to your application's Gemfile:
17
16
 
18
17
  gem 'mobile_pagination'
@@ -92,6 +91,8 @@ module MobilePagination
92
91
  end
93
92
  end
94
93
  ```
94
+ Please note, any methods ending in `_link` will need to remain, as these methods are responsible for generating the paginated urls.
95
+
95
96
  ### Configuration
96
97
  Configuration is optional.
97
98
 
@@ -105,9 +106,6 @@ end
105
106
 
106
107
  Configuration must run prior to initialization. The resulting pagination links will now contain `/?slide=2, /?slide=3` to suit your custom url structure. The default page_key is `page`.
107
108
 
108
- Please note, any methods ending in `_link` will need to remain, as these methods are responsible for generating the paginated urls.
109
-
110
- ...
111
109
 
112
110
  ## Contributing
113
111
 
@@ -123,10 +121,6 @@ Please note, any methods ending in `_link` will need to remain, as these methods
123
121
 
124
122
  There is a default `spec` task that will run.
125
123
 
126
- ## Credits
127
-
128
- ...
129
-
130
124
  ## License
131
125
 
132
126
  mobile_pagination is released under the MIT License. See the bundled LICENSE file for details.
@@ -1,3 +1,3 @@
1
1
  module MobilePagination
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -1,13 +1,15 @@
1
1
  require 'rubygems'
2
2
  require 'simplecov'
3
3
  require 'bundler/setup'
4
+ require 'coveralls'
5
+
6
+ Coveralls.wear!
4
7
 
5
8
  SimpleCov.start {
6
9
  add_filter '/spec/'
7
10
  add_filter '/vendor/'
8
-
9
11
  }
10
12
 
11
13
  require 'mobile_pagination'
12
14
 
13
- spec_dir = File.dirname __FILE__
15
+ spec_dir = File.dirname __FILE__
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobile_pagination
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: