packaging_rake_tasks 1.4.4 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/tasks/check_osc.rake +8 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb6174fd47aa4dee70ab6613717c7ca78bb27f3429ccd186a18bc53413c73403
|
4
|
+
data.tar.gz: a59b3d266e8ab4847b31a971668d26d6a98ead7bd27ea253df0409070eb291ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2abdd2b5fd7782951bb4fe8751511f9d075f244155a430ef37dc7ad1006454296f92762df29de1656ae76a42169e295e360f8a463b791c6f61333acc74d09e08
|
7
|
+
data.tar.gz: cccd7435946231ed91c90c992ddc7366d759a726928197272e27e18c03d4650ed78ba6531f2a19789238f635e5a9195875596a5ce4fb2b9aa852c2ceb8398168
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.5
|
data/lib/tasks/check_osc.rake
CHANGED
@@ -29,9 +29,15 @@ namespace :check do
|
|
29
29
|
obs_api = Packaging::Configuration.instance.obs_api
|
30
30
|
command_to_set_osc = "osc -A #{obs_api}"
|
31
31
|
|
32
|
+
# the old config path
|
32
33
|
osc_rc = File.expand_path("~/.oscrc")
|
33
|
-
if !File.
|
34
|
-
|
34
|
+
if !File.exist?(osc_rc)
|
35
|
+
# try the new path
|
36
|
+
osc_rc = File.expand_path("~/.config/osc/oscrc")
|
37
|
+
|
38
|
+
if !File.exist?(osc_rc)
|
39
|
+
raise "missing osc configuration file, please run:\n#{command_to_set_osc}"
|
40
|
+
end
|
35
41
|
end
|
36
42
|
|
37
43
|
`grep -c '\[#{obs_api}\]' #{osc_rc}`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: packaging_rake_tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josef Reidinger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|