aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.autotest26
-rw-r--r--Rakefile6
-rw-r--r--TAGS5725
-rw-r--r--lib/arel/table.rb6
-rw-r--r--spec/nodes/select_core_spec.rb21
-rw-r--r--spec/spec.opts3
-rw-r--r--spec/spec_helper.rb18
-rw-r--r--spec/support/check.rb6
-rw-r--r--spec/support/matchers.rb1
-rw-r--r--spec/support/matchers/be_like.rb24
-rw-r--r--test/attributes/test_attribute.rb (renamed from spec/attributes/attribute_spec.rb)166
-rw-r--r--test/nodes/test_count.rb (renamed from spec/nodes/count_spec.rb)4
-rw-r--r--test/nodes/test_delete_statement.rb (renamed from spec/nodes/delete_statement_spec.rb)5
-rw-r--r--test/nodes/test_equality.rb (renamed from spec/nodes/equality_spec.rb)18
-rw-r--r--test/nodes/test_insert_statement.rb (renamed from spec/nodes/insert_statement_spec.rb)10
-rw-r--r--test/nodes/test_or.rb (renamed from spec/nodes/or_spec.rb)10
-rw-r--r--test/nodes/test_select_core.rb22
-rw-r--r--test/nodes/test_select_statement.rb (renamed from spec/nodes/select_statement_spec.rb)5
-rw-r--r--test/nodes/test_sql_literal.rb (renamed from spec/nodes/sql_literal_spec.rb)8
-rw-r--r--test/nodes/test_sum.rb (renamed from spec/nodes/sum_spec.rb)2
-rw-r--r--test/nodes/test_update_statement.rb (renamed from spec/nodes/update_statement_spec.rb)10
-rw-r--r--test/spec_helper.rb21
-rw-r--r--test/support/fake_record.rb (renamed from spec/support/fake_record.rb)0
-rw-r--r--test/test_activerecord_compat.rb (renamed from spec/activerecord_compat_spec.rb)2
-rw-r--r--test/test_attributes.rb (renamed from spec/attributes_spec.rb)12
-rw-r--r--test/test_crud.rb (renamed from spec/crud_spec.rb)6
-rw-r--r--test/test_delete_manager.rb (renamed from spec/delete_manager_spec.rb)29
-rw-r--r--test/test_insert_manager.rb (renamed from spec/insert_manager_spec.rb)45
-rw-r--r--test/test_select_manager.rb (renamed from spec/select_manager_spec.rb)130
-rw-r--r--test/test_table.rb (renamed from spec/table_spec.rb)84
-rw-r--r--test/test_update_manager.rb (renamed from spec/update_manager_spec.rb)39
-rw-r--r--test/visitors/test_join_sql.rb (renamed from spec/visitors/join_sql_spec.rb)4
-rw-r--r--test/visitors/test_oracle.rb (renamed from spec/visitors/oracle_spec.rb)18
-rw-r--r--test/visitors/test_postgres.rb (renamed from spec/visitors/postgres_spec.rb)2
-rw-r--r--test/visitors/test_to_sql.rb (renamed from spec/visitors/to_sql_spec.rb)24
35 files changed, 6108 insertions, 404 deletions
diff --git a/.autotest b/.autotest
new file mode 100644
index 0000000000..19ea6ecbe6
--- /dev/null
+++ b/.autotest
@@ -0,0 +1,26 @@
+# -*- ruby -*-
+
+# require 'autotest/restart'
+
+ENV['GEM_PATH'] = "tmp/isolate/ruby-1.8"
+
+module Autotest::Restart
+ Autotest.add_hook :updated do |at, *args|
+ if args.flatten.include? ".autotest" then
+ warn "Detected change to .autotest, restarting"
+ cmd = %w(autotest)
+ cmd << " -v" if $v
+ cmd += ARGV
+
+ exec(*cmd)
+ end
+ end
+end
+
+Autotest.add_hook :initialize do |at|
+ at.add_exception 'tmp'
+ at.testlib = "minitest/autorun"
+
+ at.find_directories = ARGV unless ARGV.empty?
+end
+
diff --git a/Rakefile b/Rakefile
index a7904be854..0097cb5ae0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -2,6 +2,7 @@ require "rubygems"
gem 'hoe', '>= 2.1.0'
require 'hoe'
+Hoe.plugin :isolate
Hoe.plugin :gemspec # `gem install hoe-gemspec`
Hoe.spec 'arel' do
@@ -13,5 +14,8 @@ Hoe.spec 'arel' do
self.readme_file = 'README.markdown'
self.extra_rdoc_files = FileList['README.markdown']
self.extra_dev_deps << ['rspec', '~> 1.3.0']
- self.testlib = :rspec
+ self.extra_dev_deps << ['ZenTest']
+ self.extra_dev_deps << ['minitest']
+ self.extra_dev_deps << ['hoe-gemspec']
+ self.testlib = :minitest
end
diff --git a/TAGS b/TAGS
new file mode 100644
index 0000000000..39d7f7e2f4
--- /dev/null
+++ b/TAGS
@@ -0,0 +1,5725 @@
+
+fuck_spec.rb ,32
+def check truthinesscheck3,20
+
+fuck_spec.rb ~,0
+
+lib/arel/attributes/attribute.rb,1878
+module ArelArel1,0
+ module AttributesAttributes2,12
+ class Attribute < Struct.new :relation, :name, :columnAttribute3,32
+ def not_eq othernot_eq6,124
+ def not_eq_any othersnot_eq_any10,198
+ def not_eq_all othersnot_eq_all14,274
+ def eq othereq18,350
+ def eq_any otherseq_any22,420
+ def eq_all otherseq_all26,488
+ def in otherin30,556
+ def in_any othersin_any47,1079
+ def in_all othersin_all51,1147
+ def not_in othernot_in55,1215
+ def not_in_any othersnot_in_any74,1823
+ def not_in_all othersnot_in_all78,1899
+ def matches othermatches82,1975
+ def matches_any othersmatches_any86,2049
+ def matches_all othersmatches_all90,2127
+ def does_not_match otherdoes_not_match94,2205
+ def does_not_match_any othersdoes_not_match_any98,2291
+ def does_not_match_all othersdoes_not_match_all102,2383
+ def gteq rightgteq106,2475
+ def gteq_any othersgteq_any110,2557
+ def gteq_all othersgteq_all114,2629
+ def gt rightgt118,2701
+ def gt_any othersgt_any122,2774
+ def gt_all othersgt_all126,2842
+ def lt rightlt130,2910
+ def lt_any otherslt_any134,2980
+ def lt_all otherslt_all138,3048
+ def lteq rightlteq142,3116
+ def lteq_any otherslteq_any146,3195
+ def lteq_all otherslteq_all150,3267
+ def ascasc154,3339
+ def descdesc158,3403
+ def grouping_any method_id, othersgrouping_any164,3484
+ def grouping_all method_id, othersgrouping_all172,3708
+ class String < Attribute; endString181,3941
+ class Time < Attribute; endTime182,3976
+ class Boolean < Attribute; endBoolean183,4011
+ class Decimal < Attribute; endDecimal184,4046
+ class Float < Attribute; endFloat185,4081
+ class Integer < Attribute; endInteger186,4116
+
+lib/arel/attributes.rb,92
+module ArelArel3,37
+ module AttributesAttributes4,49
+ def self.for columnfor7,152
+
+lib/arel/compatibility/wheres.rb,296
+module ArelArel1,0
+ module Compatibility # :nodoc:Compatibility2,12
+ class Wheres # :nodoc:Wheres3,45
+ module Value # :nodoc:Value6,98
+ def valuevalue8,158
+ def namename12,219
+ def initialize engine, collectioninitialize17,282
+ def eacheach22,395
+
+lib/arel/crud.rb,145
+module ArelArel1,0
+ module CrudCrud4,57
+ def update valuesupdate6,111
+ def insert valuesinsert24,537
+ def deletedelete30,670
+
+lib/arel/delete_manager.rb,231
+module ArelArel1,0
+ class DeleteManager < Arel::TreeManagerDeleteManager2,12
+ def initialize engineinitialize3,54
+ def from relationfrom8,142
+ def where expressionwhere13,216
+ def wheres= listwheres=18,294
+
+lib/arel/deprecated.rb,21
+module ArelArel1,0
+
+lib/arel/expression.rb,57
+module ArelArel1,0
+ module ExpressionExpression2,12
+
+lib/arel/expressions.rb,216
+module ArelArel1,0
+ module ExpressionsExpressions2,12
+ def count distinct = falsecount3,33
+ def sumsum7,113
+ def maximummaximum11,195
+ def minimumminimum15,281
+ def averageaverage19,367
+
+lib/arel/insert_manager.rb,300
+module ArelArel1,0
+ class InsertManager < Arel::TreeManagerInsertManager2,12
+ def initialize engineinitialize3,54
+ def into tableinto8,142
+ def columns; @head.columns endcolumns13,210
+ def values= val; @head.values = val; endvalues=14,245
+ def insert fieldsinsert16,291
+
+lib/arel/nodes/and.rb,92
+module ArelArel1,0
+ module NodesNodes2,12
+ class And < Arel::Nodes::BinaryAnd3,27
+
+lib/arel/nodes/assignment.rb,106
+module ArelArel1,0
+ module NodesNodes2,12
+ class Assignment < Arel::Nodes::BinaryAssignment3,27
+
+lib/arel/nodes/avg.rb,94
+module ArelArel1,0
+ module NodesNodes2,12
+ class Avg < Arel::Nodes::FunctionAvg3,27
+
+lib/arel/nodes/between.rb,100
+module ArelArel1,0
+ module NodesNodes2,12
+ class Between < Arel::Nodes::BinaryBetween3,27
+
+lib/arel/nodes/binary.rb,145
+module ArelArel1,0
+ module NodesNodes2,12
+ class Binary < Arel::Nodes::NodeBinary3,27
+ def initialize left, rightinitialize6,99
+
+lib/arel/nodes/count.rb,171
+module ArelArel1,0
+ module NodesNodes2,12
+ class Count < Arel::Nodes::FunctionCount3,27
+ def initialize expr, distinct = false, aliaz = nilinitialize7,99
+
+lib/arel/nodes/delete_statement.rb,186
+module ArelArel1,0
+ module NodesNodes2,12
+ class DeleteStatementDeleteStatement3,27
+ def initializeinitialize6,93
+ def initialize_copy otherinitialize_copy11,168
+
+lib/arel/nodes/does_not_match.rb,110
+module ArelArel1,0
+ module NodesNodes2,12
+ class DoesNotMatch < Arel::Nodes::BinaryDoesNotMatch3,27
+
+lib/arel/nodes/equality.rb,144
+module ArelArel1,0
+ module NodesNodes2,12
+ class Equality < Arel::Nodes::BinaryEquality3,27
+ def operator; :== endoperator4,68
+
+lib/arel/nodes/exists.rb,125
+module ArelArel1,0
+ module NodesNodes2,12
+ class ExistsExists3,27
+ def initialize select_stmtinitialize6,76
+
+lib/arel/nodes/function.rb,185
+module ArelArel1,0
+ module NodesNodes2,12
+ class Function < Arel::Nodes::NodeFunction3,27
+ def initialize expr, aliaz = nilinitialize7,139
+ def as aliazas12,246
+
+lib/arel/nodes/greater_than.rb,108
+module ArelArel1,0
+ module NodesNodes2,12
+ class GreaterThan < Arel::Nodes::BinaryGreaterThan3,27
+
+lib/arel/nodes/greater_than_or_equal.rb,122
+module ArelArel1,0
+ module NodesNodes2,12
+ class GreaterThanOrEqual < Arel::Nodes::BinaryGreaterThanOrEqual3,27
+
+lib/arel/nodes/group.rb,116
+module ArelArel1,0
+ module NodesNodes2,12
+ class GroupGroup3,27
+ def initialize exprinitialize6,70
+
+lib/arel/nodes/grouping.rb,148
+module ArelArel1,0
+ module NodesNodes2,12
+ class Grouping < Arel::Nodes::NodeGrouping3,27
+ def initialize expressioninitialize6,93
+
+lib/arel/nodes/having.rb,118
+module ArelArel1,0
+ module NodesNodes2,12
+ class HavingHaving3,27
+ def initialize exprinitialize6,71
+
+lib/arel/nodes/in.rb,79
+module ArelArel1,0
+ module NodesNodes2,12
+ class In < EqualityIn3,27
+
+lib/arel/nodes/inner_join.rb,102
+module ArelArel1,0
+ module NodesNodes2,12
+ class InnerJoin < Arel::Nodes::JoinInnerJoin3,27
+
+lib/arel/nodes/insert_statement.rb,187
+module ArelArel1,0
+ module NodesNodes2,12
+ class InsertStatementInsertStatement3,27
+ def initializeinitialize6,103
+ def initialize_copy otherinitialize_copy12,206
+
+lib/arel/nodes/join.rb,133
+module ArelArel1,0
+ module NodesNodes2,12
+ class JoinJoin3,27
+ def initialize left, right, constraintinitialize6,90
+
+lib/arel/nodes/less_than.rb,102
+module ArelArel1,0
+ module NodesNodes2,12
+ class LessThan < Arel::Nodes::BinaryLessThan3,27
+
+lib/arel/nodes/less_than_or_equal.rb,116
+module ArelArel1,0
+ module NodesNodes2,12
+ class LessThanOrEqual < Arel::Nodes::BinaryLessThanOrEqual3,27
+
+lib/arel/nodes/lock.rb,72
+module ArelArel1,0
+ module NodesNodes2,12
+ class LockLock3,27
+
+lib/arel/nodes/matches.rb,100
+module ArelArel1,0
+ module NodesNodes2,12
+ class Matches < Arel::Nodes::BinaryMatches3,27
+
+lib/arel/nodes/max.rb,94
+module ArelArel1,0
+ module NodesNodes2,12
+ class Max < Arel::Nodes::FunctionMax3,27
+
+lib/arel/nodes/min.rb,94
+module ArelArel1,0
+ module NodesNodes2,12
+ class Min < Arel::Nodes::FunctionMin3,27
+
+lib/arel/nodes/node.rb,184
+module ArelArel1,0
+ module NodesNodes2,12
+ class NodeNode5,79
+ def or rightor9,207
+ def and rightand15,355
+ def to_sql engine = Table.engineto_sql24,684
+
+lib/arel/nodes/not_equal.rb,102
+module ArelArel1,0
+ module NodesNodes2,12
+ class NotEqual < Arel::Nodes::BinaryNotEqual3,27
+
+lib/arel/nodes/not_in.rb,96
+module ArelArel1,0
+ module NodesNodes2,12
+ class NotIn < Arel::Nodes::BinaryNotIn3,27
+
+lib/arel/nodes/offset.rb,119
+module ArelArel1,0
+ module NodesNodes2,12
+ class OffsetOffset3,27
+ def initialize valueinitialize6,72
+
+lib/arel/nodes/on.rb,110
+module ArelArel1,0
+ module NodesNodes2,12
+ class OnOn3,27
+ def initialize exprinitialize6,67
+
+lib/arel/nodes/or.rb,90
+module ArelArel1,0
+ module NodesNodes2,12
+ class Or < Arel::Nodes::BinaryOr3,27
+
+lib/arel/nodes/ordering.rb,247
+module ArelArel1,0
+ module NodesNodes2,12
+ class Ordering < Arel::Nodes::NodeOrdering3,27
+ def initialize expression, direction = :ascinitialize6,105
+ def ascending?ascending?10,216
+ def descending?descending?14,274
+
+lib/arel/nodes/outer_join.rb,102
+module ArelArel1,0
+ module NodesNodes2,12
+ class OuterJoin < Arel::Nodes::JoinOuterJoin3,27
+
+lib/arel/nodes/select_core.rb,177
+module ArelArel1,0
+ module NodesNodes2,12
+ class SelectCoreSelectCore3,27
+ def initializeinitialize7,136
+ def initialize_copy otherinitialize_copy15,300
+
+lib/arel/nodes/select_statement.rb,212
+module ArelArel1,0
+ module NodesNodes2,12
+ class SelectStatementSelectStatement3,27
+ def initialize cores = [SelectCore.new]initialize7,131
+ def initialize_copy otherinitialize_copy15,299
+
+lib/arel/nodes/sql_literal.rb,93
+module ArelArel1,0
+ module NodesNodes2,12
+ class SqlLiteral < StringSqlLiteral3,27
+
+lib/arel/nodes/string_join.rb,153
+module ArelArel1,0
+ module NodesNodes2,12
+ class StringJoin < Arel::Nodes::JoinStringJoin3,27
+ def initialize left, rightinitialize6,93
+
+lib/arel/nodes/sum.rb,94
+module ArelArel1,0
+ module NodesNodes2,12
+ class Sum < Arel::Nodes::FunctionSum3,27
+
+lib/arel/nodes/table_alias.rb,165
+module ArelArel1,0
+ module NodesNodes2,12
+ class TableAliasTableAlias3,27
+ def initialize name, relationinitialize7,125
+ def [] name[]15,343
+
+lib/arel/nodes/unqualified_column.rb,203
+module ArelArel1,0
+ module NodesNodes2,12
+ class UnqualifiedColumnUnqualifiedColumn3,27
+ def initialize attributeinitialize6,87
+ def columncolumn10,160
+ def namename14,214
+
+lib/arel/nodes/update_statement.rb,187
+module ArelArel1,0
+ module NodesNodes2,12
+ class UpdateStatementUpdateStatement3,27
+ def initializeinitialize6,119
+ def initialize_copy otherinitialize_copy14,264
+
+lib/arel/nodes/values.rb,133
+module ArelArel1,0
+ module NodesNodes2,12
+ class ValuesValues3,27
+ def initialize exprs, columns = []initialize6,88
+
+lib/arel/nodes.rb,0
+
+lib/arel/relation.rb,53
+module ArelArel1,0
+ module RelationRelation4,72
+
+lib/arel/select_manager.rb,1162
+module ArelArel1,0
+ class SelectManager < Arel::TreeManagerSelectManager2,12
+ def initialize engine, table = nilinitialize5,78
+ def takentaken12,239
+ def constraintsconstraints16,280
+ def skip amountskip20,327
+ def where_clauseswhere_clauses25,414
+ def lock locking = truelock31,588
+ def lockedlocked38,796
+ def on *exprson42,837
+ def group *columnsgroup47,936
+ def from tablefrom58,1245
+ def join relation, klass = Nodes::InnerJoinjoin76,1699
+ def having exprhaving88,2009
+ def project *projectionsproject95,2154
+ def where exprwhere104,2440
+ def order *exprorder109,2505
+ def ordersorders117,2744
+ def whereswheres121,2787
+ def where_sqlwhere_sql125,2864
+ def take limittake132,3014
+ def join_sqljoin_sql137,3079
+ def order_clausesorder_clauses144,3227
+ def joins managerjoins150,3364
+ class Row < Struct.new(:data) # :nodoc:Row154,3418
+ def idid155,3462
+ def method_missing(name, *args)method_missing159,3505
+ def to_a # :nodoc:to_a166,3646
+ def insert valuesinsert173,3921
+ def collapse exprscollapse189,4729
+
+lib/arel/sql/engine.rb,106
+module ArelArel1,0
+ module SqlSql2,12
+ class EngineEngine3,25
+ def self.new thingnew4,42
+
+lib/arel/sql_literal.rb,76
+module ArelArel1,0
+ class SqlLiteral < Nodes::SqlLiteralSqlLiteral2,12
+
+lib/arel/table.rb,822
+module ArelArel1,0
+ class TableTable2,12
+ def initialize name, engine = Table.engineinitialize10,173
+ def primary_keyprimary_key29,755
+ def aliasalias37,989
+ def from tablefrom43,1108
+ def joins managerjoins47,1176
+ def join relation, klass = Nodes::InnerJoinjoin51,1217
+ def group *columnsgroup63,1521
+ def order *exprorder67,1586
+ def where conditionwhere71,1645
+ def project *thingsproject75,1711
+ def take amounttake79,1778
+ def having exprhaving83,1836
+ def columnscolumns87,1894
+ def [] name[]92,2015
+ def select_managerselect_manager99,2156
+ def attributes_for columnsattributes_for105,2234
+ def table_exists?table_exists?113,2415
+ def tablestables117,2530
+ def self.table_cache engine # :nodoc:table_cache122,2616
+
+lib/arel/tree_manager.rb,212
+module ArelArel1,0
+ class TreeManagerTreeManager2,12
+ def initialize engineinitialize8,114
+ def to_dotto_dot13,219
+ def to_sqlto_sql17,280
+ def initialize_copy otherinitialize_copy21,332
+
+lib/arel/update_manager.rb,319
+module ArelArel1,0
+ class UpdateManager < Arel::TreeManagerUpdateManager2,12
+ def initialize engineinitialize3,54
+ def take limittake8,142
+ def order *exprorder13,207
+ def table tabletable20,302
+ def wheres= exprswheres=25,371
+ def where exprwhere29,429
+ def set valuesset34,495
+
+lib/arel/visitors/dot.rb,2083
+module ArelArel1,0
+ module VisitorsVisitors2,12
+ class DotDot3,30
+ class Node # :nodoc:Node4,44
+ def initialize name, id, fields = []initialize7,114
+ class Edge < Struct.new :name, :from, :to # :nodoc:Edge14,257
+ def initializeinitialize17,326
+ def accept objectaccept25,483
+ def visit_Arel_Nodes_Grouping ovisit_Arel_Nodes_Grouping31,568
+ def visit_Arel_Nodes_Ordering ovisit_Arel_Nodes_Ordering35,646
+ def visit_Arel_Nodes_TableAlias ovisit_Arel_Nodes_TableAlias40,758
+ def visit_Arel_Nodes_Sum ovisit_Arel_Nodes_Sum46,903
+ def visit_Arel_Nodes_Count ovisit_Arel_Nodes_Count53,1125
+ def visit_Arel_Nodes_On ovisit_Arel_Nodes_On58,1240
+ def visit_Arel_Nodes_Values ovisit_Arel_Nodes_Values62,1312
+ def visit_Arel_Nodes_StringJoin ovisit_Arel_Nodes_StringJoin66,1395
+ def visit_Arel_Nodes_InnerJoin ovisit_Arel_Nodes_InnerJoin71,1505
+ def visit_Arel_Nodes_DeleteStatement ovisit_Arel_Nodes_DeleteStatement78,1717
+ def visit_Arel_Nodes_UnqualifiedColumn ovisit_Arel_Nodes_UnqualifiedColumn83,1837
+ def visit_Arel_Nodes_Offset ovisit_Arel_Nodes_Offset87,1929
+ def visit_Arel_Nodes_InsertStatement ovisit_Arel_Nodes_InsertStatement91,2006
+ def visit_Arel_Nodes_SelectCore ovisit_Arel_Nodes_SelectCore97,2158
+ def visit_Arel_Nodes_SelectStatement ovisit_Arel_Nodes_SelectStatement103,2306
+ def visit_Arel_Nodes_UpdateStatement ovisit_Arel_Nodes_UpdateStatement110,2484
+ def visit_Arel_Table ovisit_Arel_Table116,2635
+ def visit_Arel_Attribute ovisit_Arel_Attribute120,2704
+ def visit_Arel_Nodes_Equality ovisit_Arel_Nodes_Equality131,3196
+ def visit_String ovisit_String149,4292
+ def visit_Hash ovisit_Hash165,4879
+ def visit_Array ovisit_Array171,5009
+ def visit_edge o, methodvisit_edge177,5121
+ def visit ovisit181,5209
+ def edge nameedge195,5542
+ def with_node nodewith_node203,5712
+ def quote stringquote213,5889
+ def to_dotto_dot217,5959
+
+lib/arel/visitors/join_sql.rb,406
+module ArelArel1,0
+ module VisitorsVisitors2,12
+ class JoinSql < Arel::Visitors::ToSqlJoinSql11,330
+ def visit_Arel_Nodes_SelectCore ovisit_Arel_Nodes_SelectCore12,372
+ def visit_Arel_Nodes_StringJoin ovisit_Arel_Nodes_StringJoin16,489
+ def visit_Arel_Nodes_OuterJoin ovisit_Arel_Nodes_OuterJoin23,654
+ def visit_Arel_Nodes_InnerJoin ovisit_Arel_Nodes_InnerJoin30,876
+
+lib/arel/visitors/mysql.rb,187
+module ArelArel1,0
+ module VisitorsVisitors2,12
+ class MySQL < Arel::Visitors::ToSqlMySQL3,30
+ def visit_Arel_Nodes_UpdateStatement ovisit_Arel_Nodes_UpdateStatement4,70
+
+lib/arel/visitors/oracle.rb,301
+module ArelArel1,0
+ module VisitorsVisitors2,12
+ class Oracle < Arel::Visitors::ToSqlOracle3,30
+ def visit_Arel_Nodes_SelectStatement ovisit_Arel_Nodes_SelectStatement6,86
+ def visit_Arel_Nodes_Offset ovisit_Arel_Nodes_Offset46,1288
+ def order_hacks oorder_hacks52,1439
+
+lib/arel/visitors/order_clauses.rb,201
+module ArelArel1,0
+ module VisitorsVisitors2,12
+ class OrderClauses < Arel::Visitors::ToSqlOrderClauses3,30
+ def visit_Arel_Nodes_SelectStatement ovisit_Arel_Nodes_SelectStatement4,77
+
+lib/arel/visitors/postgresql.rb,520
+module ArelArel1,0
+ module VisitorsVisitors2,12
+ class PostgreSQL < Arel::Visitors::ToSqlPostgreSQL3,30
+ def visit_Arel_Nodes_Lock ovisit_Arel_Nodes_Lock5,89
+ def visit_Arel_Nodes_SelectStatement ovisit_Arel_Nodes_SelectStatement9,155
+ def visit_Arel_Nodes_Matches ovisit_Arel_Nodes_Matches28,708
+ def visit_Arel_Nodes_DoesNotMatch ovisit_Arel_Nodes_DoesNotMatch32,805
+ def using_distinct_on?(o)using_distinct_on?36,911
+ def aliased_orders ordersaliased_orders44,1100
+
+lib/arel/visitors/to_sql.rb,3412
+module ArelArel4,37
+ module VisitorsVisitors5,49
+ class ToSqlToSql6,67
+ def initialize engineinitialize7,83
+ def accept objectaccept15,273
+ def visit_Arel_Nodes_DeleteStatement ovisit_Arel_Nodes_DeleteStatement24,471
+ def visit_Arel_Nodes_UpdateStatement ovisit_Arel_Nodes_UpdateStatement31,697
+ def visit_Arel_Nodes_InsertStatement ovisit_Arel_Nodes_InsertStatement51,1441
+ def visit_Arel_Nodes_Exists ovisit_Arel_Nodes_Exists63,1750
+ def visit_Arel_Nodes_Values ovisit_Arel_Nodes_Values67,1839
+ def visit_Arel_Nodes_SelectStatement ovisit_Arel_Nodes_SelectStatement73,2027
+ def visit_Arel_Nodes_SelectCore ovisit_Arel_Nodes_SelectCore83,2397
+ def visit_Arel_Nodes_Having ovisit_Arel_Nodes_Having93,2821
+ def visit_Arel_Nodes_Offset ovisit_Arel_Nodes_Offset97,2901
+ def visit_Arel_Nodes_Lock ovisit_Arel_Nodes_Lock103,3077
+ def visit_Arel_Nodes_Grouping ovisit_Arel_Nodes_Grouping106,3122
+ def visit_Arel_Nodes_Ordering ovisit_Arel_Nodes_Ordering110,3199
+ def visit_Arel_Nodes_Group ovisit_Arel_Nodes_Group114,3308
+ def visit_Arel_Nodes_Count ovisit_Arel_Nodes_Count118,3375
+ def visit_Arel_Nodes_Sum ovisit_Arel_Nodes_Sum124,3576
+ def visit_Arel_Nodes_Max ovisit_Arel_Nodes_Max129,3733
+ def visit_Arel_Nodes_Min ovisit_Arel_Nodes_Min134,3890
+ def visit_Arel_Nodes_Avg ovisit_Arel_Nodes_Avg139,4047
+ def visit_Arel_Nodes_TableAlias ovisit_Arel_Nodes_TableAlias144,4204
+ def visit_Arel_Nodes_Between ovisit_Arel_Nodes_Between148,4312
+ def visit_Arel_Nodes_GreaterThanOrEqual ovisit_Arel_Nodes_GreaterThanOrEqual152,4411
+ def visit_Arel_Nodes_GreaterThan ovisit_Arel_Nodes_GreaterThan156,4516
+ def visit_Arel_Nodes_LessThanOrEqual ovisit_Arel_Nodes_LessThanOrEqual160,4613
+ def visit_Arel_Nodes_LessThan ovisit_Arel_Nodes_LessThan164,4715
+ def visit_Arel_Nodes_Matches ovisit_Arel_Nodes_Matches168,4809
+ def visit_Arel_Nodes_DoesNotMatch ovisit_Arel_Nodes_DoesNotMatch172,4905
+ def visit_Arel_Nodes_StringJoin ovisit_Arel_Nodes_StringJoin176,5010
+ def visit_Arel_Nodes_OuterJoin ovisit_Arel_Nodes_OuterJoin180,5104
+ def visit_Arel_Nodes_InnerJoin ovisit_Arel_Nodes_InnerJoin184,5235
+ def visit_Arel_Nodes_On ovisit_Arel_Nodes_On188,5377
+ def visit_Arel_Table ovisit_Arel_Table192,5449
+ def visit_Arel_Nodes_In ovisit_Arel_Nodes_In200,5646
+ def visit_Arel_Nodes_NotIn ovisit_Arel_Nodes_NotIn207,5828
+ def visit_Arel_Nodes_And ovisit_Arel_Nodes_And214,6017
+ def visit_Arel_Nodes_Or ovisit_Arel_Nodes_Or218,6108
+ def visit_Arel_Nodes_Assignment ovisit_Arel_Nodes_Assignment222,6197
+ def visit_Arel_Nodes_Equality ovisit_Arel_Nodes_Equality227,6331
+ def visit_Arel_Nodes_NotEqual ovisit_Arel_Nodes_NotEqual237,6533
+ def visit_Arel_Nodes_UnqualifiedColumn ovisit_Arel_Nodes_UnqualifiedColumn247,6740
+ def visit_Arel_Attributes_Attribute ovisit_Arel_Attributes_Attribute251,6836
+ def visit_Fixnum o; o endvisit_Fixnum263,7503
+ def visit_String o; quote(o, @last_column) endvisit_String267,7661
+ def visit objectvisit284,8259
+ def quote value, column = nilquote288,8337
+ def quote_table_name namequote_table_name292,8424
+ def quote_column_name namequote_column_name296,8535
+
+lib/arel/visitors/where_sql.rb,183
+module ArelArel1,0
+ module VisitorsVisitors2,12
+ class WhereSql < Arel::Visitors::ToSqlWhereSql3,30
+ def visit_Arel_Nodes_SelectCore ovisit_Arel_Nodes_SelectCore4,73
+
+lib/arel/visitors.rb,109
+module ArelArel10,261
+ module VisitorsVisitors11,273
+ def self.visitor_for enginevisitor_for25,743
+
+lib/arel.rb,58
+module ArelArel29,573
+ def self.sql raw_sqlsql32,606
+
+spec/support/check.rb,54
+module CheckCheck1,0
+ def check(*args)check4,154
+
+spec/support/matchers/be_like.rb,292
+module MatchersMatchers1,0
+ class BeLikeBeLike2,16
+ def initialize(expected)initialize3,31
+ def matches?(actual)matches?7,119
+ def failure_messagefailure_message12,226
+ def negative_failure_messagenegative_failure_message16,314
+ def be_like(expected)be_like21,419
+
+spec/support/matchers.rb,0
+
+spec/support/shared/tree_manager_shared.rb,0
+
+test/attributes/test_attribute.rb,58
+module ArelArel3,23
+ module AttributesAttributes4,35
+
+test/nodes/test_count.rb,0
+
+test/nodes/test_delete_statement.rb,0
+
+test/nodes/test_equality.rb,318
+module ArelArel3,23
+ module NodesNodes4,35
+ def quote(*args) @quote_count += 1; super; endquote37,995
+ def quote_column_name(*args) @quote_count += 1; super; endquote_column_name38,1056
+ def quote_table_name(*args) @quote_count += 1; super; endquote_table_name39,1129
+
+test/nodes/test_insert_statement.rb,0
+
+test/nodes/test_or.rb,48
+module ArelArel3,23
+ module NodesNodes4,35
+
+test/nodes/test_select_core.rb,0
+
+test/nodes/test_select_statement.rb,0
+
+test/nodes/test_sql_literal.rb,48
+module ArelArel3,23
+ module NodesNodes4,35
+
+test/nodes/test_sum.rb,0
+
+test/nodes/test_update_statement.rb,0
+
+test/spec_helper.rb,108
+class ObjectObject21,441
+ def must_be_like othermust_be_like22,454
+ def check truthinesscheck27,575
+
+test/support/fake_record.rb,742
+module FakeRecordFakeRecord1,0
+ class Column < Struct.new(:name, :type)Column2,18
+ class ConnectionConnection5,67
+ def initializeinitialize8,111
+ def primary_key nameprimary_key21,375
+ def table_exists? nametable_exists?25,440
+ def columns name, message = nilcolumns29,509
+ def quote_table_name namequote_table_name33,580
+ def quote_column_name namequote_column_name37,644
+ def quote thing, column = nilquote41,709
+ class ConnectionPoolConnectionPool62,1057
+ class Spec < Struct.new(:config)Spec63,1080
+ def initializeinitialize68,1162
+ def with_connectionwith_connection73,1271
+ class BaseBase78,1333
+ def initializeinitialize81,1382
+ def connectionconnection85,1454
+
+test/test_activerecord_compat.rb,22
+module ArelArel3,23
+
+test/test_attributes.rb,22
+module ArelArel3,23
+
+test/test_crud.rb,319
+module ArelArel3,23
+ class FakeCrudder < SelectManagerFakeCrudder4,35
+ class FakeEngineFakeEngine5,71
+ def initializeinitialize8,152
+ def connection; self endconnection15,302
+ def method_missing name, *argsmethod_missing17,334
+ def initialize engine = FakeEngine.newinitialize27,487
+
+test/test_delete_manager.rb,22
+module ArelArel3,23
+
+test/test_insert_manager.rb,22
+module ArelArel3,23
+
+test/test_select_manager.rb,533
+module ArelArel3,23
+ class EngineProxyEngineProxy4,35
+ def initialize engineinitialize10,161
+ def with_connectionwith_connection18,331
+ def connectionconnection22,381
+ def quote_table_name thing; @engine.connection.quote_table_name thing endquote_table_name26,420
+ def quote_column_name thing; @engine.connection.quote_column_name thing endquote_column_name27,498
+ def quote thing, column; @engine.connection.quote thing, column endquote28,578
+ def execute sql, name = nil, *argsexecute30,651
+
+test/test_table.rb,22
+module ArelArel3,23
+
+test/test_update_manager.rb,22
+module ArelArel3,23
+
+test/visitors/test_join_sql.rb,54
+module ArelArel3,23
+ module VisitorsVisitors4,35
+
+test/visitors/test_oracle.rb,54
+module ArelArel3,23
+ module VisitorsVisitors4,35
+
+test/visitors/test_postgres.rb,54
+module ArelArel3,23
+ module VisitorsVisitors4,35
+
+test/visitors/test_to_sql.rb,111
+module ArelArel3,23
+ module VisitorsVisitors4,35
+ def quote value, column = nilquote111,2951
+
+tmp/isolate/ruby-1.8/bin/autospec,0
+
+tmp/isolate/ruby-1.8/bin/autotest,0
+
+tmp/isolate/ruby-1.8/bin/edit_json.rb,0
+
+tmp/isolate/ruby-1.8/bin/multigem,0
+
+tmp/isolate/ruby-1.8/bin/multiruby,0
+
+tmp/isolate/ruby-1.8/bin/multiruby_setup,0
+
+tmp/isolate/ruby-1.8/bin/prettify_json.rb,0
+
+tmp/isolate/ruby-1.8/bin/rake,0
+
+tmp/isolate/ruby-1.8/bin/rubyforge,0
+
+tmp/isolate/ruby-1.8/bin/sow,0
+
+tmp/isolate/ruby-1.8/bin/spec,0
+
+tmp/isolate/ruby-1.8/bin/unit_diff,0
+
+tmp/isolate/ruby-1.8/bin/zentest,0
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/bin/autotest,49
+class DirDir30,630
+ def [](*args)[]33,681
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/bin/multigem,0
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/bin/multiruby,27
+def setenv dirsetenv7,76
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/bin/multiruby_setup,0
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/bin/unit_diff,0
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/bin/zentest,0
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/example1.rb,97
+module SomethingSomething1,0
+ class ThingyThingy2,17
+ def do_somethingdo_something3,32
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/example2.rb,205
+module TestSomethingTestSomething1,0
+ class TestThingyTestThingy2,21
+ def test_do_something_normaltest_do_something_normal3,40
+ def test_do_something_edgecasetest_do_something_edgecase8,172
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/example_dot_autotest.rb,0
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/lib/autotest/autoupdate.rb,124
+module Autotest::AutoUpdateAutotest1,0
+ def self.sleep_time= osleep_time4,89
+ def self.update_cmd= oupdate_cmd8,142
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/lib/autotest/once.rb,36
+module Autotest::OnceAutotest4,53
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/lib/autotest/rcov.rb,143
+module Autotest::RCovAutotest1,0
+ def self.command= ocommand4,60
+ def self.pattern= opattern8,107
+ def self.options= ooptions12,209
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/lib/autotest/restart.rb,38
+module Autotest::RestartAutotest1,0
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/lib/autotest/timestamp.rb,41
+module Autotest::TimestampAutotest3,16
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/lib/autotest.rb,1582
+class AutotestAutotest60,1839
+ def self.add_discovery &procadd_discovery81,2308
+ def self.autodiscoverautodiscover110,3363
+ def self.runrun123,3602
+ def initializeinitialize152,4293
+ def runrun191,5559
+ def get_to_greenget_to_green220,6065
+ def run_testsrun_tests230,6255
+ def add_sigint_handleradd_sigint_handler281,7377
+ def all_goodall_good300,7833
+ def path_to_classname(s)path_to_classname308,7984
+ def consolidate_failures(failed)consolidate_failures321,8355
+ def find_filesfind_files345,9032
+ def find_files_to_test files = find_filesfind_files_to_test376,9867
+ def handle_results(results)handle_results398,10485
+ def known_filesknown_files413,10891
+ def make_test_cmd files_to_testmake_test_cmd423,11098
+ def new_hash_of_arraysnew_hash_of_arrays442,11682
+ def reorder files_to_testreorder446,11747
+ def rerun_all_testsrerun_all_tests465,12260
+ def resetreset476,12450
+ def rubyruby491,12742
+ def test_files_for(filename)test_files_for506,13143
+ def wait_for_changeswait_for_changes522,13613
+ def files_matching regexpfiles_matching533,13866
+ def add_mapping(regexp, prepend = false, &proc)add_mapping549,14401
+ def remove_mapping regexpremove_mapping561,14640
+ def clear_mappingsclear_mappings573,14935
+ def add_exception regexpadd_exception585,15203
+ def remove_exception regexpremove_exception596,15470
+ def clear_exceptionsclear_exceptions606,15730
+ def exceptionsexceptions617,16020
+ def hook(name, *args)hook637,16469
+ def self.add_hook(name, &block)add_hook655,16834
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/lib/focus.rb,79
+class ModuleModule1,0
+ def focus *wantedsfocus2,13
+ def blurblur10,214
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/lib/functional_test_matrix.rb,146
+module FunctionalTestMatrixFunctionalTestMatrix70,2558
+ def matrix(name, *setups)matrix71,2586
+ def action(action, *results)action75,2659
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/lib/multiruby.rb,1231
+module MultirubyMultiruby45,1592
+ def self.env name, fallback; ENV[name] || fallback; end # :nodoc:env46,1609
+ def self.build_and_installbuild_and_install63,2171
+ def self.cleanclean123,4037
+ def self.each_scm_build_direach_scm_build_dir138,4346
+ def self.matching_versions url, matching=nilmatching_versions153,4651
+ def self.fetch_tar vfetch_tar173,5130
+ def self.gnu_utils_build inst_dirgnu_utils_build191,5671
+ def self.helphelp199,5958
+ def self.in_build_dirin_build_dir203,6000
+ def self.in_install_dirin_install_dir209,6078
+ def self.in_root_dir subdir = ""in_root_dir215,6160
+ def self.in_tmp_dirin_tmp_dir221,6272
+ def self.in_versions_dirin_versions_dir227,6346
+ def self.listlist233,6430
+ def self.merge_rubygemsmerge_rubygems242,6574
+ def self.mri_latest_tag vmri_latest_tag257,6865
+ def self.rake_build inst_dirrake_build261,6937
+ def self.rm namerm266,7069
+ def self.root_dirroot_dir274,7246
+ def self.run base_cmd, log = nilrun286,7517
+ def self.setup_dirs download = truesetup_dirs293,7721
+ def self.svn_co url, dirsvn_co310,8236
+ def self.tagstags317,8443
+ def self.updateupdate333,8881
+ def self.update_rubygemsupdate_rubygems386,10280
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/lib/unit_diff.rb,309
+class UnitDiffUnitDiff38,1110
+ def self.unit_diffunit_diff54,1471
+ def parse_input(input, output)parse_input59,1560
+ def parse_diff(result)parse_diff120,3125
+ def unit_diff(input=ARGF, output=$stdout)unit_diff192,5026
+ def diff expect, butwasdiff234,5989
+ def massage(data)massage266,6782
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/lib/zentest.rb,1178
+class ModuleModule24,487
+ def zentestzentest25,500
+class ZenTestZenTest54,1444
+ def missing_methods; raise "Something is wack"; endmissing_methods66,1661
+ def initializeinitialize69,1724
+ def load_file(file)load_file80,2043
+ def get_class(klassname)get_class96,2437
+ def get_methods_for(klass, full=false)get_methods_for124,3343
+ def get_inherited_methods_for(klass, full)get_inherited_methods_for152,4341
+ def is_test_class(klass)is_test_class177,5072
+ def convert_class_name(name)convert_class_name187,5447
+ def process_class(klassname, full=false)process_class212,6230
+ def scan_files(*files)scan_files234,7106
+ def add_missing_method(klassname, methodname)add_missing_method323,9409
+ def methods_and_tests(klassname, testklassname)methods_and_tests332,9802
+ def analyze_impl(klassname)analyze_impl339,10082
+ def analyze_test(testklassname)analyze_test370,11412
+ def create_method(indentunit, indent, name)create_method425,13430
+ def analyzeanalyze439,13885
+ def generate_codegenerate_code455,14397
+ def resultresult523,16391
+ def self.fix(*files)fix530,16572
+ def self.autotest(*klasses)autotest542,16910
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/lib/zentest_mapping.rb,225
+module ZenTestMappingZenTestMapping26,742
+ def munge namemunge62,1542
+ def normal_to_test namenormal_to_test82,2041
+ def unmunge nameunmunge86,2099
+ def test_to_normal(name, klassname=nil)test_to_normal106,2735
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/test/test_autotest.rb,2609
+class AutotestAutotest21,252
+ def self.clear_hooksclear_hooks24,314
+class TestAutotest < MiniTest::Unit::TestCaseTestAutotest29,364
+ def deny test, msg=nildeny31,411
+ def setupsetup41,650
+ def test_add_exceptiontest_add_exception63,1314
+ def test_add_mappingtest_add_mapping73,1499
+ def test_add_mapping_fronttest_add_mapping_front83,1687
+ def test_clear_exceptionstest_clear_exceptions93,1889
+ def test_clear_mappingtest_clear_mapping103,2050
+ def test_consolidate_failures_experimenttest_consolidate_failures_experiment112,2181
+ def test_consolidate_failures_greentest_consolidate_failures_green128,2678
+ def test_consolidate_failures_multiple_possibilitiestest_consolidate_failures_multiple_possibilities134,2816
+ def test_consolidate_failures_nested_classestest_consolidate_failures_nested_classes143,3129
+ def test_consolidate_failures_no_matchtest_consolidate_failures_no_match159,3642
+ def test_consolidate_failures_redtest_consolidate_failures_red167,4012
+ def test_exceptionstest_exceptions173,4241
+ def test_exceptions_niltest_exceptions_nil179,4357
+ def test_find_files_to_testtest_find_files_to_test185,4503
+ def test_find_files_to_test_dunnotest_find_files_to_test_dunno193,4700
+ def test_find_files_to_test_libtest_find_files_to_test_lib202,4998
+ def test_find_files_to_test_no_changetest_find_files_to_test_no_change207,5141
+ def test_find_files_to_test_testtest_find_files_to_test_test225,5670
+ def test_reorder_alphatest_reorder_alpha230,5826
+ def test_reorder_reversetest_reorder_reverse237,5954
+ def test_reorder_randomtest_reorder_random244,6094
+ def test_reorder_naturaltest_reorder_natural257,6341
+ def test_handle_resultstest_handle_results269,6614
+ def test_hook_overlap_returning_falsetest_hook_overlap_returning_false334,8339
+ def test_hook_overlap_returning_truetest_hook_overlap_returning_true344,8665
+ def test_hook_responsetest_hook_response354,8993
+ def test_make_test_cmdtest_make_test_cmd368,9268
+ def test_path_to_classnametest_path_to_classname385,9764
+ def test_remove_exceptiontest_remove_exception392,10022
+ def test_remove_mappingtest_remove_mapping403,10236
+ def test_test_files_fortest_test_files_for413,10438
+ def test_testlibtest_testlib423,10805
+ def util_exceptionsutil_exceptions433,11053
+ def util_find_files_to_test(f, expected)util_find_files_to_test437,11127
+ def util_mappingsutil_mappings447,11396
+ def util_path_to_classname(e,i)util_path_to_classname451,11460
+ def util_reset_hooks_returning valutil_reset_hooks_returning455,11545
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/test/test_focus.rb,302
+class TestFocus < MiniTest::Unit::TestCaseTestFocus5,63
+ def setupsetup6,106
+ def teardownteardown10,136
+ def test_focustest_focus14,181
+ def test_ignore1test_ignore118,217
+ def test_ignore2test_ignore222,266
+ def test_ignore3test_ignore326,315
+ def test_focus2test_focus230,364
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/test/test_unit_diff.rb,1575
+class TestUnitDiff < MiniTest::Unit::TestCaseTestUnitDiff12,131
+ def setupsetup14,178
+ def test_inputtest_input18,222
+ def test_input_miniunittest_input_miniunit30,1159
+ def test_input_miniunit_multilinetest_input_miniunit_multiline47,1737
+ def test_input_mspectest_input_mspec68,2337
+ def test_input_mspec_multilinetest_input_mspec_multiline116,4127
+ def test_unit_diff_empty # simulates broken pipe at the leasttest_unit_diff_empty147,6005
+ def test_parse_diff_anglestest_parse_diff_angles153,6140
+ def test_parse_diff_miniunittest_parse_diff_miniunit168,6564
+ def test_parse_diff_miniunit_multilinetest_parse_diff_miniunit_multiline181,6978
+ def test_parse_diff1test_parse_diff1194,7410
+ def test_parse_diff2test_parse_diff2206,7852
+ def test_parse_diff3test_parse_diff3223,8327
+ def test_parse_diff_suspect_equalstest_parse_diff_suspect_equals234,8761
+ def test_parse_diff_NOT_suspect_equalstest_parse_diff_NOT_suspect_equals247,9234
+ def test_parse_diff_mspectest_parse_diff_mspec260,9717
+ def test_parse_diff_mspec_multilinetest_parse_diff_mspec_multiline273,10138
+ def test_unit_diff_anglestest_unit_diff_angles287,10750
+ def test_unit_diff1test_unit_diff1295,11226
+ def test_unit_diff2test_unit_diff2303,11770
+ def test_unit_diff3test_unit_diff3311,12528
+ def test_unit_diff_suspect_equalstest_unit_diff_suspect_equals319,12886
+ def test_unit_diff_NOT_suspect_equalstest_unit_diff_NOT_suspect_equals328,13529
+ def util_unit_diff(header, input, expected, msg=:unit_diff)util_unit_diff336,13957
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/test/test_zentest.rb,6301
+class Cls1 # ZenTest SKIPCls117,424
+ def meth1; endmeth118,467
+ def self.meth2; endmeth219,484
+class TestCls1 # ZenTest SKIPTestCls122,511
+ def setup; endsetup23,554
+ def teardown; endteardown24,571
+ def test_meth1; endtest_meth125,591
+ def test_meth2; assert(true, "something"); endtest_meth226,613
+class SuperDuper # ZenTest SKIPSuperDuper29,667
+ def self.cls_inherited; endcls_inherited30,710
+ def inherited; endinherited31,740
+ def overridden; endoverridden32,761
+class LowlyOne < SuperDuper # ZenTest SKIPLowlyOne35,788
+ def self.cls_extended; endcls_extended36,831
+ def overridden; endoverridden37,860
+ def extended; endextended38,882
+ def pretty_print; endpretty_print39,902
+ def pretty_print_cycle; endpretty_print_cycle40,926
+class Blah0Blah045,1037
+ def missingtest; endmissingtest46,1049
+ def notmissing1; endnotmissing147,1072
+ def notmissing2; endnotmissing248,1095
+ def missingimpl; endmissingimpl51,1156
+class TestBlah0TestBlah054,1184
+ def setup; endsetup55,1200
+ def teardown; endteardown56,1217
+ def test_notmissing1test_notmissing158,1238
+ def test_notmissing2_ext1test_notmissing2_ext161,1294
+ def test_notmissing2_ext2test_notmissing2_ext264,1355
+ def test_missingimpl; endtest_missingimpl67,1416
+ def test_missingtest; endtest_missingtest68,1444
+class Blah1Blah171,1477
+ def missingtest; endmissingtest72,1489
+ def notmissing1; endnotmissing173,1512
+ def notmissing2; endnotmissing274,1535
+class TestBlah1TestBlah177,1563
+ def test_notmissing1; endtest_notmissing178,1579
+ def test_notmissing2_ext1; endtest_notmissing2_ext179,1607
+ def test_notmissing2_ext2; endtest_notmissing2_ext280,1640
+ def test_missingimpl; Blah1.new.missingimpl; endtest_missingimpl81,1673
+ def test_integration_blah1; endtest_integration_blah182,1724
+ def test_integration_blah2; endtest_integration_blah283,1758
+ def test_integration_blah3; endtest_integration_blah384,1792
+module Something2Something287,1831
+ class Blah2Blah288,1849
+ def missingtest; endmissingtest89,1863
+ def notmissing1; endnotmissing190,1888
+ def notmissing2; endnotmissing291,1913
+module TestSomething2TestSomething295,1949
+ class TestBlah2TestBlah296,1971
+ def test_notmissing1; endtest_notmissing197,1989
+ def test_notmissing2_ext1; endtest_notmissing2_ext198,2019
+ def test_notmissing2_ext2; endtest_notmissing2_ext299,2054
+ def test_missingimpl; endtest_missingimpl100,2089
+class TestBlah3TestBlah3105,2150
+ def test_missingimpl; endtest_missingimpl106,2166
+class Blah4Blah4109,2221
+ def missingtest1; endmissingtest1110,2233
+ def missingtest2; endmissingtest2111,2257
+class MyHash5 < HashMyHash5115,2316
+ def missingtest1; endmissingtest1117,2351
+module MyModule6MyModule6121,2395
+ class MyClass6MyClass6122,2412
+ def missingtest1; endmissingtest1124,2445
+module MyModule7; end # in 1.9+ you'll not need thisMyModule7129,2497
+class MyModule7::MyClass7MyModule7130,2550
+ def missingtest1; endmissingtest1132,2590
+class MyClass8MyClass8135,2619
+ def self.foobar; endfoobar136,2634
+ def MyClass8.foobaz; endfoobaz137,2657
+class TestTrueClass; endTestTrueClass140,2689
+class TestZenTest < MiniTest::Unit::TestCaseTestZenTest142,2715
+ def setupsetup143,2760
+ def util_simple_setuputil_simple_setup150,2891
+class SomethingSomething180,3640
+ def self.method4(*args)method4181,3656
+ def method2(*args)method2185,3749
+class TestSomething < Test::Unit::TestCaseTestSomething190,3836
+ def test_class_method3test_class_method3191,3879
+ def test_attribtest_attrib195,3977
+ def test_attrib_equalstest_attrib_equals199,4061
+ def test_equal_ehtest_equal_eh203,4159
+ def test_method1test_method1207,4247
+ def test_method1_bangtest_method1_bang211,4333
+ def test_method1_ehtest_method1_eh215,4429
+ def test_method1_equalstest_method1_equals219,4521
+ def test_initializetest_initialize231,4754
+ def test_is_test_classtest_is_test_class239,4970
+ def test_is_test_class_reversedtest_is_test_class_reversed258,5790
+ def test_convert_class_nametest_convert_class_name270,6208
+ def test_convert_class_name_reversedtest_convert_class_name_reversed284,6692
+ def test_missing_methods_emptytest_missing_methods_empty304,7324
+ def test_add_missing_method_normaltest_add_missing_method_normal309,7432
+ def test_add_missing_method_duplicatestest_add_missing_method_duplicates315,7644
+ def test_analyze_simpletest_analyze_simple323,7978
+ def test_create_methodtest_create_method347,8559
+ def test_methods_and_teststest_methods_and_tests354,8792
+ def test_generate_code_simpletest_generate_code_simple362,9061
+ def test_get_class_goodtest_get_class_good372,9252
+ def test_get_class_badtest_get_class_bad376,9339
+ def test_get_inherited_methods_for_subclasstest_get_inherited_methods_for_subclass380,9418
+ def test_get_inherited_methods_for_subclass_fulltest_get_inherited_methods_for_subclass_full387,9630
+ def test_get_inherited_methods_for_superclasstest_get_inherited_methods_for_superclass395,9899
+ def test_get_inherited_methods_for_superclass_fulltest_get_inherited_methods_for_superclass_full402,10093
+ def test_get_methods_for_subclasstest_get_methods_for_subclass409,10325
+ def test_get_methods_for_subclass_fulltest_get_methods_for_subclass_full420,10560
+ def test_get_methods_for_superclasstest_get_methods_for_superclass432,10841
+ def test_resulttest_result442,11078
+ def test_load_filetest_load_file453,11274
+ def test_scan_filestest_scan_files457,11371
+ def test_process_classtest_process_class461,11470
+ def test_klasses_equalstest_klasses_equals475,11991
+ def util_testcase(*klasses)util_testcase493,12650
+ def test_testcase0test_testcase0503,12886
+ def test_testcase1test_testcase1510,13113
+ def test_testcase2test_testcase2516,13518
+ def test_testcase3test_testcase3522,14019
+ def test_testcase4test_testcase4528,14272
+ def test_testcase5test_testcase5534,14653
+ def test_testcase6test_testcase6540,15024
+ def test_testcase7test_testcase7546,15451
+ def test_testcase8test_testcase8552,15878
+ def test_testcase9test_testcase9558,16265
+
+tmp/isolate/ruby-1.8/gems/ZenTest-4.4.0/test/test_zentest_mapping.rb,1456
+class DummyDummy8,116
+class TestZentestMapping < MiniTest::Unit::TestCaseTestZentestMapping13,193
+ def setupsetup14,245
+ def util_simple_setuputil_simple_setup18,288
+class SomethingSomething45,1050
+ def self.method4(*args)method446,1066
+ def method2(*args)method250,1159
+class TestSomething < Test::Unit::TestCaseTestSomething55,1246
+ def test_class_method3test_class_method356,1289
+ def test_attribtest_attrib60,1387
+ def test_attrib_equalstest_attrib_equals64,1471
+ def test_equal_ehtest_equal_eh68,1569
+ def test_method1test_method172,1657
+ def test_method1_bangtest_method1_bang76,1743
+ def test_method1_ehtest_method1_eh80,1839
+ def test_method1_equalstest_method1_equals84,1931
+ def test_normal_to_testtest_normal_to_test93,2076
+ def test_normal_to_test_clstest_normal_to_test_cls101,2439
+ def test_normal_to_test_operatorstest_normal_to_test_operators113,2905
+ def test_normal_to_test_overlaptest_normal_to_test_overlap127,3636
+ def test_test_to_normaltest_test_to_normal149,4961
+ def test_test_to_normal_clstest_test_to_normal_cls161,5431
+ def test_test_to_normal_extendedtest_test_to_normal_extended175,5986
+ def test_test_to_normal_mappedtest_test_to_normal_mapped191,6659
+ def test_test_to_normal_operatorstest_test_to_normal_operators205,7388
+ def test_test_to_normal_overlaptest_test_to_normal_overlap219,8067
+ def test_to_normal_subsettest_to_normal_subset238,9077
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/bin/sow,0
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/clean.rb,126
+module Hoe::CleanHoe8,102
+ def initialize_cleaninitialize_clean17,259
+ def define_clean_tasksdefine_clean_tasks25,460
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/debug.rb,80
+module Hoe::DebugHoe10,206
+ def define_debug_tasksdefine_debug_tasks30,604
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/deps.rb,272
+module Hoe::DepsHoe13,357
+ def define_deps_tasksdefine_deps_tasks22,499
+ def get_source_indexget_source_index126,3831
+ def get_latest_gemsget_latest_gems159,4721
+ def get_gems_by_nameget_gems_by_name166,4867
+ def dependent_upon namedependent_upon175,5104
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/flay.rb,121
+module Hoe::FlayHoe8,106
+ def initialize_flayinitialize_flay17,286
+ def define_flay_tasksdefine_flay_tasks24,418
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/flog.rb,121
+module Hoe::FlogHoe8,101
+ def initialize_floginitialize_flog17,281
+ def define_flog_tasksdefine_flog_tasks24,413
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/gemcutter.rb,88
+module Hoe::GemcutterHoe3,16
+ def define_gemcutter_tasksdefine_gemcutter_tasks4,38
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/inline.rb,83
+module Hoe::InlineHoe20,525
+ def define_inline_tasksdefine_inline_tasks24,579
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/newb.rb,75
+module Hoe::NewbHoe8,95
+ def define_newb_tasksdefine_newb_tasks10,149
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/package.rb,195
+module Hoe::PackageHoe17,346
+ def initialize_packageinitialize_package31,602
+ def define_package_tasksdefine_package_tasks39,724
+ def install_gem name, version = nilinstall_gem75,1631
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/publish.rb,324
+module Hoe::PublishHoe29,682
+ def initialize_publishinitialize_publish85,2247
+ def define_publish_tasksdefine_publish_tasks97,2539
+ def generate_email full = nilgenerate_email191,5355
+ def announcement # :nodoc:announcement211,5862
+class StringString226,6337
+ def rdoc_to_markdownrdoc_to_markdown230,6407
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/rake.rb,275
+module RakeRake1,0
+ class TaskTask2,12
+ def commentcomment11,235
+ module TaskManagerTaskManager16,336
+ def all_tasksall_tasks19,429
+ def self.all_tasksall_tasks26,531
+ def self.clear_tasks(*tasks)clear_tasks34,749
+ def self.undo(*names)undo53,1217
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/rcov.rb,76
+module Hoe::RCovHoe8,109
+ def define_rcov_tasksdefine_rcov_tasks12,161
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/rubyforge.rb,157
+module Hoe::RubyForgeHoe13,257
+ def initialize_rubyforgeinitialize_rubyforge14,279
+ def define_rubyforge_tasks # :nodoc:define_rubyforge_tasks18,382
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/signing.rb,87
+module Hoe::SigningHoe39,987
+ def define_signing_tasksdefine_signing_tasks46,1191
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe/test.rb,191
+module Hoe::TestHoe12,325
+ def initialize_testinitialize_test52,1097
+ def define_test_tasksdefine_test_tasks62,1302
+ def make_test_cmd multi = false # :nodoc:make_test_cmd121,2809
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/lib/hoe.rb,1346
+class HoeHoe59,1601
+ def self.add_include_dirs(*dirs)add_include_dirs219,5299
+ def self.load_pluginsload_plugins231,5551
+ def self.normalize_names project # :nodoc:normalize_names255,6227
+ def self.plugin *namesplugin266,6513
+ def self.pluginsplugins274,6646
+ def self.spec name, &blockspec287,6956
+ def activate_pluginsactivate_plugins300,7218
+ def add_dependenciesadd_dependencies320,7720
+ def dependency_targetdependency_target337,8196
+ def define_specdefine_spec344,8321
+ def developer name, emaildeveloper421,10525
+ def initialize name, version = nil # :nodoc:initialize431,10808
+ def intuit_valuesintuit_values466,11881
+ def load_plugin_tasksload_plugin_tasks496,12847
+ def missing namemissing524,13487
+ def normalize_deps depsnormalize_deps532,13683
+ def paragraphs_of path, *paragraphsparagraphs_of549,14131
+ def pluggable!pluggable!559,14431
+ def post_initializepost_initialize567,14604
+ def require_rubygems_version versionrequire_rubygems_version578,14815
+ def require_ruby_version versionrequire_ruby_version585,14996
+ def timebomb n, m, finis = '2010-04-01', start = '2009-03-14'timebomb592,15170
+ def validate_fieldsvalidate_fields605,15472
+ def with_config # :nodoc:with_config615,15713
+class FileFile623,15886
+ def self.read_utf pathread_utf625,15960
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/template/bin/file_name.erb,0
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/test/test_hoe.rb,263
+class TestHoe < MiniTest::Unit::TestCaseTestHoe7,114
+ def setupsetup8,155
+ def test_file_read_utftest_file_read_utf12,201
+ def test_possibly_bettertest_possibly_better20,371
+ def test_pluginstest_plugins66,1925
+ def test_renametest_rename76,2196
+
+tmp/isolate/ruby-1.8/gems/hoe-2.6.2/test/test_hoe_gemcutter.rb,142
+class TestHoeGemcutter < MiniTest::Unit::TestCaseTestHoeGemcutter3,56
+ def test_gemcutter_tasks_definedtest_gemcutter_tasks_defined6,132
+
+tmp/isolate/ruby-1.8/gems/hoe-gemspec-1.0.0/lib/hoe/gemspec.rb,115
+class Hoe #:nodoc:Hoe1,0
+ module GemspecGemspec7,127
+ def define_gemspec_tasksdefine_gemspec_tasks10,176
+
+tmp/isolate/ruby-1.8/gems/hoe-gemspec-1.0.0/test/fixture_project/lib/fixture_project.rb,40
+class FixtureProjectFixtureProject1,0
+
+tmp/isolate/ruby-1.8/gems/hoe-gemspec-1.0.0/test/fixture_project/test/test_fixture_project.rb,107
+class TestFixtureProject < Test::Unit::TestCaseTestFixtureProject4,47
+ def test_sanitytest_sanity5,95
+
+tmp/isolate/ruby-1.8/gems/hoe-gemspec-1.0.0/test/test_hoe_gemspec.rb,99
+class TestHoeBundler < Test::Unit::TestCaseTestHoeBundler4,41
+ def test_outputtest_output5,85
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/benchmarks/generator2_benchmark.rb,1105
+module JSONJSON21,415
+ def self.[](*) end[]22,427
+module Generator2BenchmarkCommonGenerator2BenchmarkCommon25,453
+ def setupsetup28,502
+ def generic_reset_methodgeneric_reset_method32,595
+module JSONGeneratorCommonJSONGeneratorCommon37,690
+ def benchmark_generator_fastbenchmark_generator_fast40,754
+ def benchmark_generator_safebenchmark_generator_safe46,892
+ def benchmark_generator_prettybenchmark_generator_pretty52,1025
+ def benchmark_generator_asciibenchmark_generator_ascii58,1169
+class Generator2BenchmarkExt < Bullshit::RepeatCaseGenerator2BenchmarkExt65,1329
+class Generator2BenchmarkPure < Bullshit::RepeatCaseGenerator2BenchmarkPure91,1777
+class Generator2BenchmarkRails < Bullshit::RepeatCaseGenerator2BenchmarkRails116,2224
+ def benchmark_generatorbenchmark_generator140,2674
+class Generator2BenchmarkYajl < Bullshit::RepeatCaseGenerator2BenchmarkYajl147,2794
+ def benchmark_generatorbenchmark_generator171,3244
+ def benchmark_generator_gem_apibenchmark_generator_gem_api177,3374
+ def reset_benchmark_generatorreset_benchmark_generator181,3442
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/benchmarks/generator_benchmark.rb,1095
+module JSONJSON21,415
+ def self.[](*) end[]22,427
+module GeneratorBenchmarkCommonGeneratorBenchmarkCommon25,453
+ def setupsetup28,501
+ def generic_reset_methodgeneric_reset_method34,689
+module JSONGeneratorCommonJSONGeneratorCommon39,798
+ def benchmark_generator_fastbenchmark_generator_fast42,861
+ def benchmark_generator_safebenchmark_generator_safe48,999
+ def benchmark_generator_prettybenchmark_generator_pretty54,1132
+ def benchmark_generator_asciibenchmark_generator_ascii60,1276
+class GeneratorBenchmarkExt < Bullshit::RepeatCaseGeneratorBenchmarkExt67,1436
+class GeneratorBenchmarkPure < Bullshit::RepeatCaseGeneratorBenchmarkPure93,1883
+class GeneratorBenchmarkRails < Bullshit::RepeatCaseGeneratorBenchmarkRails118,2329
+ def benchmark_generatorbenchmark_generator142,2777
+class GeneratorBenchmarkYajl < Bullshit::RepeatCaseGeneratorBenchmarkYajl149,2897
+ def benchmark_generatorbenchmark_generator173,3345
+ def benchmark_generator_gem_apibenchmark_generator_gem_api179,3475
+ def reset_benchmark_generatorreset_benchmark_generator183,3543
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/benchmarks/ohai.ruby,0
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/benchmarks/parser2_benchmark.rb,1165
+module Parser2BenchmarkCommonParser2BenchmarkCommon26,490
+ def setupsetup29,536
+ def generic_reset_methodgeneric_reset_method33,632
+class Parser2BenchmarkExt < Bullshit::RepeatCaseParser2BenchmarkExt38,711
+ def benchmark_parserbenchmark_parser62,1154
+ def benchmark_parser_symbolicbenchmark_parser_symbolic68,1259
+class Parser2BenchmarkPure < Bullshit::RepeatCaseParser2BenchmarkPure75,1411
+ def benchmark_parserbenchmark_parser99,1854
+ def benchmark_parser_symbolicbenchmark_parser_symbolic105,1959
+class Parser2BenchmarkYAML < Bullshit::RepeatCaseParser2BenchmarkYAML112,2111
+ def setupsetup134,2520
+ def benchmark_parserbenchmark_parser138,2616
+ def generic_reset_methodgeneric_reset_method142,2677
+class Parser2BenchmarkRails < Bullshit::RepeatCaseParser2BenchmarkRails147,2756
+ def setupsetup168,3148
+ def benchmark_parserbenchmark_parser174,3328
+ def generic_reset_methodgeneric_reset_method178,3406
+class Parser2BenchmarkYajl < Bullshit::RepeatCaseParser2BenchmarkYajl183,3485
+ def setupsetup204,3877
+ def benchmark_parserbenchmark_parser208,3973
+ def generic_reset_methodgeneric_reset_method212,4047
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/benchmarks/parser_benchmark.rb,1154
+module ParserBenchmarkCommonParserBenchmarkCommon26,490
+ def setupsetup29,535
+ def generic_reset_methodgeneric_reset_method35,715
+class ParserBenchmarkExt < Bullshit::RepeatCaseParserBenchmarkExt40,794
+ def benchmark_parserbenchmark_parser64,1235
+ def benchmark_parser_symbolicbenchmark_parser_symbolic70,1340
+class ParserBenchmarkPure < Bullshit::RepeatCaseParserBenchmarkPure77,1492
+ def benchmark_parserbenchmark_parser101,1933
+ def benchmark_parser_symbolicbenchmark_parser_symbolic107,2038
+class ParserBenchmarkYAML < Bullshit::RepeatCaseParserBenchmarkYAML114,2190
+ def setupsetup136,2598
+ def benchmark_parserbenchmark_parser142,2785
+ def generic_reset_methodgeneric_reset_method146,2846
+class ParserBenchmarkRails < Bullshit::RepeatCaseParserBenchmarkRails151,2925
+ def setupsetup173,3334
+ def benchmark_parserbenchmark_parser179,3514
+ def generic_reset_methodgeneric_reset_method183,3592
+class ParserBenchmarkYajl < Bullshit::RepeatCaseParserBenchmarkYajl188,3671
+ def setupsetup210,4080
+ def benchmark_parserbenchmark_parser216,4260
+ def generic_reset_methodgeneric_reset_method220,4334
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/bin/edit_json.rb,0
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/bin/prettify_json.rb,33
+def go(s, args = ARGV)go14,435
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/ext/json/ext/generator/extconf.rb,0
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/ext/json/ext/generator/generator.c,10729
+static VALUE CEncoding_UTF_8;CEncoding_UTF_84,52
+static ID i_encoding, i_encode;i_encoding5,82
+static ID i_encoding, i_encode;i_encode5,82
+static VALUE mJSON, mExt, mGenerator, cState, mGeneratorMethods, mObject,mJSON8,122
+static VALUE mJSON, mExt, mGenerator, cState, mGeneratorMethods, mObject,mExt8,122
+static VALUE mJSON, mExt, mGenerator, cState, mGeneratorMethods, mObject,mGenerator8,122
+static VALUE mJSON, mExt, mGenerator, cState, mGeneratorMethods, mObject,cState8,122
+static VALUE mJSON, mExt, mGenerator, cState, mGeneratorMethods, mObject,mGeneratorMethods8,122
+static VALUE mJSON, mExt, mGenerator, cState, mGeneratorMethods, mObject,mObject8,122
+ mHash, mArray, mFixnum, mBignum, mFloat, mString, mString_Extend,mHash9,196
+ mHash, mArray, mFixnum, mBignum, mFloat, mString, mString_Extend,mArray9,196
+ mHash, mArray, mFixnum, mBignum, mFloat, mString, mString_Extend,mFixnum9,196
+ mHash, mArray, mFixnum, mBignum, mFloat, mString, mString_Extend,mBignum9,196
+ mHash, mArray, mFixnum, mBignum, mFloat, mString, mString_Extend,mFloat9,196
+ mHash, mArray, mFixnum, mBignum, mFloat, mString, mString_Extend,mString9,196
+ mHash, mArray, mFixnum, mBignum, mFloat, mString, mString_Extend,mString_Extend9,196
+ mTrueClass, mFalseClass, mNilClass, eGeneratorError,mTrueClass10,275
+ mTrueClass, mFalseClass, mNilClass, eGeneratorError,mFalseClass10,275
+ mTrueClass, mFalseClass, mNilClass, eGeneratorError,mNilClass10,275
+ mTrueClass, mFalseClass, mNilClass, eGeneratorError,eGeneratorError10,275
+ eNestingError, CRegexp_MULTILINE, CJSON_SAFE_STATE_PROTOTYPE,eNestingError11,341
+ eNestingError, CRegexp_MULTILINE, CJSON_SAFE_STATE_PROTOTYPE,CRegexp_MULTILINE11,341
+ eNestingError, CRegexp_MULTILINE, CJSON_SAFE_STATE_PROTOTYPE,CJSON_SAFE_STATE_PROTOTYPE11,341
+ i_SAFE_STATE_PROTOTYPE;i_SAFE_STATE_PROTOTYPE12,416
+static ID i_to_s, i_to_json, i_new, i_indent, i_space, i_space_before,i_to_s14,454
+static ID i_to_s, i_to_json, i_new, i_indent, i_space, i_space_before,i_to_json14,454
+static ID i_to_s, i_to_json, i_new, i_indent, i_space, i_space_before,i_new14,454
+static ID i_to_s, i_to_json, i_new, i_indent, i_space, i_space_before,i_indent14,454
+static ID i_to_s, i_to_json, i_new, i_indent, i_space, i_space_before,i_space14,454
+static ID i_to_s, i_to_json, i_new, i_indent, i_space, i_space_before,i_space_before14,454
+ i_object_nl, i_array_nl, i_max_nesting, i_allow_nan, i_ascii_only,i_object_nl15,525
+ i_object_nl, i_array_nl, i_max_nesting, i_allow_nan, i_ascii_only,i_array_nl15,525
+ i_object_nl, i_array_nl, i_max_nesting, i_allow_nan, i_ascii_only,i_max_nesting15,525
+ i_object_nl, i_array_nl, i_max_nesting, i_allow_nan, i_ascii_only,i_allow_nan15,525
+ i_object_nl, i_array_nl, i_max_nesting, i_allow_nan, i_ascii_only,i_ascii_only15,525
+ i_pack, i_unpack, i_create_id, i_extend, i_key_p, i_aref, i_send,i_pack16,602
+ i_pack, i_unpack, i_create_id, i_extend, i_key_p, i_aref, i_send,i_unpack16,602
+ i_pack, i_unpack, i_create_id, i_extend, i_key_p, i_aref, i_send,i_create_id16,602
+ i_pack, i_unpack, i_create_id, i_extend, i_key_p, i_aref, i_send,i_extend16,602
+ i_pack, i_unpack, i_create_id, i_extend, i_key_p, i_aref, i_send,i_key_p16,602
+ i_pack, i_unpack, i_create_id, i_extend, i_key_p, i_aref, i_send,i_aref16,602
+ i_pack, i_unpack, i_create_id, i_extend, i_key_p, i_aref, i_send,i_send16,602
+ i_respond_to_p, i_match, i_keys, i_depth, i_dup;i_respond_to_p17,678
+ i_respond_to_p, i_match, i_keys, i_depth, i_dup;i_match17,678
+ i_respond_to_p, i_match, i_keys, i_depth, i_dup;i_keys17,678
+ i_respond_to_p, i_match, i_keys, i_depth, i_dup;i_depth17,678
+ i_respond_to_p, i_match, i_keys, i_depth, i_dup;i_dup17,678
+static const char trailingBytesForUTF8[256] = {trailingBytesForUTF848,1911
+static const UTF32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL, offsetsFromUTF864,2695
+static unsigned char isLegalUTF8(const UTF8 *source, int length)isLegalUTF877,3308
+static void unicode_escape(char *buf, UTF16 character)unicode_escape104,4383
+static void unicode_escape_to_buffer(FBuffer *buffer, char buf[6], UTF16unicode_escape_to_buffer116,4789
+static void convert_UTF8_to_JSON_ASCII(FBuffer *buffer, VALUE string)convert_UTF8_to_JSON_ASCII125,5084
+static void convert_UTF8_to_JSON(FBuffer *buffer, VALUE string)convert_UTF8_to_JSON223,9259
+static char *fstrndup(const char *ptr, int len) {fstrndup287,11147
+static FBuffer *fbuffer_alloc()fbuffer_alloc297,11355
+static FBuffer *fbuffer_alloc_with_length(unsigned int initial_length)fbuffer_alloc_with_length305,11535
+static void fbuffer_free(FBuffer *fb)fbuffer_free315,11786
+static void fbuffer_free_only_buffer(FBuffer *fb)fbuffer_free_only_buffer321,11887
+static void fbuffer_clear(FBuffer *fb)fbuffer_clear326,11962
+static void fbuffer_inc_capa(FBuffer *fb, unsigned int requested)fbuffer_inc_capa331,12023
+static void fbuffer_append(FBuffer *fb, const char *newstr, unsigned int len)fbuffer_append348,12431
+static void fbuffer_append_char(FBuffer *fb, char newchr)fbuffer_append_char357,12652
+static void freverse(char *start, char *end)freverse364,12794
+static int fltoa(long number, char *buf)fltoa373,12926
+static void fbuffer_append_long(FBuffer *fb, long number)fbuffer_append_long386,13218
+static FBuffer *fbuffer_dup(FBuffer *fb)fbuffer_dup393,13367
+static VALUE mHash_to_json(int argc, VALUE *argv, VALUE self)mHash_to_json427,14153
+static VALUE mArray_to_json(int argc, VALUE *argv, VALUE self) {mArray_to_json440,14503
+static VALUE mFixnum_to_json(int argc, VALUE *argv, VALUE self)mFixnum_to_json449,14696
+static VALUE mBignum_to_json(int argc, VALUE *argv, VALUE self)mBignum_to_json459,14891
+static VALUE mFloat_to_json(int argc, VALUE *argv, VALUE self)mFloat_to_json469,15084
+static VALUE mString_included_s(VALUE self, VALUE modul) {mString_included_s479,15275
+static VALUE mString_to_json(int argc, VALUE *argv, VALUE self)mString_to_json491,15603
+static VALUE mString_to_json_raw_object(VALUE self)mString_to_json_raw_object504,15995
+static VALUE mString_to_json_raw(int argc, VALUE *argv, VALUE self)mString_to_json_raw520,16471
+static VALUE mString_Extend_json_create(VALUE self, VALUE o)mString_Extend_json_create533,16851
+static VALUE mTrueClass_to_json(int argc, VALUE *argv, VALUE self)mTrueClass_to_json546,17141
+static VALUE mFalseClass_to_json(int argc, VALUE *argv, VALUE self)mFalseClass_to_json556,17317
+static VALUE mNilClass_to_json(int argc, VALUE *argv, VALUE self)mNilClass_to_json565,17450
+static VALUE mObject_to_json(int argc, VALUE *argv, VALUE self)mObject_to_json577,17772
+static void State_free(JSON_Generator_State *state)State_free587,18083
+static JSON_Generator_State *State_allocate()State_allocate600,18625
+static VALUE cState_s_allocate(VALUE klass)cState_s_allocate607,18802
+static VALUE cState_configure(VALUE self, VALUE opts)cState_configure619,19080
+static VALUE cState_to_h(VALUE self)cState_to_h704,21711
+static VALUE cState_aref(VALUE self, VALUE name)cState_aref725,22694
+static void generate_json_object(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)generate_json_object735,22919
+static void generate_json_array(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)generate_json_array784,24729
+static void generate_json_string(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)generate_json_string822,26082
+static void generate_json_null(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)generate_json_null836,26499
+static void generate_json_false(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)generate_json_false841,26645
+static void generate_json_true(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)generate_json_true846,26793
+static void generate_json_fixnum(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)generate_json_fixnum851,26939
+static void generate_json_bignum(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)generate_json_bignum856,27096
+static void generate_json_float(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)generate_json_float862,27296
+static void generate_json(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)generate_json879,27943
+static FBuffer *cState_prepare_buffer(VALUE self)cState_prepare_buffer912,29252
+static VALUE fbuffer_to_s(FBuffer *fb)fbuffer_to_s941,30197
+static VALUE cState_partial_generate(VALUE self, VALUE obj)cState_partial_generate949,30355
+static VALUE cState_generate(VALUE self, VALUE obj)cState_generate964,30778
+static VALUE cState_initialize(int argc, VALUE *argv, VALUE self)cState_initialize993,31940
+static VALUE cState_init_copy(VALUE obj, VALUE orig)cState_init_copy1009,32319
+static VALUE cState_from_state_s(VALUE self, VALUE opts)cState_from_state_s1036,33644
+static VALUE cState_indent(VALUE self)cState_indent1055,34188
+static VALUE cState_indent_set(VALUE self, VALUE indent)cState_indent_set1066,34423
+static VALUE cState_space(VALUE self)cState_space1092,35039
+static VALUE cState_space_set(VALUE self, VALUE space)cState_space_set1104,35292
+static VALUE cState_space_before(VALUE self)cState_space_before1129,35894
+static VALUE cState_space_before_set(VALUE self, VALUE space_before)cState_space_before_set1140,36174
+static VALUE cState_object_nl(VALUE self)cState_object_nl1166,36873
+static VALUE cState_object_nl_set(VALUE self, VALUE object_nl)cState_object_nl_set1178,37147
+static VALUE cState_array_nl(VALUE self)cState_array_nl1202,37754
+static VALUE cState_array_nl_set(VALUE self, VALUE array_nl)cState_array_nl_set1213,38009
+static VALUE cState_check_circular_p(VALUE self)cState_check_circular_p1239,38629
+static VALUE cState_max_nesting(VALUE self)cState_max_nesting1251,38923
+static VALUE cState_max_nesting_set(VALUE self, VALUE depth)cState_max_nesting_set1263,39230
+static VALUE cState_allow_nan_p(VALUE self)cState_allow_nan_p1276,39531
+static VALUE cState_ascii_only_p(VALUE self)cState_ascii_only_p1288,39780
+static VALUE cState_depth(VALUE self)cState_depth1299,39996
+static VALUE cState_depth_set(VALUE self, VALUE depth)cState_depth_set1311,40285
+void Init_generator()Init_generator1321,40452
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/ext/json/ext/generator/generator.h,2756
+#define _GENERATOR_H__GENERATOR_H_2,22
+#define FORCE_UTF8(FORCE_UTF820,264
+#define FORCE_UTF8(FORCE_UTF822,338
+#define option_given_p(option_given_p25,370
+#define RHASH_SIZE(RHASH_SIZE28,465
+#define RFLOAT_VALUE(RFLOAT_VALUE32,549
+#define RARRAY_PTR(RARRAY_PTR36,623
+#define RARRAY_LEN(RARRAY_LEN39,694
+#define RSTRING_PTR(RSTRING_PTR42,766
+#define RSTRING_LEN(RSTRING_LEN45,842
+#define RSTRING_PAIR(RSTRING_PAIR48,899
+typedef struct FBufferStruct {FBufferStruct52,1000
+ unsigned int initial_length;initial_length53,1031
+ char *ptr;ptr54,1064
+ unsigned int len;len55,1079
+ unsigned int capa;capa56,1101
+} FBuffer;FBuffer57,1124
+#define FBUFFER_INITIAL_LENGTH FBUFFER_INITIAL_LENGTH59,1136
+#define FBUFFER_PTR(FBUFFER_PTR61,1173
+#define FBUFFER_LEN(FBUFFER_LEN62,1207
+#define FBUFFER_CAPA(FBUFFER_CAPA63,1241
+#define FBUFFER_PAIR(FBUFFER_PAIR64,1277
+#define UNI_STRICT_CONVERSION UNI_STRICT_CONVERSION80,1922
+typedef unsigned long UTF32; /* at least 32 bits */UTF3282,1955
+typedef unsigned short UTF16; /* at least 16 bits */UTF1683,2007
+typedef unsigned char UTF8; /* typically 8 bits */UTF884,2060
+#define UNI_REPLACEMENT_CHAR UNI_REPLACEMENT_CHAR86,2112
+#define UNI_MAX_BMP UNI_MAX_BMP87,2159
+#define UNI_MAX_UTF16 UNI_MAX_UTF1688,2197
+#define UNI_MAX_UTF32 UNI_MAX_UTF3289,2237
+#define UNI_MAX_LEGAL_UTF32 UNI_MAX_LEGAL_UTF3290,2277
+#define UNI_SUR_HIGH_START UNI_SUR_HIGH_START92,2324
+#define UNI_SUR_HIGH_END UNI_SUR_HIGH_END93,2366
+#define UNI_SUR_LOW_START UNI_SUR_LOW_START94,2408
+#define UNI_SUR_LOW_END UNI_SUR_LOW_END95,2450
+static const int halfShift = 10; /* used for shifting by 10 bits */halfShift97,2493
+static const UTF32 halfBase = 0x0010000UL;halfBase99,2563
+static const UTF32 halfMask = 0x3FFUL;halfMask100,2606
+typedef struct JSON_Generator_StateStruct {JSON_Generator_StateStruct110,3023
+ char *indent;indent111,3067
+ long indent_len;indent_len112,3085
+ char *space;space113,3106
+ long space_len;space_len114,3123
+ char *space_before;space_before115,3143
+ long space_before_len;space_before_len116,3167
+ char *object_nl;object_nl117,3194
+ long object_nl_len;object_nl_len118,3215
+ char *array_nl;array_nl119,3239
+ long array_nl_len;array_nl_len120,3259
+ FBuffer *array_delim;array_delim121,3282
+ FBuffer *object_delim;object_delim122,3308
+ FBuffer *object_delim2;object_delim2123,3335
+ long max_nesting;max_nesting124,3363
+ char allow_nan;allow_nan125,3385
+ char ascii_only;ascii_only126,3405
+ long depth;depth127,3426
+} JSON_Generator_State;JSON_Generator_State128,3442
+#define GET_STATE(GET_STATE130,3467
+#define GENERATE_JSON(GENERATE_JSON134,3619
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/ext/json/ext/parser/extconf.rb,0
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/ext/json/ext/parser/parser.c,6242
+static const char digit_values[256] = { digit_values7,57
+static UTF32 unescape_unicode(const unsigned char *p)unescape_unicode24,1171
+static int convert_UTF32_to_UTF8(char *buf, UTF32 ch) convert_UTF32_to_UTF843,1699
+static VALUE CEncoding_ASCII_8BIT, CEncoding_UTF_8, CEncoding_UTF_16BE,CEncoding_ASCII_8BIT70,2485
+static VALUE CEncoding_ASCII_8BIT, CEncoding_UTF_8, CEncoding_UTF_16BE,CEncoding_UTF_870,2485
+static VALUE CEncoding_ASCII_8BIT, CEncoding_UTF_8, CEncoding_UTF_16BE,CEncoding_UTF_16BE70,2485
+ CEncoding_UTF_16LE, CEncoding_UTF_32BE, CEncoding_UTF_32LE;CEncoding_UTF_16LE71,2557
+ CEncoding_UTF_16LE, CEncoding_UTF_32BE, CEncoding_UTF_32LE;CEncoding_UTF_32BE71,2557
+ CEncoding_UTF_16LE, CEncoding_UTF_32BE, CEncoding_UTF_32LE;CEncoding_UTF_32LE71,2557
+static ID i_encoding, i_encode, i_encode_bang, i_force_encoding;i_encoding72,2621
+static ID i_encoding, i_encode, i_encode_bang, i_force_encoding;i_encode72,2621
+static ID i_encoding, i_encode, i_encode_bang, i_force_encoding;i_encode_bang72,2621
+static ID i_encoding, i_encode, i_encode_bang, i_force_encoding;i_force_encoding72,2621
+static ID i_iconv;i_iconv74,2692
+static VALUE mJSON, mExt, cParser, eParserError, eNestingError;mJSON77,2719
+static VALUE mJSON, mExt, cParser, eParserError, eNestingError;mExt77,2719
+static VALUE mJSON, mExt, cParser, eParserError, eNestingError;cParser77,2719
+static VALUE mJSON, mExt, cParser, eParserError, eNestingError;eParserError77,2719
+static VALUE mJSON, mExt, cParser, eParserError, eNestingError;eNestingError77,2719
+static VALUE CNaN, CInfinity, CMinusInfinity;CNaN78,2783
+static VALUE CNaN, CInfinity, CMinusInfinity;CInfinity78,2783
+static VALUE CNaN, CInfinity, CMinusInfinity;CMinusInfinity78,2783
+static ID i_json_creatable_p, i_json_create, i_create_id, i_create_additions,i_json_creatable_p80,2830
+static ID i_json_creatable_p, i_json_create, i_create_id, i_create_additions,i_json_create80,2830
+static ID i_json_creatable_p, i_json_create, i_create_id, i_create_additions,i_create_id80,2830
+static ID i_json_creatable_p, i_json_create, i_create_id, i_create_additions,i_create_additions80,2830
+ i_chr, i_max_nesting, i_allow_nan, i_symbolize_names, i_object_class,i_chr81,2908
+ i_chr, i_max_nesting, i_allow_nan, i_symbolize_names, i_object_class,i_max_nesting81,2908
+ i_chr, i_max_nesting, i_allow_nan, i_symbolize_names, i_object_class,i_allow_nan81,2908
+ i_chr, i_max_nesting, i_allow_nan, i_symbolize_names, i_object_class,i_symbolize_names81,2908
+ i_chr, i_max_nesting, i_allow_nan, i_symbolize_names, i_object_class,i_object_class81,2908
+ i_array_class, i_key_p, i_deep_const_get;i_array_class82,2988
+ i_array_class, i_key_p, i_deep_const_get;i_key_p82,2988
+ i_array_class, i_key_p, i_deep_const_get;i_deep_const_get82,2988
+static const int JSON_object_start = 1;JSON_object_start90,3087
+static const int JSON_object_first_final = 27;JSON_object_first_final91,3127
+static const int JSON_object_error = 0;JSON_object_error92,3174
+static const int JSON_object_en_main = 1;JSON_object_en_main94,3215
+static char *JSON_parse_object(JSON_Parser *json, char *p, char *pe, VALUE *result)JSON_parse_object100,3283
+static const int JSON_value_start = 1;JSON_value_start458,9938
+static const int JSON_value_first_final = 21;JSON_value_first_final459,9977
+static const int JSON_value_error = 0;JSON_value_error460,10023
+static const int JSON_value_en_main = 1;JSON_value_en_main462,10063
+static char *JSON_parse_value(JSON_Parser *json, char *p, char *pe, VALUE *result)JSON_parse_value468,10130
+static const int JSON_integer_start = 1;JSON_integer_start767,15654
+static const int JSON_integer_first_final = 5;JSON_integer_first_final768,15695
+static const int JSON_integer_error = 0;JSON_integer_error769,15742
+static const int JSON_integer_en_main = 1;JSON_integer_en_main771,15784
+static char *JSON_parse_integer(JSON_Parser *json, char *p, char *pe, VALUE *result)JSON_parse_integer777,15853
+static const int JSON_float_start = 1;JSON_float_start863,17230
+static const int JSON_float_first_final = 10;JSON_float_first_final864,17269
+static const int JSON_float_error = 0;JSON_float_error865,17315
+static const int JSON_float_en_main = 1;JSON_float_en_main867,17355
+static char *JSON_parse_float(JSON_Parser *json, char *p, char *pe, VALUE *result)JSON_parse_float873,17422
+static const int JSON_array_start = 1;JSON_array_start1026,19956
+static const int JSON_array_first_final = 17;JSON_array_first_final1027,19995
+static const int JSON_array_error = 0;JSON_array_error1028,20041
+static const int JSON_array_en_main = 1;JSON_array_en_main1030,20081
+static char *JSON_parse_array(JSON_Parser *json, char *p, char *pe, VALUE *result)JSON_parse_array1036,20148
+static VALUE json_string_unescape(VALUE result, char *string, char *stringEnd)json_string_unescape1282,24592
+static const int JSON_string_start = 1;JSON_string_start1354,27107
+static const int JSON_string_first_final = 8;JSON_string_first_final1355,27147
+static const int JSON_string_error = 0;JSON_string_error1356,27193
+static const int JSON_string_en_main = 1;JSON_string_en_main1358,27234
+static char *JSON_parse_string(JSON_Parser *json, char *p, char *pe, VALUE *result)JSON_parse_string1364,27302
+static const int JSON_start = 1;JSON_start1512,29831
+static const int JSON_first_final = 10;JSON_first_final1513,29864
+static const int JSON_error = 0;JSON_error1514,29904
+static const int JSON_en_main = 1;JSON_en_main1516,29938
+static VALUE convert_encoding(VALUE source)convert_encoding1534,30232
+static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self)cParser_initialize1608,33622
+static VALUE cParser_parse(VALUE self)cParser_parse1693,36573
+static JSON_Parser *JSON_allocate()JSON_allocate1854,39334
+static void JSON_mark(JSON_Parser *json)JSON_mark1861,39471
+static void JSON_free(JSON_Parser *json)JSON_free1869,39676
+static VALUE cJSON_parser_s_allocate(VALUE klass)cJSON_parser_s_allocate1874,39744
+static VALUE cParser_source(VALUE self)cParser_source1886,40029
+void Init_parser()Init_parser1892,40128
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/ext/json/ext/parser/parser.h,1278
+#define _PARSER_H__PARSER_H_2,19
+#define FORCE_UTF8(FORCE_UTF812,151
+#define FORCE_UTF8(FORCE_UTF814,225
+#define option_given_p(option_given_p17,257
+typedef unsigned long UTF32; /* at least 32 bits */UTF3221,348
+typedef unsigned short UTF16; /* at least 16 bits */UTF1622,400
+typedef unsigned char UTF8; /* typically 8 bits */UTF823,453
+#define UNI_REPLACEMENT_CHAR UNI_REPLACEMENT_CHAR25,507
+#define UNI_SUR_HIGH_START UNI_SUR_HIGH_START26,554
+#define UNI_SUR_HIGH_END UNI_SUR_HIGH_END27,596
+#define UNI_SUR_LOW_START UNI_SUR_LOW_START28,638
+#define UNI_SUR_LOW_END UNI_SUR_LOW_END29,680
+typedef struct JSON_ParserStruct {JSON_ParserStruct31,723
+ VALUE Vsource;Vsource32,758
+ char *source;source33,777
+ long len;len34,795
+ char *memo;memo35,809
+ VALUE create_id;create_id36,825
+ int max_nesting;max_nesting37,846
+ int current_nesting;current_nesting38,867
+ int allow_nan;allow_nan39,892
+ int parsing_name;parsing_name40,911
+ int symbolize_names;symbolize_names41,933
+ VALUE object_class;object_class42,958
+ VALUE array_class;array_class43,982
+} JSON_Parser;JSON_Parser44,1005
+#define GET_PARSER GET_PARSER46,1021
+#define MinusInfinity MinusInfinity50,1159
+#define EVIL EVIL51,1193
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/install.rb,0
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/lib/json/add/core.rb,917
+class SymbolSymbol10,244
+ def to_json(*a)to_json11,257
+ def self.json_create(o)json_create18,366
+class TimeTime23,421
+ def self.json_create(object)json_create24,432
+ def to_json(*args)to_json35,701
+class DateDate44,884
+ def self.json_create(object)json_create45,895
+ def to_json(*args)to_json51,1032
+class DateTimeDateTime62,1210
+ def self.json_create(object)json_create63,1225
+ def to_json(*args)to_json77,1562
+class RangeRange92,1822
+ def self.json_create(object)json_create93,1834
+ def to_json(*args)to_json97,1894
+class StructStruct105,2047
+ def self.json_create(object)json_create106,2060
+ def to_json(*args)to_json110,2120
+class ExceptionException120,2348
+ def self.json_create(object)json_create121,2364
+ def to_json(*args)to_json127,2480
+class RegexpRegexp136,2628
+ def self.json_create(object)json_create137,2641
+ def to_json(*)to_json141,2713
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/lib/json/add/rails.rb,238
+class ObjectObject9,223
+ def self.json_create(object)json_create10,236
+ def to_json(*a)to_json19,414
+class SymbolSymbol31,644
+ def to_json(*a)to_json32,657
+module EnumerableEnumerable37,707
+ def to_json(*a)to_json38,725
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/lib/json/common.rb,1256
+module JSONJSON4,40
+ def [](object, opts = {})[]12,403
+ def parser=(parser) # :nodoc:parser=25,788
+ def deep_const_get(path) # :nodoc:deep_const_get35,1220
+ def generator=(generator) # :nodoc:generator=51,1665
+ class JSONError < StandardError; endJSONError103,3324
+ class ParserError < JSONError; endParserError106,3420
+ class NestingError < ParserError; endNestingError110,3545
+ class CircularDatastructure < NestingError; endCircularDatastructure113,3600
+ class GeneratorError < JSONError; endGeneratorError117,3737
+ class MissingUnicodeSupport < JSONError; endMissingUnicodeSupport123,3996
+ def parse(source, opts = {})parse145,4940
+ def parse!(source, opts = {})parse!164,5913
+ def generate(obj, opts = nil)generate198,7559
+ def fast_generate(obj, opts = nil)fast_generate225,8411
+ def pretty_generate(obj, opts = nil)pretty_generate252,9261
+ def load(source, proc = nil)load280,10231
+ def recurse_proc(result, &proc)recurse_proc293,10566
+ def dump(obj, anIO = nil, limit = nil)dump321,11448
+ def self.iconv(to, from, string)iconv342,11932
+ def j(*objs)j352,12137
+ def jj(*objs)jj361,12378
+ def JSON(object, *args)JSON374,12844
+ def json_creatable?json_creatable?388,13269
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/lib/json/editor.rb,4459
+module JSONJSON10,198
+ module EditorEditor11,210
+ def Editor.fetch_icon(name)fetch_icon39,1095
+ def Editor.error_dialog(window, text)error_dialog50,1431
+ def Editor.question_dialog(window, text)question_dialog69,2055
+ def Editor.model2data(iter)model2data83,2516
+ def Editor.data2model(data, model = nil, parent = nil)data2model121,3686
+ class Gtk::TreeIterGtk156,4714
+ def eacheach161,4855
+ def recursive_each(&block)recursive_each167,5048
+ def remove_subtree(model)remove_subtree176,5268
+ def typetype183,5430
+ def type=(value)type=189,5588
+ def contentcontent195,5745
+ def content=(value)content=200,5850
+ module MenuExtensionMenuExtension207,6059
+ def initialize(treeview)initialize212,6219
+ def add_separatoradd_separator224,6507
+ def add_item(label, keyval = nil, klass = MenuItem, &callback)add_item231,6786
+ def createcreate250,7509
+ def method_missing(*a, &b)method_missing254,7571
+ class PopUpMenuPopUpMenu261,7748
+ def change_node(item)change_node265,7854
+ def cut_node(item)cut_node288,8690
+ def copy_node(item)copy_node305,9232
+ def paste_node_appending(item)paste_node_appending321,9755
+ def paste_node_inserting_before(item)paste_node_inserting_before359,11113
+ def append_new_node(item)append_new_node388,12209
+ def insert_new_node(item)insert_new_node418,13291
+ def collapse_expand(item)collapse_expand444,14293
+ def createcreate457,14652
+ class FileMenuFileMenu485,15739
+ def new(item)new490,15901
+ def open(item)open496,16080
+ def open_location(item)open_location500,16137
+ def revert(item)revert505,16284
+ def save(item)save512,16448
+ def save_as(item)save_as517,16570
+ def quit(item)quit522,16706
+ def createcreate527,16783
+ class EditMenuEditMenu544,17325
+ def copy(item)copy548,17426
+ def paste(item)paste556,17710
+ def find(item)find570,18098
+ def find_again(item)find_again590,18612
+ def sort(item)sort611,19174
+ def createcreate645,20338
+ class OptionsMenuOptionsMenu659,20737
+ def collapsed_nodes(item)collapsed_nodes663,20834
+ def pretty_saving(item)pretty_saving674,21072
+ def createcreate682,21221
+ class JSONTreeView < Gtk::TreeViewJSONTreeView696,21691
+ def initialize(window)initialize701,21876
+ def add_columnsadd_columns720,22355
+ def unify_key(iter, key)unify_key742,22970
+ def cell_edited(cell, path, value)cell_edited755,23362
+ def configure_value(value, type)configure_value788,24298
+ def add_popup_menuadd_popup_menu807,24804
+ def create_node(parent, type, content)create_node817,25091
+ def ask_for_hash_pair(parent)ask_for_hash_pair831,25530
+ def ask_for_element(parent = nil, default_type = nil, value_text = @content)ask_for_element902,27935
+ def ask_for_orderask_for_order964,30073
+ def ask_for_find_term(search = nil)ask_for_find_term997,31126
+ def expand_collapse(iter)expand_collapse1037,32489
+ class MainWindow < Gtk::WindowMainWindow1047,32686
+ def initialize(encoding)initialize1050,32740
+ def create_menu_barcreate_menu_bar1099,34107
+ def changechange1112,34569
+ def unchangeunchange1119,34759
+ def view_new_model(model)view_new_model1125,34906
+ def display_status(text)display_status1133,35109
+ def ask_saveask_save1141,35368
+ def quitquit1153,35665
+ def display_titledisplay_title1163,35887
+ def clearclear1171,36129
+ def check_pretty_printed(json)check_pretty_printed1177,36241
+ def location_open(uri = nil)location_open1185,36564
+ def file_open(filename = nil)file_open1195,36890
+ def edit(json)edit1202,37145
+ def file_savefile_save1211,37359
+ def file_save_asfile_save_as1220,37538
+ def store_file(path)store_file1226,37706
+ def load_file(filename)load_file1247,38490
+ def load_location(uri)load_location1264,38997
+ def parse_json(json)parse_json1272,39198
+ def read_data(filename)read_data1284,39657
+ def select_file(message)select_file1296,40034
+ def ask_for_locationask_for_location1320,40804
+ def start(encoding = 'utf8') # :yield: windowstart1352,41786
+ def edit(json, encoding = 'utf8')edit1362,42126
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/lib/json/ext.rb,45
+module JSONJSON3,23
+ module ExtExt6,138
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/lib/json/pure/generator.rb,2275
+module JSONJSON1,0
+ def utf8_to_json(string) # :nodoc:utf8_to_json42,979
+ def utf8_to_json_ascii(string) # :nodoc:utf8_to_json_ascii51,1271
+ def utf8_to_json(string) # :nodoc:utf8_to_json74,2209
+ def utf8_to_json_ascii(string) # :nodoc:utf8_to_json_ascii78,2304
+ module PurePure99,3064
+ module GeneratorGenerator100,3078
+ class StateState103,3246
+ def self.from_state(opts)from_state108,3517
+ def initialize(opts = {})initialize134,4730
+ def check_max_nesting # :nodoc:check_max_nesting170,5922
+ def check_circular?check_circular?179,6273
+ def allow_nan?allow_nan?185,6456
+ def ascii_only?ascii_only?189,6513
+ def configure(opts)configure195,6663
+ def to_hto_h216,7593
+ def generate(obj)generate227,8040
+ def [](name)[]236,8341
+ module GeneratorMethodsGeneratorMethods241,8409
+ module ObjectObject242,8439
+ def to_json(*) to_s.to_json endto_json246,8680
+ module HashHash249,8735
+ def to_json(state = nil, *)to_json255,9080
+ def json_shift(state)json_shift263,9266
+ def json_transform(state)json_transform268,9400
+ module ArrayArray294,10248
+ def to_json(state = nil, *)to_json299,10516
+ def json_transform(state)json_transform307,10702
+ module IntegerInteger328,11358
+ def to_json(*) to_s endto_json330,11455
+ module FloatFloat333,11502
+ def to_json(state = nil, *)to_json335,11595
+ module StringString356,12142
+ def to_json(state = nil, *args)to_json361,12377
+ def to_json(state = nil, *args)to_json378,13032
+ module ExtendExtend390,13438
+ def json_create(o)json_create394,13645
+ def self.included(modul)included400,13801
+ def to_json_raw_objectto_json_raw_object408,14170
+ def to_json_raw(*args)to_json_raw417,14468
+ module TrueClassTrueClass422,14574
+ def to_json(*) 'true' endto_json424,14651
+ module FalseClassFalseClass427,14700
+ def to_json(*) 'false' endto_json429,14780
+ module NilClassNilClass432,14830
+ def to_json(*) 'null' endto_json434,14905
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/lib/json/pure/parser.rb,358
+module JSONJSON3,19
+ module PurePure4,31
+ class Parser < StringScannerParser7,159
+ def initialize(source, opts = {})initialize71,3039
+ def parseparse129,5496
+ def parse_stringparse_string168,6496
+ def parse_valueparse_value195,7339
+ def parse_arrayparse_array230,8175
+ def parse_objectparse_object262,9152
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/lib/json/pure.rb,323
+module JSONJSON5,80
+ def initialize(iconv) # :nodoc:initialize28,1119
+ def iconv(string) # :nodoc:iconv32,1203
+ def initialize(iconv) # :nodoc:initialize41,1495
+ def iconv(string) # :nodoc:iconv45,1579
+ def self.swap!(string) # :nodoc:swap60,2032
+ module PurePure70,2339
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/lib/json/version.rb,21
+module JSONJSON1,0
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/lib/json.rb,22
+module JSONJSON2,22
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/tests/test_json.rb,1963
+ class ArrayArray16,313
+ def permutationpermutation17,329
+class TC_JSON < Test::Unit::TestCaseTC_JSON26,498
+ def setupsetup29,551
+ def test_constructiontest_construction51,1142
+ def assert_equal_float(expected, is)assert_equal_float56,1250
+ def test_parse_simple_arraystest_parse_simple_arrays60,1348
+ def test_parse_simple_objectstest_parse_simple_objects93,2866
+ def test_parse_more_complex_arraystest_parse_more_complex_arrays112,3811
+ def test_parse_complex_objectstest_parse_complex_objects120,4090
+ def test_parse_arraystest_parse_arrays131,4469
+ def test_parse_valuestest_parse_values137,4646
+ def test_parse_arraytest_parse_array149,5026
+ class SubArray < Array; endSubArray161,5491
+ class SubArray2 < ArraySubArray2163,5522
+ def to_json(*a)to_json164,5548
+ def self.json_create(o)json_create171,5680
+ def test_parse_array_custom_classtest_parse_array_custom_class177,5768
+ def test_parse_objecttest_parse_object183,5923
+ class SubHash < HashSubHash190,6158
+ class SubHash2 < HashSubHash2193,6188
+ def to_json(*a)to_json194,6212
+ def self.json_create(o)json_create200,6324
+ def test_parse_object_custom_classtest_parse_object_custom_class206,6411
+ def test_generation_of_core_subclasses_with_new_to_jsontest_generation_of_core_subclasses_with_new_to_json212,6568
+ def test_generation_of_core_subclasses_with_default_to_jsontest_generation_of_core_subclasses_with_default_to_json223,6949
+ def test_generation_of_core_subclassestest_generation_of_core_subclasses228,7132
+ def test_parser_resettest_parser_reset238,7431
+ def test_commentstest_comments244,7569
+ def test_backslashtest_backslash284,8521
+ def test_wrong_inputstest_wrong_inputs310,9225
+ def test_nestingtest_nesting328,10084
+ def test_symbolize_namestest_symbolize_names359,11644
+ def test_load_dumptest_load_dump366,11908
+ def test_big_integerstest_big_integers382,12571
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/tests/test_json_addition.rb,845
+class TC_JSONAddition < Test::Unit::TestCaseTC_JSONAddition13,230
+ class AA16,291
+ def initialize(a)initialize17,301
+ def ==(other)==23,365
+ def self.json_create(object)json_create27,415
+ def to_json(*args)to_json31,484
+ class BB39,628
+ def self.json_creatable?json_creatable40,638
+ def to_json(*args)to_json44,688
+ class CC51,799
+ def self.json_creatable?json_creatable52,809
+ def to_json(*args)to_json56,859
+ def test_extended_jsontest_extended_json63,977
+ def test_extended_json_disabledtest_extended_json_disabled72,1175
+ def test_extended_json_fail1test_extended_json_fail187,1633
+ def test_extended_json_fail2test_extended_json_fail294,1813
+ def test_raw_stringstest_raw_strings101,1983
+ def test_coretest_core122,3500
+ def test_utc_datetimetest_utc_datetime151,4475
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/tests/test_json_encoding.rb,229
+class TC_JSONEncoding < Test::Unit::TestCaseTC_JSONEncoding12,208
+ def setupsetup15,269
+ def test_parsetest_parse43,1591
+ def test_parse_ascii_8bittest_parse_ascii_8bit51,1852
+ def test_generatetest_generate59,2179
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/tests/test_json_fixtures.rb,171
+class TC_JSONFixtures < Test::Unit::TestCaseTC_JSONFixtures11,192
+ def setupsetup12,237
+ def test_passingtest_passing19,533
+ def test_failingtest_failing26,677
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/tests/test_json_generate.rb,507
+class TC_JSONGenerate < Test::Unit::TestCaseTC_JSONGenerate11,192
+ def setupsetup14,253
+ def test_generatetest_generate47,801
+ def test_generate_prettytest_generate_pretty59,1160
+ def test_fast_generatetest_fast_generate75,1568
+ def test_statestest_states87,1947
+ def test_pretty_statetest_pretty_state105,2434
+ def test_safe_statetest_safe_state120,2845
+ def test_fast_statetest_fast_state135,3245
+ def test_allow_nantest_allow_nan150,3644
+ def test_depthtest_depth168,4792
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/tests/test_json_rails.rb,911
+class TC_JSONRails < Test::Unit::TestCaseTC_JSONRails13,232
+ class AA16,290
+ def initialize(a)initialize17,300
+ def ==(other)==23,364
+ def self.json_create(object)json_create27,414
+ def to_json(*args)to_json31,483
+ class BB39,627
+ def self.json_creatable?json_creatable40,637
+ def to_json(*args)to_json44,687
+ class CC51,798
+ def to_json(*args)to_json52,808
+ class DD59,923
+ def initializeinitialize60,933
+ def ==(other)==66,1000
+ def test_extended_jsontest_extended_json71,1056
+ def test_extended_json_generic_objecttest_extended_json_generic_object82,1312
+ def test_extended_json_disabledtest_extended_json_disabled93,1582
+ def test_extended_json_fail1test_extended_json_fail1108,2037
+ def test_extended_json_fail2test_extended_json_fail2115,2205
+ def test_raw_stringstest_raw_strings122,2436
+ def test_symboltest_symbol141,3897
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/tests/test_json_unicode.rb,141
+class TC_JSONUnicode < Test::Unit::TestCaseTC_JSONUnicode11,192
+ def test_unicodetest_unicode14,252
+ def test_charstest_chars55,2176
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/tools/fuzz.rb,357
+ def to_utf8to_utf86,102
+class FuzzerFuzzer11,161
+ def initialize(n, freqs = {})initialize12,174
+ def random_stringrandom_string25,464
+ def pickpick31,564
+ def make_pickmake_pick37,671
+ def fuzz(current = nil)fuzz53,959
+class MyState < JSON.stateMyState85,1551
+ def initializeinitialize88,1596
+ def make_spacesmake_spaces99,1875
+
+tmp/isolate/ruby-1.8/gems/json_pure-1.4.6/tools/server.rb,159
+class JSONServlet < HTTPServlet::AbstractServletJSONServlet9,105
+ def do_GET(req, res)do_GET12,169
+def create_server(err, dir, port)create_server33,648
+
+tmp/isolate/ruby-1.8/gems/minitest-1.7.2/design_rationale.rb,314
+class ThingySpec < MiniTest::SpecThingySpec29,1522
+ def setupsetup30,1556
+ def test_should_do_the_first_thingtest_should_do_the_first_thing35,1603
+class SubThingySpec < ThingySpecSubThingySpec40,1673
+ def setupsetup41,1706
+ def test_should_do_the_second_thingtest_should_do_the_second_thing49,1858
+
+tmp/isolate/ruby-1.8/gems/minitest-1.7.2/lib/minitest/autorun.rb,0
+
+tmp/isolate/ruby-1.8/gems/minitest-1.7.2/lib/minitest/mock.rb,242
+class MockExpectationError < StandardError; endMockExpectationError1,0
+module MiniTestMiniTest3,49
+ class MockMock4,65
+ def initializeinitialize5,78
+ def expect(name, retval, args=[])expect10,183
+ def verifyverify22,645
+
+tmp/isolate/ruby-1.8/gems/minitest-1.7.2/lib/minitest/spec.rb,918
+class ModuleModule5,45
+ def infect_an_assertion meth, new_name, dont_flip = false # :nodoc:infect_an_assertion6,58
+ def infect_with_assertions(pos_prefix, neg_prefix,infect_with_assertions25,768
+module KernelKernel52,1656
+ def describe desc, &blockdescribe61,1903
+class ModuleModule78,2330
+ def classes type = Object # :nodoc:classes79,2343
+class MiniTest::Spec < MiniTest::Unit::TestCaseMiniTest92,2614
+ def self.describe_stack # :nodoc:describe_stack94,2700
+ def self.current # :nodoc:current98,2764
+ def initialize name # :nodoc:initialize102,2819
+ def self.nuke_test_methods! # :nodoc:nuke_test_methods107,2894
+ def self.define_inheritable_method name, &block # :nodoc:define_inheritable_method113,3048
+ def self.before type = :each, &blockbefore129,3513
+ def self.after type = :each, &blockafter141,3877
+ def self.it desc, &blockit155,4451
+class ObjectObject183,5562
+
+tmp/isolate/ruby-1.8/gems/minitest-1.7.2/lib/minitest/unit.rb,4004
+module MiniTestMiniTest6,78
+ class Assertion < Exception; endAssertion11,126
+ class Skip < Assertion; endSkip16,210
+ def self.filter_backtrace bt # :nodoc:filter_backtrace33,872
+ module AssertionsAssertions51,1305
+ def mu_pp objmu_pp57,1482
+ def _assertions= n # :nodoc:_assertions=63,1614
+ def _assertions # :nodoc:_assertions67,1679
+ def assert test, msg = nilassert74,1794
+ def assert_block msg = nilassert_block87,2095
+ def assert_empty obj, msg = nilassert_empty95,2269
+ def assert_equal exp, act, msg = nilassert_equal106,2538
+ def assert_in_delta exp, act, delta = 0.001, msg = nilassert_in_delta117,2856
+ def assert_in_epsilon a, b, epsilon = 0.001, msg = nilassert_in_epsilon127,3174
+ def assert_includes collection, obj, msg = nilassert_includes134,3352
+ def assert_instance_of cls, obj, msg = nilassert_instance_of145,3658
+ def assert_kind_of cls, obj, msg = nil # TODO: merge with instance_ofassert_kind_of156,3922
+ def assert_match exp, act, msg = nilassert_match166,4200
+ def assert_nil obj, msg = nilassert_nil176,4502
+ def assert_operator o1, op, o2, msg = nilassert_operator186,4735
+ def assert_output stdout = nil, stderr = nilassert_output198,5131
+ def assert_raises *expassert_raises212,5458
+ def assert_respond_to obj, meth, msg = nilassert_respond_to244,6320
+ def assert_same exp, act, msg = nilassert_same254,6581
+ def assert_send send_ary, m = nilassert_send268,7006
+ def assert_silentassert_silent280,7335
+ def assert_throws sym, msg = nilassert_throws289,7470
+ def capture_iocapture_io315,8137
+ def exception_details e, msgexception_details333,8580
+ def flunk msg = nilflunk340,8811
+ def message msg = nil, &defaultmessage348,8979
+ def pass msg = nilpass364,9306
+ def refute test, msg = nilrefute371,9402
+ def refute_empty obj, msg = nilrefute_empty379,9563
+ def refute_equal exp, act, msg = nilrefute_equal390,9833
+ def refute_in_delta exp, act, delta = 0.001, msg = nilrefute_in_delta402,10145
+ def refute_in_epsilon a, b, epsilon = 0.001, msg = nilrefute_in_epsilon414,10476
+ def refute_includes collection, obj, msg = nilrefute_includes421,10640
+ def refute_instance_of cls, obj, msg = nilrefute_instance_of432,10946
+ def refute_kind_of cls, obj, msg = nil # TODO: merge with instance_ofrefute_kind_of442,11190
+ def refute_match exp, act, msg = nilrefute_match450,11437
+ def refute_nil obj, msg = nilrefute_nil460,11743
+ def refute_operator o1, op, o2, msg = nilrefute_operator471,12025
+ def refute_respond_to obj, meth, msg = nilrefute_respond_to481,12275
+ def refute_same exp, act, msg = nilrefute_same490,12524
+ def skip msg = nil, bt = callerskip502,12901
+ class UnitUnit508,13030
+ def self.autorunautorun521,13392
+ def self.output= streamoutput534,13762
+ def location e # :nodoc:location538,13820
+ def puke klass, meth, epuke551,14198
+ def initialize # :nodoc:initialize568,14767
+ def process_args args = []process_args574,14886
+ def run args = []run607,15661
+ def status io = @@outstatus657,16772
+ def run_test_suites filter = /./run_test_suites665,17009
+ class TestCaseTestCase692,17914
+ def run runnerrun703,18228
+ def initialize name # :nodoc:initialize734,19079
+ def self.reset # :nodoc:reset739,19173
+ def self.inherited klass # :nodoc:inherited745,19255
+ def self.test_ordertest_order754,19524
+ def self.test_suites # :nodoc:test_suites758,19577
+ def self.test_methods # :nodoc:test_methods762,19677
+ def passed?passed?779,20135
+ def setup; endsetup786,20264
+ def teardown; endteardown791,20362
+ module Test # :nodoc:Test799,20504
+ module Unit # :nodoc:Unit800,20543
+ class TestCase # :nodoc:TestCase801,20582
+ def self.inherited x # :nodoc:inherited802,20621
+
+tmp/isolate/ruby-1.8/gems/minitest-1.7.2/test/test_mini_mock.rb,1083
+class TestMiniMock < MiniTest::Unit::TestCaseTestMiniMock6,73
+ def setupsetup7,119
+ def test_should_create_stub_methodtest_should_create_stub_method12,226
+ def test_should_allow_return_value_specificationtest_should_allow_return_value_specification16,295
+ def test_should_blow_up_if_not_calledtest_should_blow_up_if_not_called20,396
+ def test_should_not_blow_up_if_everything_calledtest_should_not_blow_up_if_everything_called26,478
+ def test_should_allow_expectations_to_be_added_after_creationtest_should_allow_expectations_to_be_added_after_creation33,601
+ def test_should_not_verify_if_new_expected_method_is_not_calledtest_should_not_verify_if_new_expected_method_is_not_called38,722
+ def test_should_not_verify_if_unexpected_method_is_calledtest_should_not_verify_if_unexpected_method_is_called46,885
+ def test_should_blow_up_on_wrong_number_of_argumentstest_should_blow_up_on_wrong_number_of_arguments52,1018
+ def test_should_blow_up_on_wrong_argumentstest_should_blow_up_on_wrong_arguments62,1214
+ def util_verify_badutil_verify_bad72,1382
+
+tmp/isolate/ruby-1.8/gems/minitest-1.7.2/test/test_mini_spec.rb,105
+class TestMeta < MiniTest::Unit::TestCaseTestMeta198,5769
+ def test_structuretest_structure199,5811
+
+tmp/isolate/ruby-1.8/gems/minitest-1.7.2/test/test_mini_test.rb,9297
+module M; endM7,87
+class E < StandardError; include M; endE8,101
+class TestMiniTest < MiniTest::Unit::TestCaseTestMiniTest10,142
+ def assert_report expected = nilassert_report23,881
+ def setupsetup42,1467
+ def teardownteardown51,1675
+ def test_class_puke_with_assertion_failedtest_class_puke_with_assertion_failed56,1797
+ def test_class_puke_with_assertion_failed_and_long_backtracetest_class_puke_with_assertion_failed_and_long_backtrace65,2167
+ def test_class_puke_with_assertion_failed_and_user_defined_assertionstest_class_puke_with_assertion_failed_and_user_defined_assertions85,3046
+ def test_class_puke_with_failure_and_flunk_in_backtracetest_class_puke_with_failure_and_flunk_in_backtrace108,4111
+ def test_class_puke_with_flunk_and_user_defined_assertionstest_class_puke_with_flunk_and_user_defined_assertions118,4487
+ def test_class_puke_with_non_failure_exceptiontest_class_puke_with_non_failure_exception141,5527
+ def test_class_run_test_suitestest_class_run_test_suites148,5794
+ def test_somethingtest_something150,5875
+ def test_filter_backtracetest_filter_backtrace160,6029
+ def test_filter_backtrace_all_unittest_filter_backtrace_all_unit180,6693
+ def test_filter_backtrace_unit_startstest_filter_backtrace_unit_starts189,6951
+ def test_run_errortest_run_error202,7265
+ def test_somethingtest_something204,7334
+ def test_errortest_error208,7390
+ def test_run_error_teardowntest_run_error_teardown236,7837
+ def test_somethingtest_something238,7915
+ def teardownteardown242,7971
+ def test_run_failing # TODO: add error testtest_run_failing270,8417
+ def test_somethingtest_something272,8511
+ def test_failuretest_failure276,8567
+ def test_run_failing_filteredtest_run_failing_filtered303,8989
+ def test_somethingtest_something305,9069
+ def test_failuretest_failure309,9125
+ def test_run_passingtest_run_passing332,9519
+ def test_somethingtest_something334,9590
+ def test_run_skiptest_run_skip346,9740
+ def test_somethingtest_something348,9808
+ def test_skiptest_skip352,9864
+ def util_expand_bt btutil_expand_bt379,10254
+class TestMiniTestTestCase < MiniTest::Unit::TestCaseTestMiniTestTestCase388,10411
+ def setupsetup389,10465
+ def teardownteardown397,10621
+ def test_asserttest_assert403,10890
+ def test_assert__triggeredtest_assert__triggered409,11012
+ def test_assert__triggered_messagetest_assert__triggered_message415,11146
+ def test_assert_blocktest_assert_block421,11263
+ def test_assert_block_triggeredtest_assert_block_triggered427,11337
+ def test_assert_emptytest_assert_empty435,11504
+ def test_assert_empty_triggeredtest_assert_empty_triggered441,11585
+ def test_assert_equaltest_assert_equal449,11744
+ def test_assert_equal_differenttest_assert_equal_different453,11801
+ def test_assert_in_deltatest_assert_in_delta459,11928
+ def test_assert_in_delta_triggeredtest_assert_in_delta_triggered463,12007
+ def test_assert_in_epsilontest_assert_in_epsilon469,12188
+ def test_assert_in_epsilon_triggeredtest_assert_in_epsilon_triggered483,12589
+ def test_assert_includestest_assert_includes489,12755
+ def test_assert_includes_triggeredtest_assert_includes_triggered495,12852
+ def test_assert_instance_oftest_assert_instance_of506,13108
+ def test_assert_instance_of_triggeredtest_assert_instance_of_triggered510,13187
+ def test_assert_kind_oftest_assert_kind_of516,13372
+ def test_assert_kind_of_triggeredtest_assert_kind_of_triggered520,13443
+ def test_assert_matchtest_assert_match526,13615
+ def test_assert_match_objecttest_assert_match_object531,13717
+ def pattern.=~(other) true end=~535,13799
+ def test_assert_match_object_triggeredtest_assert_match_object_triggered540,13874
+ def pattern.=~(other) false end=~544,13966
+ def pattern.inspect; "<<Object>>" endinspect545,14002
+ def test_assert_match_triggeredtest_assert_match_triggered552,14157
+ def test_assert_niltest_assert_nil559,14352
+ def test_assert_nil_triggeredtest_assert_nil_triggered563,14404
+ def test_assert_operatortest_assert_operator569,14529
+ def test_assert_operator_triggeredtest_assert_operator_triggered573,14596
+ def test_assert_output_bothtest_assert_output_both579,14736
+ def test_assert_output_errtest_assert_output_err588,14891
+ def test_assert_output_neithertest_assert_output_neither594,14999
+ def test_assert_output_outtest_assert_output_out602,15117
+ def test_assert_output_triggered_bothtest_assert_output_triggered_both608,15212
+ def test_assert_output_triggered_errtest_assert_output_triggered_err617,15446
+ def test_assert_output_triggered_outtest_assert_output_triggered_out625,15664
+ def test_assert_raisestest_assert_raises633,15869
+ def test_assert_raises_skiptest_assert_raises_skip645,16152
+ def test_assert_raises_moduletest_assert_raises_module659,16418
+ def test_assert_raises_triggered_differenttest_assert_raises_triggered_different665,16506
+ def test_assert_raises_triggered_different_msgtest_assert_raises_triggered_different_msg685,17043
+ def test_assert_raises_triggered_nonetest_assert_raises_triggered_none706,17599
+ def test_assert_raises_triggered_none_msgtest_assert_raises_triggered_none_msg718,17886
+ def test_assert_raises_triggered_subclasstest_assert_raises_triggered_subclass730,18189
+ def test_assert_respond_totest_assert_respond_to750,18695
+ def test_assert_respond_to_triggeredtest_assert_respond_to_triggered754,18773
+ def test_assert_sametest_assert_same760,18948
+ def test_assert_same_triggeredtest_assert_same_triggered769,19102
+ def test_assert_sendtest_assert_send784,19442
+ def test_assert_send_badtest_assert_send_bad788,19503
+ def test_assert_silenttest_assert_silent794,19644
+ def test_assert_silent_triggered_errtest_assert_silent_triggered_err802,19754
+ def test_assert_silent_triggered_outtest_assert_silent_triggered_out812,19982
+ def test_assert_throwstest_assert_throws820,20176
+ def test_assert_throws_differenttest_assert_throws_different826,20266
+ def test_assert_throws_unthrowntest_assert_throws_unthrown834,20466
+ def test_capture_iotest_capture_io842,20647
+ def test_class_asserts_match_refutestest_class_asserts_match_refutes858,20920
+ def test_class_inheritedtest_class_inherited876,21639
+ def test_class_test_suitestest_class_test_suites884,21837
+ def test_flunktest_flunk893,22099
+ def test_flunk_messagetest_flunk_message899,22189
+ def test_messagetest_message905,22286
+ def test_passtest_pass913,22543
+ def test_refutetest_refute917,22579
+ def test_refute_emptytest_refute_empty923,22704
+ def test_refute_empty_triggeredtest_refute_empty_triggered929,22786
+ def test_refute_equaltest_refute_equal937,22947
+ def test_refute_equal_triggeredtest_refute_equal_triggered941,23013
+ def test_refute_in_deltatest_refute_in_delta947,23174
+ def test_refute_in_delta_triggeredtest_refute_in_delta_triggered951,23258
+ def test_refute_in_epsilontest_refute_in_epsilon957,23434
+ def test_refute_in_epsilon_triggeredtest_refute_in_epsilon_triggered961,23508
+ def test_refute_includestest_refute_includes968,23688
+ def test_refute_includes_triggeredtest_refute_includes_triggered974,23786
+ def test_refute_instance_oftest_refute_instance_of985,24044
+ def test_refute_instance_of_triggeredtest_refute_instance_of_triggered989,24122
+ def test_refute_kind_oftest_refute_kind_of995,24301
+ def test_refute_kind_of_triggeredtest_refute_kind_of_triggered999,24371
+ def test_refute_matchtest_refute_match1005,24537
+ def test_refute_match_objecttest_refute_match_object1010,24639
+ def test_refute_match_object_triggeredtest_refute_match_object_triggered1015,24765
+ def pattern.=~(other) true end=~1019,24857
+ def pattern.inspect; "<<Object>>" endinspect1020,24892
+ def test_refute_match_triggeredtest_refute_match_triggered1027,25051
+ def test_refute_niltest_refute_nil1034,25250
+ def test_refute_nil_triggeredtest_refute_nil_triggered1038,25301
+ def test_refute_operatortest_refute_operator1044,25432
+ def test_refute_operator_triggeredtest_refute_operator_triggered1048,25499
+ def test_refute_respond_totest_refute_respond_to1054,25643
+ def test_refute_respond_to_triggeredtest_refute_respond_to_triggered1058,25720
+ def test_refute_sametest_refute_same1064,25891
+ def test_refute_same_triggeredtest_refute_same_triggered1068,25946
+ def test_skiptest_skip1074,26104
+ def test_test_methods_randomtest_test_methods_random1082,26237
+ def test_test1; assert "does not matter" endtest_test11086,26356
+ def test_test2; assert "does not matter" endtest_test21087,26407
+ def test_test3; assert "does not matter" endtest_test31088,26458
+ def test_test_methods_sortedtest_test_methods_sorted1096,26647
+ def self.test_order; :sorted endtest_order1100,26766
+ def test_test3; assert "does not matter" endtest_test31101,26805
+ def test_test2; assert "does not matter" endtest_test21102,26856
+ def test_test1; assert "does not matter" endtest_test11103,26907
+ def util_assert_triggered expected, klass = MiniTest::Assertionutil_assert_triggered1110,27083
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/bin/rake,0
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/doc/example/a.c,16
+void a()a3,20
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/doc/example/b.c,16
+void b()b3,20
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/doc/example/main.c,22
+int main ()main6,55
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/doc/jamis.rb,43
+module RDocRDoc1,0
+module PagePage2,12
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/install.rb,47
+def installBIN(from, opfile)installBIN17,389
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/alt_system.rb,296
+module Rake::AltSystemRake31,1229
+ def define_module_function(name, &block)define_module_function35,1340
+ def repair_command(cmd)repair_command50,1764
+ def find_runnable(file)find_runnable70,2260
+ def system(cmd, *args)system83,2510
+ def backticks(cmd)backticks97,2827
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/classic_namespace.rb,0
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/clean.rb,0
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb,166
+module RakeRake3,21
+ class CompositePublisherCompositePublisher6,84
+ def initializeinitialize7,111
+ def add(pub)add12,206
+ def uploadupload17,305
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/contrib/ftptools.rb,728
+module Rake # :nodoc:Rake11,165
+ class FtpFileFtpFile15,316
+ def self.datedate18,385
+ def self.timetime22,439
+ def initialize(path, entry)initialize26,493
+ def pathpath33,696
+ def directory?directory?37,748
+ def modemode41,797
+ def symlink?symlink?45,843
+ def parse_mode(m)parse_mode51,962
+ def determine_time(d1, d2, d3)determine_time59,1107
+ class FtpUploaderFtpUploader87,1990
+ def connect(path, host, account, password)connect95,2235
+ def initialize(path, host, account, password)initialize108,2604
+ def makedirs(path)makedirs117,2866
+ def upload_files(wildcard)upload_files132,3298
+ def closeclose139,3430
+ def upload(file)upload146,3598
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/contrib/publisher.rb,529
+class CompositePublisherCompositePublisher20,757
+ def initializeinitialize21,782
+ def add(pub)add26,865
+ def uploadupload31,952
+class SshDirPublisherSshDirPublisher38,1089
+ def initialize(host, remote_dir, local_dir)initialize39,1111
+ def uploadupload45,1237
+class SshFreshDirPublisher < SshDirPublisherSshFreshDirPublisher51,1389
+ def uploadupload52,1434
+class SshFilePublisherSshFilePublisher60,1629
+ def initialize(host, remote_dir, local_dir, *files)initialize62,1708
+ def uploadupload70,1917
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/contrib/rubyforgepublisher.rb,144
+module RakeRake5,58
+ class RubyForgePublisher < SshDirPublisherRubyForgePublisher7,71
+ def initialize(projname, user)initialize10,163
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/contrib/sshpublisher.rb,420
+module RakeRake5,64
+ class SshDirPublisherSshDirPublisher9,156
+ def initialize(host, remote_dir, local_dir)initialize10,180
+ def uploadupload16,320
+ class SshFreshDirPublisher < SshDirPublisherSshFreshDirPublisher22,483
+ def uploadupload23,530
+ class SshFilePublisherSshFilePublisher31,739
+ def initialize(host, remote_dir, local_dir, *files)initialize33,822
+ def uploadupload41,1049
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/contrib/sys.rb,924
+module SysSys42,1738
+ def install(wildcard, dest_dir, mode)install47,1915
+ def run(cmd)run54,2084
+ def ruby(*args)ruby60,2222
+ def copy(file_name, dest_file)copy65,2341
+ def copy_files(wildcard, dest_dir)copy_files71,2539
+ def link(file_name, dest_file)link76,2693
+ def link_files(wildcard, dest_dir)link_files82,2891
+ def symlink(file_name, dest_file)symlink87,3048
+ def symlink_files(wildcard, dest_dir)symlink_files93,3258
+ def delete(*wildcards)delete100,3550
+ def delete_all(*wildcards)delete_all115,3920
+ def makedirs(*dirs)makedirs135,4431
+ def indir(dir)indir144,4645
+ def split_all(path)split_all156,4871
+ def log(msg)log164,5117
+ def quiet(&block)quiet170,5245
+ def verbose(&block)verbose175,5347
+ def for_files(*wildcards)for_files180,5471
+ def for_matching_files(wildcard, dest_dir)for_matching_files192,5696
+ def with_verbose(v)with_verbose201,5947
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/gempackagetask.rb,227
+module RakeRake12,223
+ class GemPackageTask < PackageTaskGemPackageTask47,1326
+ def initialize(gem_spec)initialize56,1775
+ def init(gem)init64,1976
+ def definedefine73,2269
+ def gem_filegem_file88,2705
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/loaders/makefile.rb,177
+module RakeRake3,21
+ class MakefileLoaderMakefileLoader6,94
+ def load(fn)load10,194
+ def process_line(line)process_line25,531
+ def respace(str)respace35,826
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/packagetask.rb,453
+module RakeRake9,155
+ class PackageTask < TaskLibPackageTask46,1420
+ def initialize(name=nil, version=nil)initialize78,2469
+ def init(name, version)init85,2680
+ def definedefine99,3040
+ def package_namepackage_name159,4719
+ def package_dir_pathpackage_dir_path163,4803
+ def tgz_filetgz_file167,4876
+ def tar_gz_filetar_gz_file171,4930
+ def tar_bz2_filetar_bz2_file175,4990
+ def zip_filezip_file179,5052
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb,0
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/rdoctask.rb,542
+module RakeRake6,60
+ class RDocTask < TaskLibRDocTask59,1875
+ def initialize(name = :rdoc) # :yield: selfinitialize89,2857
+ def definedefine111,3514
+ def option_listoption_list146,4509
+ def quote(str)quote156,4884
+ def option_stringoption_string164,4983
+ def before_running_rdoc(&block)before_running_rdoc171,5213
+ def rdoc_targetrdoc_target177,5310
+ def rdoc_task_namerdoc_task_name181,5374
+ def clobber_task_nameclobber_task_name190,5518
+ def rerdoc_task_namererdoc_task_name199,5689
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/ruby182_test_unit_fix.rb,181
+module TestTest1,0
+ module UnitUnit2,12
+ module CollectorCollector3,26
+ class DirDir4,47
+ def collect_file(name, suites, already_gathered)collect_file6,90
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/runtest.rb,98
+module RakeRake6,73
+ def run_tests(pattern='test/test*.rb', log_enabled=false)run_tests9,119
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/tasklib.rb,106
+module RakeRake5,37
+ class TaskLibTaskLib8,85
+ def paste(a,b) # :nodoc:paste18,487
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/testtask.rb,428
+module RakeRake8,109
+ class TestTask < TaskLibTestTask37,1076
+ def test_files=(list)test_files=76,2447
+ def initialize(name=:test)initialize81,2536
+ def definedefine97,2938
+ def option_list # :nodoc:option_list123,3696
+ def file_list # :nodoc:file_list127,3775
+ def fix # :nodoc:fix138,4037
+ def rake_loader # :nodoc:rake_loader147,4197
+ def find_file(fn) # :nodoc:find_file152,4327
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake/win32.rb,296
+module RakeRake2,1
+ module Win32Win327,175
+ class Win32HomeError < RuntimeErrorWin32HomeError11,284
+ def windows?windows?16,400
+ def rake_system(*cmd)rake_system21,496
+ def win32_system_dir #:nodoc:win32_system_dir35,880
+ def normalize(path)normalize49,1492
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/lib/rake.rb,10453
+class ModuleModule48,1655
+ def rake_extension(method)rake_extension64,2069
+class StringString77,2407
+ def ext(newext='')ext84,2739
+ def pathmap_explodepathmap_explode95,3068
+ def pathmap_partial(n)pathmap_partial107,3558
+ def pathmap_replace(patterns, &block)pathmap_replace123,3994
+ def pathmap(spec=nil, &block)pathmap200,6932
+module RakeRake240,8102
+ class TaskArgumentError < ArgumentErrorTaskArgumentError245,8240
+ class RuleRecursionOverflowError < StandardErrorRuleRecursionOverflowError249,8356
+ def initialize(*args)initialize250,8407
+ def add_target(target)add_target255,8474
+ def messagemessage259,8535
+ def applicationapplication269,8789
+ def application=(app)application=274,8910
+ def original_diroriginal_dir279,9046
+ module CloneableCloneable288,9235
+ def dupdup291,9364
+ def cloneclone302,9661
+ class PseudoStatusPseudoStatus311,9891
+ def initialize(code=0)initialize313,9940
+ def to_ito_i316,10000
+ def >>(n)>>319,10044
+ def stopped?stopped?322,10082
+ def exited?exited?325,10119
+ class TaskArgumentsTaskArguments333,10292
+ def initialize(names, values, parent=nil)initialize341,10549
+ def new_scope(names)new_scope352,10853
+ def [](index)[]358,11021
+ def with_defaults(defaults)with_defaults365,11222
+ def each(&block)each369,11299
+ def method_missing(sym, *args, &block)method_missing373,11354
+ def to_hashto_hash377,11431
+ def to_sto_s381,11468
+ def inspectinspect385,11510
+ def lookup(name)lookup391,11569
+ class InvocationChainInvocationChain409,12058
+ def initialize(value, tail)initialize410,12082
+ def member?(obj)member?415,12163
+ def append(value)append419,12235
+ def to_sto_s426,12413
+ def self.append(value, chain)append430,12462
+ def prefixprefix436,12544
+ class EmptyInvocationChainEmptyInvocationChain440,12594
+ def member?(obj)member?441,12625
+ def append(value)append444,12672
+ def to_sto_s447,12747
+module RakeRake458,12883
+ class TaskTask469,13397
+ def to_sto_s490,13945
+ def inspectinspect494,13978
+ def sourcessources500,14125
+ def sourcesource505,14223
+ def initialize(task_name, app)initialize511,14416
+ def enhance(deps=nil, &block)enhance525,14787
+ def namename532,14978
+ def name_with_args # :nodoc:name_with_args537,15068
+ def arg_description # :nodoc:arg_description546,15247
+ def arg_namesarg_names551,15389
+ def reenablereenable557,15534
+ def clearclear562,15658
+ def clear_prerequisitesclear_prerequisites569,15793
+ def clear_actionsclear_actions575,15916
+ def invoke(*args)invoke581,16049
+ def invoke_with_call_chain(task_args, invocation_chain) # :nodoc:invoke_with_call_chain588,16291
+ def invoke_prerequisites(task_args, invocation_chain) # :nodoc:invoke_prerequisites603,16818
+ def format_trace_flagsformat_trace_flags612,17146
+ def execute(args=nil)execute621,17434
+ def needed?needed?642,17939
+ def timestamptimestamp648,18111
+ def add_description(description)add_description654,18360
+ def comment=(description)comment=661,18604
+ def add_comment(comment)add_comment667,18783
+ def set_arg_names(args)set_arg_names684,19225
+ def investigationinvestigation690,19399
+ def clearclear715,20390
+ def taskstasks720,20483
+ def [](task_name)[]728,20817
+ def task_defined?(task_name)task_defined?733,20938
+ def define_task(*args, &block)define_task740,21242
+ def create_rule(*args, &block)create_rule745,21394
+ def scope_name(scope, task_name)scope_name752,21655
+ class FileTask < TaskFileTask766,22129
+ def needed?needed?770,22255
+ def timestamptimestamp775,22365
+ def out_of_date?(stamp)out_of_date?786,22582
+ def scope_name(scope, task_name)scope_name796,22960
+ class FileCreationTask < FileTaskFileCreationTask808,23446
+ def needed?needed?810,23540
+ def timestamptimestamp816,23693
+ class MultiTask < TaskMultiTask825,23931
+ def invoke_prerequisites(args, invocation_chain)invoke_prerequisites827,23968
+def task(*args, &block)task846,24444
+def file(*args, &block)file864,24795
+def file_create(args, &block)file_create870,24943
+def directory(dir)directory879,25147
+def multitask(args, &block)multitask894,25555
+def namespace(name=nil, &block)namespace909,25923
+def rule(*args, &block)rule920,26128
+def desc(description)desc932,26323
+def import(*fns)import949,26879
+module FileUtilsFileUtils959,27162
+ def sh(*cmd, &block)sh988,27954
+ def rake_system(*cmd)rake_system1014,28842
+ def ruby(*args,&block)ruby1024,29042
+ def safe_ln(*args)safe_ln1037,29380
+ def split_all(path)split_all1055,29733
+module RakeFileUtilsRakeFileUtils1067,30140
+ def verbose(value=nil)verbose1107,31435
+ def nowrite(value=nil)nowrite1128,32195
+ def when_writing(msg=nil)when_writing1155,32899
+ def rake_merge_option(args, defaults)rake_merge_option1164,33085
+ def rake_output_message(message)rake_output_message1175,33343
+ def rake_check_options(options, *optdecl)rake_check_options1182,33594
+module RakeRake1204,34284
+ class FileListFileList1220,35051
+ def initialize(*patterns)initialize1295,37711
+ def include(*filenames)include1313,38270
+ def exclude(*patterns, &block)exclude1347,39421
+ def clear_excludeclear_exclude1360,39714
+ def ==(array)==1368,39879
+ def to_ato_a1373,39968
+ def to_aryto_ary1379,40057
+ def is_a?(klass)is_a?1384,40119
+ def *(other)*1390,40274
+ def resolveresolve1401,40477
+ def calculate_exclude_regexpcalculate_exclude_regexp1411,40670
+ def resolve_add(fn)resolve_add1431,41156
+ def resolve_excluderesolve_exclude1441,41317
+ def sub(pat, rep)sub1454,41662
+ def gsub(pat, rep)gsub1465,41996
+ def sub!(pat, rep)sub!1470,42160
+ def gsub!(pat, rep)gsub!1476,42332
+ def pathmap(spec=nil)pathmap1484,42600
+ def ext(newext='')ext1496,42940
+ def egrep(pattern, *options)egrep1506,43338
+ def existingexisting1526,43874
+ def existing!existing!1532,44045
+ def partition(&block) # :nodoc:partition1540,44265
+ def to_sto_s1550,44541
+ def add_matching(pattern)add_matching1556,44632
+ def exclude?(fn)exclude?1564,44824
+ def import(array)import1580,45261
+ def [](*args)[]1589,45451
+module RakeRake1596,45530
+ def each_dir_parent(dir) # :nodoc:each_dir_parent1600,45605
+module RakeRake1615,46003
+ class DefaultLoaderDefaultLoader1618,46062
+ def load(fn)load1619,46084
+ class EarlyTimeEarlyTime1625,46233
+ def <=>(other)<=>1629,46297
+ def to_sto_s1633,46334
+class TimeTime1644,46579
+ def <=>(other)<=>1646,46630
+module RakeRake1655,46785
+ class NameSpaceNameSpace1661,46975
+ def initialize(task_manager, scope_list)initialize1665,47092
+ def [](name)[]1671,47262
+ def taskstasks1676,47399
+ module TaskManagerTaskManager1684,47613
+ def initializeinitialize1689,47793
+ def create_rule(*args, &block)create_rule1697,47937
+ def define_task(task_class, *args, &block)define_task1703,48150
+ def intern(task_class, task_name)intern1718,48742
+ def [](task_name, scopes=nil)[]1723,48898
+ def synthesize_file_task(task_name)synthesize_file_task1731,49165
+ def resolve_args(args)resolve_args1738,49422
+ def resolve_args_without_dependencies(args)resolve_args_without_dependencies1756,49904
+ def resolve_args_with_dependencies(args, hash) # :nodoc:resolve_args_with_dependencies1777,50573
+ def enhance_with_matching_rule(task_name, level=0)enhance_with_matching_rule1802,51433
+ def taskstasks1818,51959
+ def tasks_in_scope(scope)tasks_in_scope1824,52108
+ def clearclear1832,52286
+ def lookup(task_name, initial_scope=nil)lookup1842,52677
+ def lookup_in_scope(name, scope)lookup_in_scope1858,53160
+ def current_scopecurrent_scope1872,53490
+ def in_namespace(name)in_namespace1878,53654
+ def generate_namegenerate_name1891,53892
+ def trace_rule(level, message)trace_rule1897,53981
+ def attempt_rule(task_name, extensions, block, level)attempt_rule1902,54168
+ def make_sources(task_name, extensions)make_sources1924,55032
+ class ApplicationApplication1953,55770
+ def initializeinitialize1971,56283
+ def runrun1997,57168
+ def init(app_name='rake')init2006,57348
+ def load_rakefileload_rakefile2015,57570
+ def top_leveltop_level2022,57727
+ def add_loader(ext, loader)add_loader2036,58111
+ def optionsoptions2042,58271
+ def invoke_task(task_string)invoke_task2048,58410
+ def parse_task_string(string)parse_task_string2054,58545
+ def standard_exception_handlingstandard_exception_handling2066,58826
+ def have_rakefilehave_rakefile2091,59616
+ def tty_output?tty_output?2104,59948
+ def tty_output=( tty_output_state )tty_output=2109,60061
+ def truncate_output?truncate_output?2115,60270
+ def display_tasks_and_commentsdisplay_tasks_and_comments2120,60383
+ def terminal_widthterminal_width2142,61153
+ def dynamic_widthdynamic_width2154,61417
+ def dynamic_width_sttydynamic_width_stty2158,61525
+ def dynamic_width_tputdynamic_width_tput2162,61607
+ def unix?unix?2166,61680
+ def windows?windows?2170,61796
+ def truncate(string, width)truncate2174,61843
+ def display_prerequisitesdisplay_prerequisites2183,62039
+ def standard_rake_optionsstandard_rake_options2192,62301
+ def handle_optionshandle_options2310,66561
+ def rake_require(file_name, paths=$LOAD_PATH, loaded=$")rake_require2339,67468
+ def find_rakefile_locationfind_rakefile_location2353,67861
+ def raw_load_rakefile # :nodoc:raw_load_rakefile2367,68157
+ def glob(path, &block)glob2393,69050
+ def system_dirsystem_dir2399,69212
+ def standard_system_dir #:nodoc:standard_system_dir2412,69502
+ def standard_system_dir #:nodoc:standard_system_dir2416,69591
+ def collect_taskscollect_tasks2425,69931
+ def add_import(fn)add_import2438,70282
+ def load_importsload_imports2443,70390
+ def const_warning(const_name)const_warning2457,70767
+ def rakefile_locationrakefile_location2468,71194
+class ModuleModule2479,71370
+ def const_missing(const_name)const_missing2488,71803
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/capture_stdout.rb,125
+module CaptureStdoutCaptureStdout6,81
+ def capture_stdoutcapture_stdout7,102
+ def capture_stderrcapture_stderr17,247
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/check_expansion.rb,0
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/check_no_expansion.rb,0
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/contrib/test_sys.rb,93
+class TestSys < Test::Unit::TestCaseTestSys7,97
+ def test_split_alltest_split_all39,934
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/data/rakelib/test1.rb,0
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/data/rbext/rakefile.rb,0
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/filecreation.rb,237
+module FileCreationFileCreation3,21
+ def create_timed_files(oldfile, *newfiles)create_timed_files7,96
+ def create_dir(dirname)create_dir18,424
+ def create_file(name)create_file23,545
+ def delete_file(name)delete_file29,688
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/functional.rb,0
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/in_environment.rb,148
+module InEnvironmentInEnvironment1,0
+ def in_environment(settings)in_environment6,172
+ def set_env(settings) # :nodoc:set_env14,362
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/rake_test_setup.rb,147
+ class Test::Unit::TestCaseTest13,175
+module TestMethodsTestMethods20,253
+ def assert_exception(ex, msg=nil, &block)assert_exception21,272
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/reqfile.rb,0
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/reqfile2.rb,0
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/session_functional.rb,3026
+module SessionSession16,359
+ class AbstractSessionAbstractSession17,374
+ def initialize(*args)initialize19,434
+class FunctionalTest < Test::Unit::TestCaseFunctionalTest26,526
+ def setupsetup32,642
+ def test_rake_defaulttest_rake_default46,1049
+ def test_rake_error_on_bad_tasktest_rake_error_on_bad_task52,1181
+ def test_env_availabe_at_top_scopetest_env_availabe_at_top_scope58,1335
+ def test_env_availabe_at_task_scopetest_env_availabe_at_task_scope64,1498
+ def test_multi_desctest_multi_desc70,1675
+ def test_long_descriptiontest_long_description83,2008
+ def test_rbexttest_rbext93,2308
+ def test_systemtest_system100,2438
+ def test_system_excludes_rakelib_files_tootest_system_excludes_rakelib_files_too107,2584
+ def test_by_default_rakelib_files_are_includetest_by_default_rakelib_files_are_include114,2781
+ def test_implicit_systemtest_implicit_system121,2964
+ def test_no_systemtest_no_system128,3156
+ def test_nosearch_with_rakefile_uses_local_rakefiletest_nosearch_with_rakefile_uses_local_rakefile135,3345
+ def test_nosearch_without_rakefile_finds_systemtest_nosearch_without_rakefile_finds_system142,3526
+ def test_nosearch_without_rakefile_and_no_system_failstest_nosearch_without_rakefile_and_no_system_fails152,3781
+ def test_dry_runtest_dry_run159,4006
+ def test_dry_run_bugtest_dry_run_bug168,4348
+ def test_trace_bugtest_trace_bug181,4696
+ def test_importstest_imports193,4981
+ def test_rules_chaining_to_file_tasktest_rules_chaining_to_file_task209,5508
+ def test_file_creation_tasktest_file_creation_task220,5784
+ def test_dash_f_with_no_arg_foils_rakefile_lookuptest_dash_f_with_no_arg_foils_rakefile_lookup229,6000
+ def test_dot_rake_files_can_be_loaded_with_dash_rtest_dot_rake_files_can_be_loaded_with_dash_r234,6136
+ def test_can_invoke_task_in_toplevel_namespacetest_can_invoke_task_in_toplevel_namespace239,6272
+ def test_can_invoke_task_in_nested_namespacetest_can_invoke_task_in_nested_namespace246,6441
+ def test_tasks_can_reference_task_in_same_namespacetest_tasks_can_reference_task_in_same_namespace253,6620
+ def test_tasks_can_reference_task_in_other_namespacestest_tasks_can_reference_task_in_other_namespaces260,6805
+ def test_anonymous_tasks_can_be_invoked_indirectlytest_anonymous_tasks_can_be_invoked_indirectly267,6991
+ def test_rake_namespace_refers_to_topleveltest_rake_namespace_refers_to_toplevel274,7172
+ def test_file_task_are_not_scoped_by_namespacestest_file_task_are_not_scoped_by_namespaces281,7351
+ def test_rake_returns_status_error_valuestest_rake_returns_status_error_values288,7534
+ def test_rake_returns_no_status_error_on_normal_exittest_rake_returns_no_status_error_on_normal_exit295,7692
+ def remove_chaining_filesremove_chaining_files304,7873
+ def format_commandformat_command311,8032
+ def format_command=(fmt_command)format_command=317,8201
+ def rake(*option_list)rake322,8291
+ def assert_status(expected_status=0)assert_status336,8772
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/shellcommand.rb,0
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_application.rb,4739
+class TestApplication < Test::Unit::TestCaseTestApplication18,307
+ def setupsetup23,423
+ def test_constant_warningtest_constant_warning28,505
+ def test_display_taskstest_display_tasks35,719
+ def test_display_tasks_with_long_commentstest_display_tasks_with_long_comments44,1017
+ def test_display_tasks_with_task_name_wider_than_tty_displaytest_display_tasks_with_task_name_wider_than_tty_display55,1471
+ def test_display_tasks_with_very_long_task_name_to_a_non_tty_shows_name_and_commenttest_display_tasks_with_very_long_task_name_to_a_non_tty_shows_name_and_comment68,2024
+ def test_display_tasks_with_long_comments_to_a_non_tty_shows_entire_commenttest_display_tasks_with_long_comments_to_a_non_tty_shows_entire_comment80,2569
+ def test_display_tasks_with_long_comments_to_a_non_tty_with_columns_set_truncates_commentstest_display_tasks_with_long_comments_to_a_non_tty_with_columns_set_truncates_comments90,2972
+ def test_display_tasks_with_full_descriptionstest_display_tasks_with_full_descriptions102,3505
+ def test_finding_rakefiletest_finding_rakefile112,3872
+ def test_not_finding_rakefiletest_not_finding_rakefile116,3975
+ def test_load_rakefiletest_load_rakefile122,4155
+ def test_load_rakefile_from_subdirtest_load_rakefile_from_subdir134,4459
+ def test_load_rakefile_not_foundtest_load_rakefile_not_found146,4781
+ def test_load_from_system_rakefiletest_load_from_system_rakefile159,5150
+ def test_windowstest_windows174,5550
+ def test_loading_importstest_loading_imports178,5619
+ def test_building_imported_files_on_demandtest_building_imported_files_on_demand188,5848
+ def test_handle_options_should_strip_options_from_ARGVtest_handle_options_should_strip_options_from_ARGV200,6219
+ def test_good_runtest_good_run213,6480
+ def test_display_task_runtest_display_task_run227,6779
+ def test_display_prereqstest_display_prereqs240,7146
+ def test_bad_runtest_bad_run257,7668
+ def test_bad_run_with_tracetest_bad_run_with_trace269,7956
+ def test_run_with_bad_optionstest_run_with_bad_options281,8266
+class TestApplicationOptions < Test::Unit::TestCaseTestApplicationOptions295,8614
+ def setupsetup299,8713
+ def teardownteardown306,8851
+ def clear_argvclear_argv312,8968
+ def test_default_optionstest_default_options318,9039
+ def test_dry_runtest_dry_run337,9615
+ def test_describetest_describe346,9817
+ def test_describe_with_patterntest_describe_with_pattern354,10007
+ def test_executetest_execute362,10213
+ def test_execute_and_continuetest_execute_and_continue371,10397
+ def test_execute_and_printtest_execute_and_print380,10607
+ def test_helptest_help390,10857
+ def test_libdirtest_libdir400,11109
+ def test_rakefiletest_rakefile408,11259
+ def test_rakelibtest_rakelib414,11440
+ def test_requiretest_require420,11624
+ def test_missing_requiretest_missing_require429,11905
+ def test_prereqstest_prereqs438,12141
+ def test_quiettest_quiet444,12245
+ def test_no_searchtest_no_search451,12383
+ def test_silenttest_silent457,12501
+ def test_systemtest_system464,12639
+ def test_no_systemtest_no_system470,12740
+ def test_tracetest_trace476,12849
+ def test_trace_rulestest_trace_rules484,13024
+ def test_taskstest_tasks490,13123
+ def test_verbosetest_verbose501,13416
+ def test_versiontest_version508,13556
+ def test_classic_namespacetest_classic_namespace516,13750
+ def test_bad_optiontest_bad_option527,14131
+ def test_task_collectiontest_task_collection541,14582
+ def test_default_task_collectiontest_default_task_collection546,14686
+ def test_environment_definitiontest_environment_definition551,14786
+ def flags(*sets)flags560,14969
+ def command_line(*options)command_line570,15190
+class TestTaskArgumentParsing < Test::Unit::TestCaseTestTaskArgumentParsing585,15496
+ def setupsetup586,15549
+ def test_name_onlytest_name_only590,15603
+ def test_empty_argstest_empty_args596,15737
+ def test_one_argumenttest_one_argument602,15874
+ def test_two_argumentstest_two_arguments608,16021
+ def test_can_handle_spaces_between_argstest_can_handle_spaces_between_args614,16180
+ def test_keeps_embedded_spacestest_keeps_embedded_spaces620,16389
+class TestTaskArgumentParsing < Test::Unit::TestCaseTestTaskArgumentParsing628,16572
+ def test_terminal_width_using_envtest_terminal_width_using_env631,16650
+ def test_terminal_width_using_sttytest_terminal_width_using_stty638,16825
+ def test_terminal_width_using_tputtest_terminal_width_using_tput649,17105
+ def test_terminal_width_using_hardcoded_80test_terminal_width_using_hardcoded_80660,17385
+ def test_terminal_width_with_failuretest_terminal_width_with_failure668,17599
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_clean.rb,88
+class TestClean < Test::Unit::TestCaseTestClean6,63
+ def test_cleantest_clean8,117
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_definitions.rb,490
+class TestDefinitions < Test::Unit::TestCaseTestDefinitions10,207
+ def setupsetup16,330
+ def test_tasktest_task20,364
+ def test_file_tasktest_file_task29,563
+ def check_tasks(n1, n2, n3)check_tasks38,855
+ def test_incremental_definitionstest_incremental_definitions50,1216
+ def test_missing_dependenciestest_missing_dependencies62,1524
+ def test_implicit_file_dependenciestest_implicit_file_dependencies67,1654
+ def create_existing_filecreate_existing_file77,1915
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_earlytime.rb,273
+class TestEarlyTime < Test::Unit::TestCaseTestEarlyTime6,57
+ def test_createtest_create7,100
+ def test_equalitytest_equality18,378
+ def test_original_time_compare_is_not_messed_uptest_original_time_compare_is_not_messed_up23,507
+ def test_to_stest_to_s32,706
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_extension.rb,597
+class TestExtension < Test::Unit::TestCaseTestExtension8,147
+ module RedirectRedirect10,191
+ def error_redirecterror_redirect11,209
+ class SampleSample22,384
+ def duplicate_methodduplicate_method25,420
+ def ok_methodok_method31,535
+ def duplicate_methodduplicate_method39,666
+ def test_methods_actually_existtest_methods_actually_exist46,752
+ def test_no_warning_when_defining_ok_methodtest_no_warning_when_defining_ok_method52,866
+ def test_extension_complains_when_a_method_that_is_presenttest_extension_complains_when_a_method_that_is_present56,963
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_file_creation_task.rb,456
+class TestFileCreationTask < Test::Unit::TestCaseTestFileCreationTask9,176
+ def setupsetup15,301
+ def teardownteardown19,335
+ def test_file_neededtest_file_needed23,387
+ def test_directorytest_directory34,768
+ def test_no_retriggers_on_filecreate_tasktest_no_retriggers_on_filecreate_task41,931
+ def test_no_retriggers_on_file_tasktest_no_retriggers_on_file_task49,1301
+ def test_very_early_timestamptest_very_early_timestamp57,1665
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_file_task.rb,813
+class TestFileTask < Test::Unit::TestCaseTestFileTask10,207
+ def setupsetup15,310
+ def test_file_needtest_file_need22,420
+ def test_file_times_new_depends_on_oldtest_file_times_new_depends_on_old35,859
+ def test_file_times_old_depends_on_newtest_file_times_old_depends_on_new44,1211
+ def test_file_depends_on_task_depend_on_filetest_file_depends_on_task_depend_on_file56,1726
+ def test_existing_file_depends_on_non_existing_filetest_existing_file_depends_on_non_existing_file68,2069
+ def ztest_file_deletes_on_failureztest_file_deletes_on_failure79,2464
+class TestDirectoryTask < Test::Unit::TestCaseTestDirectoryTask96,2845
+ def setupsetup99,2908
+ def teardownteardown103,2965
+ def test_directorytest_directory107,3025
+ def test_directory_win32test_directory_win32124,3617
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_filelist.rb,3743
+class TestFileList < Test::Unit::TestCaseTestFileList9,119
+ def setupsetup14,236
+ def teardownteardown18,276
+ def test_delgating_methods_do_not_include_to_a_or_to_arytest_delgating_methods_do_not_include_to_a_or_to_ary23,375
+ def test_createtest_create30,791
+ def test_create_with_argstest_create_with_args35,866
+ def test_create_with_blocktest_create_with_block41,1039
+ def test_create_with_bracketstest_create_with_brackets46,1155
+ def test_create_with_brackets_and_filelisttest_create_with_brackets_and_filelist52,1328
+ def test_include_with_another_arraytest_include_with_another_array58,1524
+ def test_include_with_another_filelisttest_include_with_another_filelist63,1663
+ def test_appendtest_append69,1867
+ def test_add_manytest_add_many75,1979
+ def test_add_returntest_add_return83,2180
+ def test_matchtest_match91,2356
+ def test_add_matchingtest_add_matching99,2552
+ def test_multiple_patternstest_multiple_patterns108,2756
+ def test_square_bracket_patterntest_square_bracket_pattern119,3058
+ def test_curly_bracket_patterntest_curly_bracket_pattern127,3263
+ def test_rejecttest_reject135,3468
+ def test_excludetest_exclude144,3705
+ def test_excluding_via_blocktest_excluding_via_block157,4187
+ def test_exclude_return_on_createtest_exclude_return_on_create164,4453
+ def test_exclude_with_string_return_on_createtest_exclude_with_string_return_on_create170,4658
+ def test_default_excludetest_default_exclude176,4934
+ def test_uniquetest_unique184,5189
+ def test_to_stringtest_to_string192,5388
+ def test_to_arraytest_to_array199,5555
+ def test_to_s_pendingtest_to_s_pending207,5798
+ def test_inspect_pendingtest_inspect_pending216,6079
+ def test_subtest_sub225,6395
+ def test_claim_to_be_a_kind_of_arraytest_claim_to_be_a_kind_of_array237,6766
+ def test_claim_to_be_a_kind_of_filelisttest_claim_to_be_a_kind_of_filelist243,6905
+ def test_claim_to_be_a_filelist_instancetest_claim_to_be_a_filelist_instance249,7053
+ def test_dont_claim_to_be_an_array_instancetest_dont_claim_to_be_an_array_instance254,7176
+ def test_sub!test_sub!259,7299
+ def test_sub_with_blocktest_sub_with_block268,7523
+ def test_string_exttest_string_ext280,7952
+ def test_filelist_exttest_filelist_ext305,8995
+ def test_gsubtest_gsub310,9115
+ def test_gsub!test_gsub!318,9310
+ def test_egrep_with_outputtest_egrep_with_output326,9499
+ def test_egrep_with_blocktest_egrep_with_block333,9706
+ def test_existingtest_existing346,10084
+ def test_existing!test_existing!352,10258
+ def test_ignore_specialtest_ignore_special359,10459
+ def test_clear_ignore_patternstest_clear_ignore_patterns369,10950
+ def test_exclude_with_alternate_file_sepstest_exclude_with_alternate_file_seps380,11292
+ def test_add_default_exclude_listtest_add_default_exclude_list390,11574
+ def test_basic_array_functionstest_basic_array_functions402,11906
+ def test_flattentest_flatten414,12208
+ def test_clone_and_duptest_clone_and_dup419,12366
+ def test_dup_and_clone_replicate_tainttest_dup_and_clone_replicate_taint429,12586
+ def test_duped_items_will_thawtest_duped_items_will_thaw438,12804
+ def test_cloned_items_stay_frozentest_cloned_items_stay_frozen446,12963
+ def test_array_comparisonstest_array_comparisons455,13142
+ def test_array_equalitytest_array_equality468,13461
+ def test_enumeration_methodstest_enumeration_methods479,13669
+ def test_array_operatorstest_array_operators526,14878
+ def test_other_array_returning_methodstest_other_array_returning_methods565,15762
+ def test_file_utils_can_use_fileliststest_file_utils_can_use_filelists592,16458
+ def create_test_datacreate_test_data602,16741
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_fileutils.rb,1949
+class TestFileUtils < Test::Unit::TestCaseTestFileUtils10,155
+ def setupsetup14,244
+ def teardownteardown18,309
+ def test_rm_one_filetest_rm_one_file23,403
+ def test_rm_two_filestest_rm_two_files29,535
+ def test_rm_filelisttest_rm_filelist37,753
+ def test_lntest_ln45,986
+ class BadLinkBadLink52,1224
+ def initialize(klass)initialize55,1291
+ def cp(*args)cp58,1354
+ def ln(*args)ln61,1402
+ def test_safe_ln_failover_to_cp_on_standard_errortest_safe_ln_failover_to_cp_on_standard_error67,1501
+ def test_safe_ln_failover_to_cp_on_not_implemented_errortest_safe_ln_failover_to_cp_on_not_implemented_error76,1757
+ def test_safe_ln_fails_on_script_errortest_safe_ln_fails_on_script_error83,1964
+ def test_verbosetest_verbose89,2143
+ def test_nowritetest_nowrite100,2358
+ def test_file_utils_methods_are_available_at_top_leveltest_file_utils_methods_are_available_at_top_level111,2572
+ def test_fileutils_methods_dont_leaktest_fileutils_methods_dont_leak117,2728
+ def test_shtest_sh123,2931
+ class ShSh132,3287
+ def run(*args)run134,3320
+ def self.run(*args)run137,3363
+ def test_sh_with_a_single_string_argumenttest_sh_with_a_single_string_argument142,3423
+ def test_sh_with_multiple_argumentstest_sh_with_multiple_arguments149,3597
+ def test_sh_failuretest_sh_failure156,3775
+ def test_sh_special_handlingtest_sh_special_handling162,3911
+ def test_sh_nooptest_sh_noop179,4324
+ def test_sh_bad_optiontest_sh_bad_option184,4450
+ def test_sh_verbosetest_sh_verbose191,4645
+ def test_sh_no_verbosetest_sh_no_verbose200,4836
+ def test_ruby_with_a_single_string_argumenttest_ruby_with_a_single_string_argument209,5006
+ def test_ruby_with_multiple_argumentstest_ruby_with_multiple_arguments216,5179
+ def test_split_alltest_split_all223,5349
+ def redirect_stderrredirect_stderr234,5746
+ def windows?windows?243,5884
+ def env_varenv_var247,5937
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_ftp.rb,380
+class FakeDateFakeDate8,104
+ def self.todaytoday9,119
+ def self.nownow12,166
+class TestFtpFile < Test::Unit::TestCaseTestFtpFile18,228
+ def setupsetup20,270
+ def test_generaltest_general24,369
+ def test_far_datetest_far_date37,840
+ def test_close_datetest_close_date42,1022
+ def test_directorytest_directory47,1208
+ def test_symlinktest_symlink53,1388
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_invocation_chain.rb,1052
+class TestAnEmptyInvocationChain < Test::Unit::TestCaseTestAnEmptyInvocationChain8,159
+ def setupsetup11,238
+ def test_should_be_able_to_add_memberstest_should_be_able_to_add_members15,299
+ def test_to_stest_to_s21,409
+class TestAnInvocationChainWithOneMember < Test::Unit::TestCaseTestAnInvocationChainWithOneMember27,543
+ def setupsetup30,630
+ def test_should_report_first_member_as_a_membertest_should_report_first_member_as_a_member36,757
+ def test_should_fail_when_adding_original_membertest_should_fail_when_adding_original_member40,855
+ def test_to_stest_to_s48,1093
+class TestAnInvocationChainWithMultipleMember < Test::Unit::TestCaseTestAnInvocationChainWithMultipleMember55,1233
+ def setupsetup58,1325
+ def test_should_report_first_member_as_a_membertest_should_report_first_member_as_a_member65,1492
+ def test_should_report_second_member_as_a_membertest_should_report_second_member_as_a_member69,1590
+ def test_should_fail_when_adding_original_membertest_should_fail_when_adding_original_member73,1690
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_makefile_loader.rb,107
+class TestMakefileLoader < Test::Unit::TestCaseTestMakefileLoader7,89
+ def test_parsetest_parse10,153
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_multitask.rb,256
+class TestMultiTask < Test::Unit::TestCaseTestMultiTask7,128
+ def setupsetup10,187
+ def test_running_multitaskstest_running_multitasks15,243
+ def test_all_multitasks_wait_on_slow_prerequisitestest_all_multitasks_wait_on_slow_prerequisites27,699
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_namespace.rb,290
+class TestNameSpace < Test::Unit::TestCaseTestNameSpace14,182
+ class TMTM17,248
+ def test_namespace_creationtest_namespace_creation21,296
+ def test_namespace_lookuptest_namespace_lookup27,410
+ def test_namespace_reports_tasks_it_ownstest_namespace_reports_tasks_it_owns37,608
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_package_task.rb,552
+class TestPackageTask < Test::Unit::TestCaseTestPackageTask7,100
+ def test_createtest_create11,183
+ def test_missing_versiontest_missing_version44,1129
+ def test_no_versiontest_no_version50,1256
+ def test_clonetest_clone55,1388
+ class TestGemPackageTask < Test::Unit::TestCaseTestGemPackageTask76,1839
+ def test_gem_packagetest_gem_package77,1889
+ def test_gem_package_with_current_platformtest_gem_package_with_current_platform90,2257
+ def test_gem_package_with_ruby_platformtest_gem_package_with_ruby_platform104,2703
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_pathmap.rb,2419
+class TestPathMap < Test::Unit::TestCaseTestPathMap7,128
+ def test_returns_self_with_no_argstest_returns_self_with_no_args10,192
+ def test_s_returns_file_separatortest_s_returns_file_separator14,280
+ def test_f_returns_basenametest_f_returns_basename21,509
+ def test_n_returns_basename_without_extensiontest_n_returns_basename_without_extension27,725
+ def test_d_returns_dirnametest_d_returns_dirname35,1054
+ def test_9d_returns_partial_dirnametest_9d_returns_partial_dirname42,1322
+ def test_x_returns_extensiontest_x_returns_extension52,1833
+ def test_X_returns_everything_but_extensiontest_X_returns_everything_but_extension60,2106
+ def test_p_returns_entire_pathnametest_p_returns_entire_pathname74,2720
+ def test_dash_returns_empty_stringtest_dash_returns_empty_string80,2972
+ def test_percent_percent_returns_percenttest_percent_percent_returns_percent85,3114
+ def test_undefined_percent_causes_errortest_undefined_percent_causes_error89,3207
+ def test_pattern_returns_substitutionstest_pattern_returns_substitutions95,3338
+ def test_pattern_can_use_backreferencestest_pattern_can_use_backreferences100,3470
+ def test_pattern_with_star_replacement_string_uses_blocktest_pattern_with_star_replacement_string_uses_block104,3589
+ def test_pattern_with_no_replacement_nor_block_substitutes_empty_stringtest_pattern_with_no_replacement_nor_block_substitutes_empty_string111,3854
+ def test_pattern_works_with_certain_valid_operatorstest_pattern_works_with_certain_valid_operators115,3987
+ def test_multiple_patternstest_multiple_patterns123,4338
+ def test_partial_directory_selection_works_with_patternstest_partial_directory_selection_works_with_patterns128,4483
+ def test_pattern_with_invalid_operatortest_pattern_with_invalid_operator133,4652
+ def test_works_with_windows_separatorstest_works_with_windows_separators140,4850
+ def test_complex_patternstest_complex_patterns148,5067
+class TestPathMapExplode < Test::Unit::TestCaseTestPathMapExplode163,5778
+ def setupsetup164,5826
+ def teardownteardown168,5895
+ def test_explodetest_explode172,5970
+class TestPathMapPartial < Test::Unit::TestCaseTestPathMapPartial190,6734
+ def test_pathmap_partialtest_pathmap_partial191,6782
+class TestFileListPathMap < Test::Unit::TestCaseTestFileListPathMap206,7168
+ def test_file_list_supports_pathmaptest_file_list_supports_pathmap207,7217
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_pseudo_status.rb,199
+class PseudoStatusTest < Test::Unit::TestCasePseudoStatusTest9,119
+ def test_with_zero_exit_statustest_with_zero_exit_status10,165
+ def test_with_99_exit_statustest_with_99_exit_status18,367
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_rake.rb,300
+class TestRake < Test::Unit::TestCaseTestRake6,57
+ def test_each_dir_parenttest_each_dir_parent7,95
+ def alldirs(fn)alldirs22,597
+ def test_can_override_applicationtest_can_override_application28,698
+ def test_original_dir_reports_current_dirtest_original_dir_reports_current_dir37,914
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_rdoc_task.rb,1147
+class TestRDocTask < Test::Unit::TestCaseTestRDocTask7,97
+ def setupsetup11,179
+ def test_tasks_creationtest_tasks_creation15,215
+ def test_tasks_creation_with_custom_name_symboltest_tasks_creation_with_custom_name_symbol22,352
+ def test_tasks_creation_with_custom_name_stringtest_tasks_creation_with_custom_name_string30,577
+ def test_tasks_creation_with_custom_name_hashtest_tasks_creation_with_custom_name_hash38,804
+ def test_tasks_creation_with_custom_name_hash_will_use_default_if_an_option_isnt_giventest_tasks_creation_with_custom_name_hash_will_use_default_if_an_option_isnt_given48,1165
+ def test_tasks_creation_with_custom_name_hash_raises_exception_if_invalid_option_giventest_tasks_creation_with_custom_name_hash_raises_exception_if_invalid_option_given55,1401
+ def test_inline_source_is_enabled_by_defaulttest_inline_source_is_enabled_by_default67,1713
+ def test_inline_source_option_is_only_appended_if_option_not_already_giventest_inline_source_option_is_only_appended_if_option_not_already_given72,1851
+ def test_inline_source_option_can_be_disabledtest_inline_source_option_can_be_disabled83,2236
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_require.rb,290
+class TestRequire < Test::Unit::TestCaseTestRequire8,159
+ def test_can_load_rake_librarytest_can_load_rake_library11,223
+ def test_wont_reload_rake_librarytest_wont_reload_rake_library18,387
+ def test_throws_error_if_library_not_foundtest_throws_error_if_library_not_found25,563
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_rules.rb,2984
+class TestRules < Test::Unit::TestCaseTestRules10,207
+ def setupsetup22,488
+ def teardownteardown27,537
+ def test_multiple_rules1test_multiple_rules131,632
+ def test_multiple_rules2test_multiple_rules243,922
+ def test_create_with_sourcetest_create_with_source53,1177
+ def test_single_dependenttest_single_dependent64,1434
+ def test_rule_can_be_created_by_stringtest_rule_can_be_created_by_string73,1615
+ def test_rule_prereqs_can_be_created_by_stringtest_rule_prereqs_can_be_created_by_string82,1808
+ def test_plain_strings_as_dependents_refer_to_filestest_plain_strings_as_dependents_refer_to_files91,2007
+ def test_file_names_beginning_with_dot_can_be_tricked_into_refering_to_filetest_file_names_beginning_with_dot_can_be_tricked_into_refering_to_file100,2214
+ def test_file_names_beginning_with_dot_can_be_wrapped_in_lambdatest_file_names_beginning_with_dot_can_be_wrapped_in_lambda113,2536
+ def test_file_names_containing_percent_can_be_wrapped_in_lambdatest_file_names_containing_percent_can_be_wrapped_in_lambda126,2883
+ def test_non_extension_rule_name_refers_to_filetest_non_extension_rule_name_refers_to_file139,3233
+ def test_pathmap_automatically_applies_to_nametest_pathmap_automatically_applies_to_name152,3521
+ def test_plain_strings_are_just_filenamestest_plain_strings_are_just_filenames165,3851
+ def test_rule_runs_when_explicit_task_has_no_actionstest_rule_runs_when_explicit_task_has_no_actions178,4178
+ def test_close_matches_on_name_do_not_trigger_ruletest_close_matches_on_name_do_not_trigger_rule190,4467
+ def test_rule_rebuilds_obj_when_source_is_newertest_rule_rebuilds_obj_when_source_is_newer199,4758
+ def test_rule_with_two_sources_runs_if_both_sources_are_presenttest_rule_with_two_sources_runs_if_both_sources_are_present208,4972
+ def test_rule_with_two_sources_but_one_missing_does_not_runtest_rule_with_two_sources_but_one_missing_does_not_run217,5241
+ def test_rule_with_two_sources_builds_both_sourcestest_rule_with_two_sources_builds_both_sources227,5517
+ def test_second_rule_runs_when_first_rule_doesnttest_second_rule_runs_when_first_rule_doesnt243,5843
+ def test_second_rule_doest_run_if_first_triggerstest_second_rule_doest_run_if_first_triggers256,6186
+ def test_second_rule_doest_run_if_first_triggers_with_reversed_rulestest_second_rule_doest_run_if_first_triggers_with_reversed_rules268,6513
+ def test_rule_with_proc_dependent_will_triggertest_rule_with_proc_dependent_will_trigger280,6860
+ def test_proc_returning_lists_are_flattened_into_prereqstest_proc_returning_lists_are_flattened_into_prereqs297,7393
+ def test_recursive_rules_will_work_as_long_as_they_terminatetest_recursive_rules_will_work_as_long_as_they_terminate319,7959
+ def test_recursive_rules_that_dont_terminate_will_overflowtest_recursive_rules_that_dont_terminate_will_overflow330,8346
+ def test_rules_with_bad_dependents_will_failtest_rules_with_bad_dependents_will_fail343,8743
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_task_arguments.rb,994
+class TestTaskArguments < Test::Unit::TestCaseTestTaskArguments7,128
+ def teardownteardown8,175
+ def test_empty_arg_list_is_emptytest_empty_arg_list_is_empty13,241
+ def test_multiple_values_in_argstest_multiple_values_in_args18,357
+ def test_to_stest_to_s23,537
+ def test_enumerable_behaviortest_enumerable_behavior29,711
+ def test_named_argstest_named_args34,871
+ def test_args_knows_its_namestest_args_knows_its_names43,1085
+ def test_extra_names_are_niltest_extra_names_are_nil48,1219
+ def test_args_can_reference_env_valuestest_args_can_reference_env_values53,1339
+ def test_creating_new_argument_scopestest_creating_new_argument_scopes61,1541
+ def test_child_hides_parent_arg_namestest_child_hides_parent_arg_names71,1831
+ def test_default_arguments_values_can_be_mergedtest_default_arguments_values_can_be_merged77,2016
+ def test_default_arguements_that_dont_match_names_are_ignoredtest_default_arguements_that_dont_match_names_are_ignored84,2271
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_task_manager.rb,1276
+class TaskManagerTaskManager7,88
+class TestTaskManager < Test::Unit::TestCaseTestTaskManager11,139
+ def setupsetup14,207
+ def test_create_task_managertest_create_task_manager18,252
+ def test_define_tasktest_define_task23,344
+ def test_name_lookuptest_name_lookup29,479
+ def test_namespace_task_createtest_namespace_task_create34,577
+ def test_anonymous_namespacetest_anonymous_namespace42,788
+ def test_create_filetask_in_namespacetest_create_filetask_in_namespace51,1017
+ def test_namespace_yields_same_namespace_as_returnedtest_namespace_yields_same_namespace_as_returned59,1239
+ def test_name_lookup_with_implicit_file_taskstest_name_lookup_with_implicit_file_tasks67,1476
+ def test_name_lookup_with_nonexistent_tasktest_name_lookup_with_nonexistent_task73,1619
+ def test_name_lookup_in_multiple_scopestest_name_lookup_in_multiple_scopes79,1746
+ def test_lookup_with_explicit_scopestest_lookup_with_explicit_scopes121,2961
+ def test_correctly_scoped_prerequisites_are_invokedtest_correctly_scoped_prerequisites_are_invoked138,3492
+class TestTaskManagerArgumentResolution < Test::Unit::TestCaseTestTaskManagerArgumentResolution153,3873
+ def test_good_arg_patternstest_good_arg_patterns154,3936
+ def task(*args)task169,4614
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_tasklib.rb,92
+class TestTaskLib < Test::Unit::TestCaseTestTaskLib7,66
+ def test_pastetest_paste8,107
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_tasks.rb,3048
+class TestTask < Test::Unit::TestCaseTestTask11,237
+ def setupsetup16,337
+ def test_createtest_create20,371
+ def test_inspecttest_inspect32,644
+ def test_invoketest_invoke37,774
+ def test_invoke_with_circular_dependenciestest_invoke_with_circular_dependencies47,1078
+ def test_dry_run_prevents_actionstest_dry_run_prevents_actions60,1511
+ def test_tasks_can_be_tracedtest_tasks_can_be_traced73,1895
+ def test_no_double_invoketest_no_double_invoke85,2168
+ def test_can_double_invoke_with_reenabletest_can_double_invoke_with_reenable94,2443
+ def test_cleartest_clear103,2638
+ def test_clear_prerequisitestest_clear_prerequisites110,2825
+ def test_clear_actionstest_clear_actions117,3003
+ def test_findtest_find123,3132
+ def test_definedtest_defined130,3342
+ def test_multi_invocationstest_multi_invocations136,3450
+ def test_task_listtest_task_list146,3683
+ def test_task_gives_name_on_to_stest_task_gives_name_on_to_s152,3809
+ def test_symbols_can_be_prerequisitestest_symbols_can_be_prerequisites157,3905
+ def test_strings_can_be_prerequisitestest_strings_can_be_prerequisites162,4017
+ def test_arrays_can_be_prerequisitestest_arrays_can_be_prerequisites167,4130
+ def test_filelists_can_be_prerequisitestest_filelists_can_be_prerequisites172,4254
+ def test_investigation_outputtest_investigation_output177,4401
+ def test_extended_commentstest_extended_comments188,4697
+ def test_multiple_commentstest_multiple_comments204,5196
+ def test_settable_commentstest_settable_comments212,5352
+class TestTaskWithArguments < Test::Unit::TestCaseTestTaskWithArguments220,5534
+ def setupsetup225,5647
+ def test_no_args_giventest_no_args_given229,5681
+ def test_args_giventest_args_given234,5762
+ def test_name_and_needstest_name_and_needs239,5854
+ def test_name_and_explicit_needstest_name_and_explicit_needs246,6018
+ def test_name_args_and_explicit_needstest_name_args_and_explicit_needs253,6199
+ def test_illegal_keys_in_task_name_hashtest_illegal_keys_in_task_name_hash260,6399
+ def test_arg_list_is_empty_if_no_args_giventest_arg_list_is_empty_if_no_args_given266,6543
+ def test_tasks_can_access_arguments_as_hashtest_tasks_can_access_arguments_as_hash271,6681
+ def test_actions_of_various_arity_are_ok_with_argstest_actions_of_various_arity_are_ok_with_args284,7048
+ def test_arguments_are_passed_to_blocktest_arguments_are_passed_to_block305,7511
+ def test_extra_parameters_are_ignoredtest_extra_parameters_are_ignored312,7679
+ def test_arguments_are_passed_to_all_blockstest_arguments_are_passed_to_all_blocks320,7838
+ def test_block_with_no_parameters_is_oktest_block_with_no_parameters_is_ok335,8135
+ def test_name_with_argstest_name_with_args340,8224
+ def test_named_args_are_passed_to_prereqstest_named_args_are_passed_to_prereqs350,8485
+ def test_args_not_passed_if_no_prereq_namestest_args_not_passed_if_no_prereq_names358,8716
+ def test_args_not_passed_if_no_arg_namestest_args_not_passed_if_no_arg_names367,8958
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_test_task.rb,452
+class TestTestTask < Test::Unit::TestCaseTestTestTask6,66
+ def setupsetup10,148
+ def teardownteardown15,205
+ def test_no_tasktest_no_task19,259
+ def test_defaultstest_defaults23,324
+ def test_non_defaultstest_non_defaults33,595
+ def test_patterntest_pattern47,981
+ def test_env_testtest_env_test54,1126
+ def test_test_filestest_test_files62,1302
+ def test_both_pattern_and_test_filestest_both_pattern_and_test_files69,1473
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_top_level_functions.rb,719
+class TestTopLevelFunctions < Test::Unit::TestCaseTestTopLevelFunctions15,212
+ def setupsetup19,310
+ def teardownteardown25,406
+ def test_namespacetest_namespace30,466
+ def test_importtest_import35,594
+ def test_when_writingtest_when_writing42,861
+ def test_when_not_writingtest_when_not_writing51,1031
+ def test_missing_constants_tasktest_missing_constants_task63,1302
+ def test_missing_constants_file_tasktest_missing_constants_file_task68,1444
+ def test_missing_constants_file_creation_tasktest_missing_constants_file_creation_task73,1599
+ def test_missing_constants_rake_apptest_missing_constants_rake_app78,1779
+ def test_missing_other_constanttest_missing_other_constant83,1931
+
+tmp/isolate/ruby-1.8/gems/rake-0.8.7/test/test_win32.rb,660
+class TestWin32 < Test::Unit::TestCaseTestWin329,119
+ def test_win32_system_dir_uses_home_if_definedtest_win32_system_dir_uses_home_if_defined15,228
+ def test_win32_system_dir_uses_homedrive_homepath_when_no_home_definedtest_win32_system_dir_uses_homedrive_homepath_when_no_home_defined21,412
+ def test_win32_system_dir_uses_appdata_when_no_home_or_home_combotest_win32_system_dir_uses_appdata_when_no_home_or_home_combo32,690
+ def test_win32_system_dir_fallback_to_userprofile_otherwisetest_win32_system_dir_fallback_to_userprofile_otherwise44,1070
+ def test_win32_system_dir_nil_of_no_env_varstest_win32_system_dir_nil_of_no_env_vars57,1437
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/bin/autospec,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/bin/spec,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/diffing_spec.rb,111
+ class AnimalAnimal16,275
+ def initialize(name,species)initialize17,290
+ def inspectinspect21,368
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/failing_implicit_docstrings_example.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/failure_in_after.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/failure_in_before.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/mocking_example.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/mocking_with_flexmock.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/mocking_with_mocha.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/mocking_with_rr.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/partial_mock_example.rb,67
+class MockableClassMockableClass1,0
+ def self.find idfind2,20
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/pending_example.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/predicate_example.rb,114
+class BddFrameworkBddFramework1,0
+ def intuitive?intuitive?2,19
+ def adopted_quickly?adopted_quickly?6,52
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/raising_example.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/syntax_error_example.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/team_spec.rb,175
+class TeamTeam1,0
+ def initializeinitialize3,34
+class PlayersPlayers8,89
+ def initializeinitialize9,103
+ def sizesize12,144
+ def include? playerinclude?15,179
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/failing/timeout_behaviour.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/custom_formatter.rb,140
+class CustomFormatter < Spec::Runner::Formatter::ProgressBarFormatterCustomFormatter5,217
+ def backtrace_line(line)backtrace_line6,287
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/custom_matchers.rb,452
+module AnimalSpecHelperAnimalSpecHelper1,0
+ class EatEat2,24
+ def initialize(food)initialize3,36
+ def matches?(animal)matches?7,93
+ def failure_messagefailure_message12,181
+ def negative_failure_messagenegative_failure_message16,279
+ def eat(food)eat21,392
+module AnimalsAnimals26,437
+ class AnimalAnimal27,452
+ def eats?(food)eats?28,467
+ class Mouse < AnimalMouse33,544
+ def foods_i_eatfoods_i_eat34,567
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/dynamic_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/file_accessor.rb,110
+class FileAccessorFileAccessor1,0
+ def open_and_handle_with(pathname, processor)open_and_handle_with2,19
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/file_accessor_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/filtered_formatter.rb,209
+class FilteredFormatter < Spec::Runner::Formatter::NestedTextFormatterFilteredFormatter3,55
+ def add_example_group(example_group)add_example_group4,126
+ def example_passed(example)example_passed13,319
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/filtered_formatter_example.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/greeter_spec.rb,102
+class GreeterGreeter9,160
+ def initialize(person = nil)initialize10,174
+ def greetgreet14,233
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/helper_method_example.rb,92
+module HelperMethodExampleHelperMethodExample1,0
+ def helper_methodhelper_method3,81
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/implicit_docstrings_example.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/io_processor.rb,124
+class DataTooShort < StandardError; endDataTooShort1,0
+class IoProcessorIoProcessor3,41
+ def process(io)process5,130
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/io_processor_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/mocking_example.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/multi_threaded_example_group_runner.rb,176
+class MultiThreadedExampleGroupRunner < Spec::Runner::ExampleGroupRunnerMultiThreadedExampleGroupRunner1,0
+ def initialize(options, arg)initialize2,73
+ def runrun9,195
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/nested_classes_example.rb,269
+class StackExamples < Spec::ExampleGroupStackExamples3,34
+class EmptyStackExamples < StackExamplesEmptyStackExamples10,146
+class AlmostFullStackExamples < StackExamplesAlmostFullStackExamples17,276
+class FullStackExamples < StackExamplesFullStackExamples27,480
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/options_example.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/options_formatter.rb,206
+class OptionsFormatter < Spec::Runner::Formatter::BaseTextFormatterOptionsFormatter8,314
+ def example_started(proxy)example_started9,382
+ def example_group_started(proxy)example_group_started15,485
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/partial_mock_example.rb,67
+class MockableClassMockableClass1,0
+ def self.find idfind2,20
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/pending_example.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/predicate_example.rb,114
+class BddFrameworkBddFramework1,0
+ def intuitive?intuitive?2,19
+ def adopted_quickly?adopted_quickly?6,54
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/shared_example_group_example.rb,356
+module SharedExampleGroupExampleSharedExampleGroupExample1,0
+ class OneThingOneThing2,33
+ def what_things_dowhat_things_do3,50
+ class AnotherThingAnotherThing8,104
+ def what_things_dowhat_things_do9,125
+ class YetAnotherThingYetAnotherThing14,179
+ def what_things_dowhat_things_do15,203
+ def helper_methodhelper_method23,396
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/shared_stack_examples.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/simple_matcher_example.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/stack.rb,312
+class StackUnderflowError < RuntimeErrorStackUnderflowError1,0
+class StackOverflowError < RuntimeErrorStackOverflowError4,46
+class StackStack7,91
+ def initializeinitialize9,106
+ def push objectpush13,148
+ def poppop18,250
+ def peekpeek23,346
+ def empty?empty?28,429
+ def full?full?32,467
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/stack_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/stack_spec_with_nested_example_groups.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/stubbing_example.rb,73
+class StubbableClassStubbableClass9,215
+ def self.find idfind10,236
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/passing/yielding_example.rb,126
+class MessageAppenderMessageAppender1,0
+ def initialize(appendage)initialize3,25
+ def append_to(message)append_to7,89
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/examples/ruby1.9.compatibility/access_to_constants_spec.rb,460
+module Foo Foo7,228
+ module BarBar8,240
+ module ModuleInEnclosingModule;endModuleInEnclosingModule10,258
+ class ClassInEnclosingModule;end ClassInEnclosingModule11,297
+ def method_in_enclosing_module;endmethod_in_enclosing_module12,335
+ module ModuleDefinedInGroup;endModuleDefinedInGroup51,1404
+ class ClassDefinedInGroup; end ClassDefinedInGroup52,1442
+ def method_defined_in_group; endmethod_defined_in_group53,1480
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/features/step_definitions/running_rspec_steps.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/features/step_definitions/stubbing_steps.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/features/support/env.rb,533
+class RspecWorldRspecWorld10,235
+ def self.working_dirworking_dir18,434
+ def self.spec_commandspec_command22,576
+ def self.cmdline_filecmdline_file26,700
+ def self.rspec_librspec_lib30,844
+ def spec(args)spec34,928
+ def cmdline(args)cmdline38,988
+ def create_file(file_name, contents)create_file42,1051
+ def create_directory(dirname)create_directory47,1199
+ def last_stdoutlast_stdout51,1292
+ def last_stderrlast_stderr55,1329
+ def last_exit_codelast_exit_code59,1366
+ def ruby(args)ruby64,1536
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/features/support/matchers/smart_match.rb,54
+ def regexp?regexp?2,49
+ def quoted?quoted?6,86
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/init.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/autotest/discover.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/autotest/rspec.rb,393
+class RspecCommandError < StandardError; endRspecCommandError17,394
+class Autotest::Rspec < AutotestAutotest19,440
+ def initializeinitialize23,573
+ def consolidate_failures(failed)consolidate_failures29,789
+ def make_test_cmd(files_to_test)make_test_cmd39,1011
+ def normalize(files_to_test)normalize44,1205
+ def add_options_if_present # :nodoc:add_options_if_present51,1366
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/adapters/mock_frameworks/flexmock.rb,294
+module SpecSpec9,179
+ module AdaptersAdapters10,191
+ module MockFrameworkMockFramework11,209
+ def setup_mocks_for_rspecsetup_mocks_for_rspec13,272
+ def verify_mocks_for_rspecverify_mocks_for_rspec16,342
+ def teardown_mocks_for_rspecteardown_mocks_for_rspec19,409
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/adapters/mock_frameworks/mocha.rb,291
+module SpecSpec5,96
+ module AdaptersAdapters6,108
+ module MockFrameworkMockFramework7,126
+ def setup_mocks_for_rspecsetup_mocks_for_rspec14,319
+ def verify_mocks_for_rspecverify_mocks_for_rspec17,381
+ def teardown_mocks_for_rspecteardown_mocks_for_rspec20,445
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/adapters/mock_frameworks/rr.rb,292
+module SpecSpec7,174
+ module AdaptersAdapters8,186
+ module MockFrameworkMockFramework9,204
+ def setup_mocks_for_rspecsetup_mocks_for_rspec11,275
+ def verify_mocks_for_rspecverify_mocks_for_rspec14,350
+ def teardown_mocks_for_rspecteardown_mocks_for_rspec17,435
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/adapters/mock_frameworks/rspec.rb,297
+module SpecSpec4,64
+ module AdaptersAdapters5,76
+ module MockFrameworkMockFramework7,129
+ def setup_mocks_for_rspecsetup_mocks_for_rspec9,200
+ def verify_mocks_for_rspecverify_mocks_for_rspec12,296
+ def teardown_mocks_for_rspecteardown_mocks_for_rspec15,377
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/autorun.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/deprecation.rb,295
+module SpecSpec1,0
+ def deprecate(method, alternate_method=nil)deprecate3,28
+ def warn(message)warn25,641
+ class HashWithDeprecationNotice < HashHashWithDeprecationNotice31,706
+ def initialize(method, alternate_method=nil, &block)initialize32,747
+ def []=(k,v)[]=35,872
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/dsl/main.rb,240
+module SpecSpec1,0
+ module DSLDSL2,12
+ module MainMain3,25
+ def describe(*args, &block)describe24,982
+ def share_examples_for(*args, &block)share_examples_for47,1762
+ def share_as(name, &block)share_as78,2698
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/dsl.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/args_and_options.rb,392
+module SpecSpec1,0
+ module ExampleExample2,12
+ module ArgsAndOptionsArgsAndOptions3,29
+ def args_and_options(*args) # :nodoc:args_and_options4,55
+ def add_options(args, options={}) # :nodoc:add_options9,192
+ def set_location(options, location) # :nodoc:set_location16,388
+ module WithOptions # :nodoc:WithOptions20,491
+ def optionsoptions21,526
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/before_and_after_hooks.rb,988
+module SpecSpec1,0
+ module ExampleExample2,12
+ module BeforeAndAfterHooksBeforeAndAfterHooks3,29
+ def before_suite_parts # :nodoc:before_suite_parts5,80
+ def after_suite_parts # :nodoc:after_suite_parts9,171
+ def append_before(scope = :each, &block)append_before19,588
+ def prepend_before(scope = :each, &block)prepend_before28,918
+ def prepend_after(scope = :each, &block)prepend_after36,1210
+ def append_after(scope = :each, &block)append_after45,1541
+ def before_each_parts # :nodoc:before_each_parts49,1634
+ def after_each_parts # :nodoc:after_each_parts53,1717
+ def before_all_parts # :nodoc:before_all_parts57,1798
+ def after_all_parts # :nodoc:after_all_parts61,1879
+ def before_suite_parts # :nodoc:before_suite_parts65,1958
+ def after_suite_parts # :nodoc:after_suite_parts69,2055
+ def before_parts(scope)before_parts75,2163
+ def after_parts(scope)after_parts83,2349
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/errors.rb,513
+module SpecSpec1,0
+ module ExampleExample2,12
+ class ExamplePendingError < StandardError; endExamplePendingError3,29
+ class NotYetImplementedError < ExamplePendingErrorNotYetImplementedError5,81
+ def initializeinitialize7,174
+ class PendingExampleFixedError < StandardError; endPendingExampleFixedError12,237
+ class NoDescriptionError < ArgumentErrorNoDescriptionError14,294
+ def message(kind, location)message16,359
+ def initialize(kind, location)initialize20,489
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/example_group.rb,93
+module SpecSpec1,0
+ module ExampleExample2,12
+ class ExampleGroupExampleGroup5,136
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/example_group_factory.rb,747
+module SpecSpec1,0
+ module ExampleExample2,12
+ class ExampleGroupFactoryExampleGroupFactory4,30
+ module ClassMethodsClassMethods5,60
+ def resetreset8,133
+ def example_group_creation_listenersexample_group_creation_listeners13,233
+ def register_example_group(klass)register_example_group17,342
+ def create_shared_example_group(*args, &example_group_block) # :nodoc:create_shared_example_group23,524
+ def create_example_group(*args, &block)create_example_group27,700
+ def register(key, example_group_class)register48,1573
+ def default(example_group_class)default53,1744
+ def [](key)[]61,2100
+ def determine_superclass(opts)determine_superclass67,2186
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/example_group_hierarchy.rb,745
+module SpecSpec1,0
+ module ExampleExample2,12
+ class ExampleGroupHierarchy < ArrayExampleGroupHierarchy3,29
+ def initialize(example_group_class)initialize4,69
+ def run_before_all(example)run_before_all12,387
+ def run_before_each(example)run_before_each16,486
+ def run_after_each(example)run_after_each20,587
+ def run_after_all(example)run_after_all24,686
+ def before_all_partsbefore_all_parts28,783
+ def before_each_partsbefore_each_parts32,900
+ def after_each_partsafter_each_parts36,1020
+ def after_all_partsafter_all_parts40,1145
+ def nested_descriptionsnested_descriptions44,1267
+ def nested_description_from(example_group)nested_description_from48,1435
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/example_group_methods.rb,2412
+module SpecSpec1,0
+ module ExampleExample2,12
+ module ExampleGroupMethodsExampleGroupMethods4,30
+ def build_description_from(*args)build_description_from8,119
+ def options # :nodoc:options24,637
+ def inherited(klass) # :nodoc:inherited28,700
+ def describe(*args, &example_group_block)describe47,1212
+ def it_should_behave_like(*shared_example_groups)it_should_behave_like64,1836
+ def example(description=nil, options={}, backtrace=nil, &implementation)example72,2148
+ def pending_implementationpending_implementation79,2481
+ def xexample(description=nil, opts={}, &block)xexample87,2720
+ def run(run_options)run94,2916
+ def set_description(*args)set_description107,3537
+ def notify(reporter) # :nodoc:notify114,3766
+ def descriptiondescription118,3882
+ def described_typedescribed_type122,4011
+ def described_classdescribed_class126,4134
+ def description_argsdescription_args130,4248
+ def description_parts #:nodoc:description_parts134,4319
+ def example_proxies # :nodoc:example_proxies140,4543
+ def example_implementations # :nodoc:example_implementations144,4622
+ def examples(run_options=nil) #:nodoc:examples148,4717
+ def number_of_examples #:nodoc:number_of_examples152,4862
+ def example_group_hierarchyexample_group_hierarchy156,4942
+ def nested_descriptionsnested_descriptions160,5056
+ def include_constants_in(mod)include_constants_in164,5149
+ def let(name, &block)let168,5290
+ def let!(name, &block)let!175,5456
+ def subclass(*args, &example_group_block)subclass182,5569
+ def dry_run(examples, run_options)dry_run192,5905
+ def run_before_all(run_options)run_before_all199,6117
+ def run_examples(success, instance_variables, examples, run_options)run_examples212,6639
+ def run_after_all(success, instance_variables, run_options)run_after_all226,7203
+ def examples_to_run(run_options)examples_to_run238,7696
+ def examples_were_specified?(run_options)examples_were_specified?255,8326
+ def method_added(name) # :nodoc:method_added259,8422
+ def example_method?(method_name)example_method?263,8568
+ def should_method?(method_name)should_method?267,8654
+ def include_shared_example_group(shared_example_group)include_shared_example_group273,8833
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/example_group_proxy.rb,313
+module SpecSpec1,0
+ module ExampleExample2,12
+ class ExampleGroupProxyExampleGroupProxy5,179
+ def initialize(example_group) # :nodoc:initialize7,208
+ def backtracebacktrace41,1699
+ def filtered_description(regexp)filtered_description47,1896
+ def ==(other) # :nodoc:==56,2279
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/example_matcher.rb,735
+module SpecSpec1,0
+ module ExampleExample2,12
+ class ExampleMatcherExampleMatcher3,29
+ def initialize(example_group_description, example_name)initialize4,54
+ def matches?(specified_examples)matches?9,227
+ def matches_literal_example?(specified_example)matches_literal_example?16,477
+ def matches_example_not_considering_modules?(specified_example)matches_example_not_considering_modules?20,705
+ def example_group_regexexample_group_regex24,955
+ def example_group_with_before_all_regexpexample_group_with_before_all_regexp28,1046
+ def example_group_regex_not_considering_modulesexample_group_regex_not_considering_modules32,1172
+ def example_regexpexample_regexp36,1304
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/example_methods.rb,1177
+module SpecSpec1,0
+ module ExampleExample2,12
+ module ExampleMethodsExampleMethods3,29
+ def violated(message="")violated8,158
+ def descriptiondescription20,502
+ def options # :nodoc:options28,760
+ def execute(run_options, instance_variables) # :nodoc:execute32,823
+ module BlockAliasesBlockAliases59,1668
+ def expect(&block)expect69,2058
+ def eval_each_fail_fast(blocks) # :nodoc:eval_each_fail_fast73,2128
+ def eval_each_fail_slow(blocks) # :nodoc:eval_each_fail_slow77,2239
+ def instance_variable_hash # :nodoc:instance_variable_hash89,2550
+ def set_instance_variables_from_hash(ivars) # :nodoc:set_instance_variables_from_hash96,2790
+ def run_before_eachrun_before_each106,3200
+ def run_after_eachrun_after_each111,3348
+ def initialize(example_proxy, &implementation)initialize115,3437
+ def before_each_examplebefore_each_example126,3669
+ def after_each_exampleafter_each_example131,3764
+ def described_classdescribed_class138,3904
+ def description_argsdescription_args142,3976
+ def example_group_hierarchyexample_group_hierarchy146,4050
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/example_proxy.rb,317
+module SpecSpec1,0
+ module ExampleExample2,12
+ class ExampleProxyExampleProxy5,178
+ def initialize(description=nil, options={}, location=nil) # :nodoc:initialize7,202
+ def backtracebacktrace24,839
+ def update(description) # :nodoc:update31,1075
+ def ==(other) # :nodoc:==36,1174
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/module_reopening_fix.rb,230
+module SpecSpec1,0
+ module ExampleExample2,12
+ module ModuleReopeningFixModuleReopeningFix26,562
+ def child_moduleschild_modules27,592
+ def included(mod)included31,657
+ def include(mod)include35,721
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/pending.rb,132
+module SpecSpec1,0
+ module ExampleExample2,12
+ module PendingPending3,29
+ def pending(message = "TODO")pending4,48
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/predicate_matchers.rb,264
+module SpecSpec1,0
+ module ExampleExample2,12
+ module PredicateMatchersPredicateMatchers3,29
+ def predicate_matcherspredicate_matchers32,929
+ def define_methods_from_predicate_matchers # :nodoc:define_methods_from_predicate_matchers36,1082
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/shared_example_group.rb,693
+module SpecSpec1,0
+ module ExampleExample2,12
+ class SharedExampleGroup < ModuleSharedExampleGroup3,29
+ module ClassMethodsClassMethods4,67
+ def register(*args, &block)register5,93
+ def find(example_group_description)find11,318
+ def clearclear15,461
+ def include?(group)include?19,530
+ def countcount23,619
+ def shared_example_groupsshared_example_groups29,704
+ def already_registered?(new_example_group)already_registered?33,791
+ def expanded_path(example_group)expanded_path41,1259
+ def initialize(*args, &example_group_block)initialize49,1435
+ def included(mod) # :nodoc:included54,1578
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example/subject.rb,554
+module SpecSpec1,0
+ module ExampleExample2,12
+ module SubjectSubject3,29
+ module ExampleGroupMethodsExampleGroupMethods4,48
+ def subject(&block)subject18,662
+ def its(attribute, &block)its23,817
+ def explicit_subjectexplicit_subject40,1219
+ def implicit_subjectimplicit_subject48,1474
+ module ExampleMethodsExampleMethods53,1615
+ def subjectsubject82,2750
+ def should(matcher=nil, message=nil)should96,3219
+ def should_not(matcher=nil, message=nil)should_not108,3646
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/example.rb,55
+module SpecSpec1,0
+ module ExampleExample144,3595
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/expectations/errors.rb,136
+module SpecSpec1,0
+ module ExpectationsExpectations2,12
+ class ExpectationNotMetError < superclassExpectationNotMetError9,328
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/expectations/extensions/kernel.rb,156
+module KernelKernel1,0
+ def should(matcher=nil, message=nil, &block)should26,676
+ def should_not(matcher=nil, message=nil, &block)should_not49,1381
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/expectations/extensions.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/expectations/fail_with.rb,143
+module SpecSpec1,0
+ module ExpectationsExpectations2,12
+ def fail_with(message, expected=nil, target=nil) # :nodoc:fail_with11,370
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/expectations/handler.rb,472
+module SpecSpec1,0
+ module ExpectationsExpectations2,12
+ class InvalidMatcherError < ArgumentError; end InvalidMatcherError3,34
+ class PositiveExpectationHandler PositiveExpectationHandler5,98
+ def self.handle_matcher(actual, matcher, message=nil, &block)handle_matcher6,143
+ class NegativeExpectationHandlerNegativeExpectationHandler26,907
+ def self.handle_matcher(actual, matcher, message=nil, &block)handle_matcher27,944
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/expectations.rb,66
+module SpecSpec7,173
+ module ExpectationsExpectations33,1245
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/extensions/instance_exec.rb,157
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ module InstanceExecInstanceExec3,30
+ def instance_exec(*args, &block)instance_exec12,468
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/interop/test/unit/autorunner.rb,81
+class Test::Unit::AutoRunnerTest1,0
+ def process_args(argv)process_args3,59
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/interop/test/unit/testcase.rb,363
+module TestTest3,30
+ module UnitUnit4,42
+ class TestCaseTestCase21,527
+ def self.suitesuite25,639
+ def self.example_method?(method_name)example_method29,718
+ def self.test_method?(method_name)test_method33,838
+ def initialize(description, &implementation)initialize43,1100
+ def run(ignore_this_argument=nil)run50,1346
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/interop/test/unit/testresult.rb,65
+class Test::Unit::TestResultTest1,0
+ def passed?passed?3,66
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/interop/test/unit/testsuite_adapter.rb,317
+module TestTest3,31
+ module UnitUnit4,43
+ class TestSuiteAdapter < TestSuiteTestSuiteAdapter5,57
+ def initialize(example_group)initialize8,177
+ def namename13,306
+ def run(*args)run17,366
+ def sizesize22,485
+ def delete(example)delete26,552
+ def empty?empty?30,621
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/interop/test/unit/ui/console/testrunner.rb,513
+module TestTest3,43
+ module UnitUnit4,55
+ module UIUI5,69
+ module ConsoleConsole6,83
+ class TestRunnerTestRunner7,104
+ def started_with_rspec(result)started_with_rspec10,186
+ def test_started_with_rspec(name)test_started_with_rspec17,433
+ def test_finished_with_rspec(name)test_finished_with_rspec31,918
+ def finished_with_rspec(elapsed_time)finished_with_rspec38,1176
+ def setup_mediator_with_rspecsetup_mediator_with_rspec47,1498
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/interop/test.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/be.rb,2015
+module SpecSpec29,430
+ module MatchersMatchers30,442
+ class Be #:nodoc:Be32,461
+ def initialize(*args, &block)initialize35,527
+ def matches?(actual)matches?39,601
+ def failure_message_for_shouldfailure_message_for_should44,682
+ def failure_message_for_should_notfailure_message_for_should_not48,794
+ def descriptiondescription52,911
+ def args_to_sargs_to_s64,1138
+ def parenthesize(string)parenthesize68,1243
+ def inspected_argsinspected_args72,1320
+ def expected_to_sentenceexpected_to_sentence76,1399
+ def args_to_sentenceargs_to_sentence80,1478
+ class BeComparedTo < BeBeComparedTo86,1560
+ def initialize(operand, operator)initialize88,1589
+ def matches?(actual)matches?93,1708
+ def failure_message_for_shouldfailure_message_for_should98,1818
+ def failure_message_for_should_notfailure_message_for_should_not102,1941
+ def descriptiondescription113,2326
+ class BePredicate < BeBePredicate119,2437
+ def initialize(*args, &block)initialize121,2465
+ def matches?(actual)matches?127,2609
+ def failure_message_for_shouldfailure_message_for_should142,3117
+ def failure_message_for_should_notfailure_message_for_should_not146,3254
+ def descriptiondescription150,3390
+ def predicatepredicate156,3510
+ def present_tense_predicatepresent_tense_predicate160,3578
+ def parse_expected(expected)parse_expected164,3661
+ def prefix_and_expected(symbol)prefix_and_expected169,3782
+ def prefix_to_sentenceprefix_to_sentence174,3896
+ class BeSameAs < BeBeSameAs180,3974
+ def initialize(*args, &block)initialize182,4005
+ def matches?(actual)matches?187,4110
+ def failure_message_for_shouldfailure_message_for_should192,4207
+ def failure_message_for_should_notfailure_message_for_should_not196,4317
+ def descriptiondescription200,4429
+ def be(*args)be236,5782
+ def be_a(klass)be_a243,5933
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/be_close.rb,103
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ def be_close(expected, delta)be_close12,254
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/be_instance_of.rb,114
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ def be_an_instance_of(expected)be_an_instance_of16,431
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/be_kind_of.rb,104
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ def be_a_kind_of(expected)be_a_kind_of16,393
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/change.rb,835
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ class Change #:nodoc:Change5,77
+ def initialize(receiver=nil, message=nil, &block)initialize6,103
+ def matches?(event_proc)matches?12,340
+ def raise_block_syntax_errorraise_block_syntax_error27,882
+ def evaluate_value_procevaluate_value_proc34,1068
+ def failure_message_for_shouldfailure_message_for_should38,1140
+ def actual_deltaactual_delta54,1956
+ def failure_message_for_should_notfailure_message_for_should_not58,2021
+ def by(amount)by62,2186
+ def by_at_least(minimum)by_at_least67,2262
+ def by_at_most(maximum)by_at_most72,2350
+ def to(to)to77,2443
+ def from (from)from82,2507
+ def descriptiondescription87,2580
+ def change(receiver=nil, message=nil, &block)change147,4562
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/compatibility.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/dsl.rb,179
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ module DSLDSL3,30
+ def define(name, &declarations)define5,72
+ def create(name, &declarations)create12,282
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/eql.rb,86
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ def eql(expected)eql15,408
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/equal.rb,142
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ def equal(expected)equal16,474
+ def inspect_object(o)inspect_object22,632
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/errors.rb,115
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ class MatcherError < StandardError; endMatcherError3,30
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/exist.rb,88
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ def exist(arg=nil)exist8,129
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/generated_descriptions.rb,246
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ def self.clear_generated_descriptionclear_generated_description7,115
+ def self.generated_descriptiongenerated_description12,224
+ def self.last_descriptionlast_description19,386
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/has.rb,414
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ class HasHas4,35
+ def initialize(expected, *args, &block)initialize6,56
+ def matches?(actual)matches?10,176
+ def failure_message_for_shouldfailure_message_for_should14,283
+ def failure_message_for_should_notfailure_message_for_should_not18,428
+ def descriptiondescription22,577
+ def predicate(sym)predicate28,670
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/have.rb,796
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ class Have #:nodoc:Have3,30
+ def initialize(expected, relativity=:exactly)initialize4,54
+ def relativitiesrelativities11,267
+ def matches?(collection_owner)matches?19,438
+ def not_a_collectionnot_a_collection37,1399
+ def failure_message_for_shouldfailure_message_for_should41,1543
+ def failure_message_for_should_notfailure_message_for_should_not45,1670
+ def descriptiondescription67,2490
+ def respond_to?(sym)respond_to?71,2588
+ def method_missing(sym, *args, &block)method_missing77,2695
+ def relative_expectationrelative_expectation87,3052
+ def have(n)have123,4384
+ def have_at_least(n)have_at_least136,4649
+ def have_at_most(n)have_at_most148,4902
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/include.rb,149
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ def include(*expected)include19,594
+ def helper(actual, *_expected_)helper25,761
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/match.rb,90
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ def match(expected)match13,324
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/match_array.rb,519
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ class MatchArray #:nodoc:MatchArray4,31
+ def initialize(expected)initialize7,105
+ def matches?(actual)matches?11,176
+ def failure_message_for_shouldfailure_message_for_should18,439
+ def failure_message_for_should_notfailure_message_for_should_not26,921
+ def descriptiondescription30,1025
+ def safe_sort(array)safe_sort36,1127
+ def difference_between_arrays(array_1, array_2)difference_between_arrays40,1242
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/matcher.rb,1031
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ class MatcherMatcher3,30
+ def initialize(name, *expected, &declarations)initialize10,196
+ def matches?(actual)matches?27,965
+ def match(&block)match46,1419
+ def match_unless_raises(exception=Exception, &block)match_unless_raises51,1510
+ def failure_message_for_should(&block)failure_message_for_should57,1669
+ def failure_message_for_should_not(&block)failure_message_for_should_not62,1818
+ def description(&block)description67,1975
+ def diffable?diffable?72,2139
+ def diffablediffable77,2215
+ def chain(method, &block)chain82,2303
+ def making_declared_methods_public # :nodoc:making_declared_methods_public93,2507
+ def cache_or_call_cached(key, &block)cache_or_call_cached110,3413
+ def cache(key, &block)cache114,3522
+ def call_cached(key)call_cached118,3593
+ def name_to_sentencename_to_sentence122,3718
+ def expected_to_sentenceexpected_to_sentence126,3783
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/method_missing.rb,126
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ def method_missing(sym, *args, &block) # :nodoc:method_missing3,30
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/operator_matcher.rb,914
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ class OperatorMatcherOperatorMatcher4,31
+ def registryregistry6,77
+ def register(klass, operator, matcher)register10,138
+ def get(klass, operator)get15,277
+ def initialize(actual)initialize25,604
+ def self.use_custom_matcher_or_delegate(operator)use_custom_matcher_or_delegate29,669
+ def fail_with_message(message)fail_with_message43,1147
+ def descriptiondescription47,1261
+ def eval_match(actual, operator, expected)eval_match53,1363
+ class PositiveOperatorMatcher < OperatorMatcher #:nodoc:PositiveOperatorMatcher61,1583
+ def __delegate_operator(actual, operator, expected)__delegate_operator62,1644
+ class NegativeOperatorMatcher < OperatorMatcher #:nodoc:NegativeOperatorMatcher74,2103
+ def __delegate_operator(actual, operator, expected)__delegate_operator75,2164
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/pretty.rb,229
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ module PrettyPretty3,30
+ def split_words(sym)split_words4,48
+ def to_sentence(words=[])to_sentence8,117
+ def _pretty_print(array)_pretty_print22,451
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/raise_exception.rb,809
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ class RaiseException #:nodoc:RaiseException3,30
+ def initialize(expected_exception_or_message=Exception, expected_message=nil, &block)initialize4,64
+ def matches?(given_proc)matches?15,509
+ def eval_blockeval_block38,1423
+ def verify_messageverify_message48,1646
+ def failure_message_for_shouldfailure_message_for_should59,1904
+ def failure_message_for_should_notfailure_message_for_should_not63,2053
+ def descriptiondescription67,2167
+ def expected_exceptionexpected_exception72,2252
+ def given_exceptiongiven_exception83,2590
+ def negative_expectation?negative_expectation?87,2731
+ def raise_exception(exception=Exception, message=nil, &block)raise_exception125,4844
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/respond_to.rb,625
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ class RespondTo #:nodoc:RespondTo4,35
+ def initialize(*names)initialize5,64
+ def matches?(actual)matches?11,200
+ def failure_message_for_shouldfailure_message_for_should19,463
+ def failure_message_for_should_notfailure_message_for_should_not23,651
+ def descriptiondescription27,817
+ def with(n)with31,902
+ def argumentargument36,978
+ def matches_arity?(actual, name)matches_arity?43,1079
+ def with_aritywith_arity47,1218
+ def pp_namespp_names52,1371
+ def respond_to(*names)respond_to67,1823
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/satisfy.rb,378
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ class Satisfy #:nodoc:Satisfy4,35
+ def initialize(&block)initialize5,62
+ def matches?(actual, &block)matches?9,131
+ def failure_message_for_shouldfailure_message_for_should15,268
+ def failure_message_for_should_notfailure_message_for_should_not19,363
+ def satisfy(&block)satisfy43,1051
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/simple_matcher.rb,513
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ class SimpleMatcherSimpleMatcher3,30
+ def initialize(description, &match_block)initialize6,137
+ def matches?(given)matches?12,325
+ def descriptiondescription22,541
+ def failure_message_for_shouldfailure_message_for_should26,610
+ def failure_message_for_should_notfailure_message_for_should_not30,784
+ def explanationexplanation34,983
+ def simple_matcher(description=nil, &match_block)simple_matcher129,4795
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/throw_symbol.rb,571
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ class ThrowSymbol #:nodoc:ThrowSymbol4,31
+ def initialize(expected_symbol = nil, expected_arg=nil)initialize5,62
+ def matches?(given_proc)matches?11,258
+ def failure_message_for_shouldfailure_message_for_should40,1250
+ def failure_message_for_should_notfailure_message_for_should_not48,1469
+ def descriptiondescription56,1679
+ def expectedexpected62,1755
+ def argsargs66,1873
+ def throw_symbol(expected_symbol = nil, expected_arg=nil)throw_symbol96,2972
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers/wrap_expectation.rb,120
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ def wrap_expectation(matcher, &block)wrap_expectation45,1475
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/matchers.rb,65
+module SpecSpec30,960
+ module Matchers; endMatchers213,7067
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/argument_expectation.rb,488
+module SpecSpec1,0
+ module MocksMocks2,12
+ class ArgumentExpectationArgumentExpectation4,32
+ def initialize(args, &block)initialize7,93
+ def matcher_for(arg)matcher_for22,526
+ def is_matcher?(obj)is_matcher?28,782
+ def args_match?(given_args)args_match?32,900
+ def matchers_block_matches?(given_args)matchers_block_matches?36,1045
+ def matchers_match?(given_args)matchers_match?40,1174
+ def match_any_args?match_any_args?44,1261
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/argument_matchers.rb,2251
+module SpecSpec1,0
+ module MocksMocks2,12
+ module ArgumentMatchersArgumentMatchers10,336
+ class AnyArgsMatcherAnyArgsMatcher12,365
+ def descriptiondescription13,392
+ class NoArgsMatcherNoArgsMatcher18,460
+ def descriptiondescription19,486
+ class AnyArgMatcherAnyArgMatcher24,553
+ def initialize(ignore)initialize25,579
+ def ==(other)==28,623
+ def descriptiondescription32,681
+ class RegexpMatcherRegexpMatcher37,749
+ def initialize(regexp)initialize38,775
+ def ==(value)==42,846
+ class BooleanMatcherBooleanMatcher48,979
+ def initialize(ignore)initialize49,1006
+ def ==(value)==52,1050
+ class HashIncludingMatcherHashIncludingMatcher57,1149
+ def initialize(expected)initialize58,1182
+ def ==(actual)==62,1259
+ def descriptiondescription71,1502
+ class HashNotIncludingMatcherHashNotIncludingMatcher76,1632
+ def initialize(expected)initialize77,1668
+ def ==(actual)==81,1745
+ def descriptiondescription90,1984
+ class DuckTypeMatcherDuckTypeMatcher95,2118
+ def initialize(*methods_to_respond_to)initialize96,2146
+ def ==(value)==100,2263
+ class MatcherMatcherMatcherMatcher105,2379
+ def initialize(matcher)initialize106,2406
+ def ==(value)==110,2480
+ class EqualityProxyEqualityProxy115,2560
+ def initialize(given)initialize116,2586
+ def ==(expected)==120,2654
+ class InstanceOfInstanceOf125,2737
+ def initialize(klass)initialize126,2760
+ def ==(actual)==130,2836
+ class KindOfKindOf135,2926
+ def initialize(klass)initialize136,2945
+ def ==(actual)==140,3021
+ def no_argsno_args149,3251
+ def any_argsany_args158,3547
+ def anythinganything166,3744
+ def duck_type(*args)duck_type182,4241
+ def booleanboolean190,4442
+ def hash_including(*args)hash_including200,4914
+ def hash_not_including(*args)hash_not_including210,5393
+ def instance_of(klass)instance_of215,5556
+ def kind_of(klass)kind_of222,5726
+ def anythingize_lonely_keys(*args)anythingize_lonely_keys230,5860
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/error_generator.rb,1152
+module SpecSpec1,0
+ module MocksMocks2,12
+ class ErrorGeneratorErrorGenerator3,27
+ def initialize(target, name, options={})initialize6,83
+ def optsopts12,250
+ def raise_unexpected_message_error(sym, *args)raise_unexpected_message_error16,297
+ def raise_unexpected_message_args_error(expectation, *args)raise_unexpected_message_args_error20,451
+ def raise_expectation_error(sym, expected_received_count, actual_received_count, *args)raise_expectation_error26,814
+ def raise_out_of_order_error(sym)raise_out_of_order_error30,1089
+ def raise_block_failed_error(sym, detail)raise_block_failed_error34,1203
+ def raise_missing_block_error(args_to_yield)raise_missing_block_error38,1352
+ def raise_wrong_arity_error(args_to_yield, arity)raise_wrong_arity_error42,1516
+ def introintro48,1699
+ def __raise(message)__raise62,2002
+ def arg_message(*args)arg_message67,2172
+ def format_args(*args)format_args71,2256
+ def arg_list(*args)arg_list75,2360
+ def count_message(count)count_message79,2505
+ def pretty_print(count)pretty_print84,2648
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/errors.rb,189
+module SpecSpec1,0
+ module MocksMocks2,12
+ class MockExpectationError < ExceptionMockExpectationError3,27
+ class AmbiguousReturnError < StandardErrorAmbiguousReturnError6,83
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/example_methods.rb,432
+module SpecSpec1,0
+ module MocksMocks2,12
+ module ExampleMethodsExampleMethods3,27
+ def double(*args)double23,764
+ def mock(*args)mock28,866
+ def stub(*args)stub33,964
+ def __declare_double(declared_as, *args) # :nodoc:__declare_double37,1037
+ def stub_everything(name = 'stub')stub_everything48,1486
+ def allow_message_expectations_on_nilallow_message_expectations_on_nil63,2089
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/extensions/object.rb,24
+class ObjectObject1,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/extensions.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/framework.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/message_expectation.rb,2929
+module SpecSpec1,0
+ module MocksMocks2,12
+ class BaseExpectationBaseExpectation4,28
+ def initialize(error_generator, expectation_ordering, expected_from, sym, method_block, expected_received_count=1, opts={}, &implementation)initialize11,316
+ def build_child(expected_from, method_block, expected_received_count, opts={})build_child33,1185
+ def expected_argsexpected_args46,1667
+ def and_return(*values, &return_block)and_return50,1733
+ def and_raise(exception=Exception)and_raise75,2702
+ def and_throw(symbol)and_throw79,2794
+ def and_yield(*args, &block)and_yield83,2867
+ def matches(sym, args)matches99,3290
+ def invoke(*args, &block)invoke103,3390
+ def called_max_times?called_max_times?137,4465
+ def invoke_return_block(*args, &block)invoke_return_block142,4641
+ def invoke_method_block(*args)invoke_method_block152,5010
+ def invoke_with_yield(&block)invoke_with_yield160,5218
+ def eval_block(*args, &block)eval_block174,5716
+ def invoke_consecutive_return_block(*args, &block)invoke_consecutive_return_block182,5894
+ def clone_args_to_yield(args)clone_args_to_yield188,6093
+ def failed_fast?failed_fast?193,6218
+ class MessageExpectation < BaseExpectationMessageExpectation198,6281
+ def matches_name?(sym)matches_name?200,6329
+ def matches_name_but_not_args(sym, args)matches_name_but_not_args204,6389
+ def verify_messages_receivedverify_messages_received208,6518
+ def expected_messages_received?expected_messages_received?217,6784
+ def ignoring_args?ignoring_args?222,6944
+ def matches_at_least_count?matches_at_least_count?226,7021
+ def matches_at_most_count?matches_at_most_count?230,7138
+ def matches_exact_count?matches_exact_count?234,7253
+ def similar_messagessimilar_messages238,7354
+ def advise(args, block)advise242,7425
+ def generate_errorgenerate_error246,7499
+ def with(*args, &block)with254,7816
+ def exactly(n)exactly259,7936
+ def at_least(n)at_least264,8029
+ def at_most(n)at_most269,8124
+ def times(&block)times274,8217
+ def any_number_of_times(&block)any_number_of_times279,8304
+ def nevernever285,8445
+ def once(&block)once290,8522
+ def twice(&block)twice296,8645
+ def ordered(&block)ordered302,8769
+ def negative_expectation_for?(sym)negative_expectation_for?309,8918
+ def set_expected_received_count(relativity, n)set_expected_received_count314,9007
+ def clear_actual_received_count!clear_actual_received_count!327,9347
+ class NegativeMessageExpectation < MessageExpectationNegativeMessageExpectation333,9447
+ def initialize(message, expectation_ordering, expected_from, sym, method_block)initialize334,9505
+ def negative_expectation_for?(sym)negative_expectation_for?338,9684
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/methods.rb,687
+module SpecSpec1,0
+ module MocksMocks2,12
+ module MethodsMethods3,27
+ def should_receive(sym, opts={}, &block)should_receive4,46
+ def should_not_receive(sym, &block)should_not_receive8,213
+ def stub!(sym_or_hash, opts={}, &block)stub!12,360
+ def unstub!(message)unstub!22,671
+ def stub_chain(*methods)stub_chain43,1479
+ def as_null_objectas_null_object63,2116
+ def null_object?null_object?67,2194
+ def received_message?(sym, *args, &block) #:nodoc:received_message?71,2268
+ def rspec_verify #:nodoc:rspec_verify75,2408
+ def rspec_reset #:nodoc:rspec_reset79,2479
+ def __mock_proxy__mock_proxy85,2561
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/mock.rb,504
+module SpecSpec1,0
+ module MocksMocks2,12
+ class MockMock3,27
+ def initialize(name=nil, stubs_and_options={})initialize10,309
+ def ==(other)==25,874
+ def inspectinspect29,935
+ def to_sto_s33,1048
+ def method_missing(sym, *args, &block)method_missing39,1131
+ def extract_options(stubs_and_options)extract_options49,1453
+ def extract_option(source, target, key, default=nil)extract_option56,1692
+ def assign_stubs(stubs)assign_stubs64,1894
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/order_group.rb,346
+module SpecSpec1,0
+ module MocksMocks2,12
+ class OrderGroupOrderGroup3,27
+ def initialize error_generatorinitialize4,48
+ def register(expectation)register9,175
+ def ready_for?(expectation)ready_for?13,257
+ def consumeconsume17,354
+ def handle_order_constraint expectationhandle_order_constraint21,413
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/proxy.rb,2917
+module SpecSpec1,0
+ module MocksMocks2,12
+ class ProxyProxy3,27
+ def self.allow_message_expectations_on_nilallow_message_expectations_on_nil10,168
+ def initialize(target, name=nil, options={})initialize18,501
+ def null_object?null_object?31,976
+ def as_null_objectas_null_object35,1047
+ def add_message_expectation(expected_from, sym, opts={}, &block) add_message_expectation40,1137
+ def build_expectation(expected_from, sym, opts, &block)build_expectation47,1379
+ def add_negative_message_expectation(expected_from, sym, &block)add_negative_message_expectation55,1736
+ def add_stub(expected_from, sym, opts={}, &implementation)add_stub62,2038
+ def remove_stub(message)remove_stub68,2294
+ def verify #:nodoc:verify78,2660
+ def resetreset84,2752
+ def received_message?(sym, *args, &block)received_message?92,2925
+ def has_negative_expectation?(sym)has_negative_expectation?96,3054
+ def record_message_received(sym, args, block)record_message_received100,3198
+ def message_received(sym, *args, &block)message_received104,3310
+ def record_stub(stub, sym, args, &block)record_stub121,3989
+ def invoke_expectation(expectation, *args, &block)invoke_expectation128,4181
+ def record_almost_matching_expectation(expectation, sym, *args, &block)record_almost_matching_expectation132,4291
+ def ok_to_invoke_stub?(stub, expectation)ok_to_invoke_stub?139,4562
+ def raise_unexpected_message_args_error(expectation, *args)raise_unexpected_message_args_error143,4685
+ def raise_unexpected_message_error(sym, *args)raise_unexpected_message_error147,4842
+ def find_matching_method_stub(sym, *args)find_matching_method_stub151,4979
+ def __add(sym)__add157,5110
+ def warn_if_nil_class(sym)warn_if_nil_class162,5243
+ def define_expected_method(sym)define_expected_method168,5534
+ def target_responds_to?(sym)target_responds_to?187,6187
+ def visibility(sym)visibility193,6440
+ def munge(sym)munge205,6732
+ def clear_expectationsclear_expectations209,6799
+ def clear_stubsclear_stubs213,6867
+ def clear_proxied_methodsclear_proxied_methods217,6921
+ def target_metaclasstarget_metaclass221,6995
+ def verify_expectationsverify_expectations225,7069
+ def reset_proxied_methodsreset_proxied_methods229,7169
+ def reset_proxied_method(sym)reset_proxied_method233,7275
+ def proxy_for_nil_class?proxy_for_nil_class?244,7575
+ def reset_nil_expectations_warningreset_nil_expectations_warning248,7644
+ def find_matching_expectation(sym, *args)find_matching_expectation252,7768
+ def almost_matching_expectation(sym, *args, &block)almost_matching_expectation257,8013
+ def find_almost_matching_expectation(sym, *args)find_almost_matching_expectation263,8172
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks/space.rb,206
+module SpecSpec1,0
+ module MocksMocks2,12
+ class SpaceSpace3,27
+ def add(obj)add4,43
+ def verify_allverify_all8,133
+ def reset_allreset_all14,240
+ def mocksmocks23,382
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/mocks.rb,52
+module SpecSpec4,71
+ module MocksMocks198,9045
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/rake/spectask.rb,492
+module SpecSpec8,113
+ module RakeRake9,125
+ class SpecTask < ::Rake::TaskLibSpecTask57,1883
+ def self.attr_accessor(*names)attr_accessor58,1920
+ def initialize(name=:spec)initialize126,4596
+ def define # :nodoc:define144,5089
+ def rcov_option_list # :nodoc:rcov_option_list197,7137
+ def spec_option_list # :nodoc:spec_option_list205,7295
+ def evaluate(o) # :nodoc:evaluate210,7547
+ def spec_file_list # :nodoc:spec_file_list217,7666
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/rake/verify_rcov.rb,159
+module RCovRCov1,0
+ class VerifyTask < Rake::TaskLibVerifyTask5,163
+ def initialize(name=:verify_rcov)initialize25,856
+ def definedefine35,1129
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/ruby.rb,76
+module SpecSpec1,0
+ module RubyRuby2,12
+ def versionversion4,44
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/backtrace_tweaker.rb,708
+module SpecSpec1,0
+ module RunnerRunner2,12
+ class BacktraceTweakerBacktraceTweaker3,28
+ def initialize(*patterns)initialize4,55
+ def clean_up_double_slashes(line)clean_up_double_slashes8,128
+ def ignore_patterns(*patterns)ignore_patterns12,208
+ def ignored_patternsignored_patterns16,323
+ def tweak_backtrace(error)tweak_backtrace20,372
+ class NoisyBacktraceTweaker < BacktraceTweakerNoisyBacktraceTweaker35,862
+ class QuietBacktraceTweaker < BacktraceTweakerQuietBacktraceTweaker39,1001
+ def initialize(*patterns)initialize64,1842
+ def ignore_patterns(*patterns)ignore_patterns69,1934
+ def ignored_patternsignored_patterns73,2065
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/class_and_arguments_parser.rb,147
+module SpecSpec1,0
+ module RunnerRunner2,12
+ class ClassAndArgumentsParserClassAndArgumentsParser3,28
+ def self.parse(s)parse4,62
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/command_line.rb,151
+module SpecSpec3,37
+ module RunnerRunner4,49
+ class CommandLineCommandLine5,65
+ def self.run(tmp_options=Spec::Runner.options)run6,87
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/configuration.rb,1433
+module SpecSpec1,0
+ module RunnerRunner2,12
+ class ConfigurationConfiguration3,28
+ def mock_with(mock_framework)mock_with33,1164
+ def mock_framework # :nodoc:mock_framework42,1384
+ def include(*modules_and_options)include79,2921
+ def extend(*modules_and_options)extend90,3305
+ def append_before(scope = :each, options={}, &proc)append_before100,3859
+ def prepend_before(scope = :each, options={}, &proc)prepend_before108,4169
+ def prepend_after(scope = :each, options={}, &proc)prepend_after115,4443
+ def append_after(scope = :each, options={}, &proc)append_after123,4756
+ def predicate_matcherspredicate_matchers137,5194
+ def ignore_backtrace_patterns(*patterns)ignore_backtrace_patterns149,5718
+ def ignored_backtrace_patterns # :nodoc:ignored_backtrace_patterns154,5867
+ def suppress_deprecation_warnings!suppress_deprecation_warnings!158,5968
+ def suppress_deprecation_warnings?suppress_deprecation_warnings?162,6066
+ def include_or_extend(action, *args)include_or_extend168,6190
+ def add_callback(sym, *args, &proc)add_callback178,6619
+ def get_type_from_options(options)get_type_from_options184,6863
+ def mock_framework_path(framework_name)mock_framework_path188,6970
+ def scope_and_options(*args) # :nodoc:scope_and_options192,7085
+ def scope_from(*args) # :nodoc:scope_from197,7231
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/differs/default.rb,473
+module SpecSpec4,58
+ module ExpectationsExpectations5,70
+ module DiffersDiffers6,92
+ class DefaultDefault8,171
+ def initialize(options)initialize9,193
+ def diff_as_string(data_new, data_old)diff_as_string14,354
+ def diff_as_object(target,expected)diff_as_object45,1671
+ def diff_as_hash(target, expected)diff_as_hash49,1807
+ def formatformat81,3054
+ def context_linescontext_lines85,3123
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/differs/load-diff-lcs.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/drb_command_line.rb,175
+module SpecSpec3,19
+ module RunnerRunner4,31
+ class DrbCommandLineDrbCommandLine6,103
+ def self.port(options)port8,129
+ def self.run(options)run14,388
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/example_group_runner.rb,455
+module SpecSpec1,0
+ module RunnerRunner2,12
+ class ExampleGroupRunnerExampleGroupRunner3,28
+ def initialize(options)initialize4,57
+ def load_files(files)load_files8,125
+ def runrun19,552
+ def prepareprepare31,779
+ def finishfinish36,894
+ def reporterreporter41,965
+ def reversereverse45,1021
+ def example_groupsexample_groups49,1075
+ def number_of_examplesnumber_of_examples53,1143
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/extensions/kernel.rb,66
+module KernelKernel1,0
+ def debugger(steps=1)debugger4,132
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/formatter/base_formatter.rb,1014
+module SpecSpec1,0
+ module RunnerRunner2,12
+ module FormatterFormatter3,28
+ class BaseFormatterBaseFormatter5,147
+ def initialize(options, output)initialize26,1024
+ def start(example_count)start38,1537
+ def example_group_started(example_group_proxy)example_group_started47,1867
+ def add_example_group(example_group_proxy)add_example_group51,2000
+ def example_started(example_proxy)example_started62,2495
+ def example_passed(example_proxy)example_passed71,2835
+ def example_failed(example_proxy, counter, failure)example_failed85,3362
+ def example_pending(example_proxy, message, deprecated_pending_location=nil)example_pending100,4054
+ def start_dumpstart_dump105,4329
+ def dump_failure(counter, failure)dump_failure116,4838
+ def dump_summary(duration, example_count, failure_count, pending_count)dump_summary126,5248
+ def dump_pendingdump_pending130,5395
+ def closeclose134,5544
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/formatter/base_text_formatter.rb,1482
+module SpecSpec4,68
+ module RunnerRunner5,80
+ module FormatterFormatter6,96
+ class BaseTextFormatter < BaseFormatterBaseTextFormatter10,275
+ def initialize(options, output)initialize16,625
+ def example_group_started(example_group_proxy)example_group_started27,926
+ def example_pending(example, message, deprecated_pending_location=nil)example_pending31,1049
+ def dump_failure(counter, failure)dump_failure35,1264
+ def colorize_failure(message, failure)colorize_failure43,1586
+ def colourise(message, failure)colourise47,1718
+ def dump_summary(duration, example_count, failure_count, pending_count)dump_summary52,1901
+ def dump_pendingdump_pending73,2612
+ def closeclose85,3001
+ def format_backtrace(backtrace)format_backtrace89,3108
+ def colour?colour?96,3289
+ def dry_run?dry_run?100,3350
+ def autospec?autospec?104,3421
+ def backtrace_line(line)backtrace_line108,3522
+ def colour(text, colour_code)colour112,3613
+ def output_to_file?output_to_file?118,3838
+ def output_to_tty?output_to_tty?122,3914
+ def green(text); colour(text, "\e[32m"); endgreen130,4066
+ def red(text); colour(text, "\e[31m"); endred131,4119
+ def yellow(text); colour(text, "\e[33m"); endyellow132,4170
+ def blue(text); colour(text, "\e[34m"); endblue133,4224
+ def magenta(text)magenta135,4285
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/formatter/failing_example_groups_formatter.rb,422
+module SpecSpec3,53
+ module RunnerRunner4,65
+ module FormatterFormatter5,81
+ class FailingExampleGroupsFormatter < BaseTextFormatterFailingExampleGroupsFormatter6,102
+ def example_failed(example, counter, failure)example_failed7,164
+ def dump_failure(counter, failure)dump_failure16,417
+ def dump_summary(duration, example_count, failure_count, pending_count)dump_summary19,473
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/formatter/failing_examples_formatter.rb,418
+module SpecSpec3,53
+ module RunnerRunner4,65
+ module FormatterFormatter5,81
+ class FailingExamplesFormatter < BaseTextFormatter FailingExamplesFormatter6,102
+ def example_failed(example, counter, failure)example_failed7,165
+ def dump_failure(counter, failure)dump_failure12,333
+ def dump_summary(duration, example_count, failure_count, pending_count)dump_summary15,389
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/formatter/html_formatter.rb,1320
+module SpecSpec5,120
+ module RunnerRunner6,132
+ module FormatterFormatter7,148
+ class HtmlFormatter < BaseTextFormatterHtmlFormatter8,169
+ def initialize(options, output)initialize12,304
+ def example_group_numberexample_group_number20,535
+ def example_numberexample_number25,694
+ def start(example_count)start29,768
+ def example_group_started(example_group)example_group_started37,952
+ def start_dumpstart_dump51,1454
+ def example_started(example)example_started57,1579
+ def example_passed(example)example_passed61,1660
+ def example_failed(example, counter, failure)example_failed67,1883
+ def example_pending(example, message, deprecated_pending_location=nil)example_pending86,3106
+ def extra_failure_content(failure)extra_failure_content97,3874
+ def move_progressmove_progress103,4156
+ def percent_donepercent_done108,4326
+ def dump_failure(counter, failure)dump_failure116,4539
+ def dump_summary(duration, example_count, failure_count, pending_count)dump_summary119,4595
+ def html_header html_header135,5444
+ def report_headerreport_header168,6214
+ def global_scriptsglobal_scripts187,6510
+ def global_stylesglobal_styles212,7294
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/formatter/nested_text_formatter.rb,596
+module SpecSpec3,53
+ module RunnerRunner4,65
+ module FormatterFormatter5,81
+ class NestedTextFormatter < BaseTextFormatterNestedTextFormatter6,102
+ def initialize(options, where)initialize10,178
+ def example_group_started(example_group)example_group_started15,287
+ def example_failed(example, counter, failure)example_failed27,711
+ def example_passed(example)example_passed32,898
+ def example_pending(example, message, deprecated_pending_location=nil)example_pending38,1074
+ def current_indentationcurrent_indentation44,1304
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/formatter/no_op_method_missing.rb,275
+module SpecSpec1,0
+ module RunnerRunner2,12
+ module FormatterFormatter3,28
+ module NOOPMethodMissingNOOPMethodMissing4,49
+ def respond_to?(message, include_private = false)respond_to?5,80
+ def method_missing(sym, *args)method_missing15,332
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/formatter/profile_formatter.rb,414
+module SpecSpec3,56
+ module RunnerRunner4,68
+ module FormatterFormatter5,84
+ class ProfileFormatter < ProgressBarFormatterProfileFormatter6,105
+ def initialize(options, where)initialize8,166
+ def start(count)start13,272
+ def example_started(example)example_started17,362
+ def example_passed(example)example_passed21,447
+ def start_dumpstart_dump30,663
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/formatter/progress_bar_formatter.rb,446
+module SpecSpec4,106
+ module RunnerRunner5,118
+ module FormatterFormatter6,134
+ class ProgressBarFormatter < BaseTextFormatterProgressBarFormatter7,155
+ def example_failed(example, counter, failure)example_failed10,243
+ def example_passed(example)example_passed15,389
+ def example_pending(example, message, deprecated_pending_location=nil)example_pending20,503
+ def start_dumpstart_dump26,679
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/formatter/silent_formatter.rb,151
+module SpecSpec3,48
+ module RunnerRunner4,60
+ module FormatterFormatter5,76
+ class SilentFormatter < BaseFormatterSilentFormatter6,97
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/formatter/snippet_extractor.rb,472
+module SpecSpec1,0
+ module RunnerRunner2,12
+ module FormatterFormatter3,28
+ class SnippetExtractor #:nodoc:SnippetExtractor5,139
+ class NullConverter; def convert(code, pre); code; end; end #:nodoc:NullConverter6,177
+ def snippet(error)snippet9,430
+ def snippet_for(error_line)snippet_for16,784
+ def lines_around(file, line)lines_around26,1064
+ def post_process(highlighted, offending_line)post_process39,1473
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/formatter/specdoc_formatter.rb,471
+module SpecSpec3,53
+ module RunnerRunner4,65
+ module FormatterFormatter5,81
+ class SpecdocFormatter < BaseTextFormatterSpecdocFormatter6,102
+ def example_group_started(example_group)example_group_started7,151
+ def example_failed(example, counter, failure)example_failed14,328
+ def example_passed(example)example_passed19,503
+ def example_pending(example, message, deprecated_pending_location=nil)example_pending25,667
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/formatter/text_mate_formatter.rb,210
+module SpecSpec3,48
+ module RunnerRunner4,60
+ module FormatterFormatter5,76
+ class TextMateFormatter < HtmlFormatterTextMateFormatter7,157
+ def backtrace_line(line)backtrace_line8,203
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/heckle_runner.rb,604
+ module SpecSpec7,191
+ module RunnerRunner8,205
+ class HeckleRunnerHeckleRunner11,337
+ def initialize(filter, heckle_class=Heckler)initialize12,362
+ def heckle_withheckle_with19,625
+ def heckle_method(class_name, method_name)heckle_method27,815
+ def heckle_class_or_module(class_or_module_name)heckle_class_or_module33,1033
+ def verify_constant(name)verify_constant49,1602
+ class Heckler < HeckleHeckler59,1857
+ def initialize(klass_name, method_name, rspec_options)initialize60,1886
+ def tests_pass?tests_pass?65,2044
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/heckle_runner_unsupported.rb,137
+module SpecSpec1,0
+ module RunnerRunner2,12
+ class HeckleRunnerHeckleRunner4,120
+ def initialize(filter)initialize5,143
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/line_number_query.rb,766
+module SpecSpec1,0
+ module RunnerRunner2,12
+ class LineNumberQueryLineNumberQuery4,108
+ def initialize(run_options)initialize7,165
+ def spec_name_for(file, line_number)spec_name_for12,270
+ def example_line_for(file, line_number)example_line_for27,718
+ def determine_best_match(file, line_number)determine_best_match34,872
+ def consider_example_group_for_best_match(example_group, file, line_number)consider_example_group_for_best_match47,1348
+ def consider_example_for_best_match(example, example_group, file, line_number)consider_example_for_best_match56,1755
+ def is_best_match?(file, line_number, example_file, example_line)is_best_match?66,2170
+ def parse_location(location)parse_location72,2410
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/option_parser.rb,745
+module SpecSpec4,39
+ module RunnerRunner5,51
+ class OptionParser < ::OptionParserOptionParser6,67
+ def parse(args, err, out)parse8,127
+ def spec_command?spec_command?14,261
+ def initialize(err, out)initialize88,6998
+ def order!(argv, &blk)order!123,8994
+ def invoke_requires(requires)invoke_requires149,9635
+ def parse_file_options(option_name, action)parse_file_options155,9760
+ def parse_options_file(options_file)parse_options_file181,10520
+ def write_options_file(options_file)write_options_file186,10704
+ def parse_drbparse_drb195,11053
+ def parse_versionparse_version210,11507
+ def parse_helpparse_help215,11616
+ def stdout?stdout?220,11702
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/options.rb,2495
+module SpecSpec4,38
+ module RunnerRunner5,50
+ class OptionsOptions6,66
+ def initialize(error_stream, output_stream)initialize56,2952
+ def add_example_group(example_group)add_example_group80,3668
+ def line_number_requested?line_number_requested?84,3763
+ def example_lineexample_line88,3829
+ def remove_example_group(example_group)remove_example_group92,3954
+ def require_ruby_debugrequire_ruby_debug96,4057
+ def project_root # :nodoc:project_root101,4179
+ def determine_project_root # :nodoc:determine_project_root106,4299
+ def add_dir_from_project_root_to_load_path(dir, load_path=$LOAD_PATH) # :nodoc:add_dir_from_project_root_to_load_path117,4668
+ def run_examplesrun_examples123,4920
+ def before_suite_partsbefore_suite_parts165,6291
+ def after_suite_partsafter_suite_parts169,6393
+ def examples_run?examples_run?173,6493
+ def examples_should_not_be_runexamples_should_not_be_run177,6550
+ def mock_frameworkmock_framework181,6638
+ def colour=(colour)colour=186,6806
+ def parse_diff(format)parse_diff201,7350
+ def parse_example(example)parse_example215,7743
+ def parse_format(format_arg)parse_format223,7944
+ def formattersformatters234,8329
+ def load_formatters(format_options, formatters)load_formatters239,8497
+ def formatter_optionsformatter_options251,8920
+ def which_heckle_runnerwhich_heckle_runner259,9111
+ def load_heckle_runner(heckle)load_heckle_runner263,9317
+ def number_of_examplesnumber_of_examples269,9524
+ def files_to_loadfiles_to_load274,9696
+ def dry_run?dry_run?290,10143
+ def drb_portdrb_port294,10198
+ def define_predicate_matchersdefine_predicate_matchers300,10295
+ def plugin_mock_frameworkplugin_mock_framework308,10630
+ def ignore_backtrace_patternsignore_backtrace_patterns318,10942
+ def examples_should_be_run?examples_should_be_run?322,11086
+ def differ_class=(klass)differ_class=327,11245
+ def load_class(name, kind, option)load_class333,11409
+ def custom_runnercustom_runner351,12030
+ def custom_runner?custom_runner?358,12308
+ def heckleheckle362,12396
+ def sorted_filessorted_files368,12534
+ def sortersorter372,12620
+ def default_differdefault_differ376,12677
+ def set_spec_from_line_numberset_spec_from_line_number381,12826
+ def stderr?stderr?401,13572
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner/reporter.rb,1320
+module SpecSpec1,0
+ module RunnerRunner2,12
+ class ReporterReporter3,28
+ def initialize(options)initialize6,81
+ def example_group_started(example_group)example_group_started16,315
+ def example_started(example)example_started23,510
+ def example_finished(example, error=nil)example_finished27,618
+ def example_failed(example, error)example_failed39,962
+ def start(number_of_examples)start48,1284
+ def endend53,1421
+ def dumpdump58,1544
+ class FailureFailure69,1826
+ def initialize(group_description, example_description, exception) # :nodoc:initialize70,1846
+ def headerheader89,2714
+ def pending_fixed? # :nodoc:pending_fixed?99,2988
+ def expectation_not_met? # :nodoc:expectation_not_met?103,3106
+ def formattersformatters110,3257
+ def backtrace_tweakerbacktrace_tweaker114,3317
+ def dump_failuresdump_failures118,3393
+ def dump_pendingdump_pending126,3605
+ def durationduration130,3683
+ def example_passed(example)example_passed135,3823
+ def example_pending(example, ignore, message="Not Yet Implemented")example_pending153,4557
+ def formatter_uses_deprecated_example_pending_method?(formatter)formatter_uses_deprecated_example_pending_method?165,5018
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/runner.rb,440
+module SpecSpec13,420
+ module RunnerRunner14,432
+ class ExampleGroupCreationListenerExampleGroupCreationListener16,453
+ def register_example_group(klass)register_example_group17,492
+ def configuration # :nodoc:configuration25,739
+ def configureconfigure40,1210
+ def autorun # :nodoc:autorun44,1275
+ def options # :nodoc:options48,1351
+ def use optionsuse56,1558
+ def runrun60,1618
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/stubs/cucumber.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/test/unit.rb,75
+module SpecSpec5,144
+ module TestTest6,156
+ module UnitUnit7,170
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec/version.rb,71
+module Spec # :nodoc:Spec1,0
+ module VERSION # :nodoc:VERSION2,22
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/lib/spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/resources/helpers/cmdline.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/autotest/autotest_helper.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/autotest/autotest_matchers.rb,365
+module SpecSpec1,0
+ module MatchersMatchers2,12
+ class AutotestMappingMatcherAutotestMappingMatcher3,30
+ def initialize(specs)initialize4,63
+ def to(file)to8,127
+ def matches?(autotest)matches?13,193
+ def failure_messagefailure_message19,348
+ def prepare(autotest)prepare25,507
+ def map_specs(specs)map_specs33,677
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/autotest/discover_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/autotest/failed_results_re_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/autotest/rspec_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/ruby_forker.rb,74
+module RubyForkerRubyForker3,20
+ def ruby(args, stderr=nil)ruby6,145
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/dsl/main_spec.rb,266
+module SpecSpec3,23
+ module DSLDSL4,35
+ module Foo; module Bar; end; endFoo45,1591
+ module FooFoo52,1834
+ module BarBar53,1855
+ def self.next_group_namenext_group_name61,2014
+ def group_namegroup_name67,2161
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/example_group_class_definition_spec.rb,159
+module SpecSpec3,23
+ module ExampleExample4,35
+ class ExampleGroupSubclass < ExampleGroupExampleGroupSubclass5,52
+ def a_methoda_method21,393
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/example_group_factory_spec.rb,178
+module SpecSpec3,23
+ module ExampleExample4,35
+ def initialize(*args, &block)initialize40,1343
+ def shared_example_groupshared_example_group132,5816
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/example_group_methods_spec.rb,1398
+module SpecSpec3,23
+ module ExampleExample4,35
+ def test_any_args(*args)test_any_args164,6322
+ def test_somethingtest_something167,6415
+ def testtest170,6496
+ def testifytestify173,6585
+ def should_somethingshould_something176,6677
+ def shouldCamelCaseshouldCamelCase187,7071
+ def should_any_args(*args)should_any_args190,7159
+ def should_somethingshould_something193,7254
+ def should_not_somethingshould_not_something196,7337
+ def shouldshould199,7428
+ def should_notshould_not202,7522
+ def test_invalid(foo)test_invalid221,8226
+ def testInvalidCamelCase(foo)testInvalidCamelCase224,8310
+ def should_invalid(foo)should_invalid233,8645
+ def shouldInvalidCamelCase(foo)shouldInvalidCamelCase236,8731
+ def should_not_invalid(foo)should_not_invalid239,8825
+ def should_validshould_valid242,8915
+ def should_validshould_valid252,9234
+ def self.specified_examplesspecified_examples576,21084
+ def self.to_sto_s579,21174
+ def initializeinitialize738,26883
+ def countcount741,26957
+ class CreatorCreator759,27366
+ def self.countcount761,27417
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/example_group_proxy_spec.rb,81
+module SpecSpec3,23
+ module ExampleExample4,35
+ def proxyproxy11,232
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/example_group_spec.rb,340
+module SpecSpec3,23
+ module ExampleExample4,35
+ class ExampleModuleScopingSpec < ExampleGroupExampleModuleScopingSpec5,52
+ module FooFoo8,157
+ module BarBar9,174
+ def self.loaded?; true; endloaded10,193
+ class ExampleClassVariablePollutionSpec < ExampleGroupExampleClassVariablePollutionSpec27,549
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/example_matcher_spec.rb,52
+module SpecSpec3,23
+ module ExampleExample4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/example_methods_spec.rb,446
+class ThingThing3,23
+ def initialize(arg=nil)initialize5,54
+ def ==(other)==8,113
+ def eql?(other)eql?11,157
+module SpecSpec16,208
+ module ExampleExample17,220
+ module ModuleThatIsReopened; endModuleThatIsReopened19,268
+ module Spec::Example::ExampleMethodsSpec21,308
+ module ModuleThatIsReopenedModuleThatIsReopened25,399
+ def module_that_is_reopened_method; endmodule_that_is_reopened_method26,433
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/example_proxy_spec.rb,52
+module SpecSpec3,23
+ module ExampleExample4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/helper_method_spec.rb,95
+module HelperMethodExampleHelperMethodExample6,138
+ def helper_methodhelper_method8,197
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/nested_example_group_spec.rb,80
+module SpecSpec3,23
+ module ExampleExample4,35
+ def countcount8,119
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/pending_module_spec.rb,51
+module SpecSpec1,0
+ module ExampleExample2,12
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/predicate_matcher_spec.rb,131
+module SpecSpec3,23
+ module ExampleExample4,35
+ class FishFish5,52
+ def can_swim?(distance_in_yards)can_swim?6,67
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/shared_example_group_spec.rb,123
+module SpecSpec3,23
+ module ExampleExample4,35
+ def a_shared_helper_methoda_shared_helper_method234,8656
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/subclassing_example_group_spec.rb,299
+module SpecSpec3,23
+ module ExampleExample4,35
+ class GrandParentExampleGroup < Spec::Example::ExampleGroupGrandParentExampleGroup5,52
+ class ParentExampleGroup < GrandParentExampleGroupParentExampleGroup9,167
+ class ChildExampleGroup < ParentExampleGroupChildExampleGroup15,303
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/example/subject_spec.rb,166
+module SpecSpec3,23
+ module ExampleExample4,35
+ def described_classdescribed_class56,1729
+ def described_classdescribed_class60,1819
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/expectations/differs/default_spec.rb,167
+module SpecSpec3,23
+ module FixturesFixtures4,35
+ class AnimalAnimal5,53
+ def initialize(name,species)initialize6,70
+ def inspectinspect10,154
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/expectations/extensions/kernel_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/expectations/fail_with_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/expectations/handler_spec.rb,614
+module ExampleExpectationsExampleExpectations3,23
+ class ArbitraryMatcherArbitraryMatcher5,53
+ def initialize(*args, &block)initialize6,78
+ def matches?(target)matches?14,265
+ def with(new_value)with19,359
+ def failure_messagefailure_message24,435
+ def negative_failure_messagenegative_failure_message28,518
+ class PositiveOnlyMatcher < ArbitraryMatcherPositiveOnlyMatcher33,618
+ def arbitrary_matcher(*args, &block)arbitrary_matcher37,720
+ def positive_only_matcher(*args, &block)positive_only_matcher41,808
+module SpecSpec47,908
+ module ExpectationsExpectations48,920
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/expectations/wrap_expectation_spec.rb,145
+module SpecSpec3,23
+ module MatchersMatchers4,35
+ def stub_matcherstub_matcher8,134
+ def failing_matcherfailing_matcher13,231
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/interop/test/unit/resources/spec_that_fails.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/interop/test/unit/resources/spec_that_passes.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/interop/test/unit/resources/spec_with_errors.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/interop/test/unit/resources/spec_with_options_hash.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/interop/test/unit/resources/test_case_that_fails.rb,115
+class TestCaseThatFails < Test::Unit::TestCaseTestCaseThatFails6,162
+ def test_that_failstest_that_fails7,209
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/interop/test/unit/resources/test_case_that_passes.rb,119
+class TestCaseThatPasses < Test::Unit::TestCaseTestCaseThatPasses6,162
+ def test_that_passestest_that_passes7,210
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/interop/test/unit/resources/test_case_with_errors.rb,117
+class TestCaseWithErrors < Test::Unit::TestCaseTestCaseWithErrors6,162
+ def test_with_errortest_with_error7,210
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/interop/test/unit/resources/test_case_with_various_names.rb,293
+class TestCaseThatPasses < Test::Unit::TestCaseTestCaseThatPasses6,162
+ def test_should_allow_underscoretest_should_allow_underscore7,210
+ def testShouldAllowUppercaseLettertestShouldAllowUppercaseLetter11,268
+ def testshouldallowlowercaselettertestshouldallowlowercaseletter15,328
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/interop/test/unit/resources/testsuite_adapter_spec_with_test_unit.rb,101
+module TestTest6,162
+ module UnitUnit7,174
+ def create_adapter(group)create_adapter9,221
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/interop/test/unit/spec_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/interop/test/unit/test_unit_spec_helper.rb,127
+module TestUnitSpecHelperTestUnitSpecHelper4,45
+ def resourcesresources7,93
+ def run_script(file_name)run_script11,160
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/interop/test/unit/testcase_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/interop/test/unit/testsuite_adapter_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/be_close_spec.rb,54
+module SpecSpec2,22
+ module MatchersMatchers3,34
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/be_instance_of_spec.rb,54
+module SpecSpec3,23
+ module MatchersMatchers4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/be_kind_of_spec.rb,54
+module SpecSpec3,23
+ module MatchersMatchers4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/be_spec.rb,154
+ class ArrayDelegate < DelegateClass(Array)ArrayDelegate424,12478
+ def initialize(array)initialize425,12525
+ def large?large?430,12627
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/change_spec.rb,47
+class SomethingExpectedSomethingExpected4,61
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/compatibility_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/description_generation_spec.rb,209
+ def teamteam139,4219
+ def playersplayers141,4247
+ def matchermatcher149,4358
+ def matches?(ignore); true; endmatches?151,4390
+ def failure_message; ""; endfailure_message152,4429
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/dsl_spec.rb,78
+module SpecSpec3,23
+ module MatchersMatchers4,35
+ module DSLDSL5,53
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/eql_spec.rb,54
+module SpecSpec3,23
+ module MatchersMatchers4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/equal_spec.rb,102
+module SpecSpec2,22
+ module MatchersMatchers3,34
+ def inspect_object(o)inspect_object6,83
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/exist_spec.rb,277
+class SubstanceSubstance3,23
+ def initialize exists, descriptioninitialize4,39
+ def exist?(arg=nil)exist?8,134
+ def inspectinspect11,174
+class SubstanceTesterSubstanceTester16,218
+ def initialize substanceinitialize18,265
+ def should_existshould_exist21,325
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/has_spec.rb,248
+ def has_foo?has_foo?16,426
+ def o.has_sym?(*args)has_sym32,836
+ def has_foo?has_foo?46,1211
+ def o.has_sym?(*args)has_sym66,1726
+ def o.send(*args); raise "DOH! Library developers shouldn't use #send!" endsend185,6094
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/have_spec.rb,323
+ def create_collection_owner_with(n)create_collection_owner_with5,51
+ class InflectorInflector20,498
+ def self.pluralize(string)pluralize21,522
+ def self.pluralize(string)pluralize83,2683
+ def itemsitems105,3253
+ module SpecSpec344,12702
+ module MatchersMatchers345,12716
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/include_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/match_array_spec.rb,189
+class UnsortableObjectUnsortableObject3,23
+ def initialize(id)initialize4,46
+ def inspectinspect8,87
+ def ==(other)==12,121
+ class SuperArray < Array; endSuperArray103,2672
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/match_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/matcher_spec.rb,270
+class UnexpectedError < StandardError; endUnexpectedError3,23
+module SpecSpec5,67
+ module MatchersMatchers6,79
+ def similar?(a, b)similar?198,5809
+ def second_wordsecond_word208,6056
+ def assert_equal(a,b)assert_equal236,6836
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/matchers_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/operator_matcher_spec.rb,188
+ def o.send(*args); raise "DOH! Library developers shouldn't use #send!" endsend173,4385
+ def o.send(*args); raise "DOH! Library developers shouldn't use #send!" endsend185,4671
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/raise_exception_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/respond_to_spec.rb,225
+ def obj.foo(arg); endfoo20,499
+ def obj.foo; endfoo33,861
+ def obj.foo(arg, arg2); endfoo41,1097
+ def obj.foo(a1, a2); endfoo76,2263
+ def obj.foo; endfoo89,2630
+ def obj.foo(arg); endfoo97,2868
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/satisfy_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/simple_matcher_spec.rb,54
+module SpecSpec3,23
+ module MatchersMatchers4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/matchers/throw_symbol_spec.rb,54
+module SpecSpec3,23
+ module MatchersMatchers4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/and_yield_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/any_number_of_times_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/argument_expectation_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/argument_matchers_spec.rb,98
+module SpecSpec3,23
+ module MocksMocks4,35
+ module ArgumentMatchersArgumentMatchers5,50
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/at_least_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/at_most_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/bug_report_10260_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/bug_report_10263_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/bug_report_11545_spec.rb,176
+class LiarLiarPantsOnFireLiarLiarPantsOnFire3,23
+ def respond_to?(sym, incl_private=false)respond_to?4,49
+ def self.respond_to?(sym, incl_private=false)respond_to8,110
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/bug_report_15719_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/bug_report_496_spec.rb,114
+module BugReport496BugReport4963,23
+ class BaseClassBaseClass4,43
+ class SubClass < BaseClassSubClass7,68
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/bug_report_600_spec.rb,157
+module BugReport600BugReport6003,23
+ class ExampleClassExampleClass4,43
+ def self.method_that_uses_define_methodmethod_that_uses_define_method5,64
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/bug_report_7611_spec.rb,76
+module Bug7611Bug76113,23
+ class FooFoo4,38
+ class Bar < FooBar7,57
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/bug_report_7805_spec.rb,28
+module Bug7805Bug78053,23
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/bug_report_8165_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/bug_report_8302_spec.rb,141
+module Bug8302Bug83023,23
+ class FooFoo4,38
+ def Foo.class_method(arg)class_method5,50
+ def instance_bar(arg)instance_bar8,91
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/bug_report_830_spec.rb,105
+module SpecSpec3,23
+ module MocksMocks4,35
+ class FooFoo6,112
+ def self.foofoo7,128
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/double_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/failing_argument_matchers_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/hash_including_matcher_spec.rb,98
+module SpecSpec3,23
+ module MocksMocks4,35
+ module ArgumentMatchersArgumentMatchers5,50
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/hash_not_including_matcher_spec.rb,98
+module SpecSpec3,23
+ module MocksMocks4,35
+ module ArgumentMatchersArgumentMatchers5,50
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/mock_ordering_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/mock_space_spec.rb,216
+module SpecSpec4,44
+ module MocksMocks5,56
+ def rspec_verifyrspec_verify10,171
+ def verified?verified?13,241
+ def rspec_resetrspec_reset16,301
+ def reset?reset?19,367
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/mock_spec.rb,86
+module SpecSpec3,23
+ module MocksMocks4,35
+ def add_calladd_call498,19498
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/multiple_return_value_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/nil_expectation_warning_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/null_object_mock_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/once_counts_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/options_hash_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/partial_mock_spec.rb,407
+module SpecSpec3,23
+ module MocksMocks4,35
+ class PartiallyMockedEqualsPartiallyMockedEquals96,3332
+ def initialize(val)initialize98,3391
+ def ==(other)==102,3461
+ class MockableClassMockableClass114,3799
+ def public_methodpublic_method115,3825
+ def protected_method; endprotected_method120,3933
+ def private_method; endprivate_method122,3983
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/partial_mock_using_mocks_directly_spec.rb,99
+module SpecSpec3,23
+module MocksMocks4,35
+ def existing_methodexisting_method10,172
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/passing_argument_matchers_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/precise_counts_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/record_messages_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/stub_chain_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/stub_implementation_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/stub_spec.rb,188
+module SpecSpec3,23
+ module MocksMocks4,35
+ def self.existing_class_methodexisting_class_method8,135
+ def existing_instance_methodexisting_instance_method12,219
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/stubbed_message_expectations_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/twice_counts_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/mocks/unstub_spec.rb,48
+module SpecSpec3,23
+ module MocksMocks4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/package/bin_spec_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/rake/spectask_spec.rb,538
+module SpecSpec4,52
+ module RakeRake5,64
+ class MockTaskMockTask7,79
+ def self.taskstasks12,177
+ def self.reset_tasksreset_tasks16,237
+ def self.task(name)task20,301
+ def self.register_task(name, block)register_task24,364
+ def initialize(name, &block)initialize28,445
+ def self.create_task(name, &block)create_task33,580
+ class SpecTaskSpecTask38,666
+ def task(name, &block)task39,685
+ def system(cmd)system43,768
+ def default_ruby_pathdefault_ruby_path48,846
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/class_and_argument_parser_spec.rb,50
+module SpecSpec3,23
+ module RunnerRunner4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/command_line_spec.rb,50
+module SpecSpec3,23
+ module RunnerRunner4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/configuration_spec.rb,50
+module SpecSpec3,23
+ module RunnerRunner4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/drb_command_line_spec.rb,362
+module SpecSpec3,23
+ module RunnerRunner4,35
+ def self.run(argv, stderr, stdout)run26,693
+ def create_dummy_spec_filecreate_dummy_spec_file75,2317
+ def run_spec_via_druby(argv)run_spec_via_druby92,2963
+ def tty?; true endtty?95,3085
+ def with_RSPEC_DRB_set_to(val)with_RSPEC_DRB_set_to116,3739
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/example_group_runner_spec.rb,50
+module SpecSpec3,23
+ module RunnerRunner4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/formatter/base_formatter_spec.rb,86
+module SpecSpec3,23
+ module RunnerRunner4,35
+ module FormatterFormatter5,51
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/formatter/base_text_formatter_spec.rb,272
+module SpecSpec4,75
+ module RunnerRunner5,87
+ module FormatterFormatter6,103
+ def method_that_class_magenta(message)method_that_class_magenta28,879
+ def method_that_class_colourise(message, failure)method_that_class_colourise31,983
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/formatter/failing_example_groups_formatter_spec.rb,88
+module SpecSpec4,88
+ module RunnerRunner5,100
+ module FormatterFormatter6,116
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/formatter/failing_examples_formatter_spec.rb,87
+module SpecSpec4,82
+ module RunnerRunner5,94
+ module FormatterFormatter6,110
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/formatter/html_formatter_spec.rb,90
+module SpecSpec8,185
+ module RunnerRunner9,197
+ module FormatterFormatter10,213
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/formatter/nested_text_formatter_spec.rb,820
+module SpecSpec4,77
+ module RunnerRunner5,89
+ module FormatterFormatter6,105
+ def example_group_startedexample_group_started18,627
+ def example_group_startedexample_group_started62,1921
+ def example_group_startedexample_group_started96,3319
+ def example_group_startedexample_group_started135,4930
+ def example_group_startedexample_group_started148,5425
+ def example_group_startedexample_group_started162,6042
+ def make_group(name, parent=::Spec::Example::ExampleGroupDouble)make_group173,6357
+ def example_group_startedexample_group_started233,8737
+ def have_single_level_example_group_output(expected_output)have_single_level_example_group_output318,11663
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/formatter/profile_formatter_spec.rb,87
+module SpecSpec4,73
+ module RunnerRunner5,85
+ module FormatterFormatter6,101
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/formatter/progress_bar_formatter_spec.rb,87
+module SpecSpec4,78
+ module RunnerRunner5,90
+ module FormatterFormatter6,106
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/formatter/snippet_extractor_spec.rb,87
+module SpecSpec4,73
+ module RunnerRunner5,85
+ module FormatterFormatter6,101
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/formatter/specdoc_formatter_spec.rb,432
+module SpecSpec4,73
+ module RunnerRunner5,85
+ module FormatterFormatter6,101
+ def example_group_startedexample_group_started26,796
+ def example_group_startedexample_group_started76,3071
+ def have_nested_example_group_output(expected_output)have_nested_example_group_output104,4480
+ def have_example_group_output(expected_output)have_example_group_output148,6276
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/formatter/text_mate_formatter_spec.rb,222
+module SpecSpec8,188
+ module RunnerRunner9,200
+ module FormatterFormatter10,216
+ def produces_html_identical_to_manually_designed_document(opt)produces_html_identical_to_manually_designed_document19,581
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/heckle_runner_spec.rb,196
+ module FooFoo5,151
+ class BarBar6,164
+ def one; endone7,178
+ def two; endtwo8,197
+ class ZapZap11,225
+ def three; endthree12,239
+ def four; endfour13,260
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/heckler_spec.rb,82
+ def initialize(klass_name, method_name, rspec_options)initialize9,281
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/line_number_query/line_number_query_fixture.rb,59
+class LineNumberQuerySubjectLineNumberQuerySubject23,143
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/line_number_query_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/noisy_backtrace_tweaker_spec.rb,50
+module SpecSpec3,23
+ module RunnerRunner4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/option_parser_spec.rb,66
+ def parse(args)parse12,273
+ def parse(args)parse292,9859
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/options_spec.rb,50
+module SpecSpec4,83
+ module RunnerRunner5,95
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/output_one_time_fixture.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/output_one_time_fixture_runner.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/output_one_time_spec.rb,50
+module SpecSpec4,45
+ module RunnerRunner5,57
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/quiet_backtrace_tweaker_spec.rb,50
+module SpecSpec3,23
+ module RunnerRunner4,35
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/reporter_spec.rb,346
+module SpecSpec3,23
+ module RunnerRunner4,35
+ def failurefailure21,909
+ def create_example_group(text)create_example_group25,1012
+ def description_of(example)description_of62,2631
+ def example_pending(example_passed_to_method, message_passed_to_method, deprecated_pending_location)example_pending196,8734
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/resources/a_bar.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/resources/a_foo.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/resources/a_spec.rb,0
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/resources/custom_example_group_runner.rb,191
+module CustomCustom1,0
+ class ExampleGroupRunnerExampleGroupRunner2,14
+ def initialize(options, arg)initialize4,72
+ def load_files(files)load_files8,150
+ def runrun11,185
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner/resources/utf8_encoded.rb,95
+module CustomCustom2,18
+ class ExampleUTF8ClassNameVarietàExampleUTF8ClassNameVariet3,32
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec/runner_spec.rb,22
+module SpecSpec3,23
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/spec_helper.rb,892
+def jruby?jruby?14,261
+module Spec Spec18,305
+ module ExampleExample19,319
+ class NonStandardError < Exception; endNonStandardError20,336
+ module MatchersMatchers23,387
+ def failfail24,405
+ def fail_with(message)fail_with28,489
+ def exception_from(&block)exception_from32,596
+ def run_with(options)run_with42,768
+ def with_ruby(version)with_ruby46,850
+def with_sandboxed_optionswith_sandboxed_options52,962
+def with_sandboxed_configwith_sandboxed_config67,1273
+module SpecSpec86,1778
+ module ExampleExample87,1790
+ module ResettableResettable88,1807
+ def reset # :nodoc:reset89,1829
+ class ExampleGroupExampleGroup96,2001
+ class ExampleGroupDouble < ExampleGroupExampleGroupDouble99,2056
+ def register_example_group(klass)register_example_group101,2155
+ def initialize(proxy=nil, &block)initialize104,2221
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/support/macros.rb,146
+module MacrosMacros1,0
+ def treats_method_missing_as_private(options = {:noop => true, :subject => nil})treats_method_missing_as_private2,14
+
+tmp/isolate/ruby-1.8/gems/rspec-1.3.1/spec/support/spec_classes.rb,2133
+module SpecSpec2,56
+ module ExpectationsExpectations3,68
+ class PersonPerson4,90
+ def initialize nameinitialize6,131
+ def == other==9,188
+ class ClassWithMultiWordPredicateClassWithMultiWordPredicate14,265
+ def multi_word_predicate?multi_word_predicate?15,303
+ module HelperHelper20,368
+ class CollectionWithSizeMethodCollectionWithSizeMethod21,386
+ def initialize; @list = []; endinitialize22,423
+ def size; @list.size; endsize23,463
+ def push(item); @list.push(item); endpush24,497
+ class CollectionWithLengthMethodCollectionWithLengthMethod27,554
+ def initialize; @list = []; endinitialize28,593
+ def length; @list.size; endlength29,633
+ def push(item); @list.push(item); endpush30,669
+ class CollectionOwnerCollectionOwner33,726
+ def initializeinitialize36,854
+ def add_to_collection_with_size_method(item)add_to_collection_with_size_method41,1052
+ def add_to_collection_with_length_method(item)add_to_collection_with_length_method45,1177
+ def items_for(arg)items_for49,1314
+ def itemsitems54,1417
+ class HandCodedMockHandCodedMock59,1506
+ def initialize(return_val)initialize61,1563
+ def funny?funny?66,1678
+ def hungry?(a, b, c)hungry?71,1763
+ def exists?exists?79,1950
+ def multi_word_predicate?multi_word_predicate?83,2013
+ def rspec_verifyrspec_verify87,2082
+ class ClassWithUnqueriedPredicateClassWithUnqueriedPredicate91,2168
+ def initialize(foo)initialize93,2235
+module CustomCustom101,2325
+ class Formatter < Spec::Runner::Formatter::BaseTextFormatterFormatter103,2393
+ def initialize(options, where)initialize106,2494
+ class BadFormatter < Spec::Runner::Formatter::BaseTextFormatterBadFormatter112,2590
+ def initialize(options, where)initialize115,2684
+ class DifferDiffer120,2751
+ def initialize(options)initialize122,2791
+ def diff_as_object(target, expected)diff_as_object126,2853
+class FakeReporter < Spec::Runner::ReporterFakeReporter132,2922
+
+tmp/isolate/ruby-1.8/gems/rubyforge-2.0.4/bin/rubyforge,0
+
+tmp/isolate/ruby-1.8/gems/rubyforge-2.0.4/lib/rubyforge/client.rb,638
+class TimeTime6,136
+ def utc(*args)utc12,229
+class Net::HTTPNet20,422
+ def use_ssl= flaguse_ssl=22,470
+class RubyForgeRubyForge28,653
+ class ClientClient29,669
+ def initialize(proxy = nil)initialize32,746
+ def post_content(uri, form = {}, headers = {}, userconfig = nil)post_content45,1099
+ def get_content(uri, query = {}, headers = {}, userconfig = nil)get_content51,1336
+ def execute(request, uri, parameters = {}, headers = {}, userconfig = nil)execute57,1573
+ def boundary_data_for(boundary, parameters)boundary_data_for94,2806
+ def query_string_for(parameters)query_string_for116,3498
+
+tmp/isolate/ruby-1.8/gems/rubyforge-2.0.4/lib/rubyforge.rb,991
+class RubyForgeRubyForge12,186
+ def initialize(userconfig=nil, autoconfig=nil, opts=nil)initialize29,782
+ def login ; endlogin41,1149
+ def logout ; endlogout42,1167
+ def configure opts = {}configure44,1187
+ def forceforce67,1979
+ def uriuri71,2023
+ def setupsetup80,2262
+ def save_autoconfigsave_autoconfig93,2664
+ def scrape_configscrape_config99,2782
+ def get_via_rest_api(path)get_via_rest_api115,3234
+ def scrape_project(project)scrape_project121,3408
+ def create_package(group_id, package_name)create_package163,4790
+ def post_news(group_id, subject, body)post_news184,5296
+ def delete_package(group_id, package_id)delete_package195,5602
+ def add_release(group_id, package_id, release_name, *files)add_release206,5998
+ def add_file(group_name, package_name, release_name, userfile)add_file263,8084
+ def clientclient289,8956
+ def run(page, form, extheader={}) # :nodoc:run298,9158
+ def lookup(type, val) # :nodoc:lookup306,9442
+
+tmp/isolate/ruby-1.8/gems/rubyforge-2.0.4/test/test_rubyforge.rb,2410
+class RubyForgeRubyForge7,113
+ def save_autoconfigsave_autoconfig11,198
+class RubyForge::FakeClientRubyForge16,261
+ def form; endform17,289
+ def post_content(*args)post_content19,306
+ def get_content(*args)get_content23,363
+class FakeRubyForge < RubyForgeFakeRubyForge28,429
+ def run(page, form, extheader={})run32,554
+ def scrape_project(proj)scrape_project39,752
+class URI::HTTPURI46,891
+ def self.datadata47,907
+ def readread51,947
+class TestRubyForge < Test::Unit::TestCaseTestRubyForge56,1019
+ def setupsetup57,1062
+ def teardownteardown62,1121
+ def test_new_with_proxy_uses_a_proxy_classtest_new_with_proxy_uses_a_proxy_class69,1297
+ def test_new_with_bad_proxy_uses_normal_httptest_new_with_bad_proxy_uses_normal_http74,1488
+ def test_initialize_badtest_initialize_bad79,1679
+ def test_setuptest_setup97,2113
+ def test_create_packagetest_create_package101,2204
+ def test_delete_packagetest_delete_package109,2408
+ def test_delete_package_package_nametest_delete_package_package_name114,2506
+ def test_delete_package_undefined_package_nametest_delete_package_undefined_package_name119,2624
+ def test_delete_package_group_nametest_delete_package_group_name125,2767
+ def test_delete_package_undefined_group_nametest_delete_package_undefined_group_name130,2885
+ def test_post_newstest_post_news136,3027
+ def test_add_release_undefined_package_nametest_add_release_undefined_package_name144,3270
+ def test_add_release_undefined_group_nametest_add_release_undefined_group_name150,3426
+ def test_lookup_idtest_lookup_id156,3581
+ def test_lookup_string_numbertest_lookup_string_number160,3665
+ def test_lookup_nametest_lookup_name166,3788
+ def test_lookup_undefinedtest_lookup_undefined171,3948
+ def test_add_filetest_add_file177,4069
+ def test_add_releasetest_add_release194,4623
+ def test_add_release_with_a_filetest_add_release_with_a_file199,4731
+ def test_add_release_package_nametest_add_release_package_name227,5791
+ def test_add_release_group_nametest_add_release_group_name232,5917
+ def test_scrape_projecttest_scrape_project238,6038
+ def util_new(klass)util_new276,7260
+ def util_run(page, form={}, extheader={})util_run302,7994
+ def util_add_releaseutil_add_release309,8207
+ def util_delete_packageutil_delete_package318,8496
+ def make_a_tmp_filemake_a_tmp_file322,8582
+
+tmp/isolate/ruby-1.8/gems/rubyforge-2.0.4/test/test_rubyforge_client.rb,517
+class RubyForge::FakeAgentRubyForge4,79
+ def initialize(*args)initialize9,167
+ def request(request, data)request12,198
+ def response.read_body; ''; endread_body16,338
+ class PostPost20,401
+ def initialize(*args)initialize21,414
+ def [] key[]26,486
+ def []= key, val[]=30,537
+ def method_missing(*stuff)method_missing34,600
+class TestRubyForgeClient < Test::Unit::TestCaseTestRubyForgeClient40,677
+ def setupsetup41,726
+ def test_post_with_paramstest_post_with_params48,960
diff --git a/lib/arel/table.rb b/lib/arel/table.rb
index 76ced079ba..171d165bc2 100644
--- a/lib/arel/table.rb
+++ b/lib/arel/table.rb
@@ -1,8 +1,4 @@
-def Table(name, engine = Arel::Table.engine)
- Arel::Table.new(name, engine)
-end
-
-module Arel
+module Arel
class Table
include Arel::Crud
diff --git a/spec/nodes/select_core_spec.rb b/spec/nodes/select_core_spec.rb
deleted file mode 100644
index d2e87c2c23..0000000000
--- a/spec/nodes/select_core_spec.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-require 'spec_helper'
-
-describe Arel::Nodes::SelectCore do
- describe "#clone" do
- it "clones froms, projections and wheres" do
- core = Arel::Nodes::SelectCore.new
- core.instance_variable_set "@froms", %w[a b c]
- core.instance_variable_set "@projections", %w[d e f]
- core.instance_variable_set "@wheres", %w[g h i]
-
- [:froms, :projections, :wheres].each do |array_attr|
- core.send(array_attr).should_receive(:clone).and_return([array_attr])
- end
-
- dolly = core.clone
- check dolly.froms.should == [:froms]
- check dolly.projections.should == [:projections]
- check dolly.wheres.should == [:wheres]
- end
- end
-end
diff --git a/spec/spec.opts b/spec/spec.opts
deleted file mode 100644
index ef88ff877b..0000000000
--- a/spec/spec.opts
+++ /dev/null
@@ -1,3 +0,0 @@
---backtrace
---diff
---color \ No newline at end of file
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
deleted file mode 100644
index b9fd9db930..0000000000
--- a/spec/spec_helper.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-require 'rubygems'
-require 'spec'
-require 'fileutils'
-require 'arel'
-
-require 'support/matchers/be_like'
-require 'support/check'
-require 'support/fake_record'
-require 'support/shared/tree_manager_shared'
-
-Spec::Runner.configure do |config|
- config.include Matchers
- config.include Check
-
- config.before do
- Arel::Table.engine = Arel::Sql::Engine.new(FakeRecord::Base.new)
- end
-end
diff --git a/spec/support/check.rb b/spec/support/check.rb
deleted file mode 100644
index c9adce420c..0000000000
--- a/spec/support/check.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-module Check
- # This is used to eliminate Ruby warnings on some RSpec assertion lines
- # See: https://rspec.lighthouseapp.com/projects/5645/tickets/504
- def check(*args)
- end
-end
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb
deleted file mode 100644
index 486e4fe274..0000000000
--- a/spec/support/matchers.rb
+++ /dev/null
@@ -1 +0,0 @@
-require "support/matchers/be_like"
diff --git a/spec/support/matchers/be_like.rb b/spec/support/matchers/be_like.rb
deleted file mode 100644
index ca49b91274..0000000000
--- a/spec/support/matchers/be_like.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-module Matchers
- class BeLike
- def initialize(expected)
- @expected = expected.gsub(/\s+/, ' ').strip
- end
-
- def matches?(actual)
- @actual = actual.gsub(/\s+/, ' ').strip
- @expected == @actual
- end
-
- def failure_message
- "expected\n#{@actual}\nto be like\n#{@expected}"
- end
-
- def negative_failure_message
- "expected\n#{@actual}\nto be unlike\n#{@expected}"
- end
- end
-
- def be_like(expected)
- BeLike.new(expected)
- end
-end
diff --git a/spec/attributes/attribute_spec.rb b/test/attributes/test_attribute.rb
index 562781ade9..f0341f4070 100644
--- a/spec/attributes/attribute_spec.rb
+++ b/test/attributes/test_attribute.rb
@@ -6,14 +6,14 @@ module Arel
describe '#not_eq' do
it 'should create a NotEqual node' do
relation = Table.new(:users)
- relation[:id].not_eq(10).should be_kind_of Nodes::NotEqual
+ relation[:id].not_eq(10).must_be_kind_of Nodes::NotEqual
end
it 'should generate != in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].not_eq(10)
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE "users"."id" != 10
}
end
@@ -22,7 +22,7 @@ module Arel
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].not_eq(nil)
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE "users"."id" IS NOT NULL
}
end
@@ -31,14 +31,14 @@ module Arel
describe '#not_eq_any' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].not_eq_any([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].not_eq_any([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ORs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].not_eq_any([1,2])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" != 1 OR "users"."id" != 2)
}
end
@@ -47,14 +47,14 @@ module Arel
describe '#not_eq_all' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].not_eq_all([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].not_eq_all([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ANDs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].not_eq_all([1,2])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" != 1 AND "users"."id" != 2)
}
end
@@ -63,14 +63,14 @@ module Arel
describe '#gt' do
it 'should create a GreaterThan node' do
relation = Table.new(:users)
- relation[:id].gt(10).should be_kind_of Nodes::GreaterThan
+ relation[:id].gt(10).must_be_kind_of Nodes::GreaterThan
end
it 'should generate >= in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].gt(10)
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE "users"."id" > 10
}
end
@@ -79,14 +79,14 @@ module Arel
describe '#gt_any' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].gt_any([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].gt_any([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ORs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].gt_any([1,2])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" > 1 OR "users"."id" > 2)
}
end
@@ -95,14 +95,14 @@ module Arel
describe '#gt_all' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].gt_all([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].gt_all([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ANDs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].gt_all([1,2])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" > 1 AND "users"."id" > 2)
}
end
@@ -111,14 +111,14 @@ module Arel
describe '#gteq' do
it 'should create a GreaterThanOrEqual node' do
relation = Table.new(:users)
- relation[:id].gteq(10).should be_kind_of Nodes::GreaterThanOrEqual
+ relation[:id].gteq(10).must_be_kind_of Nodes::GreaterThanOrEqual
end
it 'should generate >= in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].gteq(10)
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE "users"."id" >= 10
}
end
@@ -127,14 +127,14 @@ module Arel
describe '#gteq_any' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].gteq_any([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].gteq_any([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ORs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].gteq_any([1,2])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" >= 1 OR "users"."id" >= 2)
}
end
@@ -143,14 +143,14 @@ module Arel
describe '#gteq_all' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].gteq_all([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].gteq_all([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ANDs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].gteq_all([1,2])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" >= 1 AND "users"."id" >= 2)
}
end
@@ -159,14 +159,14 @@ module Arel
describe '#lt' do
it 'should create a LessThan node' do
relation = Table.new(:users)
- relation[:id].lt(10).should be_kind_of Nodes::LessThan
+ relation[:id].lt(10).must_be_kind_of Nodes::LessThan
end
it 'should generate < in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].lt(10)
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE "users"."id" < 10
}
end
@@ -175,14 +175,14 @@ module Arel
describe '#lt_any' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].lt_any([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].lt_any([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ORs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].lt_any([1,2])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" < 1 OR "users"."id" < 2)
}
end
@@ -191,14 +191,14 @@ module Arel
describe '#lt_all' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].lt_all([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].lt_all([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ANDs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].lt_all([1,2])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" < 1 AND "users"."id" < 2)
}
end
@@ -207,14 +207,14 @@ module Arel
describe '#lteq' do
it 'should create a LessThanOrEqual node' do
relation = Table.new(:users)
- relation[:id].lteq(10).should be_kind_of Nodes::LessThanOrEqual
+ relation[:id].lteq(10).must_be_kind_of Nodes::LessThanOrEqual
end
it 'should generate <= in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].lteq(10)
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE "users"."id" <= 10
}
end
@@ -223,14 +223,14 @@ module Arel
describe '#lteq_any' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].lteq_any([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].lteq_any([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ORs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].lteq_any([1,2])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" <= 1 OR "users"."id" <= 2)
}
end
@@ -239,14 +239,14 @@ module Arel
describe '#lteq_all' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].lteq_all([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].lteq_all([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ANDs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].lteq_all([1,2])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" <= 1 AND "users"."id" <= 2)
}
end
@@ -255,14 +255,14 @@ module Arel
describe '#average' do
it 'should create a AVG node' do
relation = Table.new(:users)
- relation[:id].average.should be_kind_of Nodes::Avg
+ relation[:id].average.must_be_kind_of Nodes::Avg
end
# FIXME: backwards compat. Is this really necessary?
it 'should set the alias to "avg_id"' do
relation = Table.new(:users)
mgr = relation.project relation[:id].average
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT AVG("users"."id") AS avg_id
FROM "users"
}
@@ -272,14 +272,14 @@ module Arel
describe '#maximum' do
it 'should create a MAX node' do
relation = Table.new(:users)
- relation[:id].maximum.should be_kind_of Nodes::Max
+ relation[:id].maximum.must_be_kind_of Nodes::Max
end
# FIXME: backwards compat. Is this really necessary?
it 'should set the alias to "max_id"' do
relation = Table.new(:users)
mgr = relation.project relation[:id].maximum
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT MAX("users"."id") AS max_id
FROM "users"
}
@@ -289,21 +289,21 @@ module Arel
describe '#minimum' do
it 'should create a Min node' do
relation = Table.new(:users)
- relation[:id].minimum.should be_kind_of Nodes::Min
+ relation[:id].minimum.must_be_kind_of Nodes::Min
end
end
describe '#sum' do
it 'should create a SUM node' do
relation = Table.new(:users)
- relation[:id].sum.should be_kind_of Nodes::Sum
+ relation[:id].sum.must_be_kind_of Nodes::Sum
end
# FIXME: backwards compat. Is this really necessary?
it 'should set the alias to "sum_id"' do
relation = Table.new(:users)
mgr = relation.project relation[:id].sum
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT SUM("users"."id") AS sum_id
FROM "users"
}
@@ -313,14 +313,14 @@ module Arel
describe '#count' do
it 'should return a count node' do
relation = Table.new(:users)
- relation[:id].count.should be_kind_of Nodes::Count
+ relation[:id].count.must_be_kind_of Nodes::Count
end
it 'should take a distinct param' do
relation = Table.new(:users)
count = relation[:id].count(nil)
- count.should be_kind_of Nodes::Count
- count.distinct.should be_nil
+ count.must_be_kind_of Nodes::Count
+ count.distinct.must_be_nil
end
end
@@ -328,16 +328,16 @@ module Arel
it 'should return an equality node' do
attribute = Attribute.new nil, nil, nil
equality = attribute.eq 1
- check equality.left.should == attribute
- check equality.right.should == 1
- equality.should be_kind_of Nodes::Equality
+ check equality.left.must_equal attribute
+ check equality.right.must_equal 1
+ equality.must_be_kind_of Nodes::Equality
end
it 'should generate = in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].eq(10)
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE "users"."id" = 10
}
end
@@ -346,7 +346,7 @@ module Arel
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].eq(nil)
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE "users"."id" IS NULL
}
end
@@ -355,14 +355,14 @@ module Arel
describe '#eq_any' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].eq_any([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].eq_any([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ORs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].eq_any([1,2])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" = 1 OR "users"."id" = 2)
}
end
@@ -371,14 +371,14 @@ module Arel
describe '#eq_all' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].eq_all([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].eq_all([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ANDs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].eq_all([1,2])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" = 1 AND "users"."id" = 2)
}
end
@@ -387,14 +387,14 @@ module Arel
describe '#matches' do
it 'should create a Matches node' do
relation = Table.new(:users)
- relation[:name].matches('%bacon%').should be_kind_of Nodes::Matches
+ relation[:name].matches('%bacon%').must_be_kind_of Nodes::Matches
end
it 'should generate LIKE in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:name].matches('%bacon%')
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE "users"."name" LIKE '%bacon%'
}
end
@@ -403,14 +403,14 @@ module Arel
describe '#matches_any' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:name].matches_any(['%chunky%','%bacon%']).should be_kind_of Nodes::Grouping
+ relation[:name].matches_any(['%chunky%','%bacon%']).must_be_kind_of Nodes::Grouping
end
it 'should generate ORs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:name].matches_any(['%chunky%','%bacon%'])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."name" LIKE '%chunky%' OR "users"."name" LIKE '%bacon%')
}
end
@@ -419,14 +419,14 @@ module Arel
describe '#matches_all' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:name].matches_all(['%chunky%','%bacon%']).should be_kind_of Nodes::Grouping
+ relation[:name].matches_all(['%chunky%','%bacon%']).must_be_kind_of Nodes::Grouping
end
it 'should generate ANDs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:name].matches_all(['%chunky%','%bacon%'])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."name" LIKE '%chunky%' AND "users"."name" LIKE '%bacon%')
}
end
@@ -435,14 +435,14 @@ module Arel
describe '#does_not_match' do
it 'should create a DoesNotMatch node' do
relation = Table.new(:users)
- relation[:name].does_not_match('%bacon%').should be_kind_of Nodes::DoesNotMatch
+ relation[:name].does_not_match('%bacon%').must_be_kind_of Nodes::DoesNotMatch
end
it 'should generate NOT LIKE in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:name].does_not_match('%bacon%')
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE "users"."name" NOT LIKE '%bacon%'
}
end
@@ -451,14 +451,14 @@ module Arel
describe '#does_not_match_any' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:name].does_not_match_any(['%chunky%','%bacon%']).should be_kind_of Nodes::Grouping
+ relation[:name].does_not_match_any(['%chunky%','%bacon%']).must_be_kind_of Nodes::Grouping
end
it 'should generate ORs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:name].does_not_match_any(['%chunky%','%bacon%'])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."name" NOT LIKE '%chunky%' OR "users"."name" NOT LIKE '%bacon%')
}
end
@@ -467,14 +467,14 @@ module Arel
describe '#does_not_match_all' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:name].does_not_match_all(['%chunky%','%bacon%']).should be_kind_of Nodes::Grouping
+ relation[:name].does_not_match_all(['%chunky%','%bacon%']).must_be_kind_of Nodes::Grouping
end
it 'should generate ANDs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:name].does_not_match_all(['%chunky%','%bacon%'])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."name" NOT LIKE '%chunky%' AND "users"."name" NOT LIKE '%bacon%')
}
end
@@ -487,15 +487,15 @@ module Arel
it 'should return an in node' do
attribute = Attribute.new nil, nil, nil
node = Nodes::In.new attribute, [1,2,3]
- check node.left.should == attribute
- check node.right.should == [1, 2, 3]
+ check node.left.must_equal attribute
+ check node.right.must_equal [1, 2, 3]
end
it 'should generate IN in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].in([1,2,3])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE "users"."id" IN (1, 2, 3)
}
end
@@ -504,14 +504,14 @@ module Arel
describe '#in_any' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].in_any([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].in_any([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ORs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].in_any([[1,2], [3,4]])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" IN (1, 2) OR "users"."id" IN (3, 4))
}
end
@@ -520,14 +520,14 @@ module Arel
describe '#in_all' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].in_all([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].in_all([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ANDs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].in_all([[1,2], [3,4]])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" IN (1, 2) AND "users"."id" IN (3, 4))
}
end
@@ -540,15 +540,15 @@ module Arel
it 'should return a NotIn node' do
attribute = Attribute.new nil, nil, nil
node = Nodes::NotIn.new attribute, [1,2,3]
- check node.left.should == attribute
- check node.right.should == [1, 2, 3]
+ check node.left.must_equal attribute
+ check node.right.must_equal [1, 2, 3]
end
it 'should generate NOT IN in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].not_in([1,2,3])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE "users"."id" NOT IN (1, 2, 3)
}
end
@@ -557,14 +557,14 @@ module Arel
describe '#not_in_any' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].not_in_any([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].not_in_any([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ORs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].not_in_any([[1,2], [3,4]])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" NOT IN (1, 2) OR "users"."id" NOT IN (3, 4))
}
end
@@ -573,14 +573,14 @@ module Arel
describe '#not_in_all' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].not_in_all([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].not_in_all([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ANDs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].not_in_all([[1,2], [3,4]])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" NOT IN (1, 2) AND "users"."id" NOT IN (3, 4))
}
end
@@ -589,14 +589,14 @@ module Arel
describe '#eq_all' do
it 'should create a Grouping node' do
relation = Table.new(:users)
- relation[:id].eq_all([1,2]).should be_kind_of Nodes::Grouping
+ relation[:id].eq_all([1,2]).must_be_kind_of Nodes::Grouping
end
it 'should generate ANDs in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.where relation[:id].eq_all([1,2])
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" WHERE ("users"."id" = 1 AND "users"."id" = 2)
}
end
@@ -605,14 +605,14 @@ module Arel
describe '#asc' do
it 'should create an Ordering node' do
relation = Table.new(:users)
- relation[:id].asc.should be_kind_of Nodes::Ordering
+ relation[:id].asc.must_be_kind_of Nodes::Ordering
end
it 'should generate ASC in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.order relation[:id].asc
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" ORDER BY "users"."id" ASC
}
end
@@ -621,14 +621,14 @@ module Arel
describe '#desc' do
it 'should create an Ordering node' do
relation = Table.new(:users)
- relation[:id].desc.should be_kind_of Nodes::Ordering
+ relation[:id].desc.must_be_kind_of Nodes::Ordering
end
it 'should generate DESC in sql' do
relation = Table.new(:users)
mgr = relation.project relation[:id]
mgr.order relation[:id].desc
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT "users"."id" FROM "users" ORDER BY "users"."id" DESC
}
end
@@ -640,7 +640,7 @@ module Arel
it 'should produce sql' do
table = Table.new :users
condition = table['id'].eq 1
- condition.to_sql.should == '"users"."id" = 1'
+ condition.to_sql.must_equal '"users"."id" = 1'
end
end
end
diff --git a/spec/nodes/count_spec.rb b/test/nodes/test_count.rb
index 185b4d8eb9..d65df03313 100644
--- a/spec/nodes/count_spec.rb
+++ b/test/nodes/test_count.rb
@@ -3,14 +3,14 @@ require 'spec_helper'
describe Arel::Nodes::Count do
describe 'backwards compatibility' do
it 'must be an expression' do
- Arel::Nodes::Count.new('foo').should be_kind_of Arel::Expression
+ Arel::Nodes::Count.new('foo').must_be_kind_of Arel::Expression
end
end
describe "as" do
it 'should alias the count' do
table = Arel::Table.new :users
- table[:id].count.as('foo').to_sql.should be_like %{
+ table[:id].count.as('foo').to_sql.must_be_like %{
COUNT("users"."id") AS foo
}
end
diff --git a/spec/nodes/delete_statement_spec.rb b/test/nodes/test_delete_statement.rb
index 4d12d184fb..a71da7adae 100644
--- a/spec/nodes/delete_statement_spec.rb
+++ b/test/nodes/test_delete_statement.rb
@@ -6,10 +6,9 @@ describe Arel::Nodes::DeleteStatement do
statement = Arel::Nodes::DeleteStatement.new
statement.wheres = %w[a b c]
- statement.wheres.should_receive(:clone).and_return([:wheres])
-
dolly = statement.clone
- dolly.wheres.should == [:wheres]
+ dolly.wheres.must_equal statement.wheres
+ dolly.wheres.wont_be_same_as statement.wheres
end
end
end
diff --git a/spec/nodes/equality_spec.rb b/test/nodes/test_equality.rb
index f1ed7a6904..513cafd87f 100644
--- a/spec/nodes/equality_spec.rb
+++ b/test/nodes/test_equality.rb
@@ -1,3 +1,5 @@
+require 'spec_helper'
+
module Arel
module Nodes
describe 'equality' do
@@ -7,7 +9,7 @@ module Arel
it 'returns :==' do
attr = Table.new(:users)[:id]
left = attr.eq(10)
- check left.operator.should == :==
+ check left.operator.must_equal :==
end
end
@@ -15,7 +17,7 @@ module Arel
it "should equal left" do
attr = Table.new(:users)[:id]
left = attr.eq(10)
- check left.left.should == left.operand1
+ check left.left.must_equal left.operand1
end
end
@@ -23,7 +25,7 @@ module Arel
it "should equal right" do
attr = Table.new(:users)[:id]
left = attr.eq(10)
- check left.right.should == left.operand2
+ check left.right.must_equal left.operand2
end
end
@@ -41,7 +43,7 @@ module Arel
attr = Table.new(:users)[:id]
test = attr.eq(10)
test.to_sql engine
- check engine.connection.quote_count.should == 2
+ check engine.connection.quote_count.must_equal 2
end
end
end
@@ -52,8 +54,8 @@ module Arel
left = attr.eq(10)
right = attr.eq(11)
node = left.or right
- check node.expr.left.should == left
- check node.expr.right.should == right
+ check node.expr.left.must_equal left
+ check node.expr.right.must_equal right
end
end
@@ -63,8 +65,8 @@ module Arel
left = attr.eq(10)
right = attr.eq(11)
node = left.and right
- check node.left.should == left
- check node.right.should == right
+ check node.left.must_equal left
+ check node.right.must_equal right
end
end
end
diff --git a/spec/nodes/insert_statement_spec.rb b/test/nodes/test_insert_statement.rb
index 0e2432c021..47f3c27dee 100644
--- a/spec/nodes/insert_statement_spec.rb
+++ b/test/nodes/test_insert_statement.rb
@@ -7,12 +7,12 @@ describe Arel::Nodes::InsertStatement do
statement.columns = %w[a b c]
statement.values = %w[x y z]
- statement.columns.should_receive(:clone).and_return([:columns])
- statement.values.should_receive(:clone).and_return([:values])
-
dolly = statement.clone
- check dolly.columns.should == [:columns]
- check dolly.values.should == [:values]
+ dolly.columns.must_equal statement.columns
+ dolly.values.must_equal statement.values
+
+ dolly.columns.wont_be_same_as statement.columns
+ dolly.values.wont_be_same_as statement.values
end
end
end
diff --git a/spec/nodes/or_spec.rb b/test/nodes/test_or.rb
index 88484ff4f7..354d803110 100644
--- a/spec/nodes/or_spec.rb
+++ b/test/nodes/test_or.rb
@@ -1,3 +1,5 @@
+require 'spec_helper'
+
module Arel
module Nodes
describe 'or' do
@@ -7,12 +9,12 @@ module Arel
left = attr.eq(10)
right = attr.eq(11)
node = left.or right
- check node.expr.left.should == left
- check node.expr.right.should == right
+ check node.expr.left.must_equal left
+ check node.expr.right.must_equal right
oror = node.or(right)
- check oror.expr.left == node
- check oror.expr.right == right
+ check oror.expr.left.must_equal node
+ check oror.expr.right.must_equal right
end
end
end
diff --git a/test/nodes/test_select_core.rb b/test/nodes/test_select_core.rb
new file mode 100644
index 0000000000..0aacf41720
--- /dev/null
+++ b/test/nodes/test_select_core.rb
@@ -0,0 +1,22 @@
+require 'spec_helper'
+
+describe Arel::Nodes::SelectCore do
+ describe "#clone" do
+ it "clones froms, projections and wheres" do
+ core = Arel::Nodes::SelectCore.new
+ core.froms = %w[a b c]
+ core.projections = %w[d e f]
+ core.wheres = %w[g h i]
+
+ dolly = core.clone
+
+ dolly.froms.must_equal core.froms
+ dolly.projections.must_equal core.projections
+ dolly.wheres.must_equal core.wheres
+
+ dolly.froms.wont_be_same_as core.froms
+ dolly.projections.wont_be_same_as core.projections
+ dolly.wheres.wont_be_same_as core.wheres
+ end
+ end
+end
diff --git a/spec/nodes/select_statement_spec.rb b/test/nodes/test_select_statement.rb
index 68bde3c4f7..45613bfa4d 100644
--- a/spec/nodes/select_statement_spec.rb
+++ b/test/nodes/test_select_statement.rb
@@ -5,10 +5,9 @@ describe Arel::Nodes::SelectStatement do
it "clones cores" do
statement = Arel::Nodes::SelectStatement.new %w[a b c]
- statement.cores.map { |x| x.should_receive(:clone).and_return(:f) }
-
dolly = statement.clone
- dolly.cores.should == [:f, :f, :f]
+ dolly.cores.must_equal statement.cores
+ dolly.cores.wont_be_same_as statement.cores
end
end
end
diff --git a/spec/nodes/sql_literal_spec.rb b/test/nodes/test_sql_literal.rb
index f5c53d9f29..3aeab41f0c 100644
--- a/spec/nodes/sql_literal_spec.rb
+++ b/test/nodes/test_sql_literal.rb
@@ -1,10 +1,12 @@
+require 'spec_helper'
+
module Arel
module Nodes
describe 'sql literal' do
describe 'sql' do
it 'makes a sql literal node' do
sql = Arel.sql 'foo'
- sql.should be_kind_of Arel::Nodes::SqlLiteral
+ sql.must_be_kind_of Arel::Nodes::SqlLiteral
end
end
@@ -12,13 +14,13 @@ module Arel
it 'makes a count node' do
node = SqlLiteral.new('*').count
viz = Visitors::ToSql.new Table.engine
- viz.accept(node).should be_like %{ COUNT(*) }
+ viz.accept(node).must_be_like %{ COUNT(*) }
end
it 'makes a distinct node' do
node = SqlLiteral.new('*').count true
viz = Visitors::ToSql.new Table.engine
- viz.accept(node).should be_like %{ COUNT(DISTINCT *) }
+ viz.accept(node).must_be_like %{ COUNT(DISTINCT *) }
end
end
end
diff --git a/spec/nodes/sum_spec.rb b/test/nodes/test_sum.rb
index 7691b06590..e6a57e4dd6 100644
--- a/spec/nodes/sum_spec.rb
+++ b/test/nodes/test_sum.rb
@@ -4,7 +4,7 @@ describe Arel::Nodes::Sum do
describe "as" do
it 'should alias the sum' do
table = Arel::Table.new :users
- table[:id].sum.as('foo').to_sql.should be_like %{
+ table[:id].sum.as('foo').to_sql.must_be_like %{
SUM("users"."id") AS foo
}
end
diff --git a/spec/nodes/update_statement_spec.rb b/test/nodes/test_update_statement.rb
index 860d1c448a..88c147b268 100644
--- a/spec/nodes/update_statement_spec.rb
+++ b/test/nodes/test_update_statement.rb
@@ -7,12 +7,12 @@ describe Arel::Nodes::UpdateStatement do
statement.wheres = %w[a b c]
statement.values = %w[x y z]
- statement.wheres.should_receive(:clone).and_return([:wheres])
- statement.values.should_receive(:clone).and_return([:values])
-
dolly = statement.clone
- check dolly.wheres.should == [:wheres]
- check dolly.values.should == [:values]
+ dolly.wheres.must_equal statement.wheres
+ dolly.wheres.wont_be_same_as statement.wheres
+
+ dolly.values.must_equal statement.values
+ dolly.values.wont_be_same_as statement.values
end
end
end
diff --git a/test/spec_helper.rb b/test/spec_helper.rb
new file mode 100644
index 0000000000..dd288e0d0d
--- /dev/null
+++ b/test/spec_helper.rb
@@ -0,0 +1,21 @@
+require 'rubygems'
+require 'minitest/autorun'
+require 'fileutils'
+require 'arel'
+
+require 'support/fake_record'
+Arel::Table.engine = Arel::Sql::Engine.new(FakeRecord::Base.new)
+
+# HACK require 'support/shared/tree_manager_shared'
+
+class Object
+ def must_be_like other
+ self.gsub(/\s+/, ' ').strip.must_equal other.gsub(/\s+/, ' ').strip
+ end
+
+ # TODO: remove
+ def check truthiness
+ raise "not truthy" unless truthiness
+ end
+end
+
diff --git a/spec/support/fake_record.rb b/test/support/fake_record.rb
index ef3cc6a291..ef3cc6a291 100644
--- a/spec/support/fake_record.rb
+++ b/test/support/fake_record.rb
diff --git a/spec/activerecord_compat_spec.rb b/test/test_activerecord_compat.rb
index a7eeb7e5ee..2f1d7cff12 100644
--- a/spec/activerecord_compat_spec.rb
+++ b/test/test_activerecord_compat.rb
@@ -11,7 +11,7 @@ module Arel
check manager.wheres.map { |x|
x.value
- }.join(', ').should == "\"users\".\"id\" = 1, \"users\".\"name\" = 'Aaron'"
+ }.join(', ').must_equal "\"users\".\"id\" = 1, \"users\".\"name\" = 'Aaron'"
end
end
end
diff --git a/spec/attributes_spec.rb b/test/test_attributes.rb
index 8b437dff9b..4cdb625b17 100644
--- a/spec/attributes_spec.rb
+++ b/test/test_attributes.rb
@@ -6,34 +6,34 @@ module Arel
it 'returns the correct constant for strings' do
[:string, :text, :binary].each do |type|
column = Struct.new(:type).new type
- Attributes.for(column).should == Attributes::String
+ Attributes.for(column).must_equal Attributes::String
end
end
it 'returns the correct constant for ints' do
column = Struct.new(:type).new :integer
- Attributes.for(column).should == Attributes::Integer
+ Attributes.for(column).must_equal Attributes::Integer
end
it 'returns the correct constant for floats' do
column = Struct.new(:type).new :float
- Attributes.for(column).should == Attributes::Float
+ Attributes.for(column).must_equal Attributes::Float
end
it 'returns the correct constant for decimals' do
column = Struct.new(:type).new :decimal
- Attributes.for(column).should == Attributes::Decimal
+ Attributes.for(column).must_equal Attributes::Decimal
end
it 'returns the correct constant for boolean' do
column = Struct.new(:type).new :boolean
- Attributes.for(column).should == Attributes::Boolean
+ Attributes.for(column).must_equal Attributes::Boolean
end
it 'returns the correct constant for time' do
[:date, :datetime, :timestamp, :time].each do |type|
column = Struct.new(:type).new type
- Attributes.for(column).should == Attributes::Time
+ Attributes.for(column).must_equal Attributes::Time
end
end
end
diff --git a/spec/crud_spec.rb b/test/test_crud.rb
index 36b2a0b4e4..2a0ff651e9 100644
--- a/spec/crud_spec.rb
+++ b/test/test_crud.rb
@@ -38,7 +38,7 @@ module Arel
fc.insert [[table[:id], 'foo']]
fc.engine.calls.find { |method, _|
method == :insert
- }.should_not be_nil
+ }.wont_be_nil
end
end
@@ -50,7 +50,7 @@ module Arel
fc.update [[table[:id], 'foo']]
fc.engine.calls.find { |method, _|
method == :update
- }.should_not be_nil
+ }.wont_be_nil
end
end
@@ -62,7 +62,7 @@ module Arel
fc.delete
fc.engine.calls.find { |method, _|
method == :delete
- }.should_not be_nil
+ }.wont_be_nil
end
end
end
diff --git a/spec/delete_manager_spec.rb b/test/test_delete_manager.rb
index 74496c58c6..0a41c4d3fc 100644
--- a/spec/delete_manager_spec.rb
+++ b/test/test_delete_manager.rb
@@ -13,13 +13,13 @@ module Arel
table = Table.new(:users)
dm = Arel::DeleteManager.new Table.engine
dm.from table
- dm.to_sql.should be_like %{ DELETE FROM "users" }
+ dm.to_sql.must_be_like %{ DELETE FROM "users" }
end
it 'chains' do
table = Table.new(:users)
dm = Arel::DeleteManager.new Table.engine
- check dm.from(table).should == dm
+ check dm.from(table).must_equal dm
end
end
@@ -29,25 +29,26 @@ module Arel
dm = Arel::DeleteManager.new Table.engine
dm.from table
dm.where table[:id].eq(10)
- dm.to_sql.should be_like %{ DELETE FROM "users" WHERE "users"."id" = 10}
+ dm.to_sql.must_be_like %{ DELETE FROM "users" WHERE "users"."id" = 10}
end
it 'chains' do
table = Table.new(:users)
dm = Arel::DeleteManager.new Table.engine
- check dm.where(table[:id].eq(10)).should == dm
+ check dm.where(table[:id].eq(10)).must_equal dm
end
end
- describe "TreeManager" do
- subject do
- table = Table.new :users
- Arel::DeleteManager.new(Table.engine).tap do |manager|
- manager.where(table[:id].eq(10))
- end
- end
-
- it_should_behave_like "TreeManager"
- end
+ # HACK
+ # describe "TreeManager" do
+ # before do
+ # table = Table.new :users
+ # Arel::DeleteManager.new(Table.engine).tap do |manager|
+ # manager.where(table[:id].eq(10))
+ # end
+ # end
+ #
+ # it_should_behave_like "TreeManager"
+ # end
end
end
diff --git a/spec/insert_manager_spec.rb b/test/test_insert_manager.rb
index 9d6045a913..97ba4d7f76 100644
--- a/spec/insert_manager_spec.rb
+++ b/test/test_insert_manager.rb
@@ -13,12 +13,10 @@ module Arel
table = Table.new(:users)
manager = Arel::InsertManager.new Table.engine
- table[:id].column.extend(Module.new {
- def type; :boolean; end
- })
+ table[:id].column.extend(Module.new { def type; :boolean; end })
manager.insert [[table[:id], false]]
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
INSERT INTO "users" ("id") VALUES ('f')
}
end
@@ -27,7 +25,7 @@ module Arel
table = Table.new(:users)
manager = Arel::InsertManager.new Table.engine
manager.insert [[table[:id], nil]]
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
INSERT INTO "users" ("id") VALUES (NULL)
}
end
@@ -41,7 +39,7 @@ module Arel
attribute.column.type = :date
manager.insert [[attribute, time]]
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
INSERT INTO "users" ("id") VALUES (#{Table.engine.connection.quote time})
}
end
@@ -51,7 +49,7 @@ module Arel
manager = Arel::InsertManager.new Table.engine
manager.into table
manager.insert [[table[:id], 1], [table[:name], 'aaron']]
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
INSERT INTO "users" ("id", "name") VALUES (1, 'aaron')
}
end
@@ -60,7 +58,7 @@ module Arel
table = Table.new(:users)
manager = Arel::InsertManager.new Table.engine
manager.insert [[table[:id], 1], [table[:name], 'aaron']]
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
INSERT INTO "users" ("id", "name") VALUES (1, 'aaron')
}
end
@@ -74,14 +72,14 @@ module Arel
describe 'into' do
it 'takes an engine' do
manager = Arel::InsertManager.new Table.engine
- manager.into(Table.new(:users)).should == manager
+ manager.into(Table.new(:users)).must_equal manager
end
it 'converts to sql' do
table = Table.new :users
manager = Arel::InsertManager.new Table.engine
manager.into table
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
INSERT INTO "users"
}
end
@@ -93,7 +91,7 @@ module Arel
manager = Arel::InsertManager.new Table.engine
manager.into table
manager.columns << table[:id]
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
INSERT INTO "users" ("id")
}
end
@@ -106,7 +104,7 @@ module Arel
manager.into table
manager.values = Nodes::Values.new [1]
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
INSERT INTO "users" VALUES (1)
}
end
@@ -121,21 +119,22 @@ module Arel
manager.values = Nodes::Values.new [1, 'aaron']
manager.columns << table[:id]
manager.columns << table[:name]
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
INSERT INTO "users" ("id", "name") VALUES (1, 'aaron')
}
end
end
- describe "TreeManager" do
- subject do
- table = Table.new(:users)
- Arel::InsertManager.new(Table.engine).tap do |manager|
- manager.insert [[table[:id], nil]]
- end
- end
-
- it_should_behave_like "TreeManager"
- end
+ # HACK
+ # describe "TreeManager" do
+ # subject do
+ # table = Table.new(:users)
+ # Arel::InsertManager.new(Table.engine).tap do |manager|
+ # manager.insert [[table[:id], nil]]
+ # end
+ # end
+ #
+ # it_should_behave_like "TreeManager"
+ # end
end
end
diff --git a/spec/select_manager_spec.rb b/test/test_select_manager.rb
index fa289e0d08..75d06438c2 100644
--- a/spec/select_manager_spec.rb
+++ b/test/test_select_manager.rb
@@ -43,7 +43,7 @@ module Arel
manager = Arel::SelectManager.new Table.engine
manager.project :id
manager.from table
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT id FROM "users"
}
end
@@ -56,7 +56,7 @@ module Arel
manager.project SqlLiteral.new '*'
manager.from table
manager.order :foo
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT * FROM "users" ORDER BY foo
}
end
@@ -68,7 +68,7 @@ module Arel
manager = Arel::SelectManager.new Table.engine
manager.from table
manager.group :foo
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT FROM "users" GROUP BY foo
}
end
@@ -82,7 +82,7 @@ module Arel
manager.from table
manager.from 'users'
manager.project table['id']
- manager.to_sql.should be_like 'SELECT "users"."id" FROM users'
+ manager.to_sql.must_be_like 'SELECT "users"."id" FROM users'
end
end
@@ -91,7 +91,7 @@ module Arel
table = Table.new :users
mgr = table.from table
mgr.having 'foo'
- mgr.to_sql.should be_like %{ SELECT FROM "users" HAVING foo }
+ mgr.to_sql.must_be_like %{ SELECT FROM "users" HAVING foo }
end
end
end
@@ -102,8 +102,7 @@ module Arel
mgr = table.from table
m2 = mgr.clone
m2.project "foo"
-
- check mgr.to_sql.should_not == m2.to_sql
+ mgr.to_sql.wont_equal m2.to_sql
end
end
@@ -112,7 +111,7 @@ module Arel
table = Table.new :users, :engine => Table.engine, :as => 'foo'
mgr = table.from table
mgr.skip 10
- mgr.to_sql.should be_like %{ SELECT FROM "users" "foo" OFFSET 10 }
+ mgr.to_sql.must_be_like %{ SELECT FROM "users" "foo" OFFSET 10 }
end
end
@@ -121,13 +120,13 @@ module Arel
table = Table.new :users
mgr = table.from table
mgr.skip 10
- mgr.to_sql.should be_like %{ SELECT FROM "users" OFFSET 10 }
+ mgr.to_sql.must_be_like %{ SELECT FROM "users" OFFSET 10 }
end
it 'should chain' do
table = Table.new :users
mgr = table.from table
- mgr.skip(10).to_sql.should be_like %{ SELECT FROM "users" OFFSET 10 }
+ mgr.skip(10).to_sql.must_be_like %{ SELECT FROM "users" OFFSET 10 }
end
end
@@ -136,7 +135,7 @@ module Arel
table = Table.new :users
manager = Arel::SelectManager.new Table.engine
manager.take 10
- check manager.taken.should == 10
+ check manager.taken.must_equal 10
end
end
@@ -148,7 +147,7 @@ module Arel
manager.from table
manager.insert 'VALUES(NULL)'
- engine.executed.last.should be_like %{
+ engine.executed.last.must_be_like %{
INSERT INTO "users" VALUES(NULL)
}
end
@@ -159,7 +158,7 @@ module Arel
it 'adds a lock node' do
table = Table.new :users
mgr = table.from table
- mgr.lock.to_sql.should be_like %{ SELECT FROM "users" }
+ mgr.lock.to_sql.must_be_like %{ SELECT FROM "users" }
end
end
@@ -169,7 +168,7 @@ module Arel
manager = Arel::SelectManager.new Table.engine
order = table[:id]
manager.order table[:id]
- check manager.orders.should == [order]
+ check manager.orders.must_equal [order]
end
end
@@ -180,7 +179,7 @@ module Arel
manager.project SqlLiteral.new '*'
manager.from table
manager.order table[:id]
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT * FROM "users" ORDER BY "users"."id"
}
end
@@ -192,7 +191,7 @@ module Arel
manager.project SqlLiteral.new '*'
manager.from table
manager.order table[:id], table[:name]
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT * FROM "users" ORDER BY "users"."id", "users"."name"
}
end
@@ -200,7 +199,7 @@ module Arel
it 'chains' do
table = Table.new :users
manager = Arel::SelectManager.new Table.engine
- check manager.order(table[:id]).should == manager
+ check manager.order(table[:id]).must_equal manager
end
end
@@ -213,7 +212,7 @@ module Arel
manager.from left
manager.join(right).on(predicate, predicate)
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT FROM "users"
INNER JOIN "users" "users_2"
ON "users"."id" = "users_2"."id" AND
@@ -233,7 +232,7 @@ module Arel
predicate,
left[:name].eq(right[:name])
)
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT FROM "users"
INNER JOIN "users" "users_2"
ON "users"."id" = "users_2"."id" AND
@@ -252,7 +251,7 @@ module Arel
manager.from left
manager.join(right).on(predicate)
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT FROM "users"
INNER JOIN "users" "users_2"
ON "users"."id" = "users_2"."id"
@@ -267,7 +266,7 @@ module Arel
manager.from left
manager.join(right, Nodes::OuterJoin).on(predicate)
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT FROM "users"
LEFT OUTER JOIN "users" "users_2"
ON "users"."id" = "users_2"."id"
@@ -276,7 +275,7 @@ module Arel
it 'noops on nil' do
manager = Arel::SelectManager.new Table.engine
- check manager.join(nil).should == manager
+ check manager.join(nil).must_equal manager
end
end
@@ -286,10 +285,10 @@ module Arel
aliaz = table.alias
manager = Arel::SelectManager.new Table.engine
manager.from Nodes::InnerJoin.new(table, aliaz, table[:id].eq(aliaz[:id]))
- manager.join_sql.should be_like %{
+ manager.join_sql.must_be_like %{
INNER JOIN "users" "users_2" "users"."id" = "users_2"."id"
}
- check manager.joins(manager).should == manager.join_sql
+ check manager.joins(manager).must_equal manager.join_sql
end
it 'returns outer join sql' do
@@ -297,10 +296,10 @@ module Arel
aliaz = table.alias
manager = Arel::SelectManager.new Table.engine
manager.from Nodes::OuterJoin.new(table, aliaz, table[:id].eq(aliaz[:id]))
- manager.join_sql.should be_like %{
+ manager.join_sql.must_be_like %{
LEFT OUTER JOIN "users" "users_2" "users"."id" = "users_2"."id"
}
- check manager.joins(manager).should == manager.join_sql
+ check manager.joins(manager).must_equal manager.join_sql
end
it 'returns string join sql' do
@@ -308,13 +307,13 @@ module Arel
aliaz = table.alias
manager = Arel::SelectManager.new Table.engine
manager.from Nodes::StringJoin.new(table, 'hello')
- manager.join_sql.should be_like %{ 'hello' }
- check manager.joins(manager).should == manager.join_sql
+ manager.join_sql.must_be_like %{ 'hello' }
+ check manager.joins(manager).must_equal manager.join_sql
end
it 'returns nil join sql' do
manager = Arel::SelectManager.new Table.engine
- manager.join_sql.should be_nil
+ manager.join_sql.must_be_nil
end
end
@@ -325,7 +324,7 @@ module Arel
manager = Arel::SelectManager.new Table.engine
manager.from table
manager.order table[:id]
- manager.order_clauses.first.should be_like %{ "users"."id" }
+ manager.order_clauses.first.must_be_like %{ "users"."id" }
end
end
@@ -335,7 +334,7 @@ module Arel
manager = Arel::SelectManager.new Table.engine
manager.from table
manager.group table[:id]
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT FROM "users" GROUP BY "users"."id"
}
end
@@ -343,7 +342,7 @@ module Arel
it 'chains' do
table = Table.new :users
manager = Arel::SelectManager.new Table.engine
- check manager.group(table[:id]).should == manager
+ check manager.group(table[:id]).must_equal manager
end
it 'takes multiple args' do
@@ -351,7 +350,7 @@ module Arel
manager = Arel::SelectManager.new Table.engine
manager.from table
manager.group table[:id], table[:name]
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT FROM "users" GROUP BY "users"."id", "users"."name"
}
end
@@ -362,7 +361,7 @@ module Arel
manager = Arel::SelectManager.new Table.engine
manager.from table
manager.group 'foo'
- manager.to_sql.should be_like %{ SELECT FROM "users" GROUP BY foo }
+ manager.to_sql.must_be_like %{ SELECT FROM "users" GROUP BY foo }
end
end
@@ -374,7 +373,7 @@ module Arel
manager.from table
manager.delete
- engine.executed.last.should be_like %{ DELETE FROM "users" }
+ engine.executed.last.must_be_like %{ DELETE FROM "users" }
end
it "copies where" do
@@ -385,7 +384,7 @@ module Arel
manager.where table[:id].eq 10
manager.delete
- engine.executed.last.should be_like %{
+ engine.executed.last.must_be_like %{
DELETE FROM "users" WHERE "users"."id" = 10
}
end
@@ -397,14 +396,14 @@ module Arel
manager = Arel::SelectManager.new Table.engine
manager.from table
manager.where table[:id].eq 10
- manager.where_sql.should be_like %{ WHERE "users"."id" = 10 }
+ manager.where_sql.must_be_like %{ WHERE "users"."id" = 10 }
end
it 'returns nil when there are no wheres' do
table = Table.new :users
manager = Arel::SelectManager.new Table.engine
manager.from table
- manager.where_sql.should be_nil
+ manager.where_sql.must_be_nil
end
end
@@ -417,7 +416,7 @@ module Arel
manager.take 1
manager.update(SqlLiteral.new('foo = bar'))
- engine.executed.last.should be_like %{
+ engine.executed.last.must_be_like %{
UPDATE "users" SET foo = bar
WHERE "users"."id" IN (SELECT "users"."id" FROM "users" LIMIT 1)
}
@@ -431,7 +430,7 @@ module Arel
manager.order :foo
manager.update(SqlLiteral.new('foo = bar'))
- engine.executed.last.should be_like %{
+ engine.executed.last.must_be_like %{
UPDATE "users" SET foo = bar
WHERE "users"."id" IN (SELECT "users"."id" FROM "users" ORDER BY foo)
}
@@ -444,7 +443,7 @@ module Arel
manager.from table
manager.update(SqlLiteral.new('foo = bar'))
- engine.executed.last.should be_like %{ UPDATE "users" SET foo = bar }
+ engine.executed.last.must_be_like %{ UPDATE "users" SET foo = bar }
end
it 'copies where clauses' do
@@ -455,7 +454,7 @@ module Arel
manager.from table
manager.update(table[:id] => 1)
- engine.executed.last.should be_like %{
+ engine.executed.last.must_be_like %{
UPDATE "users" SET "id" = 1 WHERE "users"."id" = 10
}
end
@@ -467,7 +466,7 @@ module Arel
manager.from table
manager.update(table[:id] => 1)
- engine.executed.last.should be_like %{
+ engine.executed.last.must_be_like %{
UPDATE "users" SET "id" = 1
}
end
@@ -479,21 +478,21 @@ module Arel
manager = Arel::SelectManager.new Table.engine
manager.project Nodes::SqlLiteral.new('foo'),
Nodes::SqlLiteral.new('bar')
- manager.to_sql.should be_like %{ SELECT foo, bar }
+ manager.to_sql.must_be_like %{ SELECT foo, bar }
end
it 'takes strings' do
table = Table.new :users
manager = Arel::SelectManager.new Table.engine
manager.project Nodes::SqlLiteral.new('*')
- manager.to_sql.should be_like %{ SELECT * }
+ manager.to_sql.must_be_like %{ SELECT * }
end
it "takes sql literals" do
table = Table.new :users
manager = Arel::SelectManager.new Table.engine
manager.project Nodes::SqlLiteral.new '*'
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT *
}
end
@@ -507,7 +506,7 @@ module Arel
manager.where(table['id'].eq(1))
manager.take 1
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT "users"."id"
FROM "users"
WHERE "users"."id" = 1
@@ -518,7 +517,7 @@ module Arel
it "chains" do
table = Table.new :users
manager = Arel::SelectManager.new Table.engine
- manager.take(1).should == manager
+ manager.take(1).must_equal manager
end
end
@@ -528,7 +527,7 @@ module Arel
manager = Arel::SelectManager.new Table.engine
manager.from(table).project(table['id'])
manager.where(table['id'].eq(1))
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT "users"."id"
FROM "users"
WHERE "users"."id" = 1
@@ -539,7 +538,7 @@ module Arel
table = Table.new :users
manager = Arel::SelectManager.new Table.engine
manager.from(table)
- manager.project(table['id']).where(table['id'].eq 1).should == manager
+ manager.project(table['id']).where(table['id'].eq 1).must_equal manager
end
end
@@ -551,9 +550,9 @@ module Arel
mgr = left.join(right)
mgr.project Nodes::SqlLiteral.new('*')
- check mgr.on(predicate).should == mgr
+ check mgr.on(predicate).must_equal mgr
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT * FROM "users"
INNER JOIN "users" "users_2"
ON "users"."id" = "users_2"."id"
@@ -568,26 +567,27 @@ module Arel
manager.from table
manager.project table['id']
- manager.to_sql.should be_like 'SELECT "users"."id" FROM "users"'
+ manager.to_sql.must_be_like 'SELECT "users"."id" FROM "users"'
end
it "chains" do
table = Table.new :users
manager = Arel::SelectManager.new Table.engine
- check manager.from(table).project(table['id']).should == manager
- manager.to_sql.should be_like 'SELECT "users"."id" FROM "users"'
+ check manager.from(table).project(table['id']).must_equal manager
+ manager.to_sql.must_be_like 'SELECT "users"."id" FROM "users"'
end
end
- describe "TreeManager" do
- subject do
- table = Table.new :users
- Arel::SelectManager.new(Table.engine).tap do |manager|
- manager.from(table).project(table['id'])
- end
- end
-
- it_should_behave_like "TreeManager"
- end
+ # HACK
+ # describe "TreeManager" do
+ # subject do
+ # table = Table.new :users
+ # Arel::SelectManager.new(Table.engine).tap do |manager|
+ # manager.from(table).project(table['id'])
+ # end
+ # end
+ #
+ # it_should_behave_like "TreeManager"
+ # end
end
end
diff --git a/spec/table_spec.rb b/test/test_table.rb
index 77a600877e..ecb5c1eb79 100644
--- a/spec/table_spec.rb
+++ b/test/test_table.rb
@@ -1,27 +1,6 @@
require 'spec_helper'
-describe '#Table' do
- it 'creates a base relation variable' do
- name = :foo
- Table(name) == Arel::Table.new(name)
- end
-
- it 'should have a default engine' do
- Table(:foo).engine.should == Arel::Table.engine
- end
-
- it 'can take an engine' do
- engine = Arel::Table.engine
- Table(:foo, engine).engine.should be engine
- end
- it 'can take an options hash' do
- engine = Arel::Table.engine
- options = { :engine => engine }
- Table(:foo, options).engine.should be engine
- end
-end
-
-module Arel
+module Arel
describe Table do
before do
@relation = Table.new(:users)
@@ -29,21 +8,21 @@ module Arel
describe 'primary_key' do
it 'should return an attribute' do
- check @relation.primary_key.name.should == :id
+ check @relation.primary_key.name.must_equal :id
end
end
describe 'select_manager' do
it 'should return an empty select manager' do
sm = @relation.select_manager
- sm.to_sql.should be_like 'SELECT'
+ sm.to_sql.must_be_like 'SELECT'
end
end
describe 'having' do
it 'adds a having clause' do
mgr = @relation.having @relation[:id].eq(10)
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT FROM "users" HAVING "users"."id" = 10
}
end
@@ -52,7 +31,7 @@ module Arel
describe 'backwards compat' do
describe 'joins' do
it 'returns nil' do
- check @relation.joins(nil).should == nil
+ check @relation.joins(nil).must_equal nil
end
end
@@ -60,7 +39,7 @@ module Arel
it 'noops on nil' do
mgr = @relation.join nil
- mgr.to_sql.should be_like %{ SELECT FROM "users" }
+ mgr.to_sql.must_be_like %{ SELECT FROM "users" }
end
it 'takes a second argument for join type' do
@@ -68,7 +47,7 @@ module Arel
predicate = @relation[:id].eq(right[:id])
mgr = @relation.join(right, Nodes::OuterJoin).on(predicate)
- mgr.to_sql.should be_like %{
+ mgr.to_sql.must_be_like %{
SELECT FROM "users"
LEFT OUTER JOIN "users" "users_2"
ON "users"."id" = "users_2"."id"
@@ -80,7 +59,7 @@ module Arel
describe 'group' do
it 'should create a group' do
manager = @relation.group @relation[:id]
- manager.to_sql.should be_like %{
+ manager.to_sql.must_be_like %{
SELECT FROM "users" GROUP BY "users"."id"
}
end
@@ -88,13 +67,12 @@ module Arel
describe 'alias' do
it 'should create a node that proxies to a table' do
- check @relation.aliases.should == []
+ check @relation.aliases.must_equal []
node = @relation.alias
- check @relation.aliases.should == [node]
- check node.name.should == 'users_2'
- check node[:id].relation.should == node
- check node[:id].relation.should != node
+ check @relation.aliases.must_equal [node]
+ check node.name.must_equal 'users_2'
+ check node[:id].relation.must_equal node
end
end
@@ -102,30 +80,30 @@ module Arel
it 'takes :columns' do
columns = Table.engine.connection.columns("users")
@relation = Table.new(:users, :columns => columns)
- check @relation.columns.first.name.should == :id
- check @relation.engine.should == Table.engine
+ check @relation.columns.first.name.must_equal :id
+ check @relation.engine.must_equal Table.engine
end
it 'should accept an engine' do
rel = Table.new :users, 'foo'
- check rel.engine.should == 'foo'
+ check rel.engine.must_equal 'foo'
end
it 'should accept a hash' do
rel = Table.new :users, :engine => 'foo'
- check rel.engine.should == 'foo'
+ check rel.engine.must_equal 'foo'
end
it 'ignores as if it equals name' do
rel = Table.new :users, :as => 'users'
- rel.table_alias.should be_nil
+ rel.table_alias.must_be_nil
end
end
describe 'order' do
it "should take an order" do
manager = @relation.order "foo"
- manager.to_sql.should be_like %{ SELECT FROM "users" ORDER BY foo }
+ manager.to_sql.must_be_like %{ SELECT FROM "users" ORDER BY foo }
end
end
@@ -133,19 +111,19 @@ module Arel
it "should add a limit" do
manager = @relation.take 1
manager.project SqlLiteral.new '*'
- manager.to_sql.should be_like %{ SELECT * FROM "users" LIMIT 1 }
+ manager.to_sql.must_be_like %{ SELECT * FROM "users" LIMIT 1 }
end
end
describe 'project' do
it 'can project' do
manager = @relation.project SqlLiteral.new '*'
- manager.to_sql.should be_like %{ SELECT * FROM "users" }
+ manager.to_sql.must_be_like %{ SELECT * FROM "users" }
end
it 'takes multiple parameters' do
manager = @relation.project SqlLiteral.new('*'), SqlLiteral.new('*')
- manager.to_sql.should be_like %{ SELECT *, * FROM "users" }
+ manager.to_sql.must_be_like %{ SELECT *, * FROM "users" }
end
end
@@ -153,8 +131,8 @@ module Arel
it "returns a tree manager" do
manager = @relation.where @relation[:id].eq 1
manager.project @relation[:id]
- manager.should be_kind_of TreeManager
- manager.to_sql.should be_like %{
+ manager.must_be_kind_of TreeManager
+ manager.to_sql.must_be_like %{
SELECT "users"."id"
FROM "users"
WHERE "users"."id" = 1
@@ -165,31 +143,31 @@ module Arel
describe 'columns' do
it 'returns a list of columns' do
columns = @relation.columns
- check columns.length.should == 2
- columns.map { |x| x.name.to_s }.sort.should == %w{ name id }.sort
+ check columns.length.must_equal 2
+ columns.map { |x| x.name.to_s }.sort.must_equal %w{ name id }.sort
end
end
it "should have a name" do
- @relation.name.should == :users
+ @relation.name.must_equal :users
end
it "should have an engine" do
- @relation.engine.should == Table.engine
+ @relation.engine.must_equal Table.engine
end
describe '[]' do
- describe 'when given a', Symbol do
+ describe 'when given a Symbol' do
it "manufactures an attribute if the symbol names an attribute within the relation" do
column = @relation[:id]
- check column.name.should == :id
- column.should be_kind_of Attributes::Integer
+ check column.name.must_equal :id
+ column.must_be_kind_of Attributes::Integer
end
end
describe 'when table does not exist' do
it 'returns nil' do
- @relation[:foooo].should be_nil
+ @relation[:foooo].must_be_nil
end
end
end
diff --git a/spec/update_manager_spec.rb b/test/test_update_manager.rb
index 016b6f69b1..670f19d621 100644
--- a/spec/update_manager_spec.rb
+++ b/test/test_update_manager.rb
@@ -14,7 +14,7 @@ module Arel
um = Arel::UpdateManager.new Table.engine
um.table table
um.set [[table[:name], nil]]
- um.to_sql.should be_like %{ UPDATE "users" SET "name" = NULL }
+ um.to_sql.must_be_like %{ UPDATE "users" SET "name" = NULL }
end
it 'takes a string' do
@@ -22,7 +22,7 @@ module Arel
um = Arel::UpdateManager.new Table.engine
um.table table
um.set Nodes::SqlLiteral.new "foo = bar"
- um.to_sql.should be_like %{ UPDATE "users" SET foo = bar }
+ um.to_sql.must_be_like %{ UPDATE "users" SET foo = bar }
end
it 'takes a list of lists' do
@@ -30,7 +30,7 @@ module Arel
um = Arel::UpdateManager.new Table.engine
um.table table
um.set [[table[:id], 1], [table[:name], 'hello']]
- um.to_sql.should be_like %{
+ um.to_sql.must_be_like %{
UPDATE "users" SET "id" = 1, "name" = 'hello'
}
end
@@ -38,7 +38,7 @@ module Arel
it 'chains' do
table = Table.new(:users)
um = Arel::UpdateManager.new Table.engine
- um.set([[table[:id], 1], [table[:name], 'hello']]).should == um
+ um.set([[table[:id], 1], [table[:name], 'hello']]).must_equal um
end
end
@@ -46,12 +46,12 @@ module Arel
it 'generates an update statement' do
um = Arel::UpdateManager.new Table.engine
um.table Table.new(:users)
- um.to_sql.should be_like %{ UPDATE "users" }
+ um.to_sql.must_be_like %{ UPDATE "users" }
end
it 'chains' do
um = Arel::UpdateManager.new Table.engine
- um.table(Table.new(:users)).should == um
+ um.table(Table.new(:users)).must_equal um
end
end
@@ -61,7 +61,7 @@ module Arel
um = Arel::UpdateManager.new Table.engine
um.table table
um.where table[:id].eq(1)
- um.to_sql.should be_like %{
+ um.to_sql.must_be_like %{
UPDATE "users" WHERE "users"."id" = 1
}
end
@@ -70,20 +70,21 @@ module Arel
table = Table.new :users
um = Arel::UpdateManager.new Table.engine
um.table table
- um.where(table[:id].eq(1)).should == um
+ um.where(table[:id].eq(1)).must_equal um
end
end
- describe "TreeManager" do
- subject do
- table = Table.new :users
- Arel::UpdateManager.new(Table.engine).tap do |manager|
- manager.table table
- manager.where table[:id].eq(1)
- end
- end
-
- it_should_behave_like "TreeManager"
- end
+ # HACK
+ # describe "TreeManager" do
+ # subject do
+ # table = Table.new :users
+ # Arel::UpdateManager.new(Table.engine).tap do |manager|
+ # manager.table table
+ # manager.where table[:id].eq(1)
+ # end
+ # end
+ #
+ # it_should_behave_like "TreeManager"
+ # end
end
end
diff --git a/spec/visitors/join_sql_spec.rb b/test/visitors/test_join_sql.rb
index 9064dae852..3dc70d7dd6 100644
--- a/spec/visitors/join_sql_spec.rb
+++ b/test/visitors/test_join_sql.rb
@@ -12,7 +12,7 @@ module Arel
t = Table.new :users
join = Nodes::InnerJoin.new t, t, Nodes::On.new(t[:id])
j2 = Nodes::InnerJoin.new join, t, Nodes::On.new(t[:id])
- @visitor.accept(j2).should be_like %{
+ @visitor.accept(j2).must_be_like %{
INNER JOIN "users" ON "users"."id"
INNER JOIN "users" ON "users"."id"
}
@@ -24,7 +24,7 @@ module Arel
t = Table.new :users
join = Nodes::OuterJoin.new t, t, Nodes::On.new(t[:id])
j2 = Nodes::OuterJoin.new join, t, Nodes::On.new(t[:id])
- @visitor.accept(j2).should be_like %{
+ @visitor.accept(j2).must_be_like %{
LEFT OUTER JOIN "users" ON "users"."id"
LEFT OUTER JOIN "users" ON "users"."id"
}
diff --git a/spec/visitors/oracle_spec.rb b/test/visitors/test_oracle.rb
index 93ade3ef3c..8b5732f287 100644
--- a/spec/visitors/oracle_spec.rb
+++ b/test/visitors/test_oracle.rb
@@ -14,7 +14,7 @@ module Arel
stmt.cores.first.projections << Nodes::SqlLiteral.new(select)
stmt.orders << Nodes::SqlLiteral.new('foo')
sql = @visitor.accept(stmt)
- sql.should be_like %{
+ sql.must_be_like %{
SELECT #{select} ORDER BY alias_0__
}
end
@@ -28,7 +28,7 @@ module Arel
sql = @visitor.accept(stmt)
sql2 = @visitor.accept(stmt)
- check sql.should == sql2
+ check sql.must_equal sql2
end
it 'splits orders with commas' do
@@ -38,7 +38,7 @@ module Arel
stmt.cores.first.projections << Nodes::SqlLiteral.new(select)
stmt.orders << Nodes::SqlLiteral.new('foo, bar')
sql = @visitor.accept(stmt)
- sql.should be_like %{
+ sql.must_be_like %{
SELECT #{select} ORDER BY alias_0__, alias_1__
}
end
@@ -49,7 +49,7 @@ module Arel
stmt = Nodes::SelectStatement.new
stmt.limit = 10
sql = @visitor.accept stmt
- sql.should be_like %{ SELECT WHERE ROWNUM <= 10 }
+ sql.must_be_like %{ SELECT WHERE ROWNUM <= 10 }
end
it 'is idempotent' do
@@ -58,7 +58,7 @@ module Arel
stmt.limit = 10
sql = @visitor.accept stmt
sql2 = @visitor.accept stmt
- check sql.should == sql2
+ check sql.must_equal sql2
end
it 'creates a subquery when there is order_by' do
@@ -66,7 +66,7 @@ module Arel
stmt.orders << Nodes::SqlLiteral.new('foo')
stmt.limit = 10
sql = @visitor.accept stmt
- sql.should be_like %{
+ sql.must_be_like %{
SELECT * FROM (SELECT ORDER BY foo) WHERE ROWNUM <= 10
}
end
@@ -76,7 +76,7 @@ module Arel
stmt.cores.first.projections << Nodes::SqlLiteral.new('DISTINCT id')
stmt.limit = 10
sql = @visitor.accept stmt
- sql.should be_like %{
+ sql.must_be_like %{
SELECT * FROM (SELECT DISTINCT id) WHERE ROWNUM <= 10
}
end
@@ -86,7 +86,7 @@ module Arel
stmt.limit = 10
stmt.offset = Nodes::Offset.new(10)
sql = @visitor.accept stmt
- sql.should be_like %{
+ sql.must_be_like %{
SELECT * FROM (
SELECT raw_sql_.*, rownum raw_rnum_
FROM (SELECT ) raw_sql_
@@ -102,7 +102,7 @@ module Arel
stmt.offset = Nodes::Offset.new(10)
sql = @visitor.accept stmt
sql2 = @visitor.accept stmt
- check sql.should == sql2
+ check sql.must_equal sql2
end
end
end
diff --git a/spec/visitors/postgres_spec.rb b/test/visitors/test_postgres.rb
index b5174a4c04..70b935c185 100644
--- a/spec/visitors/postgres_spec.rb
+++ b/test/visitors/test_postgres.rb
@@ -8,7 +8,7 @@ module Arel
end
it 'should produce a lock value' do
- @visitor.accept(Nodes::Lock.new).should be_like %{
+ @visitor.accept(Nodes::Lock.new).must_be_like %{
FOR UPDATE
}
end
diff --git a/spec/visitors/to_sql_spec.rb b/test/visitors/test_to_sql.rb
index a2862e4c4f..f7455d7fa3 100644
--- a/spec/visitors/to_sql_spec.rb
+++ b/test/visitors/test_to_sql.rb
@@ -11,13 +11,13 @@ module Arel
describe 'equality' do
it 'should handle false' do
sql = @visitor.accept Nodes::Equality.new(false, false)
- sql.should be_like %{ 'f' = 'f' }
+ sql.must_be_like %{ 'f' = 'f' }
end
it 'should use the column to quote' do
table = Table.new(:users)
sql = @visitor.accept Nodes::Equality.new(table[:id], '1-fooo')
- sql.should be_like %{ "users"."id" = 1 }
+ sql.must_be_like %{ "users"."id" = 1 }
end
end
@@ -43,14 +43,14 @@ module Arel
it "should visit_Arel_Nodes_And" do
node = Nodes::And.new @attr.eq(10), @attr.eq(11)
- @visitor.accept(node).should be_like %{
+ @visitor.accept(node).must_be_like %{
"users"."id" = 10 AND "users"."id" = 11
}
end
it "should visit_Arel_Nodes_Or" do
node = Nodes::Or.new @attr.eq(10), @attr.eq(11)
- @visitor.accept(node).should be_like %{
+ @visitor.accept(node).must_be_like %{
"users"."id" = 10 OR "users"."id" = 11
}
end
@@ -63,13 +63,13 @@ module Arel
it "should visit_TrueClass" do
test = @attr.eq(true)
test.left.column.type = :boolean
- @visitor.accept(test).should be_like %{ "users"."id" = 't' }
+ @visitor.accept(test).must_be_like %{ "users"."id" = 't' }
end
describe "Nodes::Ordering" do
it "should know how to visit" do
node = @attr.desc
- @visitor.accept(node).should be_like %{
+ @visitor.accept(node).must_be_like %{
"users"."id" DESC
}
end
@@ -78,28 +78,28 @@ module Arel
describe "Nodes::In" do
it "should know how to visit" do
node = @attr.in [1, 2, 3]
- @visitor.accept(node).should be_like %{
+ @visitor.accept(node).must_be_like %{
"users"."id" IN (1, 2, 3)
}
end
it "should turn empty right to NULL" do
node = @attr.in []
- @visitor.accept(node).should be_like %{
+ @visitor.accept(node).must_be_like %{
"users"."id" IN (NULL)
}
end
it 'can handle two dot ranges' do
node = @attr.in 1..3
- @visitor.accept(node).should be_like %{
+ @visitor.accept(node).must_be_like %{
"users"."id" BETWEEN 1 AND 3
}
end
it 'can handle three dot ranges' do
node = @attr.in 1...3
- @visitor.accept(node).should be_like %{
+ @visitor.accept(node).must_be_like %{
"users"."id" >= 1 AND "users"."id" < 3
}
end
@@ -116,7 +116,7 @@ module Arel
in_node = Nodes::In.new @attr, %w{ a b c }
visitor = visitor.new(Table.engine)
visitor.expected = @attr.column
- lambda { visitor.accept(in_node) }.should_not raise_error
+ visitor.accept(in_node).must_equal %("users"."id" IN ('a', 'b', 'c'))
end
end
@@ -124,7 +124,7 @@ module Arel
it "should escape strings" do
test = @attr.eq 'Aaron Patterson'
test.left.column.type = :string
- @visitor.accept(test).should be_like %{
+ @visitor.accept(test).must_be_like %{
"users"."id" = 'Aaron Patterson'
}
end