sinatra-s3 0.98 → 0.99

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/README +36 -18
  2. data/bin/sinatra-s3 +47 -15
  3. data/examples/wiki.rb +13 -13
  4. data/lib/sinatra-s3/admin.rb +1 -1
  5. data/lib/sinatra-s3/base.rb +1 -5
  6. data/lib/sinatra-s3/models/bit.rb +2 -2
  7. data/lib/sinatra-s3/s3.rb +11 -4
  8. data/public/js/wiki.js +35 -0
  9. data/s3.yml.example +6 -3
  10. metadata +63 -67
  11. data/examples/README +0 -9
  12. data/examples/wikicloth/MIT-LICENSE +0 -20
  13. data/examples/wikicloth/README +0 -81
  14. data/examples/wikicloth/Rakefile +0 -23
  15. data/examples/wikicloth/init.rb +0 -1
  16. data/examples/wikicloth/install.rb +0 -0
  17. data/examples/wikicloth/lib/core_ext.rb +0 -43
  18. data/examples/wikicloth/lib/wiki_buffer.rb +0 -279
  19. data/examples/wikicloth/lib/wiki_buffer/html_element.rb +0 -237
  20. data/examples/wikicloth/lib/wiki_buffer/link.rb +0 -70
  21. data/examples/wikicloth/lib/wiki_buffer/table.rb +0 -159
  22. data/examples/wikicloth/lib/wiki_buffer/var.rb +0 -77
  23. data/examples/wikicloth/lib/wiki_cloth.rb +0 -61
  24. data/examples/wikicloth/lib/wiki_link_handler.rb +0 -138
  25. data/examples/wikicloth/lib/wikicloth.rb +0 -5
  26. data/examples/wikicloth/run_tests.rb +0 -48
  27. data/examples/wikicloth/sample_documents/air_force_one.wiki +0 -170
  28. data/examples/wikicloth/sample_documents/cheatsheet.wiki +0 -205
  29. data/examples/wikicloth/sample_documents/default.css +0 -34
  30. data/examples/wikicloth/sample_documents/elements.wiki +0 -7
  31. data/examples/wikicloth/sample_documents/george_washington.wiki +0 -526
  32. data/examples/wikicloth/sample_documents/images.wiki +0 -15
  33. data/examples/wikicloth/sample_documents/lists.wiki +0 -421
  34. data/examples/wikicloth/sample_documents/pipe_trick.wiki +0 -68
  35. data/examples/wikicloth/sample_documents/random.wiki +0 -55
  36. data/examples/wikicloth/sample_documents/tv.wiki +0 -312
  37. data/examples/wikicloth/sample_documents/wiki.png +0 -0
  38. data/examples/wikicloth/sample_documents/wiki_tables.wiki +0 -410
  39. data/examples/wikicloth/tasks/wikicloth_tasks.rake +0 -0
  40. data/examples/wikicloth/test/test_helper.rb +0 -3
  41. data/examples/wikicloth/test/wiki_cloth_test.rb +0 -8
  42. data/examples/wikicloth/uninstall.rb +0 -0
  43. data/examples/wikicloth/wikicloth-0.1.3.gem +0 -0
  44. data/examples/wikicloth/wikicloth.gemspec +0 -69
  45. data/public/test.html +0 -8
File without changes
@@ -1,3 +0,0 @@
1
- equire 'rubygems'
2
- require 'active_support'
3
- require 'active_support/test_case'
@@ -1,8 +0,0 @@
1
- require 'test_helper'
2
-
3
- class WikiClothTest < ActiveSupport::TestCase
4
- # Replace this with your real tests.
5
- test "the truth" do
6
- assert true
7
- end
8
- end
File without changes
Binary file
@@ -1,69 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- files = %W{
4
- MIT-LICENSE
5
- Rakefile
6
- run_tests.rb
7
- wikicloth.gemspec
8
- README
9
- test/wiki_cloth_test.rb
10
- test/test_helper.rb
11
- init.rb
12
- lib
13
- lib/wiki_buffer
14
- lib/wiki_buffer/html_element.rb
15
- lib/wiki_buffer/var.rb
16
- lib/wiki_buffer/link.rb
17
- lib/wiki_buffer/table.rb
18
- lib/core_ext.rb
19
- lib/wiki_cloth.rb
20
- lib/wikicloth.rb
21
- lib/wiki_buffer.rb
22
- lib/wiki_link_handler.rb
23
- tasks/wikicloth_tasks.rake
24
- sample_documents
25
- sample_documents/wiki_tables.wiki
26
- sample_documents/tv.wiki
27
- sample_documents/elements.wiki
28
- sample_documents/air_force_one.wiki
29
- sample_documents/cheatsheet.wiki
30
- sample_documents/default.css
31
- sample_documents/george_washington.wiki
32
- sample_documents/wiki.png
33
- sample_documents/random.wiki
34
- sample_documents/pipe_trick.wiki
35
- sample_documents/lists.wiki
36
- sample_documents/images.wiki
37
- }
38
-
39
- test_files = %W{
40
- run_tests.rb
41
- test/test_helper.rb
42
- test/wiki_cloth_test.rb
43
- }
44
-
45
- Gem::Specification.new do |s|
46
- s.name = %q{wikicloth}
47
- s.version = '0.1.3'
48
-
49
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
50
- s.authors = ["nricciar"]
51
- s.email = "nricciar@gmail.com"
52
- s.date = %q{2009-07-16}
53
- s.description = %q{mediawiki parser}
54
- s.extra_rdoc_files = %W{README MIT-LICENSE}
55
- s.files = files
56
- s.has_rdoc = true
57
- s.homepage = %q{http://code.google.com/p/wikicloth/}
58
- s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
59
- s.require_paths = ["lib"]
60
- s.rubyforge_project = %q{wikicloth}
61
- s.rubygems_version = %q{1.3.0}
62
- s.summary = %q{An implementation of the mediawiki markup in ruby}
63
- s.test_files = test_files
64
-
65
- if s.respond_to? :specification_version then
66
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
67
- s.specification_version = 2
68
- end
69
- end
data/public/test.html DELETED
@@ -1,8 +0,0 @@
1
- <form action="/test/test.html" method="post">
2
- <input type="hidden" name="redirect" value="/test/test.html" />
3
- <input type="hidden" name="Content-Type" value="text/html" />
4
- <input type="hidden" name="Content-Disposition" value="inline" />
5
- <p><textarea name="file"></textarea></p>
6
- <p><input type="text" name="x-amz-meta-comment" value="" /></p>
7
- <input type="submit" value="Update" />
8
- </form>