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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22e208bd1e49b29cbba8eb94ef65a46edd18d65638ce97e170f540fc97296d10
4
- data.tar.gz: e9611560ca3f163e07424b57f32dace5c50405f9fb32d97f6d3519c73a13c409
3
+ metadata.gz: 74d0e88927d104dee76b0fcb1683b96c4a50ef4bc7e58b1727d5eb310db14172
4
+ data.tar.gz: a236636c5bd7f31410d90cddac05faa45a39e77bfbadd20c899662ca6e419908
5
5
  SHA512:
6
- metadata.gz: a0c242140a71a1cb08962c8951c733d0908584ce238a2e6c0b74cf5c82772ac902ccc01ef6d6ff80e0e66cfeeb138cdecd7f4e6d5815cd8e29ed8890fcdff738
7
- data.tar.gz: 67146f18988d83d2e1922681e4dd436ffb1428e18277c096f4585f4ba89c9ca644eff3e19cdd2e15e367774cce465116f432055dab6911f7590716d874464af5
6
+ metadata.gz: d912cd1681267ed905a41706afbce9179f579ee82e71135594dd821dbf4c09383f4df970be6119ed2deaf8bd5eb9cd7f1b43403a79e25b6810b6b3aeafa2c077
7
+ data.tar.gz: 0bca5a28a3594f6e0287601e504a5bea67cc2886250a0ff804926b9135be6293d510d88d8a972c2e872d5441c65a5ab580e212e14ff12f524ea39e8a21f6856f
@@ -1,5 +1,7 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.3
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
@@ -6,4 +6,4 @@ source 'https://rubygems.org'
6
6
  gemspec
7
7
 
8
8
  gem 'rake'
9
- gem 'rubocop', '~> 0.80.1'
9
+ gem 'rubocop', '~> 1.8.0'
@@ -13,14 +13,9 @@ module Rake
13
13
  delegate name: :@gemspec
14
14
  delegate version: :@gemspec
15
15
 
16
- attr_reader :base
17
- attr_reader :gemspec
18
- attr_reader :gemspec_path
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
@@ -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(&Proc.new) if block_given?
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'
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'rake-release'
5
- spec.version = '1.2.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.2.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: 2020-03-05 00:00:00.000000000 Z
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: '0'
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.0.6
92
+ rubygems_version: 3.2.4
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: Configurable fork of bundlers release tasks.