finapps 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4dc62eb0450848da43d6c578898f386fe9e8b4a7
4
- data.tar.gz: aa458d6093c67e47b5c85806adc03530a1a0753f
3
+ metadata.gz: da92cd990fb1d1d83bf50517fa7dd5d997be88f4
4
+ data.tar.gz: b63846953692cbbfb8fea599066077c403c67fca
5
5
  SHA512:
6
- metadata.gz: ae9cbc757ed86be1128549f55b018825318f3b654f84cfe1a842b0529287f6d99a6801daef0c79adef6f1d3cb1854c6e7461df0962442590e4e9b82c6e3040fa
7
- data.tar.gz: 3bc8014f197e333a0d25adfaf676440bf9e1356b109b91382ab6638dbfd1fda2b47d18b602ae533c60193a5080352ffc86e133f51175cff18a3f9b0f668d47ef
6
+ metadata.gz: ee5ca8ef97cffb09e1509dcd258540edfc74e18e468330109c6984a02f38978e3b3fdca73fadce2730d91fe9a2822e3f4afd44dbe72f1f2d1fd37485e23c7d32
7
+ data.tar.gz: a4021e637bf37a4b1142ac676265bf4497ff47cfe4c4a7e7d2bf71924ba24104ec091fda0994833563696a0184752b660c7731bb49adf4921c4c9f3952a0e77d
@@ -5,8 +5,8 @@ module FinApps
5
5
  module QueryBuilder
6
6
  def build_query_path(root_url, params)
7
7
  filter_obj = build_filter(params)
8
- page = "page=#{params[:page]}" if params[:page]
9
- requested = "requested=#{params[:requested]}" if params[:requested]
8
+ page = "page=#{params[:page].to_i}" if params[:page]
9
+ requested = "requested=#{params[:requested].to_i}" if params[:requested]
10
10
  sort = "sort=#{ERB::Util.url_encode(params[:sort])}" if params[:sort]
11
11
  filter = "filter=#{ERB::Util.url_encode(filter_obj.to_json)}" if filter_obj && !filter_obj.empty?
12
12
  query_join(root_url, [page, requested, sort, filter])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FinApps
4
- VERSION = '3.0.2'
4
+ VERSION = '3.0.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finapps
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich Quintero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-16 00:00:00.000000000 Z
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: finapps_core