bake-modernize 0.14.3 → 0.14.4

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: e47d126f23b96ed593098da55ac6b7d66d8da92e92e7c2e68525a8ac9d492702
4
- data.tar.gz: 7f3c41662a9fd909a721d6e68286ab8968cb5f11717010a5d6adb230fdb51b71
3
+ metadata.gz: cec63d20974df25945fd6814f8d3482ebf15d2c6a8f8f115bb52fdc7bb1edbe2
4
+ data.tar.gz: 1de8853d24bea2632cf43d45212c0e54a729d04a7628c0ef310d2c25fe0eec9b
5
5
  SHA512:
6
- metadata.gz: 4fb1cd52d9464fe4c6b746003b170204fba329c24bf485ab8da6bb40add0415821fd753d2a9a2397667d302b50f3632b7f3ff693aada11e5e6e3031f6be416e9
7
- data.tar.gz: a485d8c283beb8a6414abd52e1823635950f743a6f9dfdf4471fc6cf4756d8ce796ebcf138b59270f8e16f8795e6798731cc3095cb78b02dfae8d7e4a11e0990
6
+ metadata.gz: 0b2a8578649c5c1af9ddb4c9c9798e5da8bf7f72d38f0124736fcceface78e92c6c2c3b042721a8a0993b240b24b78d5594ea9f3352ed4139d6cc53eab0e88b6
7
+ data.tar.gz: 4b642194ec8bf3dc1b85bb6809b9cb26c397677beff1af7886496251ab3303dd1c68ad33ce05f7d5548c12d60ebeac2d583093eaa46513427ba833e77ebb2018
checksums.yaml.gz.sig CHANGED
Binary file
@@ -68,7 +68,9 @@ module Bake
68
68
  end
69
69
 
70
70
  def extract(path)
71
- YAML.load_file(path, aliases: true, symbolize_names: true, permitted_classes: [Date, Time])
71
+ @contributions.concat(
72
+ YAML.load_file(path, aliases: true, symbolize_names: true, permitted_classes: [Date, Time])
73
+ )
72
74
  end
73
75
  end
74
76
 
@@ -96,7 +98,7 @@ module Bake
96
98
 
97
99
  attr :paths
98
100
 
99
- def add(author, time, path)
101
+ def add(path, author, time)
100
102
  @paths[path] ||= []
101
103
  @paths[path] << Modification.new(author, time, path)
102
104
  end
@@ -105,8 +107,8 @@ module Bake
105
107
  mailmap = Mailmap.for(root)
106
108
 
107
109
  if contributors = Contributors.for(root)
108
- contributors.each do |author, time, path|
109
- add(author, time, path)
110
+ contributors.each do |path, author, time|
111
+ add(path, author, time)
110
112
  end
111
113
  end
112
114
 
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Bake
7
7
  module Modernize
8
- VERSION = "0.14.3"
8
+ VERSION = "0.14.4"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bake-modernize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.3
4
+ version: 0.14.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file