Permalink
Browse files

Things

  • Loading branch information...
1 parent 54fb1a6 commit adfb7713dd95cad5b0d85a18ab6f5e08b602acc8 Jeremy McAnally committed Mar 11, 2008
Showing with 260,976 additions and 2 deletions.
  1. +9 −2 db/schema.rb
  2. +2 −0 index/development/Page/100_101_112
  3. BIN index/development/Page/100_101_118
  4. BIN index/development/Page/100_105_118
  5. +2 −0 index/development/Page/100_97_116
  6. +2 −0 index/development/Page/100_97_121
  7. +3 −0 index/development/Page/102_105_114
  8. +2 −0 index/development/Page/102_111_114
  9. BIN index/development/Page/103_105_102
  10. BIN index/development/Page/104_111_109
  11. +3 −0 index/development/Page/104_111_115
  12. BIN index/development/Page/104_111_119
  13. +2 −0 index/development/Page/104_116_116
  14. BIN index/development/Page/104_49
  15. BIN index/development/Page/104_51
  16. +2 −0 index/development/Page/104_52
  17. BIN index/development/Page/105_109_97
  18. +2 −0 index/development/Page/105_110_115
  19. BIN index/development/Page/108_101_102
  20. +2 −0 index/development/Page/109_97_105
  21. BIN index/development/Page/109_97_114
  22. BIN index/development/Page/110_111_110
  23. +2 −0 index/development/Page/111_102
  24. +2 −0 index/development/Page/111_114_103
  25. BIN index/development/Page/112_111_114
  26. +2 −0 index/development/Page/112_114_111
  27. +2 −0 index/development/Page/112_114_97
  28. BIN index/development/Page/112_97_100
  29. +2 −0 index/development/Page/112_97_103
  30. BIN index/development/Page/113_117_101
  31. BIN index/development/Page/114_101_112
  32. +2 −0 index/development/Page/114_101_115
  33. BIN index/development/Page/114_101_97
  34. +2 −0 index/development/Page/114_111_114
  35. BIN index/development/Page/114_117_98
  36. BIN index/development/Page/114_97_105
  37. BIN index/development/Page/115_101_99
  38. +3 −0 index/development/Page/115_104_101
  39. BIN index/development/Page/115_111_108
  40. BIN index/development/Page/115_116_121
  41. +3 −0 index/development/Page/115_121_115
  42. BIN index/development/Page/116_100
  43. +2 −0 index/development/Page/116_104_101
  44. BIN index/development/Page/116_105_112
  45. BIN index/development/Page/116_111_112
  46. +2 −0 index/development/Page/116_114_105
  47. BIN index/development/Page/116_114_111
  48. BIN index/development/Page/116_114_97
  49. +2 −0 index/development/Page/116_117_116
  50. BIN index/development/Page/117_114_108
  51. +3 −0 index/development/Page/117_115_97
  52. +1 −0 index/development/Page/119_101_108
  53. +2 −0 index/development/Page/119_101_98
  54. BIN index/development/Page/119_105_100
  55. BIN index/development/Page/119_111_114
  56. +2 −0 index/development/Page/119_119_119
  57. BIN index/development/Page/120
  58. BIN index/development/Page/48
  59. BIN index/development/Page/49_112_120
  60. BIN index/development/Page/52_53_54
  61. BIN index/development/Page/53_112_120
  62. BIN index/development/Page/53_48_48
  63. BIN index/development/Page/53_52_112
  64. BIN index/development/Page/53_54_51
  65. BIN index/development/Page/53_55_51
  66. BIN index/development/Page/54_55_52
  67. +2 −0 index/development/Page/97_110_100
  68. +2 −0 index/development/Page/97_112_105
  69. BIN index/development/Page/97_56_101
  70. BIN index/development/Page/97_56_54
  71. +2 −0 index/development/Page/98_101_103
  72. +2 −0 index/development/Page/98_101_115
  73. +3 −0 index/development/Page/98_111_111
  74. BIN index/development/Page/98_111_114
  75. BIN index/development/Page/98_111_116
  76. BIN index/development/Page/98_97_99
  77. BIN index/development/Page/99_102_101
  78. BIN index/development/Page/99_102_54
  79. BIN index/development/Page/99_111_108
  80. BIN index/development/Page/99_111_109
  81. +1 −0 index/development/Page/size
  82. +82 −0 linking.patch
  83. +126,518 −0 test/fixtures/pages.yml
  84. +134,297 −0 test/fixtures/versions.yml
  85. +2 −0 text.txt
View
@@ -1,6 +1,13 @@
-# This file is autogenerated. Instead of editing this file, please use the
-# migrations feature of ActiveRecord to incrementally modify your database, and
+# This file is auto-generated from the current state of the database. Instead of editing this file,
+# please use the migrations feature of ActiveRecord to incrementally modify your database, and
# then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your database schema. If you need
+# to create the application database on another system, you should be using db:schema:load, not running
+# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 10) do
@@ -0,0 +1,2 @@
+{"deploymento:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i&
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
+{"databaseo:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i"
@@ -0,0 +1,2 @@
+{"dayo:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i
@@ -0,0 +1,3 @@
+{"
+firmso:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[iJ
@@ -0,0 +1,2 @@
+{"foro:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
+{"
+hostso:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i=
Binary file not shown.
@@ -0,0 +1,2 @@
+{" httpo:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i+i1
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
+{"h4o:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[ii'i8
Binary file not shown.
@@ -0,0 +1,2 @@
+{"installationo:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i
Binary file not shown.
@@ -0,0 +1,2 @@
+{" maino:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
+{"ofo:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i
@@ -0,0 +1,2 @@
+{"orgo:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i4
Binary file not shown.
@@ -0,0 +1,2 @@
+{"professionalo:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[iC
@@ -0,0 +1,2 @@
+{"practiceso:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i7
Binary file not shown.
@@ -0,0 +1,2 @@
+{" pageo:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
+{"resourceso:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i(
Binary file not shown.
@@ -0,0 +1,2 @@
+{"roro:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i;
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
+{"
+sheeto:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
+{"
+sysopo:#Foo::Acts::Indexed::SearchAtom:@records{i[iii&
+[iK
Binary file not shown.
@@ -0,0 +1,2 @@
+{"theo:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
+{" trickso:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
+{"tutorialo:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i
Binary file not shown.
@@ -0,0 +1,3 @@
+{"
+usageo:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[iAiE
@@ -0,0 +1 @@
+{" welcomeo:#Foo::Acts::Indexed::SearchAtom:@records{i[ii
@@ -0,0 +1,2 @@
+{"webo:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i<
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
+{"wwwo:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i,i2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
+{"ando:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i
@@ -0,0 +1,2 @@
+{"apio:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i*
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
+{"beginnerso:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i
@@ -0,0 +1,2 @@
+{" besto:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i6
@@ -0,0 +1,3 @@
+{"
+bookso:#Foo::Acts::Indexed::SearchAtom:@records{i&
+[i
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
+i
View
@@ -0,0 +1,82 @@
+diff --git a/app/helpers/pages_helper.rb b/app/helpers/pages_helper.rb
+index d4b23b8..646c42d 100644
+--- a/app/helpers/pages_helper.rb
++++ b/app/helpers/pages_helper.rb
+@@ -2,16 +2,16 @@ module PagesHelper
+
+ def wikified_body(body)
+ r = RedCloth.new(body)
+- r.gsub!(/\[\[(.*)\]\]/) {wiki_link($1)}
++ r.gsub!(/\[\[(.*)(\|(.*))?\]\]/) {wiki_link(*$1.split("|"))}
+ r.to_html
+ end
+
+- def wiki_link(wiki_words)
++ def wiki_link(wiki_words, link_text = nil)
+ permalink = wiki_words.downcase.gsub(' ', '-')
+ if Page.exists?(:permalink => permalink)
+- link_to wiki_words, wiki_page_url(permalink)
++ link_to ((link_text || wiki_words), wiki_page_url(permalink))
+ else
+- link_to wiki_words, wiki_page_url(permalink), :class => "new_wiki_link"
++ link_to ((link_text || wiki_words), wiki_page_url(permalink), :class => "new_wiki_link")
+ end
+ end
+
+diff --git a/config/database.yml.example b/config/database.yml.example
+deleted file mode 100644
+index fa75aa4..0000000
+--- a/config/database.yml.example
++++ /dev/null
+@@ -1,31 +0,0 @@
+-# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
+-#
+-# Install the MySQL driver:
+-# gem install mysql
+-# On MacOS X:
+-# gem install mysql -- --include=/usr/local/lib
+-# On Windows:
+-# gem install mysql
+-# Choose the win32 build.
+-# Install MySQL and put its /bin directory on your path.
+-#
+-# And be sure to use new-style password hashing:
+-# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
+-#
+-development:
+- adapter: sqlite3
+- database: db/development.db
+-
+-test:
+- adapter: sqlite3
+- database: ":memory:"
+- verbosity: silent
+-
+-production:
+- adapter: mysql
+- encoding: utf8
+- database: signal_production
+- username: CHANGEME
+- password: CHANGEME
+- host: localhost
+-
+diff --git a/db/schema.rb b/db/schema.rb
+index 6324ac8..598d487 100644
+--- a/db/schema.rb
++++ b/db/schema.rb
+@@ -1,6 +1,13 @@
+-# This file is autogenerated. Instead of editing this file, please use the
+-# migrations feature of ActiveRecord to incrementally modify your database, and
++# This file is auto-generated from the current state of the database. Instead of editing this file,
++# please use the migrations feature of ActiveRecord to incrementally modify your database, and
+ # then regenerate this schema definition.
++#
++# Note that this schema.rb definition is the authoritative source for your database schema. If you need
++# to create the application database on another system, you should be using db:schema:load, not running
++# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
++# you'll amass, the slower it'll run and the greater likelihood for issues).
++#
++# It's strongly recommended to check this file into your version control system.
+
+ ActiveRecord::Schema.define(:version => 10) do
+
Oops, something went wrong.

0 comments on commit adfb771

Please sign in to comment.