scorm_engine 0.5.2 → 0.5.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb7b48b89bca65bdb06ede4fe1cff9c182778eba1f1d87f36cf9dca77acf8f1e
|
4
|
+
data.tar.gz: 8955c69310384981324f9e3460ef43a8885ad46325a4f4968d00489967d51918
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25c7dd5e73b364501d0d95bbc72eed02ee31585fd78faaa7982a8767fbd7fc613ba1518c5ca44d97b072d5c1f09f0d1175138f3347e57e73a9a6aeb628f57fe6
|
7
|
+
data.tar.gz: a65243ffefe6bd148e18c33f3ec8b8b2c7fff0ce57d7459c483d57f18119cbaafc85e856abec2c7205dba2caa04bbc03e03b216b6b1e065c029b08616f71bfd9
|
data/lib/scorm_engine/version.rb
CHANGED
@@ -0,0 +1,21 @@
|
|
1
|
+
RSpec.describe ScormEngine::Faraday::Connection do
|
2
|
+
before do
|
3
|
+
ScormEngine.configure do |config|
|
4
|
+
config.host = "scorm.engine"
|
5
|
+
config.username = "admin"
|
6
|
+
config.password = "secret"
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
describe "#base_uri" do
|
11
|
+
let(:uri) { scorm_engine_client.base_uri }
|
12
|
+
|
13
|
+
it "returns a URI::HTTPS instance" do
|
14
|
+
expect(uri).to be_a(URI::HTTPS)
|
15
|
+
end
|
16
|
+
|
17
|
+
it "is correct given the configuration" do
|
18
|
+
expect(uri.to_s).to eq "https://scorm.engine/ScormEngineInterface/api/v1/"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
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.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philip Hallstrom
|
@@ -360,6 +360,7 @@ files:
|
|
360
360
|
- spec/scorm_engine/api/endpoints/registrations/launch_history_spec.rb
|
361
361
|
- spec/scorm_engine/api/endpoints/registrations_spec.rb
|
362
362
|
- spec/scorm_engine/configuration_spec.rb
|
363
|
+
- spec/scorm_engine/faraday/connection_spec.rb
|
363
364
|
- spec/scorm_engine/models/course_configuration_spec.rb
|
364
365
|
- spec/scorm_engine/models/course_import_spec.rb
|
365
366
|
- spec/scorm_engine/models/course_spec.rb
|