scorm_engine 0.5.1 → 0.5.2

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: 3246d59fdd0874244840cebb2288fe9d5ed8015ed2d681a93ed922af4eee2188
4
- data.tar.gz: 729f776ad2eaf51a53c1c565a385270d89fd453ba58327c3ad5d89d11de99e12
3
+ metadata.gz: 7b0f553cbad97140f54dfba48bd4c0514ab010f94874235343a83af6f10b8cd2
4
+ data.tar.gz: 804e07cfba2d37c56e0ecb197d6512ed470124c061347947ac4a4e6b5357add1
5
5
  SHA512:
6
- metadata.gz: d8e0ecc00812974568bc279b8695acc590e03e0a12eec68688e127bda3a47e41ef618e19f43da9dae298ffb27032c8b49df7dd93974b1d0762334011af5d2479
7
- data.tar.gz: 7a3e8b88525c3a65110a8fef1c011f4a6945210b3840f343cb7de44a611f710d4ba17fc6c565b809fb14ae6f87d226e0195bf2adeb239706f539109745a021bd
6
+ metadata.gz: a7c2e7c440815f2908daea3961914d9c01c0006bfc5b19290741c2dfe705d3d4662dd6f24c01b3c794953fb1e4206794c84a0cb8dfa65766f3ee35125d15fd50
7
+ data.tar.gz: 10b4e9b99a124f27eba6f61da41c8c66ecc1c60e3e5e848cd4e4b33ca9f389edd76ddeb3a52c3c50131cb85e183beb0158f5edebaaab5064d00f30e0b1bf8f7b
@@ -4,6 +4,15 @@ require "faraday_middleware"
4
4
  module ScormEngine
5
5
  module Faraday
6
6
  module Connection
7
+
8
+ def base_uri
9
+ uri = URI("")
10
+ uri.scheme = "https" # TODO: Make configurable
11
+ uri.host = ScormEngine.configuration.host
12
+ uri.path = ScormEngine.configuration.path_prefix
13
+ uri
14
+ end
15
+
7
16
  private
8
17
 
9
18
  def connection
@@ -21,14 +30,6 @@ module ScormEngine
21
30
  faraday.adapter ::Faraday.default_adapter
22
31
  end
23
32
  end
24
-
25
- def base_uri
26
- uri = URI("")
27
- uri.scheme = "https" # TODO: Make configurable
28
- uri.host = ScormEngine.configuration.host
29
- uri.path = ScormEngine.configuration.path_prefix
30
- uri
31
- end
32
33
  end
33
34
  end
34
35
  end
@@ -1,3 +1,3 @@
1
1
  module ScormEngine
2
- VERSION = "0.5.1".freeze
2
+ VERSION = "0.5.2".freeze
3
3
  end
@@ -103,7 +103,7 @@ RSpec.describe ScormEngine::Models::Course do
103
103
  course = described_class.new_from_api(
104
104
  "webPath" => "/courses/tenant/courseid/0"
105
105
  )
106
- expect(course.course_learning_standard).to eq "/courses/tenant/courseid/0"
106
+ expect(course.web_path).to eq "/courses/tenant/courseid/0"
107
107
  end
108
108
  end
109
109
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scorm_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Hallstrom