speedflow-plugin-jira 0.3.1 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0fa3926511d5290470d01891bb32105ac6a70ce
4
- data.tar.gz: c225a7e5970b34223c2964d491874e83ea09f0a0
3
+ metadata.gz: b042e45b8c42d7235a406a86e1a433ac91eac102
4
+ data.tar.gz: 7ea13622d30eae087545029831e8897deeb4a0c9
5
5
  SHA512:
6
- metadata.gz: 5171c4191e97a2e8a885551d8f55202188c075f2cd70063e358b0731e65b01d1f7746c5fedbeb87e019db03279a0382b5b86aa6757e86763811b42a35c6f190f
7
- data.tar.gz: c2c5241ed591d29684d233540cce32cfbbf8c0b96f831fa0d3d6192179727ae1d19b060588b886bbb8c2d10725dd4aeb0fb3ffa6c976eb06a4b19a6bd4f290e4
6
+ metadata.gz: 1b6f662df1197c0d6e7380cd4b1f760ffee5d1746f611ff35012d323102ee7e02c96777c7a5504647c84fbd69ce77d5e957239e90cd57b5be6ec9aab140e26dc
7
+ data.tar.gz: 654d6ba3d2deb53be9a92f35dbac0fa7a1336843630070c73cb85e58dbfceeca661f285f89a6af42da5556ab847c5e66912dd2ad4833e72439e12dda72274208
@@ -130,7 +130,7 @@ module Speedflow
130
130
  def issue_link(issue_key)
131
131
  issue_link = @config.by_config('site')
132
132
  issue_link << @config.by_config('context_path')
133
- issue_link << '/browse/'
133
+ issue_link << 'browse/'
134
134
  issue_link << issue_key
135
135
  issue_link
136
136
  end
@@ -1,7 +1,7 @@
1
1
  module Speedflow
2
2
  module Plugin
3
3
  module Jira
4
- VERSION = '0.3.1'.freeze
4
+ VERSION = '0.3.3'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Speedflow::Plugin::Jira::Client do
4
- let(:config_site) { 'https://xxx.atlassian.net' }
4
+ let(:config_site) { 'https://xxx.atlassian.net/' }
5
5
  let(:args) do
6
6
  title = { 'value' => 'test' }
7
7
  assignee = { 'default' => 'julien.breux' }
@@ -99,7 +99,7 @@ describe Speedflow::Plugin::Jira::Client do
99
99
 
100
100
  expected_hash = {
101
101
  'issue' => { 'key' => 'T-1', 'summary' => 'Test',
102
- 'url' => "#{config_site}/browse/T-1" } }
102
+ 'url' => "#{config_site}browse/T-1" } }
103
103
  expect(client.issue_output_format(issue))
104
104
  .to eq expected_hash
105
105
  end
@@ -132,7 +132,7 @@ describe Speedflow::Plugin::Jira::Client do
132
132
  context_path: '',
133
133
  password: '',
134
134
  read_timeout: 120,
135
- site: 'https://xxx.atlassian.net',
135
+ site: 'https://xxx.atlassian.net/',
136
136
  username: ''
137
137
  }
138
138
 
@@ -10,7 +10,7 @@ describe Speedflow::Plugin::Jira::Plugin do
10
10
 
11
11
  it '.action_create_issue' do
12
12
  allow(plugin.config)
13
- .to receive(:by_required_input)
13
+ .to receive(:by_input)
14
14
  .with('title')
15
15
  .and_return('Test')
16
16
  allow(plugin.config)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: speedflow-plugin-jira
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Breux