rake 12.3.2 → 12.3.3

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: 99ff54932cfc348c5536806e90de3ad7ff47a67dfd2499eef46e29d616ed0e61
4
- data.tar.gz: f9687a6a1790750b5301e0df314f9c6715123913e82eefdc99aa658bb5b2494f
3
+ metadata.gz: 8bdd2e72f2f0ed9bd143e9f691203343bc430717dde81d9928807ce267c60d49
4
+ data.tar.gz: 77a5a8acd239396ac98ae54b146d70e1c8407d18109010eaa495f4fb15310f6b
5
5
  SHA512:
6
- metadata.gz: deac7dec6000ea0ecd3b48c5af16281ab442edce63576dc85d62cb77de7b7b742530d2006bdeb2269fc7dc5c8efbfcebe9e681d7f3f60b548865abe9a62b30f7
7
- data.tar.gz: 997176963c950b687defab8cb5a62c45807887efb1631dd6b1a593b16a094c18f26211ba57e28a49db804976fb8588dbaf0a27cc5156c1ea4908a275b43bc350
6
+ metadata.gz: 3c47fee4f4436744de8cf095683f5298920128a12bd6415c689ca815626bbf36330015bed62e758324ee4762a018294695f6106f9c29883330cea7915787b957
7
+ data.tar.gz: 5d9c91f228cb06f6ebbb3b3aaae13664f4d12b04cfdd3413e4c0d1c6083ec5de2c3b89a5bf9e62a9a82105a7411ac2cb2bdb84cb36ca033a4b710d10a5661312
@@ -1,3 +1,14 @@
1
+ === 12.3.3
2
+
3
+ ==== Bug fixes
4
+
5
+ * Use the application's name in error message if a task is not found.
6
+ Pull Request #303 by tmatilai
7
+
8
+ ==== Enhancements:
9
+
10
+ * Use File.open explicitly.
11
+
1
12
  === 12.3.2
2
13
 
3
14
  ==== Bug fixes
@@ -0,0 +1,11 @@
1
+ jobs:
2
+ - job: macOS
3
+ pool:
4
+ vmImage: 'macos-10.13'
5
+ steps:
6
+ - script: |
7
+ gem install bundler
8
+ bundle install --retry=3 --jobs=4
9
+ displayName: 'bundle install'
10
+ - script: ruby -Ilib exe/rake
11
+ displayName: 'ruby -Ilib exe/rake'
@@ -294,7 +294,7 @@ module Rake
294
294
  matched = 0
295
295
  each do |fn|
296
296
  begin
297
- open(fn, "r", *options) do |inf|
297
+ File.open(fn, "r", *options) do |inf|
298
298
  count = 0
299
299
  inf.each do |line|
300
300
  count += 1
@@ -60,7 +60,8 @@ module Rake
60
60
  end
61
61
 
62
62
  def generate_message_for_undefined_task(task_name)
63
- message = "Don't know how to build task '#{task_name}' (See the list of available tasks with `rake --tasks`)"
63
+ message = "Don't know how to build task '#{task_name}' "\
64
+ "(See the list of available tasks with `#{Rake.application.name} --tasks`)"
64
65
  message + generate_did_you_mean_suggestions(task_name)
65
66
  end
66
67
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Rake
3
- VERSION = "12.3.2"
3
+ VERSION = "12.3.3"
4
4
 
5
5
  module Version # :nodoc: all
6
6
  MAJOR, MINOR, BUILD, *OTHER = Rake::VERSION.split "."
@@ -24,7 +24,7 @@ Rake has the following features:
24
24
  s.licenses = ["MIT".freeze]
25
25
 
26
26
  s.files = %x[git ls-files -z].split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } -
27
- %w[.rubocop.yml .travis.yml appveyor.yml]
27
+ %w[.rubocop.yml .gitignore .travis.yml appveyor.yml]
28
28
  s.bindir = "exe"
29
29
  s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
30
  s.require_paths = ["lib".freeze]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.3.2
4
+ version: 12.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroshi SHIBATA
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2018-12-07 00:00:00.000000000 Z
13
+ date: 2019-07-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -101,13 +101,13 @@ executables:
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
- - ".gitignore"
105
104
  - CONTRIBUTING.rdoc
106
105
  - Gemfile
107
106
  - History.rdoc
108
107
  - MIT-LICENSE
109
108
  - README.rdoc
110
109
  - Rakefile
110
+ - azure-pipelines.yml
111
111
  - bin/bundle
112
112
  - bin/console
113
113
  - bin/rake
@@ -192,8 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  - !ruby/object:Gem::Version
193
193
  version: 1.3.2
194
194
  requirements: []
195
- rubyforge_project:
196
- rubygems_version: 2.7.6
195
+ rubygems_version: 3.0.3
197
196
  signing_key:
198
197
  specification_version: 4
199
198
  summary: Rake is a Make-like program implemented in Ruby
data/.gitignore DELETED
@@ -1,14 +0,0 @@
1
- *.bak
2
- *.rbc
3
- *.swp
4
- *~
5
- .#*
6
- .DS_Store
7
- .idea
8
- .rbx
9
- /.rdoc
10
- /TAGS
11
- /coverage
12
- /html
13
- /pkg
14
- Gemfile.lock