finapps 2.2.7 → 2.2.8

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: 4a71737d2cf62212a895e6080fc4c1eee1c075f9
4
- data.tar.gz: 82bada6984e79388d68e1a0f771f2ae9ffde8d19
3
+ metadata.gz: cf4a1e2674ce0174883fb14af59395f3f81bf499
4
+ data.tar.gz: c707f96067a55d31f4c65e99499f567530d2c472
5
5
  SHA512:
6
- metadata.gz: 275408c8e5a5158a8ad241767b6d6b7b3117a11006a709d407f2aa5d894b19a32558fb81d9903a5b84c6aac1d579143f822da5e33e36e19918b81157fcf24302
7
- data.tar.gz: f6998e92b9afb55818f6640120480d85cdab11adb654515c71abe3efaba9c4d6f80d3331b2c66919eb2e1ec4c17a88ef96e129450165f9c489c7fd20cf6349a5
6
+ metadata.gz: c9316a9af1379edb37c31ea35acff9ddd8f5dbf38fc2f4bd3c13da6b7eda6dd5cfbbd85e7ca4d8928df447df89a625f8c7f90038bed8c8985d913a01f3289731
7
+ data.tar.gz: c84946c18c6b3b6f01e74cfa77b91b0b32abc66b99682df1b145077e1106f62c236c9783f582af6c7f4ccd19ed1968b1ef7fa03b2b814717e7db60f6d70f18b0
data/finapps.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.test_files = Dir['spec/**/*.rb']
21
21
  spec.require_paths = ['lib']
22
22
 
23
- spec.add_runtime_dependency 'finapps_core', '~> 2.0', '>= 2.0.14'
23
+ spec.add_runtime_dependency 'finapps_core', '~> 2.0', '>= 2.0.15'
24
24
 
25
25
  spec.add_development_dependency 'bundler', '~> 1.14', '>= 1.14.3'
26
26
  spec.add_development_dependency 'gem-release', '~> 0.7', '>= 0.7.4'
@@ -5,9 +5,6 @@ require_relative './version'
5
5
  module FinApps
6
6
  module REST
7
7
  class Client < FinAppsCore::REST::BaseClient # :nodoc:
8
- using ObjectExtensions
9
- using StringExtensions
10
-
11
8
  RESOURCES = %i(
12
9
  institutions
13
10
  institutions_forms
@@ -2,9 +2,6 @@
2
2
  module FinApps
3
3
  module REST
4
4
  class Consumers < FinAppsCore::REST::Resources # :nodoc:
5
- using ObjectExtensions
6
- using StringExtensions
7
-
8
5
  # @param [String] public_id
9
6
  # @return [FinApps::REST::User, Array<String>]
10
7
  def show(public_id)
@@ -2,9 +2,6 @@
2
2
  module FinApps
3
3
  module REST
4
4
  class Institutions < FinAppsCore::REST::Resources
5
- using ObjectExtensions
6
- using StringExtensions
7
-
8
5
  def list(search_term)
9
6
  not_blank(search_term, :search_term)
10
7
  # API errors when search_term is blank, maybe it shouldn't
@@ -2,9 +2,6 @@
2
2
  module FinApps
3
3
  module REST
4
4
  class InstitutionsForms < FinAppsCore::REST::Resources
5
- using ObjectExtensions
6
- using StringExtensions
7
-
8
5
  def show(site_id)
9
6
  not_blank(site_id, :site_id)
10
7
 
@@ -2,9 +2,6 @@
2
2
  module FinApps
3
3
  module REST
4
4
  class OrderReports < FinAppsCore::REST::Resources # :nodoc:
5
- using ObjectExtensions
6
- using StringExtensions
7
-
8
5
  def show(id, format)
9
6
  not_blank(id, :id)
10
7
  not_blank(format, :format)
@@ -2,9 +2,6 @@
2
2
  module FinApps
3
3
  module REST
4
4
  class OrderStatuses < FinAppsCore::REST::Resources # :nodoc:
5
- using ObjectExtensions
6
- using StringExtensions
7
-
8
5
  def show(id)
9
6
  not_blank(id, :id)
10
7
 
@@ -2,9 +2,6 @@
2
2
  module FinApps
3
3
  module REST
4
4
  class OrderTokens < FinAppsCore::REST::Resources # :nodoc:
5
- using ObjectExtensions
6
- using StringExtensions
7
-
8
5
  def show(token)
9
6
  not_blank(token, :token)
10
7
  create nil, "orders/#{ERB::Util.url_encode(token)}"
@@ -2,9 +2,6 @@
2
2
  module FinApps
3
3
  module REST
4
4
  class Orders < FinAppsCore::REST::Resources # :nodoc:
5
- using ObjectExtensions
6
- using StringExtensions
7
-
8
5
  def show(id)
9
6
  not_blank(id, :id)
10
7
  super
@@ -2,9 +2,6 @@
2
2
  module FinApps
3
3
  module REST
4
4
  class PasswordResets < FinAppsCore::REST::Resources # :nodoc:
5
- using ObjectExtensions
6
- using StringExtensions
7
-
8
5
  def create(id)
9
6
  not_blank(id, :id)
10
7
 
@@ -13,8 +10,8 @@ module FinApps
13
10
  end
14
11
 
15
12
  def update(id, params)
16
- raise FinAppsCore::MissingArgumentsError.new 'Missing argument: id.' if id.blank?
17
- raise FinAppsCore::MissingArgumentsError.new 'Missing argument: params.' if params.blank?
13
+ not_blank(id, :id)
14
+ not_blank(params, :params)
18
15
 
19
16
  path = "tenant/#{ERB::Util.url_encode(id)}/password"
20
17
  super params, path
@@ -1,10 +1,10 @@
1
1
  # frozen_string_literal: true
2
+ using ObjectExtensions
3
+ using StringExtensions
4
+
2
5
  module FinApps
3
6
  module REST
4
7
  class Sessions < FinAppsCore::REST::Resources # :nodoc:
5
- using ObjectExtensions
6
- using StringExtensions
7
-
8
8
  # @param [Hash] params
9
9
  # @return [Array<String>]
10
10
  def create(params)
@@ -2,9 +2,6 @@
2
2
  module FinApps
3
3
  module REST
4
4
  class UserInstitutions < FinAppsCore::REST::Resources # :nodoc:
5
- using ObjectExtensions
6
- using StringExtensions
7
-
8
5
  def list
9
6
  super END_POINT
10
7
  end
@@ -2,9 +2,6 @@
2
2
  module FinApps
3
3
  module REST
4
4
  class UserInstitutionsForms < FinAppsCore::REST::Resources
5
- using ObjectExtensions
6
- using StringExtensions
7
-
8
5
  def show(id)
9
6
  not_blank(id, :id)
10
7
 
@@ -2,9 +2,6 @@
2
2
  module FinApps
3
3
  module REST
4
4
  class UserInstitutionsStatuses < FinAppsCore::REST::Resources # :nodoc:
5
- using ObjectExtensions
6
- using StringExtensions
7
-
8
5
  def show(id)
9
6
  not_blank(id, :id)
10
7
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module FinApps
3
- VERSION = '2.2.7'
3
+ VERSION = '2.2.8'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finapps
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.7
4
+ version: 2.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich Quintero
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '2.0'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 2.0.14
22
+ version: 2.0.15
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '2.0'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 2.0.14
32
+ version: 2.0.15
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement