finapps 4.0.7 → 4.0.8

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
  SHA256:
3
- metadata.gz: d3374db10baa1952267135d60010f5a68566349af848c02675b56f5690ae73fd
4
- data.tar.gz: 9bdd765359d184a02c2d52a55f2a270c7ca1a3060ef0633bb50c2034c4f1a45e
3
+ metadata.gz: 7994e8d00aaefc207b65d91618b558e7823f78b76e0342d8cb5ae25a36713f38
4
+ data.tar.gz: 926962457c678a7d834b5291af57136e1b8aa7b12c7d30dafddacf1e13ff2d43
5
5
  SHA512:
6
- metadata.gz: a4bfa0fd0777d1f3c28537a13cf16f0ff4d57a3a849406fc7b51ddc76a3afe0e24f72632bf5c5e2393c932bf12d2fc12798eb1b6940a439a24b207cc8899f6f1
7
- data.tar.gz: fd8d2d0168f5c559d3eae6b0f1a5411f18c500e2f43ffb8be7370af406fb680a65703aa9e1be8457d39bb07914541ccb649675990433bc541b2418aeacf89803
6
+ metadata.gz: d242df6e75bb1fa17edefcac319d0c68459ad48b20c71dcac686d6bb8e848868213ae9ae50f06b54ef5bb8d049997cd4f4263290f0a99c230a54e0790e66582c
7
+ data.tar.gz: e4a9280650d805a54d374b07e5239d183ee797986c3785922d0726f205d560284f72b96ae7b617976173be71d2c7962f045a87a75c1df3a62669c950d5a5017b
@@ -17,7 +17,7 @@ module FinApps
17
17
 
18
18
  def build_filter(params)
19
19
  filter = {}
20
- filter[:"portfolio.id"] = params[:portfolio_id] if params[:portfolio_id]
20
+ filter[:portfolio_id] = params[:portfolio_id] if params[:portfolio_id]
21
21
  filter
22
22
  end
23
23
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FinApps
4
- VERSION = '4.0.8'
4
+ VERSION = '4.0.9'
5
5
  end
@@ -36,7 +36,7 @@ RSpec.describe FinApps::REST::AlertOccurrences do
36
36
  it 'builds query and sends proper request' do
37
37
  list
38
38
  url = "#{FinAppsCore::REST::Defaults::DEFAULTS[:host]}/v3/portfolio/alerts/occurrences?" \
39
- 'filter=%7B%22portfolio.id%22:%22valid_id%22%7D&page=2&requested=25&sort=-created_date'
39
+ 'filter=%7B%22portfolio_id%22:%22valid_id%22%7D&page=2&requested=25&sort=-created_date'
40
40
  expect(WebMock).to have_requested(:get, url)
41
41
  end
42
42
  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: 4.0.7
4
+ version: 4.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich Quintero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-08 00:00:00.000000000 Z
11
+ date: 2019-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: finapps_core