ruby_captivate 1.0.34 → 1.0.35
Sign up to get free protection for your applications and to get access to all the features.
- data/README.txt +8 -16
- data/{ruby_captivate-1.0.33.gem → ruby_captivate-1.0.34.gem} +0 -0
- data/ruby_captivate.gemspec +1 -1
- metadata +4 -87
- data/README.txt~ +0 -59
- data/Rakefile~ +0 -22
- data/pkg/ruby_captivate-1.0.0/.autotest +0 -23
- data/pkg/ruby_captivate-1.0.0/.gemtest +0 -0
- data/pkg/ruby_captivate-1.0.0/History.txt +0 -6
- data/pkg/ruby_captivate-1.0.0/Manifest.txt +0 -8
- data/pkg/ruby_captivate-1.0.0/README.txt +0 -59
- data/pkg/ruby_captivate-1.0.0/Rakefile +0 -22
- data/pkg/ruby_captivate-1.0.0/bin/ruby_captivate +0 -11
- data/pkg/ruby_captivate-1.0.0/lib/ruby_captivate.rb +0 -20
- data/pkg/ruby_captivate-1.0.0/test/test_ruby_captivate.rb +0 -8
- data/pkg/ruby_captivate-1.0.0.gem +0 -0
- data/pkg/ruby_captivate-1.0.1/.autotest +0 -23
- data/pkg/ruby_captivate-1.0.1/.gemtest +0 -0
- data/pkg/ruby_captivate-1.0.1/History.txt +0 -6
- data/pkg/ruby_captivate-1.0.1/Manifest.txt +0 -8
- data/pkg/ruby_captivate-1.0.1/README.txt +0 -59
- data/pkg/ruby_captivate-1.0.1/Rakefile +0 -22
- data/pkg/ruby_captivate-1.0.1/bin/ruby_captivate +0 -11
- data/pkg/ruby_captivate-1.0.1/lib/ruby_captivate.rb +0 -20
- data/pkg/ruby_captivate-1.0.1/test/test_ruby_captivate.rb +0 -8
- data/pkg/ruby_captivate-1.0.1.gem +0 -0
- data/pkg/ruby_captivate-1.0.2/.autotest +0 -23
- data/pkg/ruby_captivate-1.0.2/.gemtest +0 -0
- data/pkg/ruby_captivate-1.0.2/History.txt +0 -6
- data/pkg/ruby_captivate-1.0.2/Manifest.txt +0 -8
- data/pkg/ruby_captivate-1.0.2/README.txt +0 -59
- data/pkg/ruby_captivate-1.0.2/Rakefile +0 -22
- data/pkg/ruby_captivate-1.0.2/bin/ruby_captivate +0 -11
- data/pkg/ruby_captivate-1.0.2/lib/ruby_captivate.rb +0 -20
- data/pkg/ruby_captivate-1.0.2/test/test_ruby_captivate.rb +0 -8
- data/pkg/ruby_captivate-1.0.2.gem +0 -0
- data/pkg/ruby_captivate-1.0.3/.autotest +0 -23
- data/pkg/ruby_captivate-1.0.3/.gemtest +0 -0
- data/pkg/ruby_captivate-1.0.3/History.txt +0 -6
- data/pkg/ruby_captivate-1.0.3/Manifest.txt +0 -8
- data/pkg/ruby_captivate-1.0.3/README.txt +0 -59
- data/pkg/ruby_captivate-1.0.3/Rakefile +0 -22
- data/pkg/ruby_captivate-1.0.3/bin/ruby_captivate +0 -11
- data/pkg/ruby_captivate-1.0.3/lib/ruby_captivate.rb +0 -20
- data/pkg/ruby_captivate-1.0.3/test/test_ruby_captivate.rb +0 -8
- data/pkg/ruby_captivate-1.0.3.gem +0 -0
- data/pkg/ruby_captivate-1.0.4/.autotest +0 -23
- data/pkg/ruby_captivate-1.0.4/.gemtest +0 -0
- data/pkg/ruby_captivate-1.0.4/History.txt +0 -6
- data/pkg/ruby_captivate-1.0.4/Manifest.txt +0 -8
- data/pkg/ruby_captivate-1.0.4/README.txt +0 -59
- data/pkg/ruby_captivate-1.0.4/Rakefile +0 -22
- data/pkg/ruby_captivate-1.0.4/bin/ruby_captivate +0 -11
- data/pkg/ruby_captivate-1.0.4/lib/ruby_captivate.rb +0 -20
- data/pkg/ruby_captivate-1.0.4/test/test_ruby_captivate.rb +0 -8
- data/pkg/ruby_captivate-1.0.4.gem +0 -0
- data/pkg/ruby_captivate-1.0.5/.autotest +0 -23
- data/pkg/ruby_captivate-1.0.5/.gemtest +0 -0
- data/pkg/ruby_captivate-1.0.5/History.txt +0 -6
- data/pkg/ruby_captivate-1.0.5/Manifest.txt +0 -8
- data/pkg/ruby_captivate-1.0.5/README.txt +0 -59
- data/pkg/ruby_captivate-1.0.5/Rakefile +0 -22
- data/pkg/ruby_captivate-1.0.5/bin/ruby_captivate +0 -11
- data/pkg/ruby_captivate-1.0.5/lib/ruby_captivate.rb +0 -20
- data/pkg/ruby_captivate-1.0.5/test/test_ruby_captivate.rb +0 -8
- data/pkg/ruby_captivate-1.0.5.gem +0 -0
- data/pkg/ruby_captivate-1.0.6/.autotest +0 -23
- data/pkg/ruby_captivate-1.0.6/.gemtest +0 -0
- data/pkg/ruby_captivate-1.0.6/History.txt +0 -6
- data/pkg/ruby_captivate-1.0.6/Manifest.txt +0 -8
- data/pkg/ruby_captivate-1.0.6/README.txt +0 -59
- data/pkg/ruby_captivate-1.0.6/Rakefile +0 -22
- data/pkg/ruby_captivate-1.0.6/bin/ruby_captivate +0 -11
- data/pkg/ruby_captivate-1.0.6/lib/ruby_captivate.rb +0 -20
- data/pkg/ruby_captivate-1.0.6/test/test_ruby_captivate.rb +0 -8
- data/pkg/ruby_captivate-1.0.6.gem +0 -0
- data/pkg/ruby_captivate-1.0.7/.autotest +0 -23
- data/pkg/ruby_captivate-1.0.7/.gemtest +0 -0
- data/pkg/ruby_captivate-1.0.7/History.txt +0 -6
- data/pkg/ruby_captivate-1.0.7/Manifest.txt +0 -8
- data/pkg/ruby_captivate-1.0.7/README.txt +0 -59
- data/pkg/ruby_captivate-1.0.7/Rakefile +0 -22
- data/pkg/ruby_captivate-1.0.7/bin/ruby_captivate +0 -11
- data/pkg/ruby_captivate-1.0.7/lib/ruby_captivate.rb +0 -20
- data/pkg/ruby_captivate-1.0.7/test/test_ruby_captivate.rb +0 -8
- data/pkg/ruby_captivate-1.0.7.gem +0 -0
- data/ruby_captivate.gemspec~ +0 -20
@@ -1,59 +0,0 @@
|
|
1
|
-
= ruby_captivate
|
2
|
-
|
3
|
-
https://github.com/Leveton/ruby_captivate
|
4
|
-
|
5
|
-
== DESCRIPTION:
|
6
|
-
|
7
|
-
Process Adobe Captivate SWF files with Ruby.
|
8
|
-
|
9
|
-
== FEATURES/PROBLEMS:
|
10
|
-
|
11
|
-
In your Captivate instance, you must specify a target URL of http://www.<yourdomain.com>/ruby_captivate
|
12
|
-
|
13
|
-
More detailed instructions on how to set up the reporting of results at the Captivate end can be found here: https://tv.adobe.com/watch/publish-and-track-results/reporting-using-lms-or-internal-server/
|
14
|
-
|
15
|
-
== SYNOPSIS:
|
16
|
-
Creates a "captivate_results" directory in the "doc" directory of your project. In "captivate_results", XML files containing the Captivate quiz results will be appear after a quiz completed. Creates the necessary route and controller upon calling "rails generate ruby_captivate:install"
|
17
|
-
After installation, take a Captivate quiz and check for a generated XML file in 'doc/captivate_results/'. You can then use the Nokogiri gem to parse the results. http://rubygems.org/gems/nokogiri
|
18
|
-
|
19
|
-
== REQUIREMENTS:
|
20
|
-
|
21
|
-
Tested on rails >= 3.0
|
22
|
-
|
23
|
-
== INSTALL:
|
24
|
-
|
25
|
-
rails generate ruby_captivate:install
|
26
|
-
|
27
|
-
== DEVELOPERS:
|
28
|
-
|
29
|
-
After checking out the source, run:
|
30
|
-
|
31
|
-
$ rake newb
|
32
|
-
|
33
|
-
This task will install any missing dependencies, run the tests/specs,
|
34
|
-
and generate the RDoc.
|
35
|
-
|
36
|
-
== LICENSE:
|
37
|
-
|
38
|
-
(The MIT License)
|
39
|
-
|
40
|
-
Copyright (c) 2012 Michael Leveton
|
41
|
-
|
42
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
43
|
-
a copy of this software and associated documentation files (the
|
44
|
-
'Software'), to deal in the Software without restriction, including
|
45
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
46
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
47
|
-
permit persons to whom the Software is furnished to do so, subject to
|
48
|
-
the following conditions:
|
49
|
-
|
50
|
-
The above copyright notice and this permission notice shall be
|
51
|
-
included in all copies or substantial portions of the Software.
|
52
|
-
|
53
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
54
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
55
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
56
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
57
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
58
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
59
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
require 'hoe'
|
5
|
-
|
6
|
-
# Hoe.plugin :compiler
|
7
|
-
# Hoe.plugin :gem_prelude_sucks
|
8
|
-
# Hoe.plugin :inline
|
9
|
-
# Hoe.plugin :racc
|
10
|
-
# Hoe.plugin :rubyforge
|
11
|
-
|
12
|
-
Hoe.spec 'ruby_captivate' do
|
13
|
-
# HEY! If you fill these out in ~/.hoe_template/Rakefile.erb then
|
14
|
-
# you'll never have to touch them again!
|
15
|
-
# (delete this comment too, of course)
|
16
|
-
|
17
|
-
developer('Michael Leveton', 'mleveton@prepcloud.com')
|
18
|
-
|
19
|
-
# self.rubyforge_name = 'ruby_captivatex' # if different than 'ruby_captivate'
|
20
|
-
end
|
21
|
-
|
22
|
-
# vim: syntax=ruby
|
@@ -1,11 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'ruby_captivate'
|
3
|
-
#puts RubyCaptivate.hola(ARGV[0])
|
4
|
-
|
5
|
-
class InitializerGenerator < Rails::Generators::Base
|
6
|
-
def create_initializer_file
|
7
|
-
create_file "config/initializers/initializer.rb", "# Add initialization content here"
|
8
|
-
end
|
9
|
-
end
|
10
|
-
|
11
|
-
abort "you need to write me"
|
@@ -1,20 +0,0 @@
|
|
1
|
-
class RubyCaptivate
|
2
|
-
VERSION = '1.0.7'
|
3
|
-
|
4
|
-
def process_captivate_results
|
5
|
-
company_name = params[:CompanyName]
|
6
|
-
department_name = params[:DepartmentName]
|
7
|
-
course_name = params[:CourseName]
|
8
|
-
file_name = params[:Filename]
|
9
|
-
file_data = params[:Filedata]
|
10
|
-
file_path = File.join("#{Rails.root}/doc", "CaptivateResults", company_name, department_name, course_name)
|
11
|
-
FileUtils.mkdir_p(file_path)
|
12
|
-
file_path = File.join(file_path, file_name)
|
13
|
-
handle = File.open(file_path, 'w' )
|
14
|
-
handle << file_data
|
15
|
-
handle.close
|
16
|
-
#file_save = File.open(handle)
|
17
|
-
end
|
18
|
-
|
19
|
-
|
20
|
-
end
|
Binary file
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
|
3
|
-
require 'autotest/restart'
|
4
|
-
|
5
|
-
# Autotest.add_hook :initialize do |at|
|
6
|
-
# at.extra_files << "../some/external/dependency.rb"
|
7
|
-
#
|
8
|
-
# at.libs << ":../some/external"
|
9
|
-
#
|
10
|
-
# at.add_exception 'vendor'
|
11
|
-
#
|
12
|
-
# at.add_mapping(/dependency.rb/) do |f, _|
|
13
|
-
# at.files_matching(/test_.*rb$/)
|
14
|
-
# end
|
15
|
-
#
|
16
|
-
# %w(TestA TestB).each do |klass|
|
17
|
-
# at.extra_class_map[klass] = "test/test_misc.rb"
|
18
|
-
# end
|
19
|
-
# end
|
20
|
-
|
21
|
-
# Autotest.add_hook :run_command do |at|
|
22
|
-
# system "rake build"
|
23
|
-
# end
|
File without changes
|
@@ -1,59 +0,0 @@
|
|
1
|
-
= ruby_captivate
|
2
|
-
|
3
|
-
https://github.com/Leveton/ruby_captivate
|
4
|
-
|
5
|
-
== DESCRIPTION:
|
6
|
-
|
7
|
-
Process Adobe Captivate SWF files with Ruby.
|
8
|
-
|
9
|
-
== FEATURES/PROBLEMS:
|
10
|
-
|
11
|
-
In your Captivate instance, you must specify a target URL of http://www.<yourdomain.com>/ruby_captivate
|
12
|
-
|
13
|
-
More detailed instructions on how to set up the reporting of results at the Captivate end can be found here: https://tv.adobe.com/watch/publish-and-track-results/reporting-using-lms-or-internal-server/
|
14
|
-
|
15
|
-
== SYNOPSIS:
|
16
|
-
Creates a "captivate_results" directory in the "doc" directory of your project. In "captivate_results", XML files containing the Captivate quiz results will be appear after a quiz completed. Creates the necessary route and controller upon calling "rails generate ruby_captivate:install"
|
17
|
-
After installation, take a Captivate quiz and check for a generated XML file in 'doc/captivate_results/'. You can then use the Nokogiri gem to parse the results. http://rubygems.org/gems/nokogiri
|
18
|
-
|
19
|
-
== REQUIREMENTS:
|
20
|
-
|
21
|
-
Tested on rails >= 3.0
|
22
|
-
|
23
|
-
== INSTALL:
|
24
|
-
|
25
|
-
rails generate ruby_captivate:install
|
26
|
-
|
27
|
-
== DEVELOPERS:
|
28
|
-
|
29
|
-
After checking out the source, run:
|
30
|
-
|
31
|
-
$ rake newb
|
32
|
-
|
33
|
-
This task will install any missing dependencies, run the tests/specs,
|
34
|
-
and generate the RDoc.
|
35
|
-
|
36
|
-
== LICENSE:
|
37
|
-
|
38
|
-
(The MIT License)
|
39
|
-
|
40
|
-
Copyright (c) 2012 Michael Leveton
|
41
|
-
|
42
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
43
|
-
a copy of this software and associated documentation files (the
|
44
|
-
'Software'), to deal in the Software without restriction, including
|
45
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
46
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
47
|
-
permit persons to whom the Software is furnished to do so, subject to
|
48
|
-
the following conditions:
|
49
|
-
|
50
|
-
The above copyright notice and this permission notice shall be
|
51
|
-
included in all copies or substantial portions of the Software.
|
52
|
-
|
53
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
54
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
55
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
56
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
57
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
58
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
59
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
require 'hoe'
|
5
|
-
|
6
|
-
# Hoe.plugin :compiler
|
7
|
-
# Hoe.plugin :gem_prelude_sucks
|
8
|
-
# Hoe.plugin :inline
|
9
|
-
# Hoe.plugin :racc
|
10
|
-
# Hoe.plugin :rubyforge
|
11
|
-
|
12
|
-
Hoe.spec 'ruby_captivate' do
|
13
|
-
# HEY! If you fill these out in ~/.hoe_template/Rakefile.erb then
|
14
|
-
# you'll never have to touch them again!
|
15
|
-
# (delete this comment too, of course)
|
16
|
-
|
17
|
-
developer('Michael Leveton', 'mleveton@prepcloud.com')
|
18
|
-
|
19
|
-
# self.rubyforge_name = 'ruby_captivatex' # if different than 'ruby_captivate'
|
20
|
-
end
|
21
|
-
|
22
|
-
# vim: syntax=ruby
|
@@ -1,11 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'ruby_captivate'
|
3
|
-
#puts RubyCaptivate.hola(ARGV[0])
|
4
|
-
|
5
|
-
class InitializerGenerator < Rails::Generators::Base
|
6
|
-
def create_initializer_file
|
7
|
-
create_file "config/initializers/initializer.rb", "# Add initialization content here"
|
8
|
-
end
|
9
|
-
end
|
10
|
-
|
11
|
-
abort "you need to write me"
|
@@ -1,20 +0,0 @@
|
|
1
|
-
class RubyCaptivate
|
2
|
-
VERSION = '1.0.7'
|
3
|
-
|
4
|
-
def process_captivate_results
|
5
|
-
company_name = params[:CompanyName]
|
6
|
-
department_name = params[:DepartmentName]
|
7
|
-
course_name = params[:CourseName]
|
8
|
-
file_name = params[:Filename]
|
9
|
-
file_data = params[:Filedata]
|
10
|
-
file_path = File.join("#{Rails.root}/doc", "CaptivateResults", company_name, department_name, course_name)
|
11
|
-
FileUtils.mkdir_p(file_path)
|
12
|
-
file_path = File.join(file_path, file_name)
|
13
|
-
handle = File.open(file_path, 'w' )
|
14
|
-
handle << file_data
|
15
|
-
handle.close
|
16
|
-
#file_save = File.open(handle)
|
17
|
-
end
|
18
|
-
|
19
|
-
|
20
|
-
end
|
Binary file
|
data/ruby_captivate.gemspec~
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
$:.push File.expand_path("../lib", __FILE__)
|
2
|
-
|
3
|
-
Gem::Specification.new do |s|
|
4
|
-
s.name = "ruby_captivate"
|
5
|
-
s.version = "1.0.33"
|
6
|
-
s.authors = ["Michael Leveton"]
|
7
|
-
s.date = %q{2012-01-27}
|
8
|
-
s.description = 'Adobe Captivate reporting for Ruby'
|
9
|
-
s.summary = s.description
|
10
|
-
s.email = 'mleveton@prepcloud.com'
|
11
|
-
s.files = `git ls-files`.split("\n")
|
12
|
-
#s.files = ['README.txt', 'lib/ruby_captivate.rb','test/test_ruby_captivate.rb', 'bin/install.rb', 'bin/initializer_generator.rb']
|
13
|
-
s.homepage = 'https://github.com/Leveton/ruby_captivate'
|
14
|
-
s.has_rdoc = true
|
15
|
-
s.rubyforge_project = 'ruby_captivate'
|
16
|
-
s.bindir = "bin"
|
17
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
18
|
-
s.require_paths = ["lib"]
|
19
|
-
s.add_dependency('thor')
|
20
|
-
end
|