cortex-snippets-client-ruby 0.3.1 → 0.3.2

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: d2f64699e66898d13b3982a15dc70bf3d1cd91a9
4
- data.tar.gz: dd01036f6a29886f48bb619187a451275f0c947d
3
+ metadata.gz: 55d5ce484ebd428acbef6c980ac1a3907f0a9079
4
+ data.tar.gz: 7ee26ca7c1addc5cc66513241d6dfaedd39d3b59
5
5
  SHA512:
6
- metadata.gz: b048c56ec332f0ce52f40047a6eedd65e66d07b194cea52a1930a4ecab0844a4c75fd21e3e155739662dbd505238465de4428e847b6b9a9678a9a88cecbb20d0
7
- data.tar.gz: ef2799bb57d25e91b46e65eeffa6df70059c3ee90ba06a4a73555bbd4b5d7b3f2082ef6fe5b53ad778dcd4dacb71d2aa6a271844aeec5d9ed0f951d289681a94
6
+ metadata.gz: 1cb60229d0b0720412f5581105afb5dc592f1ece4ead98bc0db43fc5a0c212ed1b743554189c302078939c56cd615594835ecef713b8fbea320442ca77840892
7
+ data.tar.gz: db138ecffa06a40b0b6da4867ca9ad0582547f25f34f0451c9e8379e2801c6917f32c8b180184d637bec1c24a505e845d741996ed9b2241bb1cf114220a4bd56
@@ -8,7 +8,7 @@ module Cortex
8
8
  class << self
9
9
  def cortex_client
10
10
  if ENV['CORTEX_SNIPPET_ACCESS_TOKEN'].nil? || ENV['CORTEX_SNIPPET_ACCESS_TOKEN'].empty?
11
- @cortex_client ||= ConnectionPool::Wrapper.new(size: 5, timeout: 3) { Cortex::Client.new(key: ENV['CORTEX_SNIPPET_KEY'], secret: ENV['CORTEX_SNIPPET_SECRET'], base_url: ENV['CORTEX_SNIPPET_BASE_URL'], scopes: ENV['CORTEX_SCOPES']) }
11
+ @cortex_client ||= ConnectionPool::Wrapper.new(size: 5, timeout: 3) { Cortex::Client.new(key: ENV['CORTEX_SNIPPET_KEY'], secret: ENV['CORTEX_SNIPPET_SECRET'], base_url: ENV['CORTEX_SNIPPET_BASE_URL'], scopes: ENV['CORTEX_SNIPPET_SCOPES']) }
12
12
  else
13
13
  @cortex_client ||= ConnectionPool::Wrapper.new(size: 5, timeout: 3) { Cortex::Client.new(access_token: ENV['CORTEX_SNIPPET_ACCESS_TOKEN']) }
14
14
  end
@@ -1,5 +1,5 @@
1
1
  module Cortex
2
2
  module Snippets
3
- VERSION = '0.3.1'
3
+ VERSION = '0.3.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cortex-snippets-client-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - CB Content Enablement