active_public_resources 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +19 -0
- data/.rspec +1 -0
- data/.travis.yml +3 -0
- data/Gemfile +24 -0
- data/Guardfile +9 -0
- data/LICENSE.txt +18 -0
- data/README.md +326 -0
- data/Rakefile +7 -0
- data/active_public_resources.gemspec +27 -0
- data/active_public_resources_config.yml.example +10 -0
- data/lib/active_public_resources/base_response_type.rb +11 -0
- data/lib/active_public_resources/base_return_type.rb +17 -0
- data/lib/active_public_resources/client.rb +22 -0
- data/lib/active_public_resources/driver.rb +21 -0
- data/lib/active_public_resources/driver_response.rb +15 -0
- data/lib/active_public_resources/drivers/khan_academy.rb +143 -0
- data/lib/active_public_resources/drivers/quizlet.rb +92 -0
- data/lib/active_public_resources/drivers/schooltube.rb +99 -0
- data/lib/active_public_resources/drivers/vimeo.rb +181 -0
- data/lib/active_public_resources/drivers/youtube.rb +113 -0
- data/lib/active_public_resources/request_criteria.rb +51 -0
- data/lib/active_public_resources/response_types/exercise.rb +11 -0
- data/lib/active_public_resources/response_types/folder.rb +18 -0
- data/lib/active_public_resources/response_types/image.rb +11 -0
- data/lib/active_public_resources/response_types/quiz.rb +11 -0
- data/lib/active_public_resources/response_types/video.rb +12 -0
- data/lib/active_public_resources/return_types/file.rb +11 -0
- data/lib/active_public_resources/return_types/iframe.rb +11 -0
- data/lib/active_public_resources/return_types/image_url.rb +11 -0
- data/lib/active_public_resources/return_types/oembed.rb +11 -0
- data/lib/active_public_resources/return_types/url.rb +11 -0
- data/lib/active_public_resources/version.rb +3 -0
- data/lib/active_public_resources.rb +55 -0
- data/spec/lib/active_public_resources/client_spec.rb +75 -0
- data/spec/lib/active_public_resources/driver_spec.rb +48 -0
- data/spec/lib/active_public_resources/drivers/khan_academy_spec.rb +106 -0
- data/spec/lib/active_public_resources/drivers/quizlet_spec.rb +50 -0
- data/spec/lib/active_public_resources/drivers/schooltube_spec.rb +50 -0
- data/spec/lib/active_public_resources/drivers/vimeo_spec.rb +71 -0
- data/spec/lib/active_public_resources/drivers/youtube_spec.rb +52 -0
- data/spec/lib/active_public_resources/live_client_spec.rb +91 -0
- data/spec/lib/active_public_resources/request_criteria_spec.rb +53 -0
- data/spec/spec_helper.rb +46 -0
- data/spec/vcr/active_public_resources/client/khan_academy_should_traverse_folders.yml +1039 -0
- data/spec/vcr/active_public_resources/client/quizlet_should_perform_request.yml +70 -0
- data/spec/vcr/active_public_resources/client/shooltube_should_perform_request.yml +815 -0
- data/spec/vcr/active_public_resources/client/vimeo_should_perform_request.yml +70 -0
- data/spec/vcr/active_public_resources/client/youtube_should_perform_request.yml +212 -0
- data/spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_folder_cs/programming.yml +117 -0
- data/spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_folder_cs.yml +72 -0
- data/spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_folder_science/mcat/society_and_culture/social_structures.yml +578 -0
- data/spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_root_folders.yml +122 -0
- data/spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_folder_cs/programming.yml +120 -0
- data/spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_folder_cs.yml +73 -0
- data/spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_folder_science/mcat/society_and_culture/social_structures.yml +577 -0
- data/spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_root_folders.yml +119 -0
- data/spec/vcr/active_public_resources/drivers/quizlet_driver_perform_request/should_perform_request.yml +75 -0
- data/spec/vcr/active_public_resources/drivers/quizlet_perform_request/should_perform_request.yml +72 -0
- data/spec/vcr/active_public_resources/drivers/schooltube_driver_perform_request/should_perform_request.yml +815 -0
- data/spec/vcr/active_public_resources/drivers/schooltube_perform_request/should_perform_request.yml +810 -0
- data/spec/vcr/active_public_resources/drivers/vimeo_driver_perform_request/should_perform_request.yml +279 -0
- data/spec/vcr/active_public_resources/drivers/vimeo_perform_request/should_perform_request.yml +70 -0
- data/spec/vcr/active_public_resources/drivers/youtube_driver_perform_request/should_perform_request.yml +212 -0
- data/spec/vcr/active_public_resources/drivers/youtube_perform_request/should_perform_request.yml +209 -0
- metadata +182 -0
metadata
ADDED
@@ -0,0 +1,182 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: active_public_resources
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eric Berry
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-12-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: active_support
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: vimeo
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.5.3
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.5.3
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.3'
|
55
|
+
description: ' Normalized searching and browsing of public resources '
|
56
|
+
email:
|
57
|
+
- cavneb@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- .gitignore
|
63
|
+
- .rspec
|
64
|
+
- .travis.yml
|
65
|
+
- Gemfile
|
66
|
+
- Guardfile
|
67
|
+
- LICENSE.txt
|
68
|
+
- README.md
|
69
|
+
- Rakefile
|
70
|
+
- active_public_resources.gemspec
|
71
|
+
- active_public_resources_config.yml.example
|
72
|
+
- lib/active_public_resources.rb
|
73
|
+
- lib/active_public_resources/base_response_type.rb
|
74
|
+
- lib/active_public_resources/base_return_type.rb
|
75
|
+
- lib/active_public_resources/client.rb
|
76
|
+
- lib/active_public_resources/driver.rb
|
77
|
+
- lib/active_public_resources/driver_response.rb
|
78
|
+
- lib/active_public_resources/drivers/khan_academy.rb
|
79
|
+
- lib/active_public_resources/drivers/quizlet.rb
|
80
|
+
- lib/active_public_resources/drivers/schooltube.rb
|
81
|
+
- lib/active_public_resources/drivers/vimeo.rb
|
82
|
+
- lib/active_public_resources/drivers/youtube.rb
|
83
|
+
- lib/active_public_resources/request_criteria.rb
|
84
|
+
- lib/active_public_resources/response_types/exercise.rb
|
85
|
+
- lib/active_public_resources/response_types/folder.rb
|
86
|
+
- lib/active_public_resources/response_types/image.rb
|
87
|
+
- lib/active_public_resources/response_types/quiz.rb
|
88
|
+
- lib/active_public_resources/response_types/video.rb
|
89
|
+
- lib/active_public_resources/return_types/file.rb
|
90
|
+
- lib/active_public_resources/return_types/iframe.rb
|
91
|
+
- lib/active_public_resources/return_types/image_url.rb
|
92
|
+
- lib/active_public_resources/return_types/oembed.rb
|
93
|
+
- lib/active_public_resources/return_types/url.rb
|
94
|
+
- lib/active_public_resources/version.rb
|
95
|
+
- spec/lib/active_public_resources/client_spec.rb
|
96
|
+
- spec/lib/active_public_resources/driver_spec.rb
|
97
|
+
- spec/lib/active_public_resources/drivers/khan_academy_spec.rb
|
98
|
+
- spec/lib/active_public_resources/drivers/quizlet_spec.rb
|
99
|
+
- spec/lib/active_public_resources/drivers/schooltube_spec.rb
|
100
|
+
- spec/lib/active_public_resources/drivers/vimeo_spec.rb
|
101
|
+
- spec/lib/active_public_resources/drivers/youtube_spec.rb
|
102
|
+
- spec/lib/active_public_resources/live_client_spec.rb
|
103
|
+
- spec/lib/active_public_resources/request_criteria_spec.rb
|
104
|
+
- spec/spec_helper.rb
|
105
|
+
- spec/vcr/active_public_resources/client/khan_academy_should_traverse_folders.yml
|
106
|
+
- spec/vcr/active_public_resources/client/quizlet_should_perform_request.yml
|
107
|
+
- spec/vcr/active_public_resources/client/shooltube_should_perform_request.yml
|
108
|
+
- spec/vcr/active_public_resources/client/vimeo_should_perform_request.yml
|
109
|
+
- spec/vcr/active_public_resources/client/youtube_should_perform_request.yml
|
110
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_folder_cs.yml
|
111
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_folder_cs/programming.yml
|
112
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_folder_science/mcat/society_and_culture/social_structures.yml
|
113
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_root_folders.yml
|
114
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_folder_cs.yml
|
115
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_folder_cs/programming.yml
|
116
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_folder_science/mcat/society_and_culture/social_structures.yml
|
117
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_root_folders.yml
|
118
|
+
- spec/vcr/active_public_resources/drivers/quizlet_driver_perform_request/should_perform_request.yml
|
119
|
+
- spec/vcr/active_public_resources/drivers/quizlet_perform_request/should_perform_request.yml
|
120
|
+
- spec/vcr/active_public_resources/drivers/schooltube_driver_perform_request/should_perform_request.yml
|
121
|
+
- spec/vcr/active_public_resources/drivers/schooltube_perform_request/should_perform_request.yml
|
122
|
+
- spec/vcr/active_public_resources/drivers/vimeo_driver_perform_request/should_perform_request.yml
|
123
|
+
- spec/vcr/active_public_resources/drivers/vimeo_perform_request/should_perform_request.yml
|
124
|
+
- spec/vcr/active_public_resources/drivers/youtube_driver_perform_request/should_perform_request.yml
|
125
|
+
- spec/vcr/active_public_resources/drivers/youtube_perform_request/should_perform_request.yml
|
126
|
+
homepage: https://github.com/instructure/active_public_resources
|
127
|
+
licenses:
|
128
|
+
- MIT
|
129
|
+
metadata: {}
|
130
|
+
post_install_message:
|
131
|
+
rdoc_options: []
|
132
|
+
require_paths:
|
133
|
+
- lib
|
134
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
requirements: []
|
145
|
+
rubyforge_project:
|
146
|
+
rubygems_version: 2.0.6
|
147
|
+
signing_key:
|
148
|
+
specification_version: 4
|
149
|
+
summary: Normalized searching and browsing of public resources
|
150
|
+
test_files:
|
151
|
+
- spec/lib/active_public_resources/client_spec.rb
|
152
|
+
- spec/lib/active_public_resources/driver_spec.rb
|
153
|
+
- spec/lib/active_public_resources/drivers/khan_academy_spec.rb
|
154
|
+
- spec/lib/active_public_resources/drivers/quizlet_spec.rb
|
155
|
+
- spec/lib/active_public_resources/drivers/schooltube_spec.rb
|
156
|
+
- spec/lib/active_public_resources/drivers/vimeo_spec.rb
|
157
|
+
- spec/lib/active_public_resources/drivers/youtube_spec.rb
|
158
|
+
- spec/lib/active_public_resources/live_client_spec.rb
|
159
|
+
- spec/lib/active_public_resources/request_criteria_spec.rb
|
160
|
+
- spec/spec_helper.rb
|
161
|
+
- spec/vcr/active_public_resources/client/khan_academy_should_traverse_folders.yml
|
162
|
+
- spec/vcr/active_public_resources/client/quizlet_should_perform_request.yml
|
163
|
+
- spec/vcr/active_public_resources/client/shooltube_should_perform_request.yml
|
164
|
+
- spec/vcr/active_public_resources/client/vimeo_should_perform_request.yml
|
165
|
+
- spec/vcr/active_public_resources/client/youtube_should_perform_request.yml
|
166
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_folder_cs.yml
|
167
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_folder_cs/programming.yml
|
168
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_folder_science/mcat/society_and_culture/social_structures.yml
|
169
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_driver_perform_request/should_get_root_folders.yml
|
170
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_folder_cs.yml
|
171
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_folder_cs/programming.yml
|
172
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_folder_science/mcat/society_and_culture/social_structures.yml
|
173
|
+
- spec/vcr/active_public_resources/drivers/khan_academy_perform_request/should_get_root_folders.yml
|
174
|
+
- spec/vcr/active_public_resources/drivers/quizlet_driver_perform_request/should_perform_request.yml
|
175
|
+
- spec/vcr/active_public_resources/drivers/quizlet_perform_request/should_perform_request.yml
|
176
|
+
- spec/vcr/active_public_resources/drivers/schooltube_driver_perform_request/should_perform_request.yml
|
177
|
+
- spec/vcr/active_public_resources/drivers/schooltube_perform_request/should_perform_request.yml
|
178
|
+
- spec/vcr/active_public_resources/drivers/vimeo_driver_perform_request/should_perform_request.yml
|
179
|
+
- spec/vcr/active_public_resources/drivers/vimeo_perform_request/should_perform_request.yml
|
180
|
+
- spec/vcr/active_public_resources/drivers/youtube_driver_perform_request/should_perform_request.yml
|
181
|
+
- spec/vcr/active_public_resources/drivers/youtube_perform_request/should_perform_request.yml
|
182
|
+
has_rdoc:
|