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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/bake/modernize/license.rb +6 -4
- data/lib/bake/modernize/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cec63d20974df25945fd6814f8d3482ebf15d2c6a8f8f115bb52fdc7bb1edbe2
|
4
|
+
data.tar.gz: 1de8853d24bea2632cf43d45212c0e54a729d04a7628c0ef310d2c25fe0eec9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
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
|
109
|
-
add(author, time
|
110
|
+
contributors.each do |path, author, time|
|
111
|
+
add(path, author, time)
|
110
112
|
end
|
111
113
|
end
|
112
114
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|