Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Remove ActiveSupport::TestCase#pending, use `skip` instead | Carlos Antonio da Silva | 2012-01-21 | 3 | -22/+2 | |
| | | | ||||||
* | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-01-21 | 2 | -24/+24 | |
|\ \ \ | |/ / |/| | | ||||||
| * | | Why do we even need a constant here? A variable is fine. | Semyon Perepelitsa | 2012-01-21 | 1 | -4/+4 | |
| | | | ||||||
| * | | TaggedLogging wraps an object, not a class. | Semyon Perepelitsa | 2012-01-21 | 1 | -1/+1 | |
| | | | ||||||
| * | | Do not use the same Logger constant for class (from stdlib) and for instance ↵ | Semyon Perepelitsa | 2012-01-21 | 1 | -4/+4 | |
| | | | | | | | | | | | | (from the example) | |||||
| * | | Fix indentation in code example of Delegation | Tomasz Zurkowski | 2012-01-20 | 1 | -19/+19 | |
| | | | ||||||
* | | | Replace regexp matching with a simple string manipulation. | Semyon Perepelitsa | 2012-01-21 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using regexp looks like overkill here and is also 2x slower. user system total real string 0.020000 0.000000 0.020000 ( 0.016256) regexp 0.030000 0.000000 0.030000 ( 0.035360) require "benchmark" names = ("a".."z").map { |c| c + "a" * rand(5..10) + "=" * rand(0..1) }.map(&:to_sym) puts names n = 1000 Benchmark.bmbm do |x| x.report "string" do n.times do names.each do |name| string_name = name.to_s string_name.chomp!('=') string_name end end end x.report "regexp" do n.times do names.each do |name| name.to_s =~ /(.*)=$/ $1 end end end end | |||||
* | | | pushed broadcasting down to a module | Aaron Patterson | 2012-01-20 | 2 | -47/+40 | |
| | | | ||||||
* | | | defined the actual logger signature | Aaron Patterson | 2012-01-20 | 1 | -2/+2 | |
| | | | ||||||
* | | | fixed test for more informative message | Aaron Patterson | 2012-01-20 | 1 | -2/+2 | |
| | | | ||||||
* | | | made the broadcast logger quack more like a logger | Aaron Patterson | 2012-01-20 | 2 | -15/+59 | |
| | | | ||||||
* | | | added the backtrace so errors can be found | Aaron Patterson | 2012-01-20 | 1 | -1/+1 | |
| | | | ||||||
* | | | add a broadcasting logger so we can split logs | Aaron Patterson | 2012-01-20 | 2 | -0/+80 | |
| | | | ||||||
* | | | move tagged logging to a module, stop proxying every method call | Aaron Patterson | 2012-01-19 | 1 | -36/+32 | |
| | | | ||||||
* | | | Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code. | kennyj | 2012-01-19 | 2 | -7/+3 | |
|/ / | ||||||
* / | Test::Unit::Collector::ObjectSpace is not present anymore | Rafael Mendonça França | 2012-01-18 | 1 | -10/+0 | |
|/ | ||||||
* | simplify some TaggedLogging methods | Sergey Nartimov | 2012-01-18 | 1 | -2/+2 | |
| | ||||||
* | remove unused requires | Sergey Nartimov | 2012-01-18 | 2 | -5/+0 | |
| | ||||||
* | AS::Callbacks: Refactor :per_key option | Bogdan Gusiev | 2012-01-17 | 1 | -35/+7 | |
| | ||||||
* | use thread variable in TaggedLogging | Sergey Nartimov | 2012-01-17 | 1 | -3/+2 | |
| | | | | previous solution can cause race conditions under GIL-free ruby implementations | |||||
* | Merge pull request #4432 from lest/patch-1 | Santiago Pastorino | 2012-01-12 | 1 | -28/+0 | |
|\ | | | | | to_date, to_time, and to_datetime Time methods present in ruby 1.9 | |||||
| * | to_date, to_time, and to_datetime Time methods present in ruby 1.9 | Sergey Nartimov | 2012-01-13 | 1 | -28/+0 | |
| | | ||||||
* | | warns against using temporary subscribers | Xavier Noria | 2012-01-12 | 1 | -0/+4 | |
|/ | ||||||
* | deprecates Module#local_constant_names | Xavier Noria | 2012-01-12 | 4 | -4/+23 | |
| | ||||||
* | fixes in api docs | Vijay Dev | 2012-01-13 | 2 | -3/+3 | |
| | ||||||
* | AS::Callbacks: remove unused runner | Bogdan Gusiev | 2012-01-12 | 1 | -16/+3 | |
| | ||||||
* | Fix GH #3743. We must specify rdoc option's encoding. | kennyj | 2012-01-12 | 1 | -0/+2 | |
| | ||||||
* | Symbol#[] method presents in Ruby 1.9 | Sergey Nartimov | 2012-01-07 | 2 | -3/+3 | |
| | ||||||
* | spec class names can possibly be nil in mt/s < 2.6.1, so work around that | Aaron Patterson | 2012-01-06 | 1 | -0/+6 | |
| | ||||||
* | Merge pull request #4360 from rafaelfranca/patch-1 | Aaron Patterson | 2012-01-06 | 1 | -7/+7 | |
|\ | | | | | Remove more references to Test::Unit | |||||
| * | Whitespaces :scissors: | Rafael Mendonça França | 2012-01-06 | 1 | -7/+7 | |
| | | ||||||
* | | register spec subclasses for people who spec | Aaron Patterson | 2012-01-06 | 1 | -1/+7 | |
| | | ||||||
* | | require minitest rather than test/unit | Aaron Patterson | 2012-01-06 | 3 | -4/+4 | |
| | | ||||||
* | | backport assert_not_same | Aaron Patterson | 2012-01-06 | 1 | -0/+1 | |
| | | ||||||
* | | require test/unit and sort test order | Aaron Patterson | 2012-01-06 | 1 | -0/+6 | |
| | | ||||||
* | | started converting AS::TestCase to minitest | Aaron Patterson | 2012-01-06 | 1 | -2/+12 | |
| | | ||||||
* | | make sure the test case name is nil | Aaron Patterson | 2012-01-06 | 1 | -0/+8 | |
|/ | ||||||
* | removing unnecessary requires | Aaron Patterson | 2012-01-06 | 5 | -8/+3 | |
| | ||||||
* | just mix the run method in for minitest | Aaron Patterson | 2012-01-06 | 1 | -14/+11 | |
| | ||||||
* | rescue the assertion exception | Aaron Patterson | 2012-01-06 | 1 | -13/+8 | |
| | ||||||
* | add the class name to the assertion message | Aaron Patterson | 2012-01-06 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #4358 from castlerock/remove_plus_minus_support_for_ruby18 | Santiago Pastorino | 2012-01-06 | 1 | -23/+0 | |
|\ | | | | | revert "fixing some tests on ruby 1.9.3" | |||||
| * | revert "fixing some tests on ruby 1.9.3 SHA 33f222b" | Vishnu Atrai | 2012-01-07 | 1 | -23/+0 | |
| | | ||||||
* | | Remove more references to Test::Unit | Rafael Mendonça França | 2012-01-06 | 2 | -20/+1 | |
|/ | ||||||
* | No need to check if MiniTest::Assertions is defined | Rafael Mendonça França | 2012-01-06 | 1 | -32/+30 | |
| | ||||||
* | Remove unneeded tests | Rafael Mendonça França | 2012-01-06 | 2 | -180/+0 | |
| | ||||||
* | Improve doc consistency | Norman Clarke | 2012-01-06 | 1 | -3/+3 | |
| | ||||||
* | Implement Chars#swapcase. | Norman Clarke | 2012-01-06 | 3 | -2/+29 | |
| | ||||||
* | Merge pull request #4340 from rafaelfranca/patch-1 | José Valim | 2012-01-05 | 6 | -18/+13 | |
|\ | | | | | Remove more Array.wrap calls | |||||
| * | Remove Array.wrap calls in ActiveSupport | Rafael Mendonça França | 2012-01-06 | 6 | -18/+13 | |
| | |