tin_can_api 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +24 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +80 -0
- data/Rakefile +12 -0
- data/lib/tin_can_api/about.rb +15 -0
- data/lib/tin_can_api/activity.rb +41 -0
- data/lib/tin_can_api/activity_definition.rb +139 -0
- data/lib/tin_can_api/agent.rb +44 -0
- data/lib/tin_can_api/agent_account.rb +33 -0
- data/lib/tin_can_api/attachment.rb +64 -0
- data/lib/tin_can_api/client.rb +402 -0
- data/lib/tin_can_api/context.rb +54 -0
- data/lib/tin_can_api/context_activities.rb +102 -0
- data/lib/tin_can_api/documents/activity_profile_document.rb +15 -0
- data/lib/tin_can_api/documents/agent_profile_document.rb +15 -0
- data/lib/tin_can_api/documents/document.rb +20 -0
- data/lib/tin_can_api/documents/state_document.rb +15 -0
- data/lib/tin_can_api/enum.rb +42 -0
- data/lib/tin_can_api/errors.rb +9 -0
- data/lib/tin_can_api/group.rb +37 -0
- data/lib/tin_can_api/interaction_component.rb +32 -0
- data/lib/tin_can_api/interaction_type.rb +58 -0
- data/lib/tin_can_api/lrs_response.rb +14 -0
- data/lib/tin_can_api/query_result_format.rb +6 -0
- data/lib/tin_can_api/remote_lrs.rb +15 -0
- data/lib/tin_can_api/result.rb +45 -0
- data/lib/tin_can_api/score.rb +39 -0
- data/lib/tin_can_api/statement.rb +53 -0
- data/lib/tin_can_api/statement_ref.rb +31 -0
- data/lib/tin_can_api/statements/statements_base.rb +70 -0
- data/lib/tin_can_api/statements_query.rb +42 -0
- data/lib/tin_can_api/statements_query_v095.rb +42 -0
- data/lib/tin_can_api/statements_result.rb +17 -0
- data/lib/tin_can_api/sub_statement.rb +19 -0
- data/lib/tin_can_api/tcapi_version.rb +27 -0
- data/lib/tin_can_api/verb.rb +35 -0
- data/lib/tin_can_api/version.rb +4 -0
- data/lib/tin_can_api.rb +37 -0
- data/spec/fixtures/about.json +10 -0
- data/spec/fixtures/statement.json +33 -0
- data/spec/spec_helper.rb +106 -0
- data/spec/support/helpers.rb +43 -0
- data/spec/tin_can_api/activity_definition_spec.rb +37 -0
- data/spec/tin_can_api/activity_spec.rb +23 -0
- data/spec/tin_can_api/agent_account_spec.rb +13 -0
- data/spec/tin_can_api/agent_spec.rb +24 -0
- data/spec/tin_can_api/attachment_spec.rb +26 -0
- data/spec/tin_can_api/client_spec.rb +44 -0
- data/spec/tin_can_api/context_activities_spec.rb +57 -0
- data/spec/tin_can_api/context_spec.rb +32 -0
- data/spec/tin_can_api/group_spec.rb +15 -0
- data/spec/tin_can_api/interaction_component_spec.rb +18 -0
- data/spec/tin_can_api/result_spec.rb +26 -0
- data/spec/tin_can_api/score_spec.rb +12 -0
- data/spec/tin_can_api/statement_ref_spec.rb +19 -0
- data/spec/tin_can_api/statement_spec.rb +57 -0
- data/spec/tin_can_api/sub_statement_spec.rb +30 -0
- data/spec/tin_can_api/verb_spec.rb +17 -0
- data/tin_can_api.gemspec +30 -0
- metadata +238 -0
metadata
ADDED
@@ -0,0 +1,238 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tin_can_api
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Paul Coleman
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-03-27 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: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.2'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.10'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.10'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webmock
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.20'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.20'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: faraday
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.9'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.9'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: addressable
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ~>
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '2.3'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '2.3'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: ruby-duration
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.2'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.2'
|
125
|
+
description: A Ruby library for interacting with a Learning Record Store (LRS) using
|
126
|
+
the Tin Can API (Experience API)
|
127
|
+
email:
|
128
|
+
- pcoleman@coleman.co.uk
|
129
|
+
executables: []
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- .gitignore
|
134
|
+
- .rspec
|
135
|
+
- Gemfile
|
136
|
+
- LICENSE.txt
|
137
|
+
- README.md
|
138
|
+
- Rakefile
|
139
|
+
- lib/tin_can_api.rb
|
140
|
+
- lib/tin_can_api/about.rb
|
141
|
+
- lib/tin_can_api/activity.rb
|
142
|
+
- lib/tin_can_api/activity_definition.rb
|
143
|
+
- lib/tin_can_api/agent.rb
|
144
|
+
- lib/tin_can_api/agent_account.rb
|
145
|
+
- lib/tin_can_api/attachment.rb
|
146
|
+
- lib/tin_can_api/client.rb
|
147
|
+
- lib/tin_can_api/context.rb
|
148
|
+
- lib/tin_can_api/context_activities.rb
|
149
|
+
- lib/tin_can_api/documents/activity_profile_document.rb
|
150
|
+
- lib/tin_can_api/documents/agent_profile_document.rb
|
151
|
+
- lib/tin_can_api/documents/document.rb
|
152
|
+
- lib/tin_can_api/documents/state_document.rb
|
153
|
+
- lib/tin_can_api/enum.rb
|
154
|
+
- lib/tin_can_api/errors.rb
|
155
|
+
- lib/tin_can_api/group.rb
|
156
|
+
- lib/tin_can_api/interaction_component.rb
|
157
|
+
- lib/tin_can_api/interaction_type.rb
|
158
|
+
- lib/tin_can_api/lrs_response.rb
|
159
|
+
- lib/tin_can_api/query_result_format.rb
|
160
|
+
- lib/tin_can_api/remote_lrs.rb
|
161
|
+
- lib/tin_can_api/result.rb
|
162
|
+
- lib/tin_can_api/score.rb
|
163
|
+
- lib/tin_can_api/statement.rb
|
164
|
+
- lib/tin_can_api/statement_ref.rb
|
165
|
+
- lib/tin_can_api/statements/statements_base.rb
|
166
|
+
- lib/tin_can_api/statements_query.rb
|
167
|
+
- lib/tin_can_api/statements_query_v095.rb
|
168
|
+
- lib/tin_can_api/statements_result.rb
|
169
|
+
- lib/tin_can_api/sub_statement.rb
|
170
|
+
- lib/tin_can_api/tcapi_version.rb
|
171
|
+
- lib/tin_can_api/verb.rb
|
172
|
+
- lib/tin_can_api/version.rb
|
173
|
+
- spec/fixtures/about.json
|
174
|
+
- spec/fixtures/statement.json
|
175
|
+
- spec/spec_helper.rb
|
176
|
+
- spec/support/helpers.rb
|
177
|
+
- spec/tin_can_api/activity_definition_spec.rb
|
178
|
+
- spec/tin_can_api/activity_spec.rb
|
179
|
+
- spec/tin_can_api/agent_account_spec.rb
|
180
|
+
- spec/tin_can_api/agent_spec.rb
|
181
|
+
- spec/tin_can_api/attachment_spec.rb
|
182
|
+
- spec/tin_can_api/client_spec.rb
|
183
|
+
- spec/tin_can_api/context_activities_spec.rb
|
184
|
+
- spec/tin_can_api/context_spec.rb
|
185
|
+
- spec/tin_can_api/group_spec.rb
|
186
|
+
- spec/tin_can_api/interaction_component_spec.rb
|
187
|
+
- spec/tin_can_api/result_spec.rb
|
188
|
+
- spec/tin_can_api/score_spec.rb
|
189
|
+
- spec/tin_can_api/statement_ref_spec.rb
|
190
|
+
- spec/tin_can_api/statement_spec.rb
|
191
|
+
- spec/tin_can_api/sub_statement_spec.rb
|
192
|
+
- spec/tin_can_api/verb_spec.rb
|
193
|
+
- tin_can_api.gemspec
|
194
|
+
homepage: https://github.com/pwcoleman/TinCanRuby
|
195
|
+
licenses:
|
196
|
+
- MIT
|
197
|
+
metadata: {}
|
198
|
+
post_install_message:
|
199
|
+
rdoc_options: []
|
200
|
+
require_paths:
|
201
|
+
- lib
|
202
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - '>='
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '0'
|
207
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - '>='
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '0'
|
212
|
+
requirements: []
|
213
|
+
rubyforge_project:
|
214
|
+
rubygems_version: 2.4.3
|
215
|
+
signing_key:
|
216
|
+
specification_version: 4
|
217
|
+
summary: A Ruby library for implementing Tin Can API.
|
218
|
+
test_files:
|
219
|
+
- spec/fixtures/about.json
|
220
|
+
- spec/fixtures/statement.json
|
221
|
+
- spec/spec_helper.rb
|
222
|
+
- spec/support/helpers.rb
|
223
|
+
- spec/tin_can_api/activity_definition_spec.rb
|
224
|
+
- spec/tin_can_api/activity_spec.rb
|
225
|
+
- spec/tin_can_api/agent_account_spec.rb
|
226
|
+
- spec/tin_can_api/agent_spec.rb
|
227
|
+
- spec/tin_can_api/attachment_spec.rb
|
228
|
+
- spec/tin_can_api/client_spec.rb
|
229
|
+
- spec/tin_can_api/context_activities_spec.rb
|
230
|
+
- spec/tin_can_api/context_spec.rb
|
231
|
+
- spec/tin_can_api/group_spec.rb
|
232
|
+
- spec/tin_can_api/interaction_component_spec.rb
|
233
|
+
- spec/tin_can_api/result_spec.rb
|
234
|
+
- spec/tin_can_api/score_spec.rb
|
235
|
+
- spec/tin_can_api/statement_ref_spec.rb
|
236
|
+
- spec/tin_can_api/statement_spec.rb
|
237
|
+
- spec/tin_can_api/sub_statement_spec.rb
|
238
|
+
- spec/tin_can_api/verb_spec.rb
|