scormgen 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scormgen/generator.rb +2 -1
- data/lib/scormgen/version.rb +1 -1
- data/scormgen.gemspec +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c29b4a5ab2394296f1543ba32874a5ee8d140603
|
4
|
+
data.tar.gz: 3f10d4c21e9bf26b331b8fd94c923b2ece51cf33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5229f357a9c171b863ae5ad662714bf435f2289d8ad9ca69a1f51f86bf42cbecb8ca371330dd7c37dddd0a61e235e5c32712dc874894470894b771f224d49e5
|
7
|
+
data.tar.gz: 8fd202053193654b4d96f34963b31f5f3ae8c33bd5cfe2e9721c7873f57d87557f568c06eb704e068169c8d1be0490e703a8272a6b919f9dfd3bcd305e86678f
|
data/lib/scormgen/generator.rb
CHANGED
@@ -3,7 +3,7 @@ module Scormgen
|
|
3
3
|
class Generator
|
4
4
|
MANIFEST = 'imsmanifest.xml'
|
5
5
|
ZIP = 'module.zip'
|
6
|
-
IGNORED_FILES = [MANIFEST, ZIP, 'scorm_generator.rb', 'fire_app_log.txt', 'crossdomain.xml', 'config.rb']
|
6
|
+
IGNORED_FILES = [MANIFEST, ZIP, 'scorm_generator.rb', 'fire_app_log.txt', 'crossdomain.xml', 'config.rb', 'robots.txt']
|
7
7
|
|
8
8
|
def run(identifier=nil, name=nil)
|
9
9
|
@identifier = identifier.nil? ? default_identifier : identifier
|
@@ -87,6 +87,7 @@ module Scormgen
|
|
87
87
|
end
|
88
88
|
|
89
89
|
def zip_files
|
90
|
+
# FIXME no folder!
|
90
91
|
puts "Zipping"
|
91
92
|
Zip::File.open(ZIP, Zip::File::CREATE) do |zipfile|
|
92
93
|
@files.each do |file|
|
data/lib/scormgen/version.rb
CHANGED
data/scormgen.gemspec
CHANGED
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.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnaud Levy
|
@@ -53,6 +53,20 @@ dependencies:
|
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '10.0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: byebug
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
56
70
|
description:
|
57
71
|
email:
|
58
72
|
- contact@arnaudlevy.com
|