Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 8, 2015
  1. Refactor array instance singleton methods to array subclass to preven…

    Grant Gongaware authored
    …t jruby permgen leak #37
Commits on Feb 24, 2015
  1. @dickeyxxx

    v0.10.3

    dickeyxxx authored
  2. @dgvncsz0f

    regression: error when Dir.home is not readable

    dgvncsz0f authored
    When ``Dir.home`` is not readable ``Netrc.read`` throws an exception [at
    least on linux]. There was an failed attempt to fix this issue in the
    past [``File.stat.readable?`` could also throw] but at some point an
    early return has been added that returned the content of ``Dir.home``
    when that was defined, completely skipping the path validation.
    
    The new code always checks that the path is readable [according to
    ``File.readable?``] before returning it [linux only].
    
    Lastly, ``"./"`` has been replaced by ``Dir.pwd``, which should produce
    the same result.
Commits on Dec 17, 2014
  1. @dickeyxxx

    v0.10.2

    dickeyxxx authored
Commits on Dec 14, 2014
  1. @dickeyxxx

    v0.10.1

    dickeyxxx authored
  2. @dickeyxxx
Commits on Dec 10, 2014
  1. @dickeyxxx

    v0.10.0

    dickeyxxx authored
  2. @dickeyxxx

    use Dir.home for ruby 1.9+

    dickeyxxx authored
Commits on Dec 1, 2014
  1. @dickeyxxx

    v0.9.0

    dickeyxxx authored
Commits on Nov 20, 2014
  1. @dickeyxxx
Commits on Nov 8, 2014
  1. @eddiezane

    Fix deprecation warning

    eddiezane authored
    File.exists is deprecated
Commits on Oct 16, 2014
  1. @geemus

    v0.8.0

    geemus authored
  2. @geemus
  3. @geemus

    v0.7.9

    geemus authored
  4. @geemus

    Revert "Add Entry class to represent entries in the .netrc."

    geemus authored
    This reverts commit e6939fd.
    
    Conflicts:
    	lib/netrc.rb
Commits on Oct 15, 2014
  1. @geemus

    v0.7.8

    geemus authored
Commits on Aug 25, 2014
  1. @tiroc

    Fixed Errno::EACCES

    tiroc authored
Commits on Aug 4, 2014
  1. @glensc

    fix undefined variable path

    glensc authored
Commits on Jul 2, 2014
  1. Added allow_permissive_netrc_file config option

    Alexey Fedorov authored
Commits on Mar 15, 2014
  1. @nerab

    Implement `default` (read-only)

    nerab authored
    This is the same as machine name except that default matches any
    name. See `man netrc` for more details.
Commits on Mar 3, 2013
  1. @avdi

    Add Entry class to represent entries in the .netrc.

    avdi authored
    This makes it possible to read login and password like this:
    
    ```ruby
      netrc = Netrc.read
      entry = netrc['machine']
      login = entry.login
      pass  = entry.password
    ```
    
    Through the use of a lightly-tweaked Struct, the Entry object behaves
    almost identically to the old arrays, including including implicit
    splatting when it is on the right side of an assignment:
    
    ```ruby
      netrc = Netrc.read
      entry = netrc['machine']
      login, pass = entry
    ```
Commits on Aug 15, 2012
  1. @geemus

    v0.7.7

    geemus authored
  2. @geemus
  3. @geemus

    v0.7.6

    geemus authored
  4. @geemus
  5. @geemus

    fixed unified newline handling

    geemus authored
  6. @geemus
Commits on Jul 11, 2012
  1. @technomancy

    Be a bit more consistent around newline handling.

    technomancy authored
    We have to use String#split rather than File.readlines in the
    decryption path, so we should use it in the encrypted path too.
    File.readlines keeps the \n chars in the strings, so we have to
    explicitly break up the tokens list after line if we use split.
Commits on Jun 25, 2012
  1. @geemus

    v0.7.5

    geemus authored
  2. @geemus
  3. @asdavey
Commits on Jun 4, 2012
  1. @geemus

    v0.7.4

    geemus authored
  2. @geemus
  3. @technomancy

    Remove implicit switch to encrypted file.

    technomancy authored
    Too much magic can be annoying.
  4. @technomancy

    Move permissions check.

    technomancy authored
Something went wrong with that request. Please try again.