Class: FlashFlow::IssueTracker::Base
- Inherits:
-
Object
- Object
- FlashFlow::IssueTracker::Base
- Defined in:
- lib/flash_flow/issue_tracker.rb
Instance Method Summary collapse
-
#initialize(_config = nil) ⇒ Base
constructor
A new instance of Base.
- #production_deploy ⇒ Object
- #release_keys(story_id) ⇒ Object
- #release_notes(hours, file = STDOUT) ⇒ Object
- #stories_delivered ⇒ Object
- #stories_for_release(release_key) ⇒ Object
- #stories_pushed ⇒ Object
- #story_deployable?(story_id) ⇒ Boolean
- #story_link(story_id) ⇒ Object
- #story_title(story_id) ⇒ Object
Constructor Details
#initialize(_config = nil) ⇒ Base
Returns a new instance of Base.
11 12 13 14 15 16 17 |
# File 'lib/flash_flow/issue_tracker.rb', line 11 def initialize(_config=nil) @config = _config issue_tracker_class_name = @config && @config['class'] && @config['class']['name'] return unless issue_tracker_class_name @issue_tracker_class = Object.const_get(issue_tracker_class_name) end |
Instance Method Details
#production_deploy ⇒ Object
27 28 29 |
# File 'lib/flash_flow/issue_tracker.rb', line 27 def production_deploy issue_tracker.production_deploy if issue_tracker.respond_to?(:production_deploy) end |
#release_keys(story_id) ⇒ Object
47 48 49 |
# File 'lib/flash_flow/issue_tracker.rb', line 47 def release_keys(story_id) issue_tracker.release_keys(story_id) if issue_tracker.respond_to?(:release_keys) end |
#release_notes(hours, file = STDOUT) ⇒ Object
31 32 33 |
# File 'lib/flash_flow/issue_tracker.rb', line 31 def release_notes(hours, file=STDOUT) issue_tracker.release_notes(hours, file) if issue_tracker.respond_to?(:release_notes) end |
#stories_delivered ⇒ Object
23 24 25 |
# File 'lib/flash_flow/issue_tracker.rb', line 23 def stories_delivered issue_tracker.stories_delivered if issue_tracker.respond_to?(:stories_delivered) end |
#stories_for_release(release_key) ⇒ Object
51 52 53 |
# File 'lib/flash_flow/issue_tracker.rb', line 51 def stories_for_release(release_key) issue_tracker.stories_for_release(release_key) if issue_tracker.respond_to?(:stories_for_release) end |
#stories_pushed ⇒ Object
19 20 21 |
# File 'lib/flash_flow/issue_tracker.rb', line 19 def stories_pushed issue_tracker.stories_pushed if issue_tracker.respond_to?(:stories_pushed) end |
#story_deployable?(story_id) ⇒ Boolean
35 36 37 |
# File 'lib/flash_flow/issue_tracker.rb', line 35 def story_deployable?(story_id) issue_tracker.story_deployable?(story_id) if issue_tracker.respond_to?(:story_deployable?) end |
#story_link(story_id) ⇒ Object
39 40 41 |
# File 'lib/flash_flow/issue_tracker.rb', line 39 def story_link(story_id) issue_tracker.story_link(story_id) if issue_tracker.respond_to?(:story_link) end |
#story_title(story_id) ⇒ Object
43 44 45 |
# File 'lib/flash_flow/issue_tracker.rb', line 43 def story_title(story_id) issue_tracker.story_title(story_id) if issue_tracker.respond_to?(:story_title) end |