yast-rake 0.2.9 → 0.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/data/targets.yml +12 -2
- data/lib/tasks/spell.yml +1 -0
- data/lib/tasks/spellcheck_task.rb +2 -2
- data/lib/yast/tasks.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 720d8407e42cebdec40cf5911326a737eda59cf1
|
4
|
+
data.tar.gz: 5164c22bff841502152a3e90199996776df82a0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac9a7194127e46286c87c115ef3ce192a44ed913b9c319e3cbd7d4075719146348a84865561c4b2c5d012faa2971983ce8c5dde6e4cb9b4ed01e7f3219ac3f08
|
7
|
+
data.tar.gz: d8d09660035724eb0eb2b5b85d18383ffdd5cba62ddb2b269073762817f8b66a1362e8f560f306d2d8154e45cf1c3b291778bf2d9f50284c5c1156353f8d6469
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.10
|
data/data/targets.yml
CHANGED
@@ -19,9 +19,19 @@
|
|
19
19
|
obs_target: "SLE_12_SP1"
|
20
20
|
:sle12sp2:
|
21
21
|
obs_api: "https://api.suse.de/"
|
22
|
-
obs_project: "Devel:YaST:
|
22
|
+
obs_project: "Devel:YaST:SLE-12-SP2"
|
23
23
|
obs_sr_project: "SUSE:SLE-12-SP2:GA"
|
24
|
-
obs_target: "
|
24
|
+
obs_target: "SLE_12_SP2"
|
25
|
+
:sle12sp3:
|
26
|
+
obs_api: "https://api.suse.de/"
|
27
|
+
obs_project: "Devel:YaST:Head"
|
28
|
+
obs_sr_project: "SUSE:SLE-12-SP3:GA"
|
29
|
+
obs_target: "sle12_sp3"
|
30
|
+
:sle_latest:
|
31
|
+
obs_api: "https://api.suse.de/"
|
32
|
+
obs_project: "Devel:YaST:Head"
|
33
|
+
obs_sr_project: "SUSE:SLE-12-SP3:GA"
|
34
|
+
obs_target: "sle12_sp3"
|
25
35
|
:factory:
|
26
36
|
obs_project: "YaST:Head"
|
27
37
|
obs_sr_project: "openSUSE:Factory"
|
data/lib/tasks/spell.yml
CHANGED
@@ -34,7 +34,7 @@ module Yast
|
|
34
34
|
# Defines a spellcheck rake task
|
35
35
|
class SpellcheckTask < Rake::TaskLib
|
36
36
|
GLOBAL_SPELL_CONFIG_FILE = File.expand_path("../spell.yml", __FILE__)
|
37
|
-
CUSTOM_SPELL_CONFIG_FILE = ".spell.yml"
|
37
|
+
CUSTOM_SPELL_CONFIG_FILE = ".spell.yml".freeze
|
38
38
|
|
39
39
|
# define the Rake task in the constructor
|
40
40
|
def initialize
|
@@ -46,7 +46,7 @@ module Yast
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
-
|
49
|
+
private
|
50
50
|
|
51
51
|
# optionally colorize the misspelled words if the rainbow gem is present
|
52
52
|
# @return [Boolean] true when the colorization support is present
|
data/lib/yast/tasks.rb
CHANGED
@@ -34,7 +34,7 @@ module Yast
|
|
34
34
|
# use the first *.spec file found, assume all spec files
|
35
35
|
# contain the same version
|
36
36
|
File.readlines(Dir.glob("package/*.spec").first)
|
37
|
-
|
37
|
+
.grep(/^\s*Version:\s*/).first.sub("Version:", "").strip
|
38
38
|
end
|
39
39
|
|
40
40
|
def self.submit_to(target, file = TARGETS_FILE)
|
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.
|
4
|
+
version: 0.2.10
|
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-
|
11
|
+
date: 2016-09-01 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.
|
83
|
+
rubygems_version: 2.4.5.1
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Rake tasks providing basic work-flow for Yast development
|