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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99e57ba09db815ea970ee451d06751e9498dd273d387c970cf4627d439644640
4
- data.tar.gz: 0d052ccaf348c4e8b6a113c3f449531cf196993f04fa07cc0e5bcfd9a9d7fa15
3
+ metadata.gz: 1a4d8dc313cd0d932c2a8689558517ad976796d8d6f735c3836c62f182e4d2d4
4
+ data.tar.gz: 71c8f28ad12d8d4fb737054680a78170be3a85c19f217d827a5fa5c35d6f3445
5
5
  SHA512:
6
- metadata.gz: 1144c4b76d527780dd45a5ce539ec6111f4acf0936c77c42be6c13fb27bb3b2e6161c717fa83de33ae529092890f980bf0de5b93b7e25dea15fb396906dca0c2
7
- data.tar.gz: 1cb87d34137ff0f131ba9aaac1f8f95e6819d8e343ec3d6a261a009e306282a35e6ecfc23a754781d4f6cf253a24b9732b322ec9b51aad029f2b3abe27b2861c
6
+ metadata.gz: 0cc5832637b25e2dad753d7d23a2cea2813cf2afafdb2ab3bcfe8e8b450f60cedae921a6646fbf104974ae5353ad5cb8e4fda27b81e36c3d2e9a7ed1b709283c
7
+ data.tar.gz: f631117e8f0e712f83ad34c5108b595fec00768ee27ddadad8e8ced1f76ba54e7bdc980cef34ccc6fc3babde964ba1afbdc62eacc20362e1e68cdda222942de4
@@ -2,4 +2,4 @@ inherit_from:
2
2
  - https://gitlab.com/bsm/misc/raw/master/rubocop/default.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.4
5
+ TargetRubyVersion: 2.5
@@ -1,8 +1,8 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
+ - 2.7
4
5
  - 2.6
5
6
  - 2.5
6
- - 2.4
7
7
  before_install:
8
8
  - gem install bundler
@@ -1,43 +1,43 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- netrcx (0.2.1)
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.2)
12
- parallel (1.17.0)
13
- parser (2.6.2.0)
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 (12.3.2)
18
- rspec (3.8.0)
19
- rspec-core (~> 3.8.0)
20
- rspec-expectations (~> 3.8.0)
21
- rspec-mocks (~> 3.8.0)
22
- rspec-core (3.8.0)
23
- rspec-support (~> 3.8.0)
24
- rspec-expectations (3.8.2)
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.8.0)
27
- rspec-mocks (3.8.0)
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.8.0)
30
- rspec-support (3.8.0)
31
- rubocop (0.66.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.5, != 2.5.1.1)
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.6)
39
- ruby-progressbar (1.10.0)
40
- unicode-display_width (1.5.0)
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.0.1
53
+ 2.1.4
@@ -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 = Entry.new(default: true)
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)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'netrcx'
3
- s.version = '0.2.1'
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.4'
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.2.1
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: 2019-04-03 00:00:00.000000000 Z
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.4'
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.0.3
106
+ rubygems_version: 3.1.2
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: Simple .netrc parser