multi_version_common_cartridge 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.rspec +1 -0
- data/.rubocop.yml +54 -0
- data/Gemfile +2 -0
- data/LICENSE +674 -0
- data/README.md +36 -0
- data/lib/multi_version_common_cartridge.rb +38 -0
- data/lib/multi_version_common_cartridge/cartridge.rb +53 -0
- data/lib/multi_version_common_cartridge/cartridge_versions.rb +25 -0
- data/lib/multi_version_common_cartridge/item.rb +29 -0
- data/lib/multi_version_common_cartridge/manifest.rb +33 -0
- data/lib/multi_version_common_cartridge/resources/basic_lti_link.rb +46 -0
- data/lib/multi_version_common_cartridge/resources/resource.rb +23 -0
- data/lib/multi_version_common_cartridge/sax_machine_nokogiri_xml_saver.rb +85 -0
- data/lib/multi_version_common_cartridge/version.rb +19 -0
- data/lib/multi_version_common_cartridge/writers/basic_lti_extension_writer.rb +45 -0
- data/lib/multi_version_common_cartridge/writers/basic_lti_link_writer.rb +241 -0
- data/lib/multi_version_common_cartridge/writers/basic_lti_vendor_writer.rb +66 -0
- data/lib/multi_version_common_cartridge/writers/cartridge_writer.rb +85 -0
- data/lib/multi_version_common_cartridge/writers/factory.rb +59 -0
- data/lib/multi_version_common_cartridge/writers/item_writer.rb +60 -0
- data/lib/multi_version_common_cartridge/writers/manifest_metadata_writer.rb +62 -0
- data/lib/multi_version_common_cartridge/writers/manifest_organization_writer.rb +67 -0
- data/lib/multi_version_common_cartridge/writers/manifest_resources_writer.rb +48 -0
- data/lib/multi_version_common_cartridge/writers/manifest_writer.rb +88 -0
- data/lib/multi_version_common_cartridge/writers/resource_writer.rb +53 -0
- data/lib/multi_version_common_cartridge/writers/supported_versions.rb +37 -0
- data/lib/multi_version_common_cartridge/xml_definitions.rb +149 -0
- data/multi_version_common_cartridge.gemspec +27 -0
- metadata +163 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
|
4
|
+
require 'multi_version_common_cartridge/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'multi_version_common_cartridge'
|
8
|
+
spec.version = MultiVersionCommonCartridge::VERSION
|
9
|
+
spec.authors = ['Vista Higher Learning, Inc.']
|
10
|
+
spec.email = ['ops@vistahigherlearning.com', 'remy@cassia.tech']
|
11
|
+
spec.summary = 'Creates IMS Common Cartridge files, supporting ' \
|
12
|
+
'several versions of the CC standard.'
|
13
|
+
spec.description = 'Target versions supported: 1.1, 1.2, 1.3; Thin 1.2, 1.3'
|
14
|
+
spec.homepage = 'https://github.com/vhl/multi_version_common_cartridge'
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |file|
|
17
|
+
file.match(%r{^(test|spec|features)/})
|
18
|
+
end
|
19
|
+
|
20
|
+
spec.add_dependency 'activesupport', '> 2.0', '< 6.0'
|
21
|
+
spec.add_dependency 'common_cartridge_parser', '1.0.0'
|
22
|
+
|
23
|
+
spec.add_development_dependency 'rspec', '~> 3.8'
|
24
|
+
spec.add_development_dependency 'rubocop', '0.58.2'
|
25
|
+
spec.add_development_dependency 'rubocop-rspec', '1.30.0'
|
26
|
+
spec.add_development_dependency 'simplecov', '~> 0.16'
|
27
|
+
end
|
metadata
ADDED
@@ -0,0 +1,163 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: multi_version_common_cartridge
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Vista Higher Learning, Inc.
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-09-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
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: '6.0'
|
23
|
+
type: :runtime
|
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: '6.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: common_cartridge_parser
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - '='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 1.0.0
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - '='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.0.0
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rspec
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3.8'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '3.8'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rubocop
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - '='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 0.58.2
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - '='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 0.58.2
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rubocop-rspec
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - '='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 1.30.0
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - '='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 1.30.0
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: simplecov
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0.16'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0.16'
|
103
|
+
description: 'Target versions supported: 1.1, 1.2, 1.3; Thin 1.2, 1.3'
|
104
|
+
email:
|
105
|
+
- ops@vistahigherlearning.com
|
106
|
+
- remy@cassia.tech
|
107
|
+
executables: []
|
108
|
+
extensions: []
|
109
|
+
extra_rdoc_files: []
|
110
|
+
files:
|
111
|
+
- ".gitignore"
|
112
|
+
- ".rspec"
|
113
|
+
- ".rubocop.yml"
|
114
|
+
- Gemfile
|
115
|
+
- LICENSE
|
116
|
+
- README.md
|
117
|
+
- lib/multi_version_common_cartridge.rb
|
118
|
+
- lib/multi_version_common_cartridge/cartridge.rb
|
119
|
+
- lib/multi_version_common_cartridge/cartridge_versions.rb
|
120
|
+
- lib/multi_version_common_cartridge/item.rb
|
121
|
+
- lib/multi_version_common_cartridge/manifest.rb
|
122
|
+
- lib/multi_version_common_cartridge/resources/basic_lti_link.rb
|
123
|
+
- lib/multi_version_common_cartridge/resources/resource.rb
|
124
|
+
- lib/multi_version_common_cartridge/sax_machine_nokogiri_xml_saver.rb
|
125
|
+
- lib/multi_version_common_cartridge/version.rb
|
126
|
+
- lib/multi_version_common_cartridge/writers/basic_lti_extension_writer.rb
|
127
|
+
- lib/multi_version_common_cartridge/writers/basic_lti_link_writer.rb
|
128
|
+
- lib/multi_version_common_cartridge/writers/basic_lti_vendor_writer.rb
|
129
|
+
- lib/multi_version_common_cartridge/writers/cartridge_writer.rb
|
130
|
+
- lib/multi_version_common_cartridge/writers/factory.rb
|
131
|
+
- lib/multi_version_common_cartridge/writers/item_writer.rb
|
132
|
+
- lib/multi_version_common_cartridge/writers/manifest_metadata_writer.rb
|
133
|
+
- lib/multi_version_common_cartridge/writers/manifest_organization_writer.rb
|
134
|
+
- lib/multi_version_common_cartridge/writers/manifest_resources_writer.rb
|
135
|
+
- lib/multi_version_common_cartridge/writers/manifest_writer.rb
|
136
|
+
- lib/multi_version_common_cartridge/writers/resource_writer.rb
|
137
|
+
- lib/multi_version_common_cartridge/writers/supported_versions.rb
|
138
|
+
- lib/multi_version_common_cartridge/xml_definitions.rb
|
139
|
+
- multi_version_common_cartridge.gemspec
|
140
|
+
homepage: https://github.com/vhl/multi_version_common_cartridge
|
141
|
+
licenses: []
|
142
|
+
metadata: {}
|
143
|
+
post_install_message:
|
144
|
+
rdoc_options: []
|
145
|
+
require_paths:
|
146
|
+
- lib
|
147
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - ">="
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '0'
|
157
|
+
requirements: []
|
158
|
+
rubygems_version: 3.0.4
|
159
|
+
signing_key:
|
160
|
+
specification_version: 4
|
161
|
+
summary: Creates IMS Common Cartridge files, supporting several versions of the CC
|
162
|
+
standard.
|
163
|
+
test_files: []
|