File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,19 @@ def github_user
77
77
user
78
78
end
79
79
end
80
+
81
+ def self . pending?
82
+ entry_paths . any?
83
+ end
84
+
85
+ def self . entry_paths
86
+ Dir [ "#{ ENTRIES_PATH } *" ]
87
+ end
88
+
89
+ def self . read_entries
90
+ entry_paths . to_h { |path | [ path , File . read ( path ) ] }
91
+ end
92
+
80
93
attr_reader :header , :rest
81
94
82
95
def initialize ( content : File . read ( PATH ) , entries : Changelog . read_entries )
@@ -107,18 +120,6 @@ def merge_content
107
120
merged_content << EOF
108
121
end
109
122
110
- def self . pending?
111
- entry_paths . any?
112
- end
113
-
114
- def self . entry_paths
115
- Dir [ "#{ ENTRIES_PATH } *" ]
116
- end
117
-
118
- def self . read_entries
119
- entry_paths . to_h { |path | [ path , File . read ( path ) ] }
120
- end
121
-
122
123
def new_contributor_lines
123
124
contributors
124
125
. map { |user | format ( CONTRIBUTOR , user : user ) }
You can’t perform that action at this time.
0 commit comments