scormgen 1.0.7 → 1.1.2

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
- SHA1:
3
- metadata.gz: c5efe0608df6cc7a279f37b4c610ee23c3729b69
4
- data.tar.gz: 332b75dbb74701746e3833a620b347c942e38c47
2
+ SHA256:
3
+ metadata.gz: cc4dfa14119918f5f9877ed11a052f1daea26e366f606261bcb3695ed25ed6c3
4
+ data.tar.gz: e1894fb3911f4462dd5e2ef9925e4f74a2203048f81fc05353d10b20449bf955
5
5
  SHA512:
6
- metadata.gz: 1f5650dd59dea3588ac994801eeeefb220e3caf24e20baeb7544e456e1fb82f0b69c22ba8bbcba9bbba37dabeb57b7f8467a0c32588340d1065f2dfc6ec6fb41
7
- data.tar.gz: d711b30570be08d859f2e2afbbdd4bc6f00e21602006a6be31b9a815d92b4c0c817bd21b841bcdac8cab84b9566abbc20b7d8f6a765cca2292dc53e9f6701c65
6
+ metadata.gz: d2f34dc63b789b5221062c8bf2d340d69c27a6f6a7a812d7104fa8577b6db18707b7f19c2c155dd6545d7838d72ea27744248ea7157c5fd66851a280f322d065
7
+ data.tar.gz: b4642663e5de6b9f0930a6dedaccb2e9883e0eb7713ce7b1ba08337343609bbe70583da48882a5a11bb3f48a4e79772ee3d776b339db5e878348e83c7aa81801
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.3.3
1
+ 2.7.2
@@ -67,9 +67,9 @@ module Scormgen
67
67
  </metadata>
68
68
  <organizations default=\"#{@identifier}\">
69
69
  <organization identifier=\"#{@identifier}\">
70
- <title>#{@name}</title>
70
+ <title><![CDATA[#{@name}]]></title>
71
71
  <item identifier=\"item-1\" identifierref=\"elearning\">
72
- <title>#{@name}</title>
72
+ <title><![CDATA[#{@name}]]></title>
73
73
  </item>
74
74
  </organization>
75
75
  </organizations>
@@ -77,7 +77,7 @@ module Scormgen
77
77
  <resource identifier=\"elearning\" type=\"webcontent\" adlcp:scormType=\"sco\" href=\"index.html\">
78
78
  "
79
79
  @files.each do |file|
80
- imsmanifest += " <file href=\"#{file}\" />
80
+ imsmanifest += " <file href=\"#{file.gsub('&', '&amp;')}\" />
81
81
  "
82
82
  end
83
83
  imsmanifest += " </resource>
@@ -93,7 +93,7 @@ module Scormgen
93
93
  def zip_files
94
94
  puts "Zipping"
95
95
  Zip::File.open(ZIP, Zip::File::CREATE) do |zipfile|
96
- @files.each do |file|
96
+ @files.each do |file|
97
97
  puts "Adding #{file} to zip"
98
98
  zipfile.add file, file
99
99
  end
@@ -1,3 +1,3 @@
1
1
  module Scormgen
2
- VERSION = '1.0.7'
2
+ VERSION = '1.1.2'
3
3
  end
data/scormgen.gemspec CHANGED
@@ -7,10 +7,10 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "scormgen"
8
8
  spec.version = Scormgen::VERSION
9
9
  spec.authors = ["Arnaud Levy", "Pierre-André Boissinot"]
10
- spec.email = ["contact@arnaudlevy.com", "pabois@lespoupees.paris"]
10
+ spec.email = ["contact@arnaudlevy.com", "paboissinot@lespoupees.paris"]
11
11
 
12
12
  spec.summary = 'Easy SCORM manifest generation'
13
- spec.homepage = 'https://github.com/semiodesign/scormgen'
13
+ spec.homepage = 'https://github.com/lespoupeesrusses/scormgen'
14
14
 
15
15
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
16
16
  f.match(%r{^(test|spec|features)/})
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_dependency "rubyzip"
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.15"
25
- spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "bundler"
25
+ spec.add_development_dependency "rake"
26
26
  spec.add_development_dependency "byebug"
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scormgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Levy
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-08-07 00:00:00.000000000 Z
12
+ date: 2022-09-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubyzip
@@ -29,30 +29,30 @@ dependencies:
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '1.15'
34
+ version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: '1.15'
41
+ version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: '10.0'
48
+ version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: '10.0'
55
+ version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: byebug
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -70,7 +70,7 @@ dependencies:
70
70
  description:
71
71
  email:
72
72
  - contact@arnaudlevy.com
73
- - pabois@lespoupees.paris
73
+ - paboissinot@lespoupees.paris
74
74
  executables:
75
75
  - scormgen
76
76
  extensions: []
@@ -90,7 +90,7 @@ files:
90
90
  - lib/scormgen/generator.rb
91
91
  - lib/scormgen/version.rb
92
92
  - scormgen.gemspec
93
- homepage: https://github.com/semiodesign/scormgen
93
+ homepage: https://github.com/lespoupeesrusses/scormgen
94
94
  licenses: []
95
95
  metadata: {}
96
96
  post_install_message:
@@ -108,8 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubyforge_project:
112
- rubygems_version: 2.5.2
111
+ rubygems_version: 3.1.4
113
112
  signing_key:
114
113
  specification_version: 4
115
114
  summary: Easy SCORM manifest generation