napa_rails 0.1.4 → 0.1.5
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/CHANGELOG.md +18 -14
- data/lib/napa/output_formatters/pagination.rb +1 -0
- data/lib/napa/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 69af8caaa3bc6bf61e6ec12fe3c81b90a141efe1
|
|
4
|
+
data.tar.gz: e981b7a47f12239afd8166f51fdc1a175d5a72f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90b38c49af61402f6f5380ff65e976195982b3dc366939b8a12084f40d0b409d0201ea08af34f4d6d73c64c03bc2b16f3e9d1801e2fc50b2f192f7c73b8615e3
|
|
7
|
+
data.tar.gz: b4e59c0bf61ff3d41f589949746979c6af151d8ebc79d2294111d0015a3aed1cfc2cbb833a658d0fef36601c124c7c4a78a373a1133b49cf7e67dd20e905877d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,32 @@
|
|
|
1
1
|
master
|
|
2
|
+
====
|
|
3
|
+
|
|
4
|
+
0.1.5
|
|
2
5
|
===
|
|
6
|
+
* Add `result_count` key to Pagination for backward compatibility
|
|
3
7
|
|
|
4
|
-
0.1.
|
|
8
|
+
0.1.4
|
|
5
9
|
===
|
|
6
|
-
* Add
|
|
7
|
-
* Add
|
|
8
|
-
* Add
|
|
9
|
-
* Add json_error
|
|
10
|
-
* Add kaminari, grape and roar dependency
|
|
10
|
+
* Add SortableApi
|
|
11
|
+
* Add active_record dependency
|
|
12
|
+
* Add acts_as_fu development dependency
|
|
11
13
|
|
|
12
|
-
0.1.
|
|
14
|
+
0.1.3
|
|
13
15
|
===
|
|
14
|
-
* Require
|
|
16
|
+
* Require napa/grape_extensions/grape_extenders
|
|
15
17
|
|
|
16
18
|
0.1.2
|
|
17
19
|
===
|
|
18
20
|
* Require napa in napa_rails file
|
|
19
21
|
|
|
20
|
-
0.1.
|
|
22
|
+
0.1.1
|
|
21
23
|
===
|
|
22
|
-
* Require
|
|
24
|
+
* Require kaminari/grape
|
|
23
25
|
|
|
24
|
-
0.1.
|
|
26
|
+
0.1.0
|
|
25
27
|
===
|
|
26
|
-
* Add
|
|
27
|
-
* Add
|
|
28
|
-
* Add
|
|
28
|
+
* Add grape_extensions folder with error_formatter and grape_helpers
|
|
29
|
+
* Add output_formatters folder with include_nil, pagination, representer
|
|
30
|
+
* Add rspec_extensions with response_helpers
|
|
31
|
+
* Add json_error
|
|
32
|
+
* Add kaminari, grape and roar dependency
|
|
@@ -15,6 +15,7 @@ module Napa
|
|
|
15
15
|
p[:per_page] = @object.limit_value if @object.respond_to?(:limit_value)
|
|
16
16
|
p[:total_pages] = @object.total_pages if @object.respond_to?(:total_pages)
|
|
17
17
|
p[:total_count] = @object.total_count if @object.respond_to?(:total_count)
|
|
18
|
+
p[:result_count] = @object.total_count if @object.respond_to?(:total_count)
|
|
18
19
|
end
|
|
19
20
|
end
|
|
20
21
|
|
data/lib/napa/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: napa_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Darby Frey, Flori Garcia
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-08-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: grape
|