cognitive_faculty 3.0.2 → 3.1.1

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: 95199f718d69e24b6302c44aeab67c290a4555a886f9872dc9ffd2d2b28348e8
4
- data.tar.gz: 8dd37e0f402640410b7a21617f44d28f661fd795cd8db778e72532a2194cc405
3
+ metadata.gz: 3254e8580af81726096c7032f319aa450fdbd5f829fb0d0446804fa5ecde8b13
4
+ data.tar.gz: 29ba166e33c572aa0ac05010b4d3172afa7c407d6968f498ff35dfedc5307930
5
5
  SHA512:
6
- metadata.gz: 1921f302cdce5a375f7444f775e91526b24556d5570c7d470ca7d0e4424b996e26d4b49d87fde7ed8382192a00da006f179656872c7797d488132d38fbfcba75
7
- data.tar.gz: 2023cd3b6b83d3c727645f9852c84227005e9444923cc0bba0888c07bcc51b10f82906e17efd7babb7344ab4e0a396c596ac46c6096c2c203bbf2a01285fd3ac
6
+ metadata.gz: a595b66243c2bff123911bad857580d899b31ac19f8c1598ee30b34794d3ae43bfa4dab7b481d8ef3c0df16af1dca7500e216d5b2885c3540fd65a4b6564eb86
7
+ data.tar.gz: aac2dd8162037409829797d6d98b4f46602c42d3534d9a377d73f07fcb4bda9b7510cf0f9bf42db1770a2177e0be8b92eaed46be629dc59892ae7e86d93c7ee7
data/.gitignore CHANGED
@@ -7,5 +7,8 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
 
10
+ # gem
11
+ *.gem
12
+
10
13
  # rspec failure tracking
11
14
  .rspec_status
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
27
27
  spec.add_dependency "activemodel", ">= 6.0"
28
28
  spec.add_dependency "activesupport", ">= 6.0.2.1"
29
29
  spec.add_dependency "faraday_middleware", ">= 0.12.2"
30
- spec.add_dependency "her", ">= 1.1.0"
30
+ spec.add_dependency "her", "1.1.0"
31
31
  spec.add_dependency "oauth2", ">= 1.4.0"
32
32
  end
@@ -27,8 +27,6 @@ module CognitiveFaculty
27
27
  end
28
28
  end
29
29
 
30
- private
31
-
32
30
  def eligible?(lp_certs_url, learning_path, user)
33
31
  self.class.get_raw("#{lp_certs_url}/certificates/#{user[:username]}/#{learning_path[:slug]}/status") do |status|
34
32
  status[:data][:eligible]
@@ -1,3 +1,3 @@
1
1
  module CognitiveFaculty
2
- VERSION = "3.0.2".freeze
2
+ VERSION = "3.1.1".freeze
3
3
  end
@@ -34,7 +34,6 @@ module CognitiveFaculty
34
34
 
35
35
  # Response
36
36
  c.use Her::Middleware::DefaultParseJSON
37
- c.use Faraday::Response::Logger, nil, body: true
38
37
 
39
38
  # Adapter
40
39
  c.adapter Faraday::Adapter::NetHttp
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cognitive_faculty
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luiz Aoqui
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-09 00:00:00.000000000 Z
11
+ date: 2021-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -112,14 +112,14 @@ dependencies:
112
112
  name: her
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - '='
116
116
  - !ruby/object:Gem::Version
117
117
  version: 1.1.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - '='
123
123
  - !ruby/object:Gem::Version
124
124
  version: 1.1.0
125
125
  - !ruby/object:Gem::Dependency