rake-funnel 0.22.3 → 0.23.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ba520d7f0645cd6a456af86ebd30367b1a868e9c7d34492ea6d09b4891ff4eb
4
- data.tar.gz: c6164a548caad61db211f1debf4cd6e1043fc83ed033311731b4da1941a83414
3
+ metadata.gz: 2c32e4133564dc48172bc63c8d49e78ddd311ec56955b53f330aee9c9fa00e09
4
+ data.tar.gz: c1f178fc24c1d232134d521a3a7819366f8175ef7c8d6bb2ef9141113e0ccb59
5
5
  SHA512:
6
- metadata.gz: d8cf9641d91a755615d081529ba423e8fe36ff651c23ba458f24f1e6f02bc5aa9f645f653aef27a0938ba62bf627a09fd2a63be03eee2400e6addf443799f2ec
7
- data.tar.gz: eab8fd787784b44dc3b30a0f0ea8c20c202027c06de0aad7f70e310c7becb2a274eda746b7368f79af02d4bf1eb7c4eb67b82bb08577bd529f02d977a918b3fc
6
+ metadata.gz: 5ea5edc9b0f414ffbe52930c4d1a642d5ea78d3dd7041d19d22dacb399e828767dc3d08967b7f28dfc819e0091325ae2a2fc7e7a1cf71cd7e6ff8dc555557727
7
+ data.tar.gz: a9b0a7938e1c63cb4a14d11e2e8364ebc3025522d8672fa283c104211fcad4ac757b3d7e73c74fddb6fd1667a4b0bb785793429be398c41dad425b01c8c7b11e
@@ -1,3 +1,19 @@
1
+ # 0.23.0 / 2020-02-29
2
+
3
+ * [FEATURE] Support rake < 14.
4
+
5
+ # 0.22.3 / 2019-01-08
6
+
7
+ * [BUGFIX] Support Ruby 2.6.0's ERB initializer.
8
+
9
+ # 0.22.2 / 2018-05-28
10
+
11
+ * [BUGFIX] Write output using atomic `print`.
12
+
13
+ # 0.22.1 / 2018-05-28
14
+
15
+ * [BUGFIX] Fix a bug with overridden methods from rake.
16
+
1
17
  # 0.22.0 / 2018-05-05
2
18
 
3
19
  * [FEATURE] Support [vswhere](https://github.com/Microsoft/vswhere) to locate
data/Gemfile CHANGED
@@ -11,7 +11,7 @@ group :coverage do
11
11
  end
12
12
 
13
13
  group :style do
14
- gem 'rubocop', '~> 0.46'
14
+ gem 'rubocop', '< 0.50'
15
15
  gem 'rubocop-rspec'
16
16
  end
17
17
 
@@ -21,7 +21,7 @@ group :test do
21
21
  gem 'rspec-its'
22
22
  end
23
23
 
24
- group :development, :guard do
24
+ group :guard do
25
25
  gem 'guard-bundler'
26
26
  gem 'guard-rspec'
27
27
  gem 'guard-rubocop'
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # rake-funnel
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/rake-funnel.svg)](http://badge.fury.io/rb/rake-funnel) [![Build Status](https://travis-ci.org/agross/rake-funnel.png?branch=master)](https://travis-ci.org/agross/rake-funnel) [![Dependency Status](https://gemnasium.com/agross/rake-funnel.svg)](https://gemnasium.com/agross/rake-funnel) [![Code Climate](https://codeclimate.com/github/agross/rake-funnel.png)](https://codeclimate.com/github/agross/rake-funnel) [![Coverage Status](https://coveralls.io/repos/agross/rake-funnel/badge.svg)](https://coveralls.io/r/agross/rake-funnel)
3
+ [![Gem Version](https://badge.fury.io/rb/rake-funnel.svg)](http://badge.fury.io/rb/rake-funnel) [![Build Status](https://travis-ci.org/agross/rake-funnel.png?branch=master)](https://travis-ci.org/agross/rake-funnel) [![Code Climate](https://codeclimate.com/github/agross/rake-funnel.png)](https://codeclimate.com/github/agross/rake-funnel) [![Coverage Status](https://coveralls.io/repos/agross/rake-funnel/badge.svg)](https://coveralls.io/r/agross/rake-funnel)
4
4
 
5
5
  rake-funnel is my set of rake tasks, mostly targeted at .NET development.
6
6
 
7
- * Tested against Ruby 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0 and ruby-head
7
+ * Tested against Ruby 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0 and ruby-head
8
8
  * Ruby < 2.0 is not supported
9
9
 
10
10
  ## Installation
@@ -8,11 +8,11 @@ module Rake
8
8
  module REXML
9
9
  module Functions
10
10
  def lower_case(string)
11
- string.first.to_s.downcase
11
+ string(string).downcase
12
12
  end
13
13
 
14
14
  def matches(string, test)
15
- File.fnmatch?(test, string.first.to_s, File::FNM_CASEFOLD)
15
+ File.fnmatch?(test, string(string), File::FNM_CASEFOLD)
16
16
  end
17
17
  end
18
18
  end
@@ -90,6 +90,6 @@ end
90
90
  module Rake
91
91
  module DSL
92
92
  include Rake::Funnel::Extensions::Shell
93
- private(*Rake::Funnel::Extensions::Shell.instance_methods(false)) # rubocop:disable Style/AccessModifierDeclarations
93
+ private(*Rake::Funnel::Extensions::Shell.instance_methods(false))
94
94
  end
95
95
  end
@@ -49,7 +49,7 @@ module Rake
49
49
  error = nil
50
50
  begin
51
51
  old_execute.bind(self).call(*args)
52
- rescue => e # rubocop:disable Style/RescueStandardError
52
+ rescue => e
53
53
  error = e
54
54
  ensure
55
55
  context.finished.call(self, *args, error) if context.finished
@@ -13,7 +13,7 @@ module Rake
13
13
 
14
14
  def sync(stream)
15
15
  stream.sync = true
16
- rescue => e # rubocop:disable Style/RescueStandardError
16
+ rescue => e
17
17
  $stderr.print "Failed to set up sync output #{e}\n"
18
18
  end
19
19
  end
@@ -10,7 +10,7 @@ module Rake
10
10
  true
11
11
  end
12
12
 
13
- def method_missing(method, *args, &_block) # rubocop:disable Style/MethodMissingSuper
13
+ def method_missing(method, *args, &_block) # rubocop:disable Style/MethodMissing
14
14
  return unless Rake::Funnel::Integration::TeamCity.running?
15
15
 
16
16
  message_name = method.camelize
@@ -47,7 +47,7 @@ module Rake
47
47
 
48
48
  def quote(value)
49
49
  value = value.gsub(/"/, '""') if value.is_a?(String)
50
- return %("#{value}") if value =~ /\s/
50
+ return %("#{value}") if value.to_s =~ /\s/
51
51
 
52
52
  value
53
53
  end
@@ -10,7 +10,7 @@ module Rake
10
10
  include Rake::Funnel::Support::MSBuild
11
11
 
12
12
  attr_accessor :name, :msbuild, :msbuild_finder, :project_or_solution, :args, :search_pattern
13
- attr_writer :project_or_solution # rubocop:disable Lint/DuplicateMethods
13
+ attr_writer :project_or_solution
14
14
 
15
15
  def initialize(*args, &task_block)
16
16
  setup_ivars(args)
@@ -18,7 +18,7 @@ module Rake
18
18
  define(args, &task_block)
19
19
  end
20
20
 
21
- def project_or_solution # rubocop:disable Lint/DuplicateMethods
21
+ def project_or_solution
22
22
  Finder.new(@project_or_solution || search_pattern, self, 'No projects or more than one project found.')
23
23
  end
24
24
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rake
4
4
  module Funnel
5
- VERSION = '0.22.3'.freeze
5
+ VERSION = '0.23.0'.freeze
6
6
  end
7
7
  end
@@ -16,11 +16,11 @@ Gem::Specification.new do |s| # rubocop:disable Metrics/BlockLength
16
16
  s.summary = 'A build pipeline targeted at .NET projects. Supports environment configuration and makes invoking .NET-related tasks easier.' # rubocop:disable Metrics/LineLength
17
17
 
18
18
  # We support Ruby 2.0 whereas rubocop does not.
19
- s.required_ruby_version = '>= 2.0.0' # rubocop:disable Gemspec/RequiredRubyVersion
19
+ s.required_ruby_version = '>= 2.0.0'
20
20
 
21
21
  s.add_dependency 'configatron', '~> 4.5'
22
- s.add_dependency 'rake', '>= 10.4', '< 13'
23
- s.add_dependency 'rubyzip', '~> 1.0'
22
+ s.add_dependency 'rake', '>= 10.4', '< 14'
23
+ s.add_dependency 'rubyzip', '>= 1.3.0', '< 3'
24
24
  s.add_dependency 'smart_colored'
25
25
 
26
26
  git = ENV['TEAMCITY_GIT_PATH'] || 'git'
@@ -2,13 +2,13 @@
2
2
 
3
3
  describe Rake::Funnel::Extensions::REXML::Functions do # rubocop:disable RSpec/FilePath
4
4
  let(:xml) do
5
- <<XML
6
- <editors xmlns="http://example.com">
7
- <editor id="emacs">EMACS</editor>
8
- <editor id="vi">VIM</editor>
9
- <editor id="notepad">Notepad</editor>
10
- </editors>
11
- XML
5
+ <<-XML
6
+ <editors xmlns="http://example.com">
7
+ <editor id="emacs">EMACS</editor>
8
+ <editor id="vi">VIM</editor>
9
+ <editor id="notepad">Notepad</editor>
10
+ </editors>
11
+ XML
12
12
  end
13
13
 
14
14
  subject { REXML::Document.new(xml) }
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- xdescribe Rake::Funnel::Support::SpecsRemover do
3
+ describe Rake::Funnel::Support::SpecsRemover do
4
4
  before do
5
5
  allow(Rake::Funnel::Support::Trace).to receive(:message)
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-funnel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.3
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Groß
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-08 00:00:00.000000000 Z
11
+ date: 2020-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configatron
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '10.4'
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '13'
36
+ version: '14'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,21 +43,27 @@ dependencies:
43
43
  version: '10.4'
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '13'
46
+ version: '14'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rubyzip
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 1.3.0
54
+ - - "<"
52
55
  - !ruby/object:Gem::Version
53
- version: '1.0'
56
+ version: '3'
54
57
  type: :runtime
55
58
  prerelease: false
56
59
  version_requirements: !ruby/object:Gem::Requirement
57
60
  requirements:
58
- - - "~>"
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 1.3.0
64
+ - - "<"
59
65
  - !ruby/object:Gem::Version
60
- version: '1.0'
66
+ version: '3'
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: smart_colored
63
69
  requirement: !ruby/object:Gem::Requirement
@@ -233,8 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
239
  - !ruby/object:Gem::Version
234
240
  version: '0'
235
241
  requirements: []
236
- rubyforge_project:
237
- rubygems_version: 2.7.6
242
+ rubygems_version: 3.0.3
238
243
  signing_key:
239
244
  specification_version: 4
240
245
  summary: A build pipeline targeted at .NET projects. Supports environment configuration