kaminari_route_prefix 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 127bda09361712de2ab892f54b7c1679d61d3102
4
- data.tar.gz: 64e0ac99f6f3dc0a0b3e150bea2798339f8a7310
3
+ metadata.gz: ab8a47b8e9988b31a18993b96c60790848c05fe0
4
+ data.tar.gz: 01ef7d7d71e7c8d4e3050f2ee61b8510171dddd2
5
5
  SHA512:
6
- metadata.gz: 5c927427e6c274d2b3ceed23a4e150a2c7f86cf1ddd05a2b9094562713544413cb2910ebf3e9db83ee4bb0afa62552c3da993591d934ee1ab83a804ec70d0996
7
- data.tar.gz: ee96e79b9afdad5cab842306b5abbe80e6c2f815352f5b09de2fd1875132a17d57a3b11bc2f0dcfa4ae2488d8705c74d765a977bcfc597ffcd61615b0aba20a5
6
+ metadata.gz: 2a9e461c760645dff732b29e0f40f9a4ad8d168381df2ce58af39a0dadb2b5485c4baa2d908e4dc287d7d688ee3a634bdb6808f9d0c94f1a22839bd92b8831a9
7
+ data.tar.gz: c502373959d9be8aac3b647908d64dd5e7a50f620cf1d1b1f69d4449241f9984c1b0ef9567b7d1de453dd4f6e0e4e8c6b181d62545a443cea1da69b7d8aaf2f0
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # KaminariRoutePrefix
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/kaminari_route_prefix`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ This gem monkey-patches your kaminari to support rails engine routes. This monkey patch is required until https://github.com/amatsuda/kaminari/pull/636 is merged into Kaminari.
6
4
 
7
5
  ## Installation
8
6
 
@@ -22,15 +20,9 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
23
+ Use as you would use kaminari
32
24
 
33
25
  ## Contributing
34
26
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/kaminari_route_prefix.
27
+ Bug reports and pull requests are welcome on GitHub at https://github.com/cbeer/kaminari_route_prefix.
36
28
 
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency 'kaminari', '>= 0.16', '< 2'
21
+ spec.add_dependency 'kaminari', '~> 0.16'
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.11"
24
24
  spec.add_development_dependency "rake", "~> 10.0"
@@ -1,3 +1,3 @@
1
1
  module KaminariRoutePrefix
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaminari_route_prefix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-09 00:00:00.000000000 Z
11
+ date: 2017-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kaminari
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.16'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '2'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0.16'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '2'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: bundler
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -183,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
177
  version: '0'
184
178
  requirements: []
185
179
  rubyforge_project:
186
- rubygems_version: 2.4.5.1
180
+ rubygems_version: 2.5.2
187
181
  signing_key:
188
182
  specification_version: 4
189
183
  summary: Monkey-patch kaminari to work well with Rails engines