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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6586d4e13379a0942e2ee349f130d9b91a229624
4
- data.tar.gz: da8acb562c60d2091dfe921b19e337b0f755acea
3
+ metadata.gz: 69af8caaa3bc6bf61e6ec12fe3c81b90a141efe1
4
+ data.tar.gz: e981b7a47f12239afd8166f51fdc1a175d5a72f3
5
5
  SHA512:
6
- metadata.gz: ecb3e4a37f23ef2d0f9bc745e9537c49ca23f38a5865339e6b6342146796f7c9c65eeae423995285dc25e1a1149845c562a41c2440dad7e4979f06c485bd15c8
7
- data.tar.gz: 44d9037fffb35b238fe628724e9bbf569f3a1774addd7081bf88d6580605e87d3f22eecf81515cd9869655b91298ff627097070404e631a0b9be654ad82ffb90
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.0
8
+ 0.1.4
5
9
  ===
6
- * Add grape_extensions folder with error_formatter and grape_helpers
7
- * Add output_formatters folder with include_nil, pagination, representer
8
- * Add rspec_extensions with response_helpers
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.1
14
+ 0.1.3
13
15
  ===
14
- * Require kaminari/grape
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.3
22
+ 0.1.1
21
23
  ===
22
- * Require napa/grape_extensions/grape_extenders
24
+ * Require kaminari/grape
23
25
 
24
- 0.1.4
26
+ 0.1.0
25
27
  ===
26
- * Add SortableApi
27
- * Add active_record dependency
28
- * Add acts_as_fu development dependency
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
@@ -1,3 +1,3 @@
1
1
  module Napa
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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
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-07-28 00:00:00.000000000 Z
11
+ date: 2016-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grape