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.
Files changed (87) hide show
  1. data/README.txt +8 -16
  2. data/{ruby_captivate-1.0.33.gem → ruby_captivate-1.0.34.gem} +0 -0
  3. data/ruby_captivate.gemspec +1 -1
  4. metadata +4 -87
  5. data/README.txt~ +0 -59
  6. data/Rakefile~ +0 -22
  7. data/pkg/ruby_captivate-1.0.0/.autotest +0 -23
  8. data/pkg/ruby_captivate-1.0.0/.gemtest +0 -0
  9. data/pkg/ruby_captivate-1.0.0/History.txt +0 -6
  10. data/pkg/ruby_captivate-1.0.0/Manifest.txt +0 -8
  11. data/pkg/ruby_captivate-1.0.0/README.txt +0 -59
  12. data/pkg/ruby_captivate-1.0.0/Rakefile +0 -22
  13. data/pkg/ruby_captivate-1.0.0/bin/ruby_captivate +0 -11
  14. data/pkg/ruby_captivate-1.0.0/lib/ruby_captivate.rb +0 -20
  15. data/pkg/ruby_captivate-1.0.0/test/test_ruby_captivate.rb +0 -8
  16. data/pkg/ruby_captivate-1.0.0.gem +0 -0
  17. data/pkg/ruby_captivate-1.0.1/.autotest +0 -23
  18. data/pkg/ruby_captivate-1.0.1/.gemtest +0 -0
  19. data/pkg/ruby_captivate-1.0.1/History.txt +0 -6
  20. data/pkg/ruby_captivate-1.0.1/Manifest.txt +0 -8
  21. data/pkg/ruby_captivate-1.0.1/README.txt +0 -59
  22. data/pkg/ruby_captivate-1.0.1/Rakefile +0 -22
  23. data/pkg/ruby_captivate-1.0.1/bin/ruby_captivate +0 -11
  24. data/pkg/ruby_captivate-1.0.1/lib/ruby_captivate.rb +0 -20
  25. data/pkg/ruby_captivate-1.0.1/test/test_ruby_captivate.rb +0 -8
  26. data/pkg/ruby_captivate-1.0.1.gem +0 -0
  27. data/pkg/ruby_captivate-1.0.2/.autotest +0 -23
  28. data/pkg/ruby_captivate-1.0.2/.gemtest +0 -0
  29. data/pkg/ruby_captivate-1.0.2/History.txt +0 -6
  30. data/pkg/ruby_captivate-1.0.2/Manifest.txt +0 -8
  31. data/pkg/ruby_captivate-1.0.2/README.txt +0 -59
  32. data/pkg/ruby_captivate-1.0.2/Rakefile +0 -22
  33. data/pkg/ruby_captivate-1.0.2/bin/ruby_captivate +0 -11
  34. data/pkg/ruby_captivate-1.0.2/lib/ruby_captivate.rb +0 -20
  35. data/pkg/ruby_captivate-1.0.2/test/test_ruby_captivate.rb +0 -8
  36. data/pkg/ruby_captivate-1.0.2.gem +0 -0
  37. data/pkg/ruby_captivate-1.0.3/.autotest +0 -23
  38. data/pkg/ruby_captivate-1.0.3/.gemtest +0 -0
  39. data/pkg/ruby_captivate-1.0.3/History.txt +0 -6
  40. data/pkg/ruby_captivate-1.0.3/Manifest.txt +0 -8
  41. data/pkg/ruby_captivate-1.0.3/README.txt +0 -59
  42. data/pkg/ruby_captivate-1.0.3/Rakefile +0 -22
  43. data/pkg/ruby_captivate-1.0.3/bin/ruby_captivate +0 -11
  44. data/pkg/ruby_captivate-1.0.3/lib/ruby_captivate.rb +0 -20
  45. data/pkg/ruby_captivate-1.0.3/test/test_ruby_captivate.rb +0 -8
  46. data/pkg/ruby_captivate-1.0.3.gem +0 -0
  47. data/pkg/ruby_captivate-1.0.4/.autotest +0 -23
  48. data/pkg/ruby_captivate-1.0.4/.gemtest +0 -0
  49. data/pkg/ruby_captivate-1.0.4/History.txt +0 -6
  50. data/pkg/ruby_captivate-1.0.4/Manifest.txt +0 -8
  51. data/pkg/ruby_captivate-1.0.4/README.txt +0 -59
  52. data/pkg/ruby_captivate-1.0.4/Rakefile +0 -22
  53. data/pkg/ruby_captivate-1.0.4/bin/ruby_captivate +0 -11
  54. data/pkg/ruby_captivate-1.0.4/lib/ruby_captivate.rb +0 -20
  55. data/pkg/ruby_captivate-1.0.4/test/test_ruby_captivate.rb +0 -8
  56. data/pkg/ruby_captivate-1.0.4.gem +0 -0
  57. data/pkg/ruby_captivate-1.0.5/.autotest +0 -23
  58. data/pkg/ruby_captivate-1.0.5/.gemtest +0 -0
  59. data/pkg/ruby_captivate-1.0.5/History.txt +0 -6
  60. data/pkg/ruby_captivate-1.0.5/Manifest.txt +0 -8
  61. data/pkg/ruby_captivate-1.0.5/README.txt +0 -59
  62. data/pkg/ruby_captivate-1.0.5/Rakefile +0 -22
  63. data/pkg/ruby_captivate-1.0.5/bin/ruby_captivate +0 -11
  64. data/pkg/ruby_captivate-1.0.5/lib/ruby_captivate.rb +0 -20
  65. data/pkg/ruby_captivate-1.0.5/test/test_ruby_captivate.rb +0 -8
  66. data/pkg/ruby_captivate-1.0.5.gem +0 -0
  67. data/pkg/ruby_captivate-1.0.6/.autotest +0 -23
  68. data/pkg/ruby_captivate-1.0.6/.gemtest +0 -0
  69. data/pkg/ruby_captivate-1.0.6/History.txt +0 -6
  70. data/pkg/ruby_captivate-1.0.6/Manifest.txt +0 -8
  71. data/pkg/ruby_captivate-1.0.6/README.txt +0 -59
  72. data/pkg/ruby_captivate-1.0.6/Rakefile +0 -22
  73. data/pkg/ruby_captivate-1.0.6/bin/ruby_captivate +0 -11
  74. data/pkg/ruby_captivate-1.0.6/lib/ruby_captivate.rb +0 -20
  75. data/pkg/ruby_captivate-1.0.6/test/test_ruby_captivate.rb +0 -8
  76. data/pkg/ruby_captivate-1.0.6.gem +0 -0
  77. data/pkg/ruby_captivate-1.0.7/.autotest +0 -23
  78. data/pkg/ruby_captivate-1.0.7/.gemtest +0 -0
  79. data/pkg/ruby_captivate-1.0.7/History.txt +0 -6
  80. data/pkg/ruby_captivate-1.0.7/Manifest.txt +0 -8
  81. data/pkg/ruby_captivate-1.0.7/README.txt +0 -59
  82. data/pkg/ruby_captivate-1.0.7/Rakefile +0 -22
  83. data/pkg/ruby_captivate-1.0.7/bin/ruby_captivate +0 -11
  84. data/pkg/ruby_captivate-1.0.7/lib/ruby_captivate.rb +0 -20
  85. data/pkg/ruby_captivate-1.0.7/test/test_ruby_captivate.rb +0 -8
  86. data/pkg/ruby_captivate-1.0.7.gem +0 -0
  87. data/ruby_captivate.gemspec~ +0 -20
data/README.txt CHANGED
@@ -4,34 +4,26 @@ https://github.com/Leveton/ruby_captivate
4
4
 
5
5
  == DESCRIPTION:
6
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/
7
+ Process Adobe Captivate SWF files with Ruby on Rails 3.0+
14
8
 
15
9
  == 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"
10
+ After completing a Captivate quiz, a "captivate_results" directory is autocreated beneith the "doc" directory of your project. In this "captivate_results" directory, XML files containing the Captivate quiz results will also be autocreated.
17
11
  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
12
 
19
13
  == REQUIREMENTS:
20
14
 
21
- Tested on rails >= 3.0
15
+ Rails >= 3.0
22
16
 
23
17
  == INSTALL:
24
18
 
25
- rails generate ruby_captivate:install
26
-
27
- == DEVELOPERS:
19
+ **In your Captivate instance, you must specify a target URL of http://www.<yourdomain.com>/internalreport**
28
20
 
29
- After checking out the source, run:
21
+ Detailed instructions on how to set all this up on the Captivate end can be found at: https://tv.adobe.com/watch/publish-and-track-results/reporting-using-lms-or-internal-server/
30
22
 
31
- $ rake newb
23
+ gem install ruby_captivate
24
+ add the gem to your gemfile and then run the generator:
32
25
 
33
- This task will install any missing dependencies, run the tests/specs,
34
- and generate the RDoc.
26
+ rails generate ruby_captivate:install
35
27
 
36
28
  == LICENSE:
37
29
 
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "ruby_captivate"
5
- s.version = "1.0.34"
5
+ s.version = "1.0.35"
6
6
  s.authors = ["Michael Leveton"]
7
7
  s.date = %q{2012-01-27}
8
8
  s.description = 'Adobe Captivate reporting for Ruby'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_captivate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.34
4
+ version: 1.0.35
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &7525620 !ruby/object:Gem::Requirement
16
+ requirement: &21714820 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *7525620
24
+ version_requirements: *21714820
25
25
  description: Adobe Captivate reporting for Ruby
26
26
  email: mleveton@prepcloud.com
27
27
  executables:
@@ -38,9 +38,7 @@ files:
38
38
  - History.txt
39
39
  - Manifest.txt
40
40
  - README.txt
41
- - README.txt~
42
41
  - Rakefile
43
- - Rakefile~
44
42
  - bin/initializer_generator.rb
45
43
  - bin/initializer_generator.rb~
46
44
  - bin/install.rb
@@ -52,89 +50,8 @@ files:
52
50
  - lib/generators/ruby_captivate/install/install_generator.rb~
53
51
  - lib/generators/ruby_captivate/templates/captivate_results_controller.rb
54
52
  - lib/generators/ruby_captivate/templates/captivate_results_controller.rb~
55
- - pkg/ruby_captivate-1.0.0.gem
56
- - pkg/ruby_captivate-1.0.0/.autotest
57
- - pkg/ruby_captivate-1.0.0/.gemtest
58
- - pkg/ruby_captivate-1.0.0/History.txt
59
- - pkg/ruby_captivate-1.0.0/Manifest.txt
60
- - pkg/ruby_captivate-1.0.0/README.txt
61
- - pkg/ruby_captivate-1.0.0/Rakefile
62
- - pkg/ruby_captivate-1.0.0/bin/ruby_captivate
63
- - pkg/ruby_captivate-1.0.0/lib/ruby_captivate.rb
64
- - pkg/ruby_captivate-1.0.0/test/test_ruby_captivate.rb
65
- - pkg/ruby_captivate-1.0.1.gem
66
- - pkg/ruby_captivate-1.0.1/.autotest
67
- - pkg/ruby_captivate-1.0.1/.gemtest
68
- - pkg/ruby_captivate-1.0.1/History.txt
69
- - pkg/ruby_captivate-1.0.1/Manifest.txt
70
- - pkg/ruby_captivate-1.0.1/README.txt
71
- - pkg/ruby_captivate-1.0.1/Rakefile
72
- - pkg/ruby_captivate-1.0.1/bin/ruby_captivate
73
- - pkg/ruby_captivate-1.0.1/lib/ruby_captivate.rb
74
- - pkg/ruby_captivate-1.0.1/test/test_ruby_captivate.rb
75
- - pkg/ruby_captivate-1.0.2.gem
76
- - pkg/ruby_captivate-1.0.2/.autotest
77
- - pkg/ruby_captivate-1.0.2/.gemtest
78
- - pkg/ruby_captivate-1.0.2/History.txt
79
- - pkg/ruby_captivate-1.0.2/Manifest.txt
80
- - pkg/ruby_captivate-1.0.2/README.txt
81
- - pkg/ruby_captivate-1.0.2/Rakefile
82
- - pkg/ruby_captivate-1.0.2/bin/ruby_captivate
83
- - pkg/ruby_captivate-1.0.2/lib/ruby_captivate.rb
84
- - pkg/ruby_captivate-1.0.2/test/test_ruby_captivate.rb
85
- - pkg/ruby_captivate-1.0.3.gem
86
- - pkg/ruby_captivate-1.0.3/.autotest
87
- - pkg/ruby_captivate-1.0.3/.gemtest
88
- - pkg/ruby_captivate-1.0.3/History.txt
89
- - pkg/ruby_captivate-1.0.3/Manifest.txt
90
- - pkg/ruby_captivate-1.0.3/README.txt
91
- - pkg/ruby_captivate-1.0.3/Rakefile
92
- - pkg/ruby_captivate-1.0.3/bin/ruby_captivate
93
- - pkg/ruby_captivate-1.0.3/lib/ruby_captivate.rb
94
- - pkg/ruby_captivate-1.0.3/test/test_ruby_captivate.rb
95
- - pkg/ruby_captivate-1.0.4.gem
96
- - pkg/ruby_captivate-1.0.4/.autotest
97
- - pkg/ruby_captivate-1.0.4/.gemtest
98
- - pkg/ruby_captivate-1.0.4/History.txt
99
- - pkg/ruby_captivate-1.0.4/Manifest.txt
100
- - pkg/ruby_captivate-1.0.4/README.txt
101
- - pkg/ruby_captivate-1.0.4/Rakefile
102
- - pkg/ruby_captivate-1.0.4/bin/ruby_captivate
103
- - pkg/ruby_captivate-1.0.4/lib/ruby_captivate.rb
104
- - pkg/ruby_captivate-1.0.4/test/test_ruby_captivate.rb
105
- - pkg/ruby_captivate-1.0.5.gem
106
- - pkg/ruby_captivate-1.0.5/.autotest
107
- - pkg/ruby_captivate-1.0.5/.gemtest
108
- - pkg/ruby_captivate-1.0.5/History.txt
109
- - pkg/ruby_captivate-1.0.5/Manifest.txt
110
- - pkg/ruby_captivate-1.0.5/README.txt
111
- - pkg/ruby_captivate-1.0.5/Rakefile
112
- - pkg/ruby_captivate-1.0.5/bin/ruby_captivate
113
- - pkg/ruby_captivate-1.0.5/lib/ruby_captivate.rb
114
- - pkg/ruby_captivate-1.0.5/test/test_ruby_captivate.rb
115
- - pkg/ruby_captivate-1.0.6.gem
116
- - pkg/ruby_captivate-1.0.6/.autotest
117
- - pkg/ruby_captivate-1.0.6/.gemtest
118
- - pkg/ruby_captivate-1.0.6/History.txt
119
- - pkg/ruby_captivate-1.0.6/Manifest.txt
120
- - pkg/ruby_captivate-1.0.6/README.txt
121
- - pkg/ruby_captivate-1.0.6/Rakefile
122
- - pkg/ruby_captivate-1.0.6/bin/ruby_captivate
123
- - pkg/ruby_captivate-1.0.6/lib/ruby_captivate.rb
124
- - pkg/ruby_captivate-1.0.6/test/test_ruby_captivate.rb
125
- - pkg/ruby_captivate-1.0.7.gem
126
- - pkg/ruby_captivate-1.0.7/.autotest
127
- - pkg/ruby_captivate-1.0.7/.gemtest
128
- - pkg/ruby_captivate-1.0.7/History.txt
129
- - pkg/ruby_captivate-1.0.7/Manifest.txt
130
- - pkg/ruby_captivate-1.0.7/README.txt
131
- - pkg/ruby_captivate-1.0.7/Rakefile
132
- - pkg/ruby_captivate-1.0.7/bin/ruby_captivate
133
- - pkg/ruby_captivate-1.0.7/lib/ruby_captivate.rb
134
- - pkg/ruby_captivate-1.0.7/test/test_ruby_captivate.rb
135
- - ruby_captivate-1.0.33.gem
53
+ - ruby_captivate-1.0.34.gem
136
54
  - ruby_captivate.gemspec
137
- - ruby_captivate.gemspec~
138
55
  - test/test_ruby_captivate.rb
139
56
  homepage: https://github.com/Leveton/ruby_captivate
140
57
  licenses: []
data/README.txt~ DELETED
@@ -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. 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"
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.
data/Rakefile~ DELETED
@@ -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,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,6 +0,0 @@
1
- === 1.0.0 / 2012-01-28
2
-
3
- * 1 major enhancement
4
-
5
- * Birthday!
6
-
@@ -1,8 +0,0 @@
1
- .autotest
2
- History.txt
3
- Manifest.txt
4
- README.txt
5
- Rakefile
6
- bin/ruby_captivate
7
- lib/ruby_captivate.rb
8
- test/test_ruby_captivate.rb
@@ -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
@@ -1,8 +0,0 @@
1
- require "test/unit"
2
- require "ruby_captivate"
3
-
4
- class TestRubyCaptivate < Test::Unit::TestCase
5
- def test_sanity
6
- flunk "write tests or I will kneecap you"
7
- end
8
- 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