zypper-upgraderepo 1.6.1 → 1.6.2

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: d7760c0dd8fcc4192e55ad7f9334decff5dd9535ed3b04aa0158d57b4cc41b70
4
- data.tar.gz: b908c0f8079154ca9a35fb6f961a8d5bd8cf33a7da9587a825a52897d3fed8d4
3
+ metadata.gz: 18cc5891a28448cb736aa7fb11771dd56ff3d4d16aa64f6de3cc9ff0f7e911ba
4
+ data.tar.gz: 49941c4d37e829af7ab6ae5ca373b17dacd767de6f134f61977c1b8877674ac4
5
5
  SHA512:
6
- metadata.gz: 74cbaff92a3951970ed4ba52f51bc4b0345c419f82f5cd4d25a8345dbf3bd27b79300752232ce549cbdce912b88ae2829c6fa1e8da8a7ea5a8d8687d4210e246
7
- data.tar.gz: 2ebe8a63c1e2c5255a80c5ec99b2079f8b86f0ae9f892d9e48e22dac22d84f146391a0ade675108948d53ec4125d4127f5bc8e1f0f788a2a63dfe7121a0cda1f
6
+ metadata.gz: 933bc9d1a6d59ef83dd79f68691fee9cc1bb8cb27b30162d2c21d413bbeb21e71c47511bb22cc2324d2b8fec4ca6a3176b7028b36bc445bc402220cdc8ba12ac
7
+ data.tar.gz: 55080a22376510952bba606f34f6d804561a1fa5106706cc84262fe2c0163f265100f667aff0d54a03b2cf523c21fe8586ef283f259cd961d3945ac7fe4d9a0e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zypper-upgraderepo (1.6.1)
4
+ zypper-upgraderepo (1.6.2)
5
5
  iniparse
6
6
  minitar
7
7
 
@@ -31,7 +31,7 @@ module Zypper
31
31
 
32
32
  @list.sort_by! { |x| x[:repo].send(options.sort_by) } if options.sort_by != :alias
33
33
 
34
- load_overrides(options.filename) if options.filename
34
+ load_overrides(options.overrides_filename) if options.overrides_filename
35
35
  end
36
36
 
37
37
  def only_enabled?
@@ -89,7 +89,7 @@ module Zypper
89
89
  if x = ini["repository_#{num}"]
90
90
  repo.enable!(x['enabled'])
91
91
  raise UnmatchingOverrides, { num: num, ini: x, repo: repo } if repo.url != x['old_url']
92
- if (@repos.only_enabled?)
92
+ if (only_enabled?)
93
93
  raise MissingOverride, { num: num, ini: x } unless x['url'] || x['enabled'] =~ /no|false|0/i
94
94
  else
95
95
  raise MissingOverride, { num: num, ini: x } unless x['url']
@@ -77,11 +77,11 @@ module Zypper
77
77
 
78
78
  uri
79
79
  end
80
-
80
+
81
81
  def drop_back_level(uri)
82
82
  URI(url).path.split('/').index { |x| x =~ /\d\d.\d/ } - uri.path.split('/').count
83
83
  end
84
-
84
+
85
85
  # to implement on each repository type class
86
86
  #
87
87
  # def has_repodata?(uri)
@@ -1,5 +1,5 @@
1
1
  module Zypper
2
2
  module Upgraderepo
3
- VERSION = "1.6.1"
3
+ VERSION = "1.6.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zypper-upgraderepo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabio Mucciante
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-20 00:00:00.000000000 Z
11
+ date: 2022-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -116,7 +116,7 @@ licenses:
116
116
  metadata:
117
117
  bug_tracker_uri: https://github.com/fabiomux/zypper-upgraderepo/issues
118
118
  changelog_uri: https://freeaptitude.altervista.org/projects/zypper-upgraderepo.html#changelog
119
- documentation_uri: https://www.rubydoc.info/gems/zypper-upgraderepo/1.6.1
119
+ documentation_uri: https://www.rubydoc.info/gems/zypper-upgraderepo/1.6.2
120
120
  homepage_uri: https://freeaptitude.altervista.org/projects/zypper-upgraderepo.html
121
121
  source_code_uri: https://github.com/fabiomux/zypper-upgraderepo
122
122
  wiki_uri: https://github.com/fabiomux/zypper-upgraderepo/wiki