lita-jira 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +1 -0
- data/CHANGELOG.md +16 -0
- data/lib/jirahelper/regex.rb +1 -0
- data/lib/lita/handlers/jira.rb +1 -1
- data/lita-jira.gemspec +1 -1
- data/spec/lita/handlers/jira_spec.rb +9 -3
- data/spec/spec_helper.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60daa5d9457d96452b4a5173475ea8d0100e3599
|
4
|
+
data.tar.gz: dbe9dd305a9fb2d16131f3aadbd45de6371d60cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26a7c84e39b53e8efd70fa120b1917f6662df89162b947d2e8cb5b9c2f1048550c8e85a70deebb79d5f8583daff6d42465b6c71cf9d9a059b11afcace65f12ba
|
7
|
+
data.tar.gz: 75e000b407485a88e511940c8aeacae0264914196de243fc6f1ba3643756d3414e996d632a3d639500b1571c3b4f3f4d25bf28a047993aa58b98cb33ecbc0266
|
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color --profile 5
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# CHANGELOG
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
This project adheres to [Semantic Versioning] and [Keep A Changelog].
|
5
|
+
|
6
|
+
## [Unreleased]
|
7
|
+
|
8
|
+
## [0.7.2] - 2015-12-01
|
9
|
+
### Fixed
|
10
|
+
- Updated Simplecov invocation to newer style
|
11
|
+
- Adjusted ambient issue detection to avoid triggering on URL-like strings
|
12
|
+
|
13
|
+
[Unreleased]: https://github.com/esigler/lita-jira/compare/v0.7.2...HEAD
|
14
|
+
[0.7.2]: https://github.com/esigler/lita-jira/compare/v0.7.1...v0.7.2
|
15
|
+
[Semantic Versioning]: http://semver.org/
|
16
|
+
[Keep A Changelog]: http://keepachangelog.com/
|
data/lib/jirahelper/regex.rb
CHANGED
data/lib/lita/handlers/jira.rb
CHANGED
data/lita-jira.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'lita-jira'
|
3
|
-
spec.version = '0.7.
|
3
|
+
spec.version = '0.7.2'
|
4
4
|
spec.authors = ['Eric Sigler', 'Matt Critchlow']
|
5
5
|
spec.email = ['me@esigler.com', 'matt.critchlow@gmail.com']
|
6
6
|
spec.description = 'A JIRA plugin for Lita.'
|
@@ -180,8 +180,7 @@ describe Lita::Handlers::Jira, lita_handler: true do
|
|
180
180
|
end
|
181
181
|
|
182
182
|
describe '#ambient' do
|
183
|
-
it 'does not show details for a detected issue by default'
|
184
|
-
end
|
183
|
+
it 'does not show details for a detected issue by default'
|
185
184
|
|
186
185
|
context 'when enabled in config' do
|
187
186
|
before(:each) do
|
@@ -191,7 +190,8 @@ describe Lita::Handlers::Jira, lita_handler: true do
|
|
191
190
|
|
192
191
|
it 'shows details for a detected issue in a message' do
|
193
192
|
send_message('foo XYZ-987 bar')
|
194
|
-
|
193
|
+
send_message('foo XYZ-987?')
|
194
|
+
expect(replies.size).to eq(2)
|
195
195
|
end
|
196
196
|
|
197
197
|
it 'does not show details for a detected issue in a command' do
|
@@ -199,6 +199,12 @@ describe Lita::Handlers::Jira, lita_handler: true do
|
|
199
199
|
expect(replies.size).to eq(0)
|
200
200
|
end
|
201
201
|
|
202
|
+
it 'does not show details for a issue in a URL-ish context' do
|
203
|
+
send_message('http://www.example.com/XYZ-987.html')
|
204
|
+
send_message('http://www.example.com/someother-XYZ-987.html')
|
205
|
+
expect(replies.size).to eq(0)
|
206
|
+
end
|
207
|
+
|
202
208
|
context 'and an ignore list is defined' do
|
203
209
|
before(:each) do
|
204
210
|
@user1 = Lita::User.create('U1', name: 'User 1', mention_name: 'user1')
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-jira
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Sigler
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-12-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: lita
|
@@ -132,8 +132,10 @@ extensions: []
|
|
132
132
|
extra_rdoc_files: []
|
133
133
|
files:
|
134
134
|
- ".gitignore"
|
135
|
+
- ".rspec"
|
135
136
|
- ".rubocop.yml"
|
136
137
|
- ".travis.yml"
|
138
|
+
- CHANGELOG.md
|
137
139
|
- CONTRIBUTING.md
|
138
140
|
- Gemfile
|
139
141
|
- LICENSE
|