cambium 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cambium/version.rb +1 -1
- data/lib/cambium.rb +3 -0
- data/lib/kaminari/helpers/tag.rb +16 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc814d50333ba2ef8344943466e599c20cbb93b4
|
4
|
+
data.tar.gz: 5a51643a346128dde465ff5bec33ffa1e54df6ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54ad0b892ae3b124eb2ac4c7ce12b33026dc6424887943b9dab5db473d5a8a06eec43c61fabbe35af69e9c941ab6b4e461c02e8a17541d5eb1dff8fae097265c
|
7
|
+
data.tar.gz: 430a001a30dd9ec7b9851478648e9a9ff51cf135049806d0d187a14cb5b04a1d8f90c541c9cc10da5dcf05f384cda0ed9032c7ac8c9afe18431945570b974755
|
data/lib/cambium/version.rb
CHANGED
data/lib/cambium.rb
CHANGED
@@ -0,0 +1,16 @@
|
|
1
|
+
module Kaminari
|
2
|
+
module Helpers
|
3
|
+
class Tag
|
4
|
+
|
5
|
+
def page_url_for(page)
|
6
|
+
arguments = @params.merge(@param_name => (page <= 1 ? nil : page), :only_path => true).symbolize_keys
|
7
|
+
begin
|
8
|
+
Cambium::Engine.routes.url_helpers.url_for arguments
|
9
|
+
rescue
|
10
|
+
@template.main_app.url_for arguments
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cambium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean C Davis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-06-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -262,6 +262,7 @@ files:
|
|
262
262
|
- lib/generators/templates/gitignore
|
263
263
|
- lib/help/cambium_prereqs.txt
|
264
264
|
- lib/help/pg_search_post_install.txt
|
265
|
+
- lib/kaminari/helpers/tag.rb
|
265
266
|
- lib/tasks/db.rake
|
266
267
|
- lib/tasks/rename.rake
|
267
268
|
- test/controllers/cambium/admin/dashboard_controller_test.rb
|