public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/JackDanger/rails.git
Keep the irrelevant stuff out with :nodoc:

git-svn-id: 
http://svn-commit.rubyonrails.org/rails/branches/1-2-pre-release@5980 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
dhh (author)
Wed Jan 17 22:23:03 -0800 2007
commit  5c61b170774cc785b3db95b9cbb2b2574948bed9
tree    2ef0d477144ac682cd1aeeac69ae0b1290cbd5cc
parent  025f8954157b685c35ad00599d66730ce9a6e1aa
...
2
3
4
5
 
6
7
8
...
2
3
4
 
5
6
7
8
0
@@ -2,7 +2,7 @@ require 'rexml/document'
0
 
0
 module ActionController #:nodoc:
0
   module Assertions #:nodoc:
0
- module DeprecatedAssertions
0
+ module DeprecatedAssertions #:nodoc:
0
       def assert_success(message=nil) #:nodoc:
0
         assert_response(:success, message)
0
       end
...
112
113
114
115
 
116
117
118
...
112
113
114
 
115
116
117
118
0
@@ -112,7 +112,7 @@ class CGIMethods #:nodoc:
0
       end
0
   end
0
 
0
- class FormEncodedPairParser < StringScanner
0
+ class FormEncodedPairParser < StringScanner #:nodoc:
0
     attr_reader :top, :parent, :result
0
 
0
     def initialize(pairs = [])
...
24
25
26
27
 
28
29
30
...
305
306
307
308
 
309
310
311
...
536
537
538
539
 
540
541
542
...
591
592
593
594
 
595
596
597
...
625
626
627
628
 
629
630
631
...
637
638
639
640
 
641
642
643
...
725
726
727
728
 
729
730
731
...
752
753
754
755
 
756
757
758
...
782
783
784
785
 
786
787
788
...
958
959
960
961
 
962
963
964
...
24
25
26
 
27
28
29
30
...
305
306
307
 
308
309
310
311
...
536
537
538
 
539
540
541
542
...
591
592
593
 
594
595
596
597
...
625
626
627
 
628
629
630
631
...
637
638
639
 
640
641
642
643
...
725
726
727
 
728
729
730
731
...
752
753
754
 
755
756
757
758
...
782
783
784
 
785
786
787
788
...
958
959
960
 
961
962
963
964
0
@@ -24,7 +24,7 @@ class NilClass
0
   end
0
 end
0
 
0
-class Regexp
0
+class Regexp #:nodoc:
0
   def number_of_captures
0
     Regexp.new("|#{source}").match('').captures.length
0
   end
0
@@ -305,7 +305,7 @@ module ActionController
0
       end
0
     end
0
   
0
- class Route
0
+ class Route #:nodoc:
0
       attr_accessor :segments, :requirements, :conditions
0
       
0
       def initialize
0
@@ -536,7 +536,7 @@ module ActionController
0
   
0
     end
0
 
0
- class Segment
0
+ class Segment #:nodoc:
0
       attr_accessor :is_optional
0
       alias_method :optional?, :is_optional
0
 
0
@@ -591,7 +591,7 @@ module ActionController
0
       end
0
     end
0
 
0
- class StaticSegment < Segment
0
+ class StaticSegment < Segment #:nodoc:
0
       attr_accessor :value, :raw
0
       alias_method :raw?, :raw
0
   
0
@@ -625,7 +625,7 @@ module ActionController
0
       end
0
     end
0
 
0
- class DividerSegment < StaticSegment
0
+ class DividerSegment < StaticSegment #:nodoc:
0
       def initialize(value = nil)
0
         super(value)
0
         self.raw = true
0
@@ -637,7 +637,7 @@ module ActionController
0
       end
0
     end
0
 
0
- class DynamicSegment < Segment
0
+ class DynamicSegment < Segment #:nodoc:
0
       attr_accessor :key, :default, :regexp
0
   
0
       def initialize(key = nil, options = {})
0
@@ -725,7 +725,7 @@ module ActionController
0
   
0
     end
0
 
0
- class ControllerSegment < DynamicSegment
0
+ class ControllerSegment < DynamicSegment #:nodoc:
0
       def regexp_chunk
0
         possible_names = Routing.possible_controllers.collect { |name| Regexp.escape name }
0
         "(?i-:(#{(regexp || Regexp.union(*possible_names)).source}))"
0
@@ -752,7 +752,7 @@ module ActionController
0
       end
0
     end
0
 
0
- class PathSegment < DynamicSegment
0
+ class PathSegment < DynamicSegment #:nodoc:
0
       EscapedSlash = CGI.escape("/")
0
       def interpolation_chunk
0
         "\#{CGI.escape(#{local_name}.to_s).gsub(#{EscapedSlash.inspect}, '/')}"
0
@@ -782,7 +782,7 @@ module ActionController
0
       end
0
     end
0
 
0
- class RouteBuilder
0
+ class RouteBuilder #:nodoc:
0
       attr_accessor :separators, :optional_separators
0
   
0
       def initialize
0
@@ -958,7 +958,7 @@ module ActionController
0
       end
0
     end
0
 
0
- class RouteSet
0
+ class RouteSet #:nodoc:
0
       # Mapper instances are used to build routes. The object passed to the draw
0
       # block in config/routes.rb is a Mapper instance.
0
       #
...
1
2
3
 
4
5
6
...
1
 
 
2
3
4
5
0
@@ -1,6 +1,5 @@
0
 module ActionController
0
- module StatusCodes
0
-
0
+ module StatusCodes #:nodoc:
0
     # Defines the standard HTTP status codes, by integer, with their
0
     # corresponding default message texts.
0
     # Source: http://www.iana.org/assignments/http-status-codes
...
201
202
203
204
 
 
205
206
207
...
201
202
203
 
204
205
206
207
208
0
@@ -201,7 +201,8 @@ module HTML
0
 
0
 
0
     # An invalid selector.
0
- class InvalidSelectorError < StandardError ; end
0
+ class InvalidSelectorError < StandardError #:nodoc:
0
+ end
0
 
0
 
0
     class << self
...
30
31
32
33
 
34
35
36
...
30
31
32
 
33
34
35
36
0
@@ -30,7 +30,7 @@ module ActiveRecord
0
     end
0
   end
0
 
0
- class HasManyThroughSourceAssociationMacroError < ActiveRecordError #:nodoc
0
+ class HasManyThroughSourceAssociationMacroError < ActiveRecordError #:nodoc:
0
     def initialize(reflection)
0
       through_reflection = reflection.through_reflection
0
       source_reflection = reflection.source_reflection
...
51
52
53
54
 
55
56
57
...
271
272
273
274
275
 
276
277
278
...
564
565
566
567
568
 
569
570
571
...
51
52
53
 
54
55
56
57
...
271
272
273
 
 
274
275
276
277
...
563
564
565
 
 
566
567
568
569
0
@@ -51,7 +51,7 @@ module ActiveRecord
0
     # Assigns a world-wide unique ID made up of:
0
     # < Sequence [2], ProcessID [2] , Time [4], IP Addr [4] >
0
     
0
- class TwelveByteKey < String #:nodoc
0
+ class TwelveByteKey < String #:nodoc:
0
       @@mutex = Mutex.new
0
       @@sequence_number = rand(65536)
0
       @@key_cached_pid_component = nil
0
@@ -271,8 +271,7 @@ module ActiveRecord
0
         true
0
       end
0
 
0
- def native_database_types #:nodoc
0
- {
0
+ def native_database_types #:nodoc: {
0
           :primary_key => "INTEGER DEFAULT UNIQUE PRIMARY KEY",
0
           :string => { :name => "VARCHAR", :limit => 255 },
0
           :text => { :name => "CLOB" },
0
@@ -564,8 +563,7 @@ module ActiveRecord
0
         execute "SET COMMIT TRUE"
0
       end
0
 
0
- def add_limit_offset!(sql, options) #:nodoc
0
- if limit = options[:limit]
0
+ def add_limit_offset!(sql, options) #:nodoc: if limit = options[:limit]
0
           offset = options[:offset] || 0
0
         
0
 # Here is the full syntax FrontBase supports:
...
1
2
3
4
 
5
6
7
...
160
161
162
163
164
 
165
166
167
...
278
279
280
281
282
 
283
284
285
...
1
2
3
 
4
5
6
7
...
160
161
162
 
 
163
164
165
166
...
277
278
279
 
 
280
281
282
283
0
@@ -1,7 +1,7 @@
0
 require 'active_record/connection_adapters/abstract_adapter'
0
 require 'set'
0
 
0
-module MysqlCompat
0
+module MysqlCompat #:nodoc:
0
   # add all_hashes method to standard mysql-c bindings or pure ruby version
0
   def self.define_all_hashes_method!
0
     raise 'Mysql not loaded' unless defined?(::Mysql)
0
@@ -160,8 +160,7 @@ module ActiveRecord
0
         true
0
       end
0
 
0
- def native_database_types #:nodoc
0
- {
0
+ def native_database_types #:nodoc: {
0
           :primary_key => "int(11) DEFAULT NULL auto_increment PRIMARY KEY",
0
           :string => { :name => "varchar", :limit => 255 },
0
           :text => { :name => "text" },
0
@@ -278,8 +277,7 @@ module ActiveRecord
0
       end
0
 
0
 
0
- def add_limit_offset!(sql, options) #:nodoc
0
- if limit = options[:limit]
0
+ def add_limit_offset!(sql, options) #:nodoc: if limit = options[:limit]
0
           unless offset = options[:offset]
0
             sql << " LIMIT #{limit}"
0
           else
...
122
123
124
125
126
 
127
128
129
...
122
123
124
 
 
125
126
127
128
0
@@ -122,8 +122,7 @@ module ActiveRecord
0
 
0
       # DATABASE STATEMENTS ======================================
0
 
0
- def add_limit_offset!(sql, options) #:nodoc
0
- if limit = options[:limit]
0
+ def add_limit_offset!(sql, options) #:nodoc: if limit = options[:limit]
0
           unless offset = options[:offset]
0
             sql << " RETURN RESULTS #{limit}"
0
           else
...
134
135
136
137
138
 
139
140
141
...
134
135
136
 
 
137
138
139
140
0
@@ -134,8 +134,7 @@ begin
0
           true
0
         end
0
 
0
- def native_database_types #:nodoc
0
- {
0
+ def native_database_types #:nodoc: {
0
             :primary_key => "NUMBER(38) NOT NULL PRIMARY KEY",
0
             :string => { :name => "VARCHAR2", :limit => 255 },
0
             :text => { :name => "CLOB" },
...
1
2
3
4
 
5
6
7
...
16
17
18
19
20
21
...
 
1
 
 
2
3
4
5
...
14
15
16
 
17
18
0
@@ -1,7 +1,5 @@
0
-
0
 # Add a +missing_name+ method to NameError instances.
0
-class NameError < StandardError
0
-
0
+class NameError < StandardError #:nodoc:
0
   # Add a method to obtain the missing name from a NameError.
0
   def missing_name
0
     $1 if /((::)?([A-Z]\w*)(::[A-Z]\w*)*)$/ =~ message
0
@@ -16,5 +14,4 @@ class NameError < StandardError
0
       missing_name == name.to_s
0
     end
0
   end
0
-
0
 end
0
\ No newline at end of file
...
382
383
384
385
 
386
387
388
...
382
383
384
 
385
386
387
388
0
@@ -382,7 +382,7 @@ module Dependencies #:nodoc:
0
     end
0
   end
0
   
0
- class LoadingModule
0
+ class LoadingModule #:nodoc:
0
     # Old style environment.rb referenced this method directly. Please note, it doesn't
0
     # actualy *do* anything any more.
0
     def self.root(*args)
...
1
2
3
4
 
5
6
7
...
81
82
83
84
 
85
86
87
...
112
113
114
115
 
116
117
118
...
145
146
147
148
 
149
150
151
...
1
2
3
 
4
5
6
7
...
81
82
83
 
84
85
86
87
...
112
113
114
 
115
116
117
118
...
145
146
147
 
148
149
150
151
0
@@ -1,7 +1,7 @@
0
 require 'yaml'
0
 
0
 module ActiveSupport
0
- module Deprecation
0
+ module Deprecation #:nodoc:
0
     mattr_accessor :debug
0
     self.debug = false
0
 
0
@@ -81,7 +81,7 @@ module ActiveSupport
0
     # Warnings are not silenced by default.
0
     self.silenced = false
0
 
0
- module ClassMethods
0
+ module ClassMethods #:nodoc:
0
       # Declare that a method has been deprecated.
0
       def deprecate(*method_names)
0
         options = method_names.last.is_a?(Hash) ? method_names.pop : {}
0
@@ -112,7 +112,7 @@ module ActiveSupport
0
       end
0
     end
0
 
0
- module Assertions
0
+ module Assertions #:nodoc:
0
       def assert_deprecated(match = nil, &block)
0
         result, warnings = collect_deprecations(&block)
0
         assert !warnings.empty?, "Expected a deprecation warning within the block but received none"
0
@@ -145,7 +145,7 @@ module ActiveSupport
0
 
0
     # Stand-in for @request, @attributes, @params, etc which emits deprecation
0
     # warnings on any method call (except #inspect).
0
- class DeprecatedInstanceVariableProxy
0
+ class DeprecatedInstanceVariableProxy #:nodoc:
0
       instance_methods.each { |m| undef_method m unless m =~ /^__/ }
0
 
0
       def initialize(instance, method, var = "@#{method}")
...
1
 
2
3
4
...
 
1
2
3
4
0
@@ -1,4 +1,4 @@
0
-module ActiveSupport::Multibyte
0
+module ActiveSupport::Multibyte #:nodoc:
0
   DEFAULT_NORMALIZATION_FORM = :kc
0
   NORMALIZATIONS_FORMS = [:c, :kc, :d, :kd]
0
   UNICODE_VERSION = '5.0.0'
...
2
3
4
5
 
6
7
8
...
2
3
4
 
5
6
7
8
0
@@ -2,7 +2,7 @@ require 'active_support/multibyte/handlers/utf8_handler'
0
 require 'active_support/multibyte/handlers/passthru_handler'
0
 
0
 # Encapsulates all the functionality related to the Chars proxy.
0
-module ActiveSupport::Multibyte
0
+module ActiveSupport::Multibyte #:nodoc:
0
   # Chars enables you to work transparently with multibyte encodings in the Ruby String class without having extensive
0
   # knowledge about the encoding. A Chars object accepts a string upon initialization and proxies String methods in an
0
   # encoding safe manner. All the normal String methods are also implemented on the proxy.
...
1
2
3
 
4
5
6
...
1
2
 
3
4
5
6
0
@@ -1,6 +1,6 @@
0
 # Chars uses this handler when $KCODE is not set to 'UTF8'. Because this handler doesn't define any methods all call
0
 # will be forwarded to String.
0
-class ActiveSupport::Multibyte::Handlers::PassthruHandler
0
+class ActiveSupport::Multibyte::Handlers::PassthruHandler #:nodoc:
0
   
0
   # Return the original byteoffset
0
   def self.translate_offset(string, byte_offset) #:nodoc:
...
1
2
3
 
 
 
4
5
6
...
1
 
 
2
3
4
5
6
7
0
@@ -1,6 +1,7 @@
0
 # Contains all the handlers and helper classes
0
-module ActiveSupport::Multibyte::Handlers
0
- class EncodingError < ArgumentError; end
0
+module ActiveSupport::Multibyte::Handlers #:nodoc:
0
+ class EncodingError < ArgumentError #:nodoc:
0
+ end
0
   
0
   class Codepoint #:nodoc:
0
     attr_accessor :code, :combining_class, :decomp_type, :decomp_mapping, :uppercase_mapping, :lowercase_mapping
...
1
2
3
4
5
 
6
7
8
...
1
2
3
 
 
4
5
6
7
0
@@ -1,8 +1,7 @@
0
 # Methods in this handler call functions in the utf8proc ruby extension. These are significantly faster than the
0
 # pure ruby versions. Chars automatically uses this handler when it can load the utf8proc extension. For
0
 # documentation on handler methods see UTF8Handler.
0
-class ActiveSupport::Multibyte::Handlers::UTF8HandlerProc < ActiveSupport::Multibyte::Handlers::UTF8Handler
0
-
0
+class ActiveSupport::Multibyte::Handlers::UTF8HandlerProc < ActiveSupport::Multibyte::Handlers::UTF8Handler #:nodoc:
0
   class << self
0
     def normalize(str, form=ActiveSupport::Multibyte::DEFAULT_NORMALIZATION_FORM) #:nodoc:
0
       codepoints = str.unpack('U*')
...
15
16
17
18
 
19
20
21
...
15
16
17
 
18
19
20
21
0
@@ -15,7 +15,7 @@ class XmlSimple
0
 
0
   # A simple cache for XML documents that were already transformed
0
   # by xml_in.
0
- class Cache
0
+ class Cache #:nodoc:
0
     # Creates and initializes a new Cache object.
0
     def initialize
0
       @mem_share_cache = {}

Comments

    No one has commented yet.