netrcx 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.travis.yml +1 -1
- data/Gemfile.lock +24 -24
- data/lib/netrcx.rb +2 -2
- data/netrcx.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a4d8dc313cd0d932c2a8689558517ad976796d8d6f735c3836c62f182e4d2d4
|
4
|
+
data.tar.gz: 71c8f28ad12d8d4fb737054680a78170be3a85c19f217d827a5fa5c35d6f3445
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cc5832637b25e2dad753d7d23a2cea2813cf2afafdb2ab3bcfe8e8b450f60cedae921a6646fbf104974ae5353ad5cb8e4fda27b81e36c3d2e9a7ed1b709283c
|
7
|
+
data.tar.gz: f631117e8f0e712f83ad34c5108b595fec00768ee27ddadad8e8ced1f76ba54e7bdc980cef34ccc6fc3babde964ba1afbdc62eacc20362e1e68cdda222942de4
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
netrcx (0.
|
4
|
+
netrcx (0.3.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
ast (2.4.0)
|
10
10
|
diff-lcs (1.3)
|
11
|
-
jaro_winkler (1.5.
|
12
|
-
parallel (1.
|
13
|
-
parser (2.
|
11
|
+
jaro_winkler (1.5.4)
|
12
|
+
parallel (1.19.1)
|
13
|
+
parser (2.7.0.4)
|
14
14
|
ast (~> 2.4.0)
|
15
|
-
psych (3.1.0)
|
16
15
|
rainbow (3.0.0)
|
17
|
-
rake (
|
18
|
-
|
19
|
-
|
20
|
-
rspec-
|
21
|
-
rspec-
|
22
|
-
|
23
|
-
|
24
|
-
|
16
|
+
rake (13.0.1)
|
17
|
+
rexml (3.2.4)
|
18
|
+
rspec (3.9.0)
|
19
|
+
rspec-core (~> 3.9.0)
|
20
|
+
rspec-expectations (~> 3.9.0)
|
21
|
+
rspec-mocks (~> 3.9.0)
|
22
|
+
rspec-core (3.9.1)
|
23
|
+
rspec-support (~> 3.9.1)
|
24
|
+
rspec-expectations (3.9.0)
|
25
25
|
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
-
rspec-support (~> 3.
|
27
|
-
rspec-mocks (3.
|
26
|
+
rspec-support (~> 3.9.0)
|
27
|
+
rspec-mocks (3.9.1)
|
28
28
|
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
-
rspec-support (~> 3.
|
30
|
-
rspec-support (3.
|
31
|
-
rubocop (0.
|
29
|
+
rspec-support (~> 3.9.0)
|
30
|
+
rspec-support (3.9.2)
|
31
|
+
rubocop (0.80.1)
|
32
32
|
jaro_winkler (~> 1.5.1)
|
33
33
|
parallel (~> 1.10)
|
34
|
-
parser (>= 2.
|
35
|
-
psych (>= 3.1.0)
|
34
|
+
parser (>= 2.7.0.1)
|
36
35
|
rainbow (>= 2.2.2, < 4.0)
|
36
|
+
rexml
|
37
37
|
ruby-progressbar (~> 1.7)
|
38
|
-
unicode-display_width (>= 1.4.0, < 1.
|
39
|
-
ruby-progressbar (1.10.
|
40
|
-
unicode-display_width (1.
|
38
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
39
|
+
ruby-progressbar (1.10.1)
|
40
|
+
unicode-display_width (1.6.1)
|
41
41
|
|
42
42
|
PLATFORMS
|
43
43
|
ruby
|
@@ -50,4 +50,4 @@ DEPENDENCIES
|
|
50
50
|
rubocop
|
51
51
|
|
52
52
|
BUNDLED WITH
|
53
|
-
2.
|
53
|
+
2.1.4
|
data/lib/netrcx.rb
CHANGED
@@ -23,7 +23,7 @@ class Netrcx
|
|
23
23
|
end
|
24
24
|
|
25
25
|
# Read from a file path.
|
26
|
-
def self.read(path=default_path)
|
26
|
+
def self.read(path = default_path)
|
27
27
|
File.open(path) {|io| new(io) }
|
28
28
|
end
|
29
29
|
|
@@ -40,7 +40,7 @@ class Netrcx
|
|
40
40
|
|
41
41
|
if word == 'default'
|
42
42
|
@entries.push(current) if current
|
43
|
-
current
|
43
|
+
current = Entry.new(default: true)
|
44
44
|
elsif word == 'machine'
|
45
45
|
@entries.push(current) if current
|
46
46
|
current = Entry.new(default: false)
|
data/netrcx.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'netrcx'
|
3
|
-
s.version = '0.
|
3
|
+
s.version = '0.3.0'
|
4
4
|
s.authors = ['Black Square Media Ltd']
|
5
5
|
s.email = ['info@blacksquaremedia.com']
|
6
6
|
s.summary = %(Simple .netrc parser)
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.files = `git ls-files -z`.split("\x0").reject {|f| f.match(%r{^spec/}) }
|
12
12
|
s.test_files = `git ls-files -z -- spec/*`.split("\x0")
|
13
13
|
s.require_paths = ['lib']
|
14
|
-
s.required_ruby_version = '>= 2.
|
14
|
+
s.required_ruby_version = '>= 2.5'
|
15
15
|
|
16
16
|
s.add_development_dependency 'bundler'
|
17
17
|
s.add_development_dependency 'rake'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netrcx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Black Square Media Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -96,14 +96,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
96
96
|
requirements:
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: '2.
|
99
|
+
version: '2.5'
|
100
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - ">="
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
|
-
rubygems_version: 3.
|
106
|
+
rubygems_version: 3.1.2
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: Simple .netrc parser
|