Skip to content

Commit 28a1325

Browse files
author
ben
committed
updated gems and ruby 1.9.3, removed unneeded files
1 parent 38fcfb1 commit 28a1325

File tree

1,367 files changed

+140
-169193
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,367 files changed

+140
-169193
lines changed

Gemfile.lock

+25-25
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
GEM
22
remote: http://rubygems.org/
33
specs:
4-
RedCloth (4.2.7)
4+
RedCloth (4.2.9)
55
abstract (1.0.0)
6-
actionmailer (2.3.11)
7-
actionpack (= 2.3.11)
8-
actionpack (2.3.11)
9-
activesupport (= 2.3.11)
6+
actionmailer (2.3.14)
7+
actionpack (= 2.3.14)
8+
actionpack (2.3.14)
9+
activesupport (= 2.3.14)
1010
rack (~> 1.1.0)
11-
activerecord (2.3.11)
12-
activesupport (= 2.3.11)
13-
activeresource (2.3.11)
14-
activesupport (= 2.3.11)
15-
activesupport (2.3.11)
16-
daemons (1.1.4)
11+
activerecord (2.3.14)
12+
activesupport (= 2.3.14)
13+
activeresource (2.3.14)
14+
activesupport (= 2.3.14)
15+
activesupport (2.3.14)
16+
daemons (1.1.6)
1717
diff-lcs (1.1.2)
1818
erubis (2.7.0)
1919
eventmachine (0.12.10)
20-
itextomml (1.4.5)
21-
json (1.5.1)
20+
itextomml (1.4.9)
21+
json (1.6.5)
2222
maruku (0.6.0)
2323
syntax (>= 1.0.0)
2424
mysql (2.8.1)
25-
nokogiri (1.4.4)
26-
rack (1.1.2)
27-
rails (2.3.11)
28-
actionmailer (= 2.3.11)
29-
actionpack (= 2.3.11)
30-
activerecord (= 2.3.11)
31-
activeresource (= 2.3.11)
32-
activesupport (= 2.3.11)
25+
nokogiri (1.5.0)
26+
rack (1.1.3)
27+
rails (2.3.14)
28+
actionmailer (= 2.3.14)
29+
actionpack (= 2.3.14)
30+
activerecord (= 2.3.14)
31+
activeresource (= 2.3.14)
32+
activesupport (= 2.3.14)
3333
rake (>= 0.8.3)
3434
rails_xss (0.1.3)
35-
rake (0.8.7)
36-
rubyzip (0.9.4)
37-
sqlite3 (1.3.3)
35+
rake (0.9.2.2)
36+
rubyzip (0.9.5)
37+
sqlite3 (1.3.5)
3838
sqlite3-ruby (1.3.3)
3939
sqlite3 (>= 1.3.3)
4040
syntax (1.0.0)
41-
thin (1.2.11)
41+
thin (1.3.1)
4242
daemons (>= 1.0.9)
4343
eventmachine (>= 0.12.6)
4444
rack (>= 1.0.0)

app/controllers/admin_controller.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
class AdminController < ApplicationController
23

34
layout 'default'

app/controllers/application_controller.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
# The filters added to this controller will be run for all controllers in the application.
23
# Likewise will all the methods added be available for all controllers.
34
class ApplicationController < ActionController::Base

app/controllers/cache_sweeping_helper.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
module CacheSweepingHelper
23

34
def expire_cached_page(web, page_name)

app/controllers/file_controller.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
# Controller responsible for serving files and pictures.
23

34
require 'zip/zip'

app/controllers/revision_sweeper.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
require_dependency 'cache_sweeping_helper'
23

34
class RevisionSweeper < ActionController::Caching::Sweeper

app/controllers/web_sweeper.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
require_dependency 'cache_sweeping_helper'
23

34
class WebSweeper < ActionController::Caching::Sweeper

app/controllers/wiki_controller.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
require 'fileutils'
23
require 'maruku'
34
require 'maruku/ext/math'

app/helpers/admin_helper.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# -*- encoding : utf-8 -*-
2+
module AdminHelper
3+
end

app/helpers/application_helper.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
# The methods added to this helper will be available to all templates in the application.
23
module ApplicationHelper
34
require 'instiki_stringsupport'

app/helpers/file_helper.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# -*- encoding : utf-8 -*-
2+
module FileHelper
3+
end

app/helpers/wiki_helper.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
module WikiHelper
23

34
def navigation_menu_for_revision

app/metal/itex.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
# Allow the metal piece to run in isolation
23
require(File.dirname(__FILE__) + "/../../config/environment") unless defined?(Rails)
34

app/models/author.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
class Author < String
23
attr_accessor :ip
34
attr_reader :name
@@ -15,4 +16,4 @@ def name=(value)
1516
def <=>(other)
1617
name <=> other.to_s
1718
end
18-
end
19+
end

app/models/page.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
class Page < ActiveRecord::Base
23
belongs_to :web
34
has_many :revisions, :order => 'id', :dependent => :destroy

app/models/page_observer.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
# This class maintains the state of wiki references for newly created or newly deleted pages
23
class PageObserver < ActiveRecord::Observer
34

@@ -12,4 +13,4 @@ def before_destroy(page)
1213
['referenced_name = ?', page.name])
1314
end
1415

15-
end
16+
end

app/models/page_set.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
# Container for a set of pages with methods for manipulation.
23

34
class PageSet < Array

app/models/revision.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
class Revision < ActiveRecord::Base
23
belongs_to :page
34
composed_of :author, :mapping => [ %w(author name), %w(ip ip) ]

app/models/system.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
# -*- encoding : utf-8 -*-
12
class System < ActiveRecord::Base
23
set_table_name 'system'
34
validates_presence_of :password
4-
end
5+
end

app/models/web.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
class Web < ActiveRecord::Base
23
## Associations
34

app/models/wiki.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
class Wiki
23

34
cattr_accessor :storage_path, :logger

app/models/wiki_file.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
class WikiFile < ActiveRecord::Base
23
belongs_to :web
34

app/models/wiki_reference.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
class WikiReference < ActiveRecord::Base
23

34
LINKED_PAGE = 'L'

attic/lib/node.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
require 'strscan'
23

34
module XHTML #:nodoc:

attic/lib/sanitize.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
# == Introduction
23
#
34
# This module provides sanitization of XHTML+MathML+SVG

attic/test/unit/sanitize_test.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- encoding : utf-8 -*-
12
#!/usr/bin/env ruby
23

34
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')

attic/vendor/plugins/HTML5lib/History.txt

-10
This file was deleted.

attic/vendor/plugins/HTML5lib/LICENSE

-17
This file was deleted.

attic/vendor/plugins/HTML5lib/Manifest.txt

-116
This file was deleted.

0 commit comments

Comments
 (0)