summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-09-30 05:23:26 +0000
committerGo MAEDA <maeda@farend.jp>2023-09-30 05:23:26 +0000
commita7e21f1dfd8ba0e4d8992a30d0e53ca1f33702d9 (patch)
tree66d5ae63f64b779bdfdb1c6ca759a65b460b0c09 /bin
parent80880d9aaaf74eae50bdeea6ebabf7dab0723d4e (diff)
downloadredmine-a7e21f1dfd8ba0e4d8992a30d0e53ca1f33702d9.tar.gz
redmine-a7e21f1dfd8ba0e4d8992a30d0e53ca1f33702d9.zip
Fix the changelog generator to work with the current www.redmine.org.
git-svn-id: https://svn.redmine.org/redmine/trunk@22321 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'bin')
-rw-r--r--bin/changelog.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/changelog.rb b/bin/changelog.rb
index 6bed48869..a160280ca 100644
--- a/bin/changelog.rb
+++ b/bin/changelog.rb
@@ -98,11 +98,11 @@ module Redmine
'&c%5B%5D=category&group_by='
VERSIONS_URL = 'https://www.redmine.org/versions/' + @v_id
- PAGINATION_ITEMS_SPAN_SELECTOR = 'div#content p.pagination > span.items'
+ PAGINATION_ITEMS_SPAN_SELECTOR = 'div#content span.pagination span.items'
ISSUE_TR_SELECTOR = 'div#content table.list.issues > tbody > tr'
VERSION_DETAILS_SELECTOR = 'div#content'
- VERSION_NAME_SELECTOR = 'div#content > h2'
- RELEASE_DATE_SELECTOR = 'div#content > div#roadmap > p'
+ VERSION_NAME_SELECTOR = 'div#roadmap > h2'
+ RELEASE_DATE_SELECTOR = 'div#roadmap > div.version-overview p'
PAGINATION_ITEMS_SPAN_REGEX = %r{(?:[(])([\d]+)(?:-)([\d]+)(?:[\/])([\d]+)(?:[)])}
RELEASE_DATE_REGEX_INCOMPLETE = %r{\((\d{4}-\d{2}-\d{2})\)}