siong1987 / danger-clubhouse

A pull request plugin to danger.systems that links to stories from Clubhouse to GitHub.
MIT License
10 stars 2 forks source link

Search stories in pull request description and comments. #2

Closed masterT closed 5 years ago

masterT commented 5 years ago

We needed at @kimoby to link Clubhouse stories from pull request description and pull request comments.

This is backward compatible since I did not change the existing API.

Changelog

# Find clubhouse story ids in the text.
#
# @return [Array<String>]
def find_story_ids(text)
  text.scan(/ch(\d+)/).flatten
end
siong1987 commented 5 years ago

@masterT i am no longer using this gem :(

masterT commented 5 years ago

@siong1987 oh, can you publish the new version on RubyGems?

masterT commented 5 years ago

@siong1987 can you publish the new version on RubyGems even if you are not using the gem anymore?