yast-rake 0.2.13 → 0.2.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/data/targets.yml +18 -4
  4. data/lib/yast/tasks.rb +3 -1
  5. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c085a719b01aa3b130ad53e57833bfa77b4cba97
4
- data.tar.gz: b1759d7c7e6fc885233a616bcb1d8a234cc52966
3
+ metadata.gz: b94874c20347738d507dd69e081f1beb12b5dde2
4
+ data.tar.gz: 05d2741eb05529777638dd379934698152dd600e
5
5
  SHA512:
6
- metadata.gz: ee5556fe04878077cbce55913cd3269ede435988fb3b6928fe05a0b5aa1489daa3cd95aabd2b4d2a624ff1573fbe4488566bf5277d27dfd3d3c33095fb259de1
7
- data.tar.gz: b6c1eee6f6ebc124cff623c8a0c2393a7328b9d22ce7c16306bb451d1be781ac67b452f2f8a362e60af9f5efd70e03aede25ea6fbbcffb6b344d186ee1a36697
6
+ metadata.gz: a2db661289c177bc091513a178fb1dba35cf2938ab0968f66a35f021caff140eb00969317bd874195800b6c350c0a76485b67b8e4cf2ce09482dedd5493d0543
7
+ data.tar.gz: 4be7b362eb9fe24c17a508572baee8b2d8c2a3eefb791d0d7dc881979b53a5eecf27e9b79a0a21f350ea2942e2d1bec293e5b6995ebff0b56dcfe8a440b001e1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.13
1
+ 0.2.14
@@ -13,6 +13,11 @@
13
13
  obs_target: "openSUSE_Leap_42.2"
14
14
  obs_sr_project: "openSUSE:Leap:42.2"
15
15
  obs_project: "YaST:openSUSE:42.2"
16
+ :leap_42_3:
17
+ obs_api: "https://api.opensuse.org"
18
+ obs_target: "openSUSE_Leap_42.3"
19
+ obs_sr_project: "openSUSE:Leap:42.3"
20
+ obs_project: "YaST:openSUSE:42.3"
16
21
  :sle12sp1:
17
22
  obs_api: "https://api.suse.de/"
18
23
  obs_project: "Devel:YaST:SLE-12-SP1"
@@ -37,15 +42,24 @@
37
42
  obs_sr_project: "SUSE:SLE-12-SP2:Update:Products:CASP10"
38
43
  obs_target: "CASP_1.0"
39
44
  :sle12sp3:
45
+ obs_api: "https://api.suse.de/"
46
+ obs_project: "Devel:YaST:SLE-12-SP3"
47
+ obs_sr_project: "SUSE:SLE-12-SP3:Update"
48
+ obs_target: "SLE_12_SP3"
49
+ :sle12sp3_public:
50
+ obs_api: "https://api.opensuse.org"
51
+ obs_project: "YaST:SLE-12:SP3"
52
+ obs_target: "SLE_12_SP3"
53
+ :sle15:
40
54
  obs_api: "https://api.suse.de/"
41
55
  obs_project: "Devel:YaST:Head"
42
- obs_sr_project: "SUSE:SLE-12-SP3:GA"
43
- obs_target: "sle12_sp3"
56
+ obs_sr_project: "SUSE:SLE-15:GA"
57
+ obs_target: "SUSE_SLE-15_GA"
44
58
  :sle_latest:
45
59
  obs_api: "https://api.suse.de/"
46
60
  obs_project: "Devel:YaST:Head"
47
- obs_sr_project: "SUSE:SLE-12-SP3:GA"
48
- obs_target: "sle12_sp3"
61
+ obs_sr_project: "SUSE:SLE-15:GA"
62
+ obs_target: "SUSE_SLE-15_GA"
49
63
  :factory:
50
64
  obs_project: "YaST:Head"
51
65
  obs_sr_project: "openSUSE:Factory"
@@ -40,7 +40,9 @@ module Yast
40
40
  def self.submit_to(target, file = TARGETS_FILE)
41
41
  targets = YAML.load_file(file)
42
42
  config = targets[target]
43
- raise "Not configuration found for #{target}" if config.nil?
43
+ if config.nil?
44
+ raise "No configuration found for #{target}. Known values: #{targets.keys.join(", ")}"
45
+ end
44
46
  Yast::Tasks.configuration do |conf|
45
47
  config.each do |meth, val|
46
48
  conf.public_send("#{meth}=", val)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yast-rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Reidinger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-02 00:00:00.000000000 Z
11
+ date: 2017-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  requirements: []
82
82
  rubyforge_project:
83
- rubygems_version: 2.2.2
83
+ rubygems_version: 2.4.5.2
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: Rake tasks providing basic work-flow for Yast development