Commit 08248635ee7d9d1621e51effc9405e91059747fe
1 parent
392b7b9c
Exists in
master
and in
1 other branch
fix for ruby 1.8.7
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/issue_trackers/bitbucket_issues_tracker.rb
| ... | ... | @@ -26,7 +26,7 @@ class IssueTrackers::BitbucketIssuesTracker < IssueTracker |
| 26 | 26 | bitbucket = BitBucket.new basic_auth: "#{api_token}:#{project_id}" |
| 27 | 27 | |
| 28 | 28 | begin |
| 29 | - issue = bitbucket.issues.create api_token, repo_name.split('/')[1], title: issue_title(problem), content: body_template.result(binding), priority: 'critical' | |
| 29 | + issue = bitbucket.issues.create api_token, repo_name.split('/')[1], :title => issue_title(problem), :content => body_template.result(binding), :priority => 'critical' | |
| 30 | 30 | problem.update_attributes( |
| 31 | 31 | :issue_link => "https://bitbucket.org/#{repo_name}/issue/#{issue.local_id}/", |
| 32 | 32 | :issue_type => Label | ... | ... |