Permalink
Commits on Jan 31, 2013
  1. @hugocorbucci

    Merge pull request #4 from hugocorbucci/master

    Making ruby1.9 compatible
    hugocorbucci committed Jan 31, 2013
  2. @hugocorbucci

    Using each_line.with_index as per @rogeriozambon suggestion

    Tried running:
    require 'rubygems'
    require './rfactor'
    CODE=%Q{
      def the_method(firstArg, secondArg)
        puts :code
        puts /to be/
        puts 'refactored'
      end
    
      def more()
        n = 3+2/7
        puts "other \#{n}"
        n
      end
    }
    code = Rfactor::Code.new(CODE)
    code.extract_method(:name => "common", :start => 3, :end => 5)
    
    on both IRB1.8 and IRB1.9 and had to fix a few more each_line.with_index.
    hugocorbucci committed Jan 31, 2013
Commits on Mar 14, 2010
  1. simple extract variable

    Flavio Mori committed with Dec 22, 2009
Commits on Jan 2, 2010
  1. @hugocorbucci
  2. @hugocorbucci
  3. @hugocorbucci
Commits on Jan 1, 2010
  1. @hugocorbucci
  2. @hugocorbucci
  3. @hugocorbucci

    Adjusting details for identation.

    Hugo
    hugocorbucci committed Jan 1, 2010
Commits on Dec 31, 2009
  1. @hugocorbucci

    Updating doc.

    Hugo
    hugocorbucci committed Dec 31, 2009
  2. @hugocorbucci

    Adjusting publishing information and removing home setting from feature

    to have the feature passing in my environment.
    Hugo
    hugocorbucci committed Dec 31, 2009
  3. @hugocorbucci
  4. @hugocorbucci
  5. @hugocorbucci

    Handling other constant elements for Ruby (literal strings, regexs an…

    …d symbols)
    
    when extracting parameters.
    Hugo
    hugocorbucci committed Dec 31, 2009
Commits on Dec 30, 2009
  1. @hugocorbucci

    Also works for two parameters

    Hugo
    hugocorbucci committed Dec 30, 2009
  2. @hugocorbucci

    Adding funcionality to extract parameters for simple methods.

    Also assigns values in original method if last instruction of extraction is an assignment.
    Hugo
    hugocorbucci committed Dec 30, 2009
Commits on Dec 28, 2009
  1. @hugocorbucci
Commits on Dec 27, 2009
  1. @hugocorbucci

    Compilando na minha máquina.

    Adicionando testes pros outros argumentos obrigatórios e refatorando um pouco.
    Hugo
    hugocorbucci committed Dec 27, 2009
Commits on Jun 17, 2009
  1. @priteau
Commits on Mar 24, 2009
  1. No commit message

    committed Mar 24, 2009
Commits on Feb 9, 2009
  1. new goal

    committed Feb 9, 2009
Commits on Feb 6, 2009
  1. changing rdoc position

    committed Feb 6, 2009
  2. rdoc url

    committed Feb 6, 2009
  3. ops, again...

    committed Feb 6, 2009
  4. some documentation

    committed Feb 6, 2009
Commits on Feb 5, 2009
Commits on Feb 4, 2009
  1. better docs

    committed Feb 4, 2009
  2. changes for initial release

    committed Feb 4, 2009