netrc 0.7 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +7 -0
- data/Readme.md +2 -1
- data/changelog.txt +7 -0
- data/lib/netrc.rb +1 -1
- data/test/test_lex.rb +1 -1
- data/test/test_netrc.rb +1 -2
- data/test/test_parse.rb +1 -1
- metadata +16 -3
data/LICENSE
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
Copyright (c) 2012 Wesley Beary <geemus@gmail.com>
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4
|
+
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
6
|
+
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Readme.md
CHANGED
data/changelog.txt
ADDED
data/lib/netrc.rb
CHANGED
data/test/test_lex.rb
CHANGED
data/test/test_netrc.rb
CHANGED
@@ -2,7 +2,7 @@ $VERBOSE = true
|
|
2
2
|
require 'test/unit'
|
3
3
|
require 'fileutils'
|
4
4
|
|
5
|
-
require
|
5
|
+
require File.expand_path("#{File.dirname(__FILE__)}/../lib/netrc")
|
6
6
|
|
7
7
|
class TestNetrc < Test::Unit::TestCase
|
8
8
|
def setup
|
@@ -58,7 +58,6 @@ class TestNetrc < Test::Unit::TestCase
|
|
58
58
|
def test_set_get
|
59
59
|
n = Netrc.read("data/sample.netrc")
|
60
60
|
n["m"] = "a", "b"
|
61
|
-
l, p = n["m"]
|
62
61
|
assert_equal(["a", "b"], n["m"])
|
63
62
|
end
|
64
63
|
|
data/test/test_parse.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netrc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.7.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,8 +10,19 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
14
|
-
dependencies:
|
13
|
+
date: 2012-03-13 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: turn
|
17
|
+
requirement: &70193810670960 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
23
|
+
type: :development
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *70193810670960
|
15
26
|
description: This library can read and update netrc files, preserving formatting including
|
16
27
|
comments and whitespace.
|
17
28
|
email: geemus@gmail.com
|
@@ -19,7 +30,9 @@ executables: []
|
|
19
30
|
extensions: []
|
20
31
|
extra_rdoc_files: []
|
21
32
|
files:
|
33
|
+
- LICENSE
|
22
34
|
- Readme.md
|
35
|
+
- changelog.txt
|
23
36
|
- data/permissive.netrc
|
24
37
|
- data/sample.netrc
|
25
38
|
- lib/netrc.rb
|