Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 31, 2014
  1. Brian Shirai

    Archived project.

    brixen authored
Commits on Dec 24, 2014
  1. Elia Schito
  2. Elia Schito

    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. Brian Shirai Yorick Peterse

    A few more Array, Enumerable specs.

    brixen authored YorickPeterse committed
  2. Brian Shirai Yorick Peterse

    Added specs for Array#bsearch.

    brixen authored YorickPeterse committed
  3. Kyle Hargraves Yorick Peterse

    Specs and implementation of Enumerable#to_h, Array#to_h

    pd authored YorickPeterse committed
Commits on Jun 5, 2014
  1. Alex Dowad
  2. Alex Dowad
Commits on Apr 4, 2014
  1. Federico Ravasio Brian Shirai

    Added spec on Array#drop after a shift.

    razielgn authored brixen committed
Commits on Feb 11, 2014
  1. Carlos Duarte do Nascimento (Chester)
Commits on Jan 8, 2014
  1. Erik Michaels-Ober Brian Shirai
Commits on Dec 26, 2013
  1. Brian Shirai
Commits on Nov 16, 2013
  1. Stephen Touset Brian Shirai

    Test Array#slice! on end-exclusive ranges

    stouset authored brixen committed
Commits on Oct 21, 2013
  1. Kenichi Kamiya Brian Shirai

    Update some Array#sample specs for MRI backported

    kachick authored brixen committed
    Follow r43079 from ticket-8910
  2. Kenichi Kamiya Brian Shirai

    Add an Array#cycle spec for empty arrays

    kachick authored brixen committed
  3. Kenichi Kamiya Brian Shirai

    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. Kenichi Kamiya Brian Shirai

    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. Kenichi Kamiya Brian Shirai

    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. Kenichi Kamiya Brian Shirai
  7. Federico Ravasio Brian Shirai
  8. Kenichi Kamiya Brian Shirai

    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. Kenichi Kamiya Brian Shirai

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

    kachick authored brixen committed
  10. Kenichi Kamiya Brian Shirai

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

    kachick authored brixen committed
  11. Kenichi Kamiya Brian Shirai
  12. Kenichi Kamiya Brian Shirai

    Add specs for Array#flatten

    kachick authored brixen committed
  13. Ryo Onodera Brian Shirai

    Add a spec of Array#rindex after Array#delete_at

    ryoqun authored brixen committed
Commits on Oct 10, 2013
  1. Marc-André Lafortune
Commits on Jun 6, 2013
  1. Brian Shirai

    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. Brian Shirai
Commits on May 20, 2013
  1. Brian Shirai
Commits on Apr 28, 2013
  1. Brian Shirai
Commits on Apr 26, 2013
  1. Brian Shirai

    Rewrote Array#sample specs.

    brixen authored
Commits on Apr 25, 2013
  1. Kenichi Kamiya Brian Shirai

    Add spec for Array#reject! on frozen objects

    kachick authored brixen committed
  2. Kenichi Kamiya Brian Shirai

    Add spec for Array#delete_if on frozen objects

    kachick authored brixen committed
  3. Kenichi Kamiya Brian Shirai

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

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