terjira 0.4.6 → 0.4.7

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
  SHA256:
3
- metadata.gz: afe7fe912b16f83291b72eb8657ad43dd878ad093ce809062f3f32d5035741a6
4
- data.tar.gz: 8f5590f4794c181e11b39c781c74e1de4a33f40cc052471548d17e5037a5e0cf
3
+ metadata.gz: 3b0c66ace6a59428c4a51921930b7c948a7b56042d283c61387c7eac25c6237c
4
+ data.tar.gz: '0249fb8053a3a454735f23432a741c662f69469207afc75d0e946004eba473b7'
5
5
  SHA512:
6
- metadata.gz: e34df55bb5f59bbd916df2ac0508427d4cb04f95abcaa887af531de2e38eba76e4519e23c1c79fddf226ef1016310715a78c339b1f07fae4b40ea958fb312c2e
7
- data.tar.gz: a1629ad950dd3fc36f23ade0d7bbf940e24b5ca6ecf0de68793f9cb94e9fec8ed840b74a4dc307872e9858823bfadd3721a9f3aad9a0d285480d57192ddafe3d
6
+ metadata.gz: ca0b142ba4b7030eb806f4911958c940f6749e4fd902c34d727cfdecad8d13545e26bc39ce0887c62cf1c3f7fc21342bfec864f387d02303bc0382ee9c702c09
7
+ data.tar.gz: 6e86f5df304463753a7d00eb771c6925da806d091076d132d8c8f860d3b237e0cfc3214e31ea6868afd9e4a64b12ba9ae4d1b5635c80962ad5dfaf54095b1f97
data/.gitignore CHANGED
@@ -47,7 +47,7 @@ build-iPhoneSimulator/
47
47
  # for a library or gem, you might want to ignore these files since the code is
48
48
  # intended to run in multiple environments; otherwise, check them in:
49
49
  # Gemfile.lock
50
- # .ruby-version
50
+ .ruby-version
51
51
  # .ruby-gemset
52
52
 
53
53
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- terjira (0.4.6)
4
+ terjira (0.4.7)
5
5
  activesupport (= 6.0.3.1)
6
- jira-ruby (= 1.7.1)
6
+ jira-ruby (= 2.0.0)
7
7
  thor (~> 1.0.1)
8
8
  tty-prompt (~> 0.20.0)
9
9
  tty-spinner (~> 0.9.3)
@@ -21,20 +21,20 @@ GEM
21
21
  atlassian-jwt (0.2.0)
22
22
  jwt (~> 2.1.0)
23
23
  coderay (1.1.3)
24
- concurrent-ruby (1.1.6)
24
+ concurrent-ruby (1.1.7)
25
25
  diff-lcs (1.4.2)
26
26
  docile (1.3.2)
27
27
  equatable (0.6.1)
28
- i18n (1.8.3)
28
+ i18n (1.8.5)
29
29
  concurrent-ruby (~> 1.0)
30
- jira-ruby (1.7.1)
30
+ jira-ruby (2.0.0)
31
31
  activesupport
32
32
  atlassian-jwt
33
33
  multipart-post
34
34
  oauth (~> 0.5, >= 0.5.0)
35
35
  jwt (2.1.0)
36
36
  method_source (0.9.2)
37
- minitest (5.14.1)
37
+ minitest (5.14.2)
38
38
  multipart-post (2.1.1)
39
39
  necromancer (0.5.1)
40
40
  oauth (0.5.4)
@@ -69,7 +69,7 @@ GEM
69
69
  strings-ansi (0.2.0)
70
70
  thor (1.0.1)
71
71
  thread_safe (0.3.6)
72
- tty-color (0.5.1)
72
+ tty-color (0.5.2)
73
73
  tty-cursor (0.7.1)
74
74
  tty-prompt (0.20.0)
75
75
  necromancer (~> 0.5.0)
@@ -93,7 +93,7 @@ GEM
93
93
  unicode-display_width (1.7.0)
94
94
  unicode_utils (1.4.0)
95
95
  wisper (2.0.1)
96
- zeitwerk (2.3.0)
96
+ zeitwerk (2.4.0)
97
97
 
98
98
  PLATFORMS
99
99
  ruby
data/README.md CHANGED
@@ -33,7 +33,8 @@ If you have permission problem,
33
33
  ## Usage
34
34
  ```
35
35
  Authentication:
36
- jira login # Login your Jira using your Jira email & API token
36
+ jira login # Login your Jira using your Jira email & password
37
+ # for Server or API token for Cloud.
37
38
  # Refer: https://confluence.atlassian.com/cloud/api-tokens-938839638.html
38
39
  # [--ssl-config] with ssl configuration
39
40
  # [--proxy-config] with proxy configuration
@@ -30,7 +30,7 @@ module Terjira
30
30
  key(:site).ask('Site (ex: https://myjira.atlassian.net):', required: true)
31
31
  key(:context_path).ask('Jira path in your site (just press enter if you don\'t have):', default: '')
32
32
  key(:username).ask('Username:', required: true)
33
- key(:password).mask('Password:', required: true)
33
+ key(:password).mask('Password (Server) / API Token (Cloud):', required: true)
34
34
 
35
35
  if options['ssl-config']
36
36
  key(:use_ssl).yes?('Use SSL?')
@@ -7,7 +7,6 @@ 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
11
10
  return resource.all if options.blank?
12
11
  max_results = options.delete(:max_results) || 500
13
12
  jql(build_jql(options), max_results: max_results)
@@ -96,7 +95,7 @@ module Terjira
96
95
 
97
96
  custom_fields = options.keys.select { |k| k.to_s =~ /^customfield/ }
98
97
 
99
- (custom_fields + [:summary, :description]).each do |k, _v|
98
+ (custom_fields + [:summary, :description]).each_key do |k, _v|
100
99
  params[k] = opts.delete(k) if opts.key?(k)
101
100
  end
102
101
 
@@ -1,7 +1,7 @@
1
1
  require 'terjira/utils/file_cache'
2
2
 
3
3
  module Terjira
4
- VERSION = '0.4.6'.freeze
4
+ VERSION = '0.4.7'.freeze
5
5
 
6
6
  class VersionChecker
7
7
  VERSION_CHECK_DURATION = (60 * 60 * 24 * 5).freeze
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.name = "terjira"
9
9
  spec.version = Terjira::VERSION
10
10
  spec.authors = ["Jaehyun Shin", "Ren Guoy"]
11
- spec.email = ["keepcosmos@gmail.com", "guoy.ren@gmail.com"]
11
+ spec.email = ["keepcosmos@gmail.com", "zhiren.guoy@hey.com"]
12
12
 
13
13
  spec.summary = "Terjira is interactive command line application for Jira"
14
14
  spec.description = "Terjira is interactive and easy to use command line interface (or Application) for Jira.\nYou do not need to remember resource key or id. Terjira suggests with interactive prompt."
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ["lib"]
22
22
 
23
23
  spec.add_dependency "thor", "~> 1.0.1"
24
- spec.add_dependency "jira-ruby", "1.7.1"
24
+ spec.add_dependency "jira-ruby", "2.0.0"
25
25
  spec.add_dependency "activesupport", "6.0.3.1"
26
26
 
27
27
  spec.add_dependency "tty-table", "~> 0.11.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terjira
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaehyun Shin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-06-29 00:00:00.000000000 Z
12
+ date: 2020-09-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 1.7.1
34
+ version: 2.0.0
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 1.7.1
41
+ version: 2.0.0
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: activesupport
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -170,7 +170,7 @@ description: |-
170
170
  You do not need to remember resource key or id. Terjira suggests with interactive prompt.
171
171
  email:
172
172
  - keepcosmos@gmail.com
173
- - guoy.ren@gmail.com
173
+ - zhiren.guoy@hey.com
174
174
  executables:
175
175
  - jira
176
176
  extensions: []