learnosity_utils 0.1.0
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 +7 -0
- data/.gitignore +37 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/encodings.xml +4 -0
- data/.idea/inspectionProfiles/Project_Default.xml +6 -0
- data/.idea/misc.xml +9 -0
- data/.idea/modules.xml +8 -0
- data/.travis.yml +7 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +58 -0
- data/Rakefile +7 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/learnosity_utils.gemspec +31 -0
- data/learnosity_utils.iml +25 -0
- data/lib/learnosity_utils/configuration.rb +16 -0
- data/lib/learnosity_utils/end_point.rb +7 -0
- data/lib/learnosity_utils/endpoint/base.rb +37 -0
- data/lib/learnosity_utils/endpoint/item_bank.rb +54 -0
- data/lib/learnosity_utils/version.rb +3 -0
- data/lib/learnosity_utils.rb +21 -0
- metadata +173 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a94f32079d14ff4036af3f9c27d7c63a80b2b2d31a13ce4b89a472722f3994fb
|
|
4
|
+
data.tar.gz: 1f57385b2641a30206657d0af915a20824cc3aaa186785b28d4d07e03b7cdde8
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 36191e1812ab8f9d1547d93b38b8703f48eee076c7cc5695c374f7b3b1059e96721d8994884f29bdaaef5f3211c9d5cc85e69979db8c525d0552042469d092eb
|
|
7
|
+
data.tar.gz: b31e201739963b019ae87273126fb1b908185b600b45462cd291addb7f5139b15f29a2ea1c9de1c6cb4d2e9dfbb167b85a4fc7875e4155aebed090b3eb66f62e
|
data/.gitignore
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# User-specific stuff:
|
|
2
|
+
.idea/**/workspace.xml
|
|
3
|
+
.idea/**/tasks.xml
|
|
4
|
+
.idea/dictionaries
|
|
5
|
+
.idea/vcs.xml
|
|
6
|
+
|
|
7
|
+
# Sensitive or high-churn files:
|
|
8
|
+
.idea/**/dataSources/
|
|
9
|
+
.idea/**/dataSources.ids
|
|
10
|
+
.idea/**/dataSources.xml
|
|
11
|
+
.idea/**/dataSources.local.xml
|
|
12
|
+
.idea/**/sqlDataSources.xml
|
|
13
|
+
.idea/**/dynamic.xml
|
|
14
|
+
.idea/**/uiDesigner.xml
|
|
15
|
+
|
|
16
|
+
.rspec_status
|
|
17
|
+
.rspec
|
|
18
|
+
|
|
19
|
+
# user provided
|
|
20
|
+
config.yml
|
|
21
|
+
|
|
22
|
+
# ignore for gems
|
|
23
|
+
gemfile.lock
|
|
24
|
+
*.gem
|
|
25
|
+
.config
|
|
26
|
+
.rvmrc
|
|
27
|
+
rdoc
|
|
28
|
+
|
|
29
|
+
/.bundle/
|
|
30
|
+
/.yardoc
|
|
31
|
+
/_yardoc/
|
|
32
|
+
/coverage/
|
|
33
|
+
/doc/
|
|
34
|
+
/pkg/
|
|
35
|
+
/spec/reports/
|
|
36
|
+
/tmp/
|
|
37
|
+
|
data/.idea/.rakeTasks
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
|
3
|
+
You are allowed to:
|
|
4
|
+
1. Remove rake task
|
|
5
|
+
2. Add existing rake tasks
|
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build learnosity_utils-0.0.1.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install learnosity_utils-0.0.1.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install learnosity_utils-0.0.1.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.0.1 and build and push learnosity_utils-0.0.1.gem to rubygems.org" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup><RakeTask description="" fullCmd="test" taksId="test" /></RakeGroup></Settings>
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="NodePackageJsonFileManager">
|
|
4
|
+
<packageJsonPaths />
|
|
5
|
+
</component>
|
|
6
|
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="false" project-jdk-name="ruby-2.5.3-p105" project-jdk-type="RUBY_SDK">
|
|
7
|
+
<output url="file://$PROJECT_DIR$/out" />
|
|
8
|
+
</component>
|
|
9
|
+
</project>
|
data/.idea/modules.xml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/learnosity_utils.iml" filepath="$PROJECT_DIR$/learnosity_utils.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 Chris Connell
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# LearnosityUtils
|
|
2
|
+
|
|
3
|
+
LearnosityUtils wraps the ```learnosity-sdk``` gem, adding easy user configuration, and preset method generation for commonly used [Learnosity Data Api](https://reference.learnosity.com/data-api) **itembank** endpoints
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Add this line to your application's Gemfile:
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
gem 'learnosity_utils'
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
And then execute:
|
|
14
|
+
|
|
15
|
+
$ bundle install
|
|
16
|
+
|
|
17
|
+
Or install it yourself as:
|
|
18
|
+
|
|
19
|
+
$ gem install learnosity_utils
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
After installation you'll need configure the gem with your Learnosity provided credentials.
|
|
24
|
+
|
|
25
|
+
```ruby
|
|
26
|
+
LearnosityUtils.configure do |config|
|
|
27
|
+
config.consumer_secret = '74c5fd430cf1242a527f6223aebd42d30464be22'
|
|
28
|
+
config.security_packet = {
|
|
29
|
+
'consumer_key' => 'yis0TYCu7U9V4o7M',
|
|
30
|
+
'domain' => 'localhost'
|
|
31
|
+
}
|
|
32
|
+
end
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Note: _The example contains **demo** credentials exposed by Learnosity's [data-api demo site](https://demos.learnosity.com/analytics/data/index.php)_
|
|
36
|
+
|
|
37
|
+
The itembank endpoints currently accessible as **getters** and **setters** are:
|
|
38
|
+
* items
|
|
39
|
+
* items_tags
|
|
40
|
+
* questions
|
|
41
|
+
* features
|
|
42
|
+
* activities
|
|
43
|
+
|
|
44
|
+
When performing a **get** request, the only parameter necessary is an array of reference IDs
|
|
45
|
+
|
|
46
|
+
```ruby
|
|
47
|
+
references = ['1234567890']
|
|
48
|
+
|
|
49
|
+
LearnosityUtils::EndPoint::ItemBank.send(:get_items, references)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Code of Conduct
|
|
53
|
+
|
|
54
|
+
Everyone interacting in this codebase and issue tracker is expected to follow the [code of conduct](https://github.com/[USERNAME]/learnosity_utils/blob/master/CODE_OF_CONDUCT.md)
|
|
55
|
+
|
|
56
|
+
## License
|
|
57
|
+
|
|
58
|
+
The gem is available as open source under the terms of the [MIT license](https://opensource.org/licenses/MIT)
|
data/Rakefile
ADDED
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require 'bundler/setup'
|
|
4
|
+
require 'learnosity_utils'
|
|
5
|
+
|
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
8
|
+
|
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
+
# require "pry"
|
|
11
|
+
# Pry.start
|
|
12
|
+
|
|
13
|
+
require 'irb'
|
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
|
+
require_relative 'lib/learnosity_utils/version'
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |spec|
|
|
6
|
+
spec.name = 'learnosity_utils'
|
|
7
|
+
spec.version = LearnosityUtils::VERSION
|
|
8
|
+
spec.authors = ['Chris Connell']
|
|
9
|
+
spec.email = ['getinmypool@gmail.com']
|
|
10
|
+
|
|
11
|
+
spec.summary = 'An easy interface to learnosity endpoints with configuration support'
|
|
12
|
+
spec.homepage = 'https://github.com/LYNx785/learnosity_utils'
|
|
13
|
+
spec.license = 'MIT'
|
|
14
|
+
|
|
15
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
16
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
|
17
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
spec.bindir = 'exe'
|
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
22
|
+
spec.require_paths = ['lib']
|
|
23
|
+
|
|
24
|
+
spec.add_development_dependency 'bundler', '~>2.0', '>=2.0.1'
|
|
25
|
+
spec.add_development_dependency 'rake', '~>12.3', '>=12.3.2'
|
|
26
|
+
spec.add_development_dependency 'rspec', '~>3.8', '>=3.8.0'
|
|
27
|
+
spec.add_development_dependency 'webmock', '~>3.5', '>=3.5.1'
|
|
28
|
+
|
|
29
|
+
spec.add_runtime_dependency 'learnosity-sdk', '0.1.0'
|
|
30
|
+
spec.add_runtime_dependency 'rare', '~>0.1.1'
|
|
31
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
+
<exclude-output />
|
|
5
|
+
<content url="file://$MODULE_DIR$" />
|
|
6
|
+
<orderEntry type="jdk" jdkName="ruby-2.5.3-p105" jdkType="RUBY_SDK" />
|
|
7
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
+
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.6.0, ruby-2.5.3-p105) [gem]" level="application" />
|
|
9
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.0.1, ruby-2.5.3-p105) [gem]" level="application" />
|
|
10
|
+
<orderEntry type="library" scope="PROVIDED" name="crack (v0.4.3, ruby-2.5.3-p105) [gem]" level="application" />
|
|
11
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, ruby-2.5.3-p105) [gem]" level="application" />
|
|
12
|
+
<orderEntry type="library" scope="PROVIDED" name="hashdiff (v0.3.8, ruby-2.5.3-p105) [gem]" level="application" />
|
|
13
|
+
<orderEntry type="library" scope="PROVIDED" name="learnosity-sdk (v0.1.0, ruby-2.5.3-p105) [gem]" level="application" />
|
|
14
|
+
<orderEntry type="library" scope="PROVIDED" name="public_suffix (v3.0.3, ruby-2.5.3-p105) [gem]" level="application" />
|
|
15
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v12.3.2, ruby-2.5.3-p105) [gem]" level="application" />
|
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="rare (v0.1.1, ruby-2.5.3-p105) [gem]" level="application" />
|
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.8.0, ruby-2.5.3-p105) [gem]" level="application" />
|
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.8.0, ruby-2.5.3-p105) [gem]" level="application" />
|
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.8.2, ruby-2.5.3-p105) [gem]" level="application" />
|
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.8.0, ruby-2.5.3-p105) [gem]" level="application" />
|
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.8.0, ruby-2.5.3-p105) [gem]" level="application" />
|
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="safe_yaml (v1.0.5, ruby-2.5.3-p105) [gem]" level="application" />
|
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="webmock (v3.5.1, ruby-2.5.3-p105) [gem]" level="application" />
|
|
24
|
+
</component>
|
|
25
|
+
</module>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
module LearnosityUtils
|
|
2
|
+
class Configuration
|
|
3
|
+
attr_accessor :get_rate, :set_rate, :sort, :retry_delay,
|
|
4
|
+
:consumer_secret, :security_packet, :version
|
|
5
|
+
|
|
6
|
+
def initialize
|
|
7
|
+
@get_rate = 6000
|
|
8
|
+
@set_rate = 300
|
|
9
|
+
@sort = 'asc'
|
|
10
|
+
@retry_delay = 5
|
|
11
|
+
@consumer_secret = nil
|
|
12
|
+
@security_packet = nil
|
|
13
|
+
@version = '2019.1.LTS'
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
require 'net/http'
|
|
2
|
+
require 'learnosity/sdk/request/init'
|
|
3
|
+
|
|
4
|
+
module LearnosityUtils
|
|
5
|
+
module EndPoint
|
|
6
|
+
module Base
|
|
7
|
+
|
|
8
|
+
def request(data_request = nil, endpoint = nil, action = 'get', service = 'data')
|
|
9
|
+
init = Learnosity::Sdk::Request::Init.new(
|
|
10
|
+
service,
|
|
11
|
+
LearnosityUtils.configuration.security_packet,
|
|
12
|
+
LearnosityUtils.configuration.consumer_secret,
|
|
13
|
+
data_request,
|
|
14
|
+
action
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
request = init.generate
|
|
18
|
+
remote = Net::HTTP.post_form URI("#{site}#{endpoint}"), request
|
|
19
|
+
body = JSON.parse remote.body, symbolize_names: true
|
|
20
|
+
|
|
21
|
+
if body[:meta][:code] == 42000
|
|
22
|
+
sleep LearnosityUtils.configuration.retry_delay
|
|
23
|
+
request(data_request, endpoint, action, service)
|
|
24
|
+
else
|
|
25
|
+
body
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
private
|
|
30
|
+
|
|
31
|
+
def site
|
|
32
|
+
"https://data.learnosity.com/v#{LearnosityUtils.configuration.version}/"
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
require 'rare'
|
|
2
|
+
require_relative 'base'
|
|
3
|
+
|
|
4
|
+
module LearnosityUtils
|
|
5
|
+
module EndPoint
|
|
6
|
+
module ItemBank
|
|
7
|
+
include Base
|
|
8
|
+
|
|
9
|
+
extend self
|
|
10
|
+
|
|
11
|
+
endpoints = [:items, :items_tags, :questions, :features, :activities]
|
|
12
|
+
|
|
13
|
+
instance_eval do
|
|
14
|
+
endpoints.each do |endpoint|
|
|
15
|
+
define_method "get_#{endpoint}" do |references = [], options = {}|
|
|
16
|
+
Rare.throttle rpm: LearnosityUtils.configuration.get_rate, key: 'get' do
|
|
17
|
+
request({references: references, sort: LearnosityUtils.configuration.sort}.merge(options), method("#{endpoint}_endpoint").call)
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
define_method "set_#{endpoint}" do |collection = [], options = {}|
|
|
22
|
+
Rare.throttle rpm: LearnosityUtils.configuration.set_rate, key: 'set' do
|
|
23
|
+
remote = request({items: collection}.merge(options), method("#{endpoint}_endpoint").call, 'set')
|
|
24
|
+
remote[:meta][:status]
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
private
|
|
31
|
+
|
|
32
|
+
def items_endpoint
|
|
33
|
+
'itembank/items'
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def items_tags_endpoint
|
|
37
|
+
'itembank/items/tags'
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
def questions_endpoint
|
|
41
|
+
'itembank/questions'
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def features_endpoint
|
|
45
|
+
'itembank/features'
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
def activities_endpoint
|
|
49
|
+
'itembank/activities'
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
require_relative 'learnosity_utils/version'
|
|
2
|
+
require_relative 'learnosity_utils/end_point'
|
|
3
|
+
require_relative 'learnosity_utils/configuration'
|
|
4
|
+
|
|
5
|
+
module LearnosityUtils
|
|
6
|
+
extend self
|
|
7
|
+
|
|
8
|
+
attr_writer :configuration
|
|
9
|
+
|
|
10
|
+
def configuration
|
|
11
|
+
@configuration ||= Configuration.new
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def reset
|
|
15
|
+
@configuration = Configuration.new
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def configure
|
|
19
|
+
yield configuration
|
|
20
|
+
end
|
|
21
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: learnosity_utils
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Chris Connell
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2019-04-12 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: bundler
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '2.0'
|
|
20
|
+
- - ">="
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 2.0.1
|
|
23
|
+
type: :development
|
|
24
|
+
prerelease: false
|
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
26
|
+
requirements:
|
|
27
|
+
- - "~>"
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '2.0'
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 2.0.1
|
|
33
|
+
- !ruby/object:Gem::Dependency
|
|
34
|
+
name: rake
|
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '12.3'
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: 12.3.2
|
|
43
|
+
type: :development
|
|
44
|
+
prerelease: false
|
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
46
|
+
requirements:
|
|
47
|
+
- - "~>"
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: '12.3'
|
|
50
|
+
- - ">="
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: 12.3.2
|
|
53
|
+
- !ruby/object:Gem::Dependency
|
|
54
|
+
name: rspec
|
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
|
56
|
+
requirements:
|
|
57
|
+
- - "~>"
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: '3.8'
|
|
60
|
+
- - ">="
|
|
61
|
+
- !ruby/object:Gem::Version
|
|
62
|
+
version: 3.8.0
|
|
63
|
+
type: :development
|
|
64
|
+
prerelease: false
|
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
66
|
+
requirements:
|
|
67
|
+
- - "~>"
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
version: '3.8'
|
|
70
|
+
- - ">="
|
|
71
|
+
- !ruby/object:Gem::Version
|
|
72
|
+
version: 3.8.0
|
|
73
|
+
- !ruby/object:Gem::Dependency
|
|
74
|
+
name: webmock
|
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
|
76
|
+
requirements:
|
|
77
|
+
- - "~>"
|
|
78
|
+
- !ruby/object:Gem::Version
|
|
79
|
+
version: '3.5'
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: 3.5.1
|
|
83
|
+
type: :development
|
|
84
|
+
prerelease: false
|
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - "~>"
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '3.5'
|
|
90
|
+
- - ">="
|
|
91
|
+
- !ruby/object:Gem::Version
|
|
92
|
+
version: 3.5.1
|
|
93
|
+
- !ruby/object:Gem::Dependency
|
|
94
|
+
name: learnosity-sdk
|
|
95
|
+
requirement: !ruby/object:Gem::Requirement
|
|
96
|
+
requirements:
|
|
97
|
+
- - '='
|
|
98
|
+
- !ruby/object:Gem::Version
|
|
99
|
+
version: 0.1.0
|
|
100
|
+
type: :runtime
|
|
101
|
+
prerelease: false
|
|
102
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
103
|
+
requirements:
|
|
104
|
+
- - '='
|
|
105
|
+
- !ruby/object:Gem::Version
|
|
106
|
+
version: 0.1.0
|
|
107
|
+
- !ruby/object:Gem::Dependency
|
|
108
|
+
name: rare
|
|
109
|
+
requirement: !ruby/object:Gem::Requirement
|
|
110
|
+
requirements:
|
|
111
|
+
- - "~>"
|
|
112
|
+
- !ruby/object:Gem::Version
|
|
113
|
+
version: 0.1.1
|
|
114
|
+
type: :runtime
|
|
115
|
+
prerelease: false
|
|
116
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
117
|
+
requirements:
|
|
118
|
+
- - "~>"
|
|
119
|
+
- !ruby/object:Gem::Version
|
|
120
|
+
version: 0.1.1
|
|
121
|
+
description:
|
|
122
|
+
email:
|
|
123
|
+
- getinmypool@gmail.com
|
|
124
|
+
executables: []
|
|
125
|
+
extensions: []
|
|
126
|
+
extra_rdoc_files: []
|
|
127
|
+
files:
|
|
128
|
+
- ".gitignore"
|
|
129
|
+
- ".idea/.rakeTasks"
|
|
130
|
+
- ".idea/encodings.xml"
|
|
131
|
+
- ".idea/inspectionProfiles/Project_Default.xml"
|
|
132
|
+
- ".idea/misc.xml"
|
|
133
|
+
- ".idea/modules.xml"
|
|
134
|
+
- ".travis.yml"
|
|
135
|
+
- Gemfile
|
|
136
|
+
- LICENSE.txt
|
|
137
|
+
- README.md
|
|
138
|
+
- Rakefile
|
|
139
|
+
- bin/console
|
|
140
|
+
- bin/setup
|
|
141
|
+
- learnosity_utils.gemspec
|
|
142
|
+
- learnosity_utils.iml
|
|
143
|
+
- lib/learnosity_utils.rb
|
|
144
|
+
- lib/learnosity_utils/configuration.rb
|
|
145
|
+
- lib/learnosity_utils/end_point.rb
|
|
146
|
+
- lib/learnosity_utils/endpoint/base.rb
|
|
147
|
+
- lib/learnosity_utils/endpoint/item_bank.rb
|
|
148
|
+
- lib/learnosity_utils/version.rb
|
|
149
|
+
homepage: https://github.com/LYNx785/learnosity_utils
|
|
150
|
+
licenses:
|
|
151
|
+
- MIT
|
|
152
|
+
metadata: {}
|
|
153
|
+
post_install_message:
|
|
154
|
+
rdoc_options: []
|
|
155
|
+
require_paths:
|
|
156
|
+
- lib
|
|
157
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
|
+
requirements:
|
|
159
|
+
- - ">="
|
|
160
|
+
- !ruby/object:Gem::Version
|
|
161
|
+
version: '0'
|
|
162
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
|
+
requirements:
|
|
164
|
+
- - ">="
|
|
165
|
+
- !ruby/object:Gem::Version
|
|
166
|
+
version: '0'
|
|
167
|
+
requirements: []
|
|
168
|
+
rubyforge_project:
|
|
169
|
+
rubygems_version: 2.7.6
|
|
170
|
+
signing_key:
|
|
171
|
+
specification_version: 4
|
|
172
|
+
summary: An easy interface to learnosity endpoints with configuration support
|
|
173
|
+
test_files: []
|