gaffo-jasmine_webos 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt ADDED
@@ -0,0 +1,4 @@
1
+ === 0.0.1 2009-09-17
2
+
3
+ * 1 major enhancement:
4
+ * Initial release
data/Manifest.txt ADDED
@@ -0,0 +1,22 @@
1
+ History.txt
2
+ Manifest.txt
3
+ PostInstall.txt
4
+ README.rdoc
5
+ Rakefile
6
+ bin/jasmine_webos
7
+ lib/jasminewebos.rb
8
+ lib/jasminewebos/cli.rb
9
+ lib/jasminewebos/configuration.rb
10
+ lib/jasminewebos/generator.rb
11
+ lib/jasminewebos/server.rb
12
+ templates/webos/spec/javascript/matchers/all_matchers.js
13
+ templates/webos/spec/javascript/spec/sample_spec.js
14
+ vendor/jasmine/lib/jasmine.css
15
+ vendor/jasmine/lib/jasmine-0.9.0.js
16
+ vendor/jasmine/lib/json2.js
17
+ vendor/jasmine/lib/TrivialReporter.js
18
+ vendor/jasmine/contrib/ruby/run.html
19
+ vendor/jasmine/contrib/ruby/jasmine_spec_builder.rb
20
+ vendor/jasmine/contrib/ruby/jasmine_runner.rb
21
+ vendor/jasmine/contrib/ruby/spec/jasmine_runner_spec.rb
22
+ jslib/prototype.js
data/PostInstall.txt ADDED
@@ -0,0 +1,6 @@
1
+ For more information on jasminewebos, see http://github.com/gaffo/jasmine_webos
2
+
3
+ NOTE: Change this information in PostInstall.txt
4
+ You can also delete it if you don't want it.
5
+
6
+
data/README.rdoc ADDED
@@ -0,0 +1,38 @@
1
+ = jasminewebos
2
+
3
+ * http://github.com/gaffo/jasmine_webos
4
+
5
+ == DESCRIPTION:
6
+
7
+ Generates the stub files needed for testing with jasmine on a webos application.
8
+ Runs a server to view your tests against.
9
+
10
+ == INSTALL:
11
+
12
+ sudo gem source -a http://gems.github.com
13
+ sudo gem install gaffo-jasmine_webos
14
+
15
+ == LICENSE:
16
+
17
+ (The MIT License)
18
+
19
+ Copyright (c) 2009 Mike Gaffney
20
+
21
+ Permission is hereby granted, free of charge, to any person obtaining
22
+ a copy of this software and associated documentation files (the
23
+ 'Software'), to deal in the Software without restriction, including
24
+ without limitation the rights to use, copy, modify, merge, publish,
25
+ distribute, sublicense, and/or sell copies of the Software, and to
26
+ permit persons to whom the Software is furnished to do so, subject to
27
+ the following conditions:
28
+
29
+ The above copyright notice and this permission notice shall be
30
+ included in all copies or substantial portions of the Software.
31
+
32
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
33
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
34
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
35
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
36
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
37
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
38
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,26 @@
1
+ require 'rubygems'
2
+ gem 'hoe', '>= 2.1.0'
3
+ require 'hoe'
4
+ require 'fileutils'
5
+ require './lib/jasminewebos'
6
+
7
+ Hoe.plugin :newgem
8
+ # Hoe.plugin :website
9
+ # Hoe.plugin :cucumberfeatures
10
+
11
+ # Generate all the Rake tasks
12
+ # Run 'rake -T' to see list of generated tasks (from gem root directory)
13
+ $hoe = Hoe.spec 'jasmine_webos' do
14
+ self.developer 'Mike Gaffney', 'mr.gaffo@gmail.com'
15
+ self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
16
+ self.rubyforge_name = self.name # TODO this is default value
17
+ # self.extra_deps = [['activesupport','>= 2.0.2']]
18
+
19
+ end
20
+
21
+ require 'newgem/tasks'
22
+ Dir['tasks/**/*.rake'].each { |t| load t }
23
+
24
+ # TODO - want other tests/tasks run by default? Add them to the list
25
+ # remove_task :default
26
+ # task :default => [:spec, :features]
data/bin/jasmine_webos ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Created on 2009-9-17.
4
+ # Copyright (c) 2009. All rights reserved.
5
+
6
+ require 'rubygems'
7
+ require File.expand_path(File.dirname(__FILE__) + "/../lib/jasminewebos")
8
+
9
+ Jasminewebos::CLI.execute(STDOUT, ARGV)