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 +4 -4
- data/lib/finapps/utils/query_builder.rb +2 -2
- data/lib/finapps/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: da92cd990fb1d1d83bf50517fa7dd5d997be88f4
|
4
|
+
data.tar.gz: b63846953692cbbfb8fea599066077c403c67fca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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])
|
data/lib/finapps/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: finapps_core
|