rake-manifest 0.2.2 → 0.2.3

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: be5d5dbfa92768cc47c9e978fe7d14c906b1dbae7ec763e693c49b4bf711bbf2
4
- data.tar.gz: 554db5a7676431c5fdb4dd828323d09c10c50b037203a78c31e5681c9c626af3
3
+ metadata.gz: a7eeb7b4cbaf6b8edd399b64bb5f1aeb8538ba4b152bde1d0c8c5a8287bc61b2
4
+ data.tar.gz: d47fef36bc0139eb6b49598c4d2b0302862c2b5536b677e4f4a57456e676938d
5
5
  SHA512:
6
- metadata.gz: a2dddc85d06f95a7302e3d0816951d8a684598c5254d4d75959df5f2315cc64c28f11047b5eb9e11a42a3a1a882d20e9cf330f824774e3740f0c89c624e8b8b0
7
- data.tar.gz: 84bf2f591bca96500bd7a5dd613f050c2d746ecd3a2137b9f8c11eb5eec7b9b15aadb63f69e5957049e3befb358c88c5855bd8e4ed9b8114a6ded9be2aceb806
6
+ metadata.gz: c3862f77398e735db5398d78d97c83dc6a5de5a9c9ccffe2f51def8f9012a0c53f9fa8e6451141af570e437cfc473aa0868d765d86905e1ccf1a836e0f3fbe35
7
+ data.tar.gz: fdb8759492c3d84c7badf8b37558bae916700609d8370d5d502a2e4694494059e902ca3fc96628a7b84f849c1f76adc2e5ca8960079302e61df85b51ae1ac146
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.3 / 2022-09-18
4
+
5
+ * Print generate task name when check task fails
6
+
3
7
  ## 0.2.2 / 2022-01-23
4
8
 
5
9
  * Drop support for Ruby 2.4
@@ -6,13 +6,14 @@ module Rake
6
6
  module Manifest
7
7
  # Tasks to create and check manifest file
8
8
  class Task < Rake::TaskLib
9
- attr_accessor :manifest_file, :patterns
9
+ attr_accessor :manifest_file, :patterns, :name
10
10
 
11
11
  def initialize(name = :manifest)
12
12
  super()
13
13
 
14
14
  self.manifest_file = "Manifest.txt"
15
15
  self.patterns = ["**/*"]
16
+ self.name = name
16
17
 
17
18
  yield self if block_given?
18
19
 
@@ -46,7 +47,8 @@ module Rake
46
47
  if gemmable_files == manifest_files
47
48
  puts "Manifest check succesful"
48
49
  else
49
- raise "Manifest check failed, try recreating the manifest"
50
+ raise "Manifest check failed, try recreating the manifest" \
51
+ " using #{name}:generate"
50
52
  end
51
53
  end
52
54
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rake
4
4
  module Manifest
5
- VERSION = "0.2.2"
5
+ VERSION = "0.2.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-manifest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matijs van Zuijlen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-23 00:00:00.000000000 Z
11
+ date: 2022-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.25.0
61
+ version: '1.25'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.25.0
68
+ version: '1.25'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-packaging
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.13.0
89
+ version: '1.13'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 1.13.0
96
+ version: '1.13'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop-rake
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 2.7.0
117
+ version: '2.9'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 2.7.0
124
+ version: '2.9'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: simplecov
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  requirements: []
175
- rubygems_version: 3.3.3
175
+ rubygems_version: 3.3.7
176
176
  signing_key:
177
177
  specification_version: 4
178
178
  summary: Rake tasks to generate and check a manifest file