terjira 0.3.7 → 0.3.8

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: 81619376a1f94486a87bad473155828c7df19ffb
4
- data.tar.gz: cb695455adb913a7a34f62f4aac32e09786132b4
3
+ metadata.gz: 8881339e76dc138a081dd2cbaebc90c06518cb53
4
+ data.tar.gz: c9ed09baf4506d47dab34d5f1545d8cda2dc4701
5
5
  SHA512:
6
- metadata.gz: 92ccea746712cc915a5b77785a1a960deb9e7ad5a8f839ded15ceaa3819ebb818987b69d5897f05806fb2d09845706e3e2dcf7efd41ec2436745a44243d1df10
7
- data.tar.gz: e72c0f6b9efbfe35161bbaf139ef598d2a824a8e101d75c3493ec5dc30635b8da62d8768e836adfc828094175acdcbf6cb596d8c0ba7eaffdd3f450e1fc1281e
6
+ metadata.gz: ae66bfe7635041a00cf3f95352f520cf29cc21c9d0d10472c4cfe80eafe936245a327b59b28fcf30f72a7a7dd9ddd59b5153c9f456d19e40f064b675cb04db03
7
+ data.tar.gz: dacc51b8afb784f29c06d9788324089efa22a3de4506cf29894a180c1c34fb1dda255c803db124f101b449b026ae6d423bc2a4ac64263e6104424410b5894e65
@@ -3,7 +3,7 @@ PATH
3
3
  specs:
4
4
  terjira (0.3.7)
5
5
  activesupport (= 4.0.13)
6
- jira-ruby (~> 1.1.3)
6
+ jira-ruby (= 1.1.3)
7
7
  thor (~> 0.19.0)
8
8
  tty-prompt (~> 0.12.0)
9
9
  tty-spinner (~> 0.4.1)
@@ -24,7 +24,7 @@ GEM
24
24
  diff-lcs (1.3)
25
25
  docile (1.1.5)
26
26
  equatable (0.5.0)
27
- i18n (0.8.1)
27
+ i18n (0.8.6)
28
28
  jira-ruby (1.1.3)
29
29
  activesupport
30
30
  oauth (~> 0.5, >= 0.5.0)
@@ -33,7 +33,7 @@ GEM
33
33
  minitest (4.7.5)
34
34
  multi_json (1.12.1)
35
35
  necromancer (0.4.0)
36
- oauth (0.5.1)
36
+ oauth (0.5.3)
37
37
  pastel (0.7.1)
38
38
  equatable (~> 0.5.0)
39
39
  tty-color (~> 0.4.0)
@@ -7,6 +7,7 @@ module Terjira
7
7
  delegate :jql, :find, to: :resource
8
8
 
9
9
  def all(options = {})
10
+ options.delete(:assignee) if options[:assignee] =~ /^all/i
10
11
  return resource.all if options.blank?
11
12
  max_results = options.delete(:max_results) || 500
12
13
  jql(build_jql(options), max_results: max_results)
@@ -36,7 +36,6 @@ module Terjira
36
36
  opts = suggest_options
37
37
  opts[:statusCategory] ||= default_status_categories unless opts[:status]
38
38
  opts[:assignee] ||= current_username
39
- opts.delete(:assignee) if opts[:assignee] =~ /^all/i
40
39
 
41
40
  issues = client_class.all(opts)
42
41
  render_issues(issues)
@@ -1,7 +1,7 @@
1
1
  require 'terjira/utils/file_cache'
2
2
 
3
3
  module Terjira
4
- VERSION = '0.3.7'.freeze
4
+ VERSION = '0.3.8'.freeze
5
5
 
6
6
  class VersionChecker
7
7
  VERSION_CHECK_DURATION = (60 * 60 * 24 * 5).freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terjira
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaehyun Shin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-04 00:00:00.000000000 Z
11
+ date: 2017-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor