tagz 0.0.4 → 1.0.0
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/README +240 -0
- data/README.tmpl +240 -0
- data/install.rb +4 -0
- data/lib/tagz.rb +146 -351
- data/test/tagz.rb +226 -191
- metadata +3 -106
- data/lib/tagz/rails.rb +0 -198
- data/rails/README +0 -182
- data/rails/Rakefile +0 -10
- data/rails/app/controllers/application.rb +0 -7
- data/rails/app/controllers/tagz_controller.rb +0 -51
- data/rails/app/helpers/application_helper.rb +0 -3
- data/rails/app/helpers/tagz_helper.rb +0 -2
- data/rails/app/views/layouts/layout.rb +0 -16
- data/rails/app/views/tagz/b.rb +0 -19
- data/rails/app/views/tagz/c.rb +0 -9
- data/rails/app/views/tagz/d.rhtml +0 -17
- data/rails/app/views/tagz/e.rb +0 -3
- data/rails/config/boot.rb +0 -45
- data/rails/config/database.yml +0 -36
- data/rails/config/environment.rb +0 -65
- data/rails/config/environments/development.rb +0 -21
- data/rails/config/environments/production.rb +0 -18
- data/rails/config/environments/test.rb +0 -19
- data/rails/config/lighttpd.conf +0 -54
- data/rails/config/routes.rb +0 -23
- data/rails/doc/README_FOR_APP +0 -2
- data/rails/log/development.log +0 -6713
- data/rails/log/fastcgi.crash.log +0 -103
- data/rails/log/lighttpd.access.log +0 -171
- data/rails/log/lighttpd.error.log +0 -116
- data/rails/log/production.log +0 -0
- data/rails/log/server.log +0 -0
- data/rails/log/test.log +0 -0
- data/rails/public/404.html +0 -30
- data/rails/public/500.html +0 -30
- data/rails/public/dispatch.cgi +0 -10
- data/rails/public/dispatch.fcgi +0 -24
- data/rails/public/dispatch.rb +0 -10
- data/rails/public/favicon.ico +0 -0
- data/rails/public/images/rails.png +0 -0
- data/rails/public/index.html +0 -277
- data/rails/public/javascripts/application.js +0 -2
- data/rails/public/javascripts/controls.js +0 -833
- data/rails/public/javascripts/dragdrop.js +0 -942
- data/rails/public/javascripts/effects.js +0 -1088
- data/rails/public/javascripts/prototype.js +0 -2515
- data/rails/public/robots.txt +0 -1
- data/rails/script/about +0 -3
- data/rails/script/breakpointer +0 -3
- data/rails/script/console +0 -3
- data/rails/script/destroy +0 -3
- data/rails/script/generate +0 -3
- data/rails/script/performance/benchmarker +0 -3
- data/rails/script/performance/profiler +0 -3
- data/rails/script/plugin +0 -3
- data/rails/script/process/inspector +0 -3
- data/rails/script/process/reaper +0 -3
- data/rails/script/process/spawner +0 -3
- data/rails/script/runner +0 -3
- data/rails/script/server +0 -4
- data/rails/test/functional/tagz_controller_test.rb +0 -18
- data/rails/test/test_helper.rb +0 -28
- data/rails/tmp/cache/index.html-gzip-1958902-7552-1181801882 +0 -0
- data/rails/tmp/cache/javascripts/effects.js-gzip-1958907-38200-1181801882 +0 -0
- data/rails/tmp/cache/javascripts/prototype.js-gzip-1958906-71260-1181801882 +0 -0
- data/rails/tmp/sessions/ruby_sess.365e696810aa7418 +0 -0
- data/rails/tmp/sessions/ruby_sess.3ab0cb2f589d3855 +0 -0
- data/rails/tmp/sessions/ruby_sess.c812e68d96a6e99f +0 -0
- data/rails/tmp/sessions/ruby_sess.e0a954440a7e27d7 +0 -0
data/rails/public/robots.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
|
data/rails/script/about
DELETED
data/rails/script/breakpointer
DELETED
data/rails/script/console
DELETED
data/rails/script/destroy
DELETED
data/rails/script/generate
DELETED
data/rails/script/plugin
DELETED
data/rails/script/process/reaper
DELETED
data/rails/script/runner
DELETED
data/rails/script/server
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
require File.dirname(__FILE__) + '/../test_helper'
|
2
|
-
require 'tagz_controller'
|
3
|
-
|
4
|
-
# Re-raise errors caught by the controller.
|
5
|
-
class TagzController; def rescue_action(e) raise e end; end
|
6
|
-
|
7
|
-
class TagzControllerTest < Test::Unit::TestCase
|
8
|
-
def setup
|
9
|
-
@controller = TagzController.new
|
10
|
-
@request = ActionController::TestRequest.new
|
11
|
-
@response = ActionController::TestResponse.new
|
12
|
-
end
|
13
|
-
|
14
|
-
# Replace this with your real tests.
|
15
|
-
def test_truth
|
16
|
-
assert true
|
17
|
-
end
|
18
|
-
end
|
data/rails/test/test_helper.rb
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
ENV["RAILS_ENV"] = "test"
|
2
|
-
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
|
3
|
-
require 'test_help'
|
4
|
-
|
5
|
-
class Test::Unit::TestCase
|
6
|
-
# Transactional fixtures accelerate your tests by wrapping each test method
|
7
|
-
# in a transaction that's rolled back on completion. This ensures that the
|
8
|
-
# test database remains unchanged so your fixtures don't have to be reloaded
|
9
|
-
# between every test method. Fewer database queries means faster tests.
|
10
|
-
#
|
11
|
-
# Read Mike Clark's excellent walkthrough at
|
12
|
-
# http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting
|
13
|
-
#
|
14
|
-
# Every Active Record database supports transactions except MyISAM tables
|
15
|
-
# in MySQL. Turn off transactional fixtures in this case; however, if you
|
16
|
-
# don't care one way or the other, switching from MyISAM to InnoDB tables
|
17
|
-
# is recommended.
|
18
|
-
self.use_transactional_fixtures = true
|
19
|
-
|
20
|
-
# Instantiated fixtures are slow, but give you @david where otherwise you
|
21
|
-
# would need people(:david). If you don't want to migrate your existing
|
22
|
-
# test cases which use the @david style and don't mind the speed hit (each
|
23
|
-
# instantiated fixtures translates to a database query per test method),
|
24
|
-
# then set this back to true.
|
25
|
-
self.use_instantiated_fixtures = false
|
26
|
-
|
27
|
-
# Add more helper methods to be used by all tests here...
|
28
|
-
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|