diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/changelog.rb | 6 |
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})\)} |