Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Dec 31, 2014
  1. @brixen

    Archived project.

    brixen authored
Commits on Dec 24, 2014
  1. @elia
  2. @elia

    Opal’s Array#hash implementation is not compliant

    elia authored
    Yes, it’s probably too much an implementation detail.
Commits on Oct 28, 2014
  1. @brixen @YorickPeterse

    A few more Array, Enumerable specs.

    brixen authored YorickPeterse committed
  2. @brixen @YorickPeterse

    Added specs for Array#bsearch.

    brixen authored YorickPeterse committed
  3. @pd @YorickPeterse

    Specs and implementation of Enumerable#to_h, Array#to_h

    pd authored YorickPeterse committed
Commits on Jun 5, 2014
  1. @alexdowad
  2. @alexdowad
Commits on Apr 4, 2014
  1. @razielgn @brixen

    Added spec on Array#drop after a shift.

    razielgn authored brixen committed
Commits on Feb 11, 2014
  1. @chesterbr
Commits on Jan 8, 2014
  1. @sferik @brixen
Commits on Dec 26, 2013
  1. @brixen
Commits on Nov 16, 2013
  1. @stouset @brixen

    Test Array#slice! on end-exclusive ranges

    stouset authored brixen committed
Commits on Oct 21, 2013
  1. @kachick @brixen

    Update some Array#sample specs for MRI backported

    kachick authored brixen committed
    Follow r43079 from ticket-8910
  2. @kachick @brixen

    Add an Array#cycle spec for empty arrays

    kachick authored brixen committed
  3. @kachick @brixen

    Fix spec typos for "a/an"

    kachick authored brixen committed
    This commit used following script.
    
        typos = {
          /( it "raises a)n ([^aeiuoAEIUO])/ => Proc.new { "#{$1} #{$2}" },
          /( it "raises a) ([aeioAEIO])/ => Proc.new { "#{$1}n #{$2}" }, # [uU] matches URI/URL
          /( it ".*? a) (array|object|instance|int)/i => Proc.new { "#{$1}n #{$2}" }
        }
    
        typos.each_pair do |pattern, correct|
          begin
            $_.gsub! pattern, &correct
          rescue ArgumentError => e
            raise e unless /invalid byte sequence/ =~ e.message
          end
        end
  4. @kachick @brixen

    Fix spec typos for "third-person singular"

    kachick authored brixen committed
    This commit used following script.
    
        typos = {
          %q! it "return ! => Proc.new { %q! it "returns ! },
          %q! it "raise ! => Proc.new { %q! it "raises ! },
          %q! it "accept ! => Proc.new { %q! it "accepts ! },
          %q! it "allow ! => Proc.new { %q! it "allows ! },
          %q! it "create ! => Proc.new { %q! it "creates ! },
          %q! it "match ! => Proc.new { %q! it "matches ! },
          %q! it "set ! => Proc.new { %q! it "sets ! },
          %q! it "get ! => Proc.new { %q! it "gets ! },
          %q! it "add ! => Proc.new { %q! it "adds ! },
          %q! it "have ! => Proc.new { %q! it "has ! },
          %q! it "define ! => Proc.new { %q! it "defines ! },
          %q! it "call ! => Proc.new { %q! it "calls ! },
          %q! it "ignore ! => Proc.new { %q! it "ignores ! },
          %q! it "print ! => Proc.new { %q! it "prints ! },
          %q! it "use ! => Proc.new { %q! it "uses ! },
          %q! it "do ! => Proc.new { %q! it "does ! },
        }
    
        typos.each_pair do |pattern, correct|
          if $_.include? pattern # avoid "invalid byte sequence"(ArgumentError) on String#gsub!
            $_.gsub! pattern, &correct
          end
        end
  5. @kachick @brixen

    Fix spec typos for "ending whitespace"

    kachick authored brixen committed
    This commit used following script.
    
        if $_.include? %q! " do! # avoid "invalid byte sequence"(ArgumentError) on String#gsub!
          $_.gsub!(%q! " do!) { %q!" do! }
        end
  6. @kachick @brixen
  7. @razielgn @brixen
  8. @kachick @brixen

    Remove a spec for Array#{*,to_s}

    kachick authored brixen committed
    This sharing spec is failing on Array#{*,to_s}.
    
    * Array#* does not coerce nil as Array#join.
    * Array#to_s on 1.8 does not accept arguments as Array#{join,*}.
    
    But this spec is written as Array#{join,*,to_s} and "string separator".
    
    rubinius/rubinius@7fbc8de#commitcomment-3756639
  9. @kachick @brixen

    Fix a sharing spec for Array#{slice,[]}

    kachick authored brixen committed
  10. @kachick @brixen

    Fix a sharing spec for Array#{join,*,to_s}

    kachick authored brixen committed
  11. @kachick @brixen
  12. @kachick @brixen

    Add specs for Array#flatten

    kachick authored brixen committed
  13. @ryoqun @brixen

    Add a spec of Array#rindex after Array#delete_at

    ryoqun authored brixen committed
Commits on Oct 10, 2013
  1. @marcandre
Commits on Jun 6, 2013
  1. @brixen

    Merge pull request #147 from flavio/fix_ascii_inspect_ruby_19

    brixen authored
    Fix spec covering the encoding of Array#inspect with 1.9
Commits on May 22, 2013
  1. @brixen
Commits on May 20, 2013
  1. @brixen
Commits on Apr 28, 2013
  1. @brixen
Commits on Apr 26, 2013
  1. @brixen

    Rewrote Array#sample specs.

    brixen authored
Commits on Apr 25, 2013
  1. @kachick @brixen

    Add spec for Array#reject! on frozen objects

    kachick authored brixen committed
  2. @kachick @brixen

    Add spec for Array#delete_if on frozen objects

    kachick authored brixen committed
  3. @kachick @brixen

    Add specs for Array#keep_if, Array#select! on frozen objects

    kachick authored brixen committed
Something went wrong with that request. Please try again.