rake-release 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +9 -1
- data/Gemfile +1 -1
- data/lib/rake/release/spec.rb +3 -8
- data/lib/rake/release/task.rb +2 -2
- data/rake-release.gemspec +3 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74d0e88927d104dee76b0fcb1683b96c4a50ef4bc7e58b1727d5eb310db14172
|
4
|
+
data.tar.gz: a236636c5bd7f31410d90cddac05faa45a39e77bfbadd20c899662ca6e419908
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d912cd1681267ed905a41706afbce9179f579ee82e71135594dd821dbf4c09383f4df970be6119ed2deaf8bd5eb9cd7f1b43403a79e25b6810b6b3aeafa2c077
|
7
|
+
data.tar.gz: 0bca5a28a3594f6e0287601e504a5bea67cc2886250a0ff804926b9135be6293d510d88d8a972c2e872d5441c65a5ab580e212e14ff12f524ea39e8a21f6856f
|
data/.rubocop.yml
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
AllCops:
|
2
|
-
|
2
|
+
NewCops: enable
|
3
|
+
SuggestExtensions: false
|
4
|
+
TargetRubyVersion: 2.5
|
3
5
|
|
4
6
|
|
5
7
|
Layout/ArgumentAlignment:
|
@@ -31,6 +33,9 @@ Metrics/AbcSize:
|
|
31
33
|
Metrics/ClassLength:
|
32
34
|
Enabled: false
|
33
35
|
|
36
|
+
Metrics/CyclomaticComplexity:
|
37
|
+
Enabled: false
|
38
|
+
|
34
39
|
Metrics/MethodLength:
|
35
40
|
Enabled: false
|
36
41
|
|
@@ -41,6 +46,9 @@ Style/ClassAndModuleChildren:
|
|
41
46
|
Style/Documentation:
|
42
47
|
Enabled: false
|
43
48
|
|
49
|
+
Style/IfUnlessModifier:
|
50
|
+
Enabled: false
|
51
|
+
|
44
52
|
Style/HashEachMethods:
|
45
53
|
Enabled: false
|
46
54
|
|
data/Gemfile
CHANGED
data/lib/rake/release/spec.rb
CHANGED
@@ -13,14 +13,9 @@ module Rake
|
|
13
13
|
delegate name: :@gemspec
|
14
14
|
delegate version: :@gemspec
|
15
15
|
|
16
|
-
attr_reader :base
|
17
|
-
|
18
|
-
|
19
|
-
attr_reader :push_host
|
20
|
-
|
21
|
-
attr_accessor :sign_tag
|
22
|
-
attr_accessor :namespace
|
23
|
-
attr_accessor :version_tag
|
16
|
+
attr_reader :base, :gemspec, :gemspec_path, :push_host
|
17
|
+
|
18
|
+
attr_accessor :sign_tag, :namespace, :version_tag
|
24
19
|
|
25
20
|
def initialize(path = nil, namespace: nil, sign_tag: false)
|
26
21
|
path = Task.pwd.join(path.to_s).expand_path
|
data/lib/rake/release/task.rb
CHANGED
@@ -203,12 +203,12 @@ module Rake
|
|
203
203
|
end
|
204
204
|
|
205
205
|
class << self
|
206
|
-
def load_all(dir = pwd)
|
206
|
+
def load_all(dir = pwd, &block)
|
207
207
|
specs = Spec.scan dir.join('**/*.gemspec')
|
208
208
|
|
209
209
|
specs.each {|spec| spec.namespace = spec.name } if specs.size > 1
|
210
210
|
|
211
|
-
specs.each(&
|
211
|
+
specs.each(&block) if block
|
212
212
|
|
213
213
|
if specs.uniq {|s| s.namespace.to_s.strip }.size != specs.size
|
214
214
|
raise 'Non distinct release task namespaces'
|
data/rake-release.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'rake-release'
|
5
|
-
spec.version = '1.
|
5
|
+
spec.version = '1.3.0'
|
6
6
|
spec.authors = ['Jan Graichen']
|
7
7
|
spec.email = ['jgraichen@altimos.de']
|
8
8
|
spec.licenses = ['MIT']
|
@@ -15,6 +15,8 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.executables = spec.files.grep(%r{^bin/}) {|f| File.basename(f) }
|
16
16
|
spec.require_paths = %w[lib]
|
17
17
|
|
18
|
+
spec.required_ruby_version = '>= 2.5'
|
19
|
+
|
18
20
|
spec.add_dependency 'bundler', '>= 1.11', '< 3'
|
19
21
|
|
20
22
|
spec.add_development_dependency 'bundler', '>= 1.11', '< 3'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake-release
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -82,14 +82,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
82
|
requirements:
|
83
83
|
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: '
|
85
|
+
version: '2.5'
|
86
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
88
|
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
requirements: []
|
92
|
-
rubygems_version: 3.
|
92
|
+
rubygems_version: 3.2.4
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
95
|
summary: Configurable fork of bundlers release tasks.
|