durt 0.11.0 → 0.11.1

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: a79549849f47d7161682e6dfc419395c07b1a85acb64e3fb1960564c444a1625
4
- data.tar.gz: 349b33a912f66978bd7f9d92d0ac90d40f9747a0f5f24ef636d0897886f944c3
3
+ metadata.gz: fa24e04771756766129b6df3a528a647a9d73996b83468165148d3629116e863
4
+ data.tar.gz: 5f3071b6614317fd98153fa827bf805bf47153fdd613961399eb844d4b355bc0
5
5
  SHA512:
6
- metadata.gz: 9e5facc089af1213b1b6ee26344e1e8a766d827c261294281de3004f01c84be1ac79f4adb599ecfeda7c53cd70698767ec89dc0a947f583ba8d6743a2c87ae9e
7
- data.tar.gz: e9afa291bf22c73a703326f6312144719300001092bcbc8125885dfe1acaee92b491609306a4ad0350cd9e312abab039a1e62d6a9b3a03fa03b8a2a70594dd30
6
+ metadata.gz: b270f142772b8e76961f7271d39b8262caa17a8794b30d05136690f93e00baa9ddd7d14a10f6bd39dc90240206bdff71bdbd55aad02c74c278042a8aba1b76f5
7
+ data.tar.gz: 2ed6298e8c7d0c09b6ba49249157b853394b7dc1c4b94bd209ebc743596cc41f737b2954b5fdbc5ea6fa35fe6fbc00800f61ba6d26b6d0ea4b75fb661fa70022
@@ -20,7 +20,13 @@ module Durt
20
20
  begin
21
21
  plugin = select_source(project)
22
22
 
23
- prompt.select("Select issue: ", plugin.issues.to_choice_h)
23
+ raise "No plugin selected" unless plugin.present?
24
+
25
+ issues = plugin.issues
26
+
27
+ raise "No issue available to select" unless issues.present?
28
+
29
+ prompt.select("Select issue: ", issues.to_choice_h)
24
30
  end
25
31
 
26
32
  project.issues.update_all(active: false)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Durt
4
- VERSION = '0.11.0'
4
+ VERSION = '0.11.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: durt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis Felipe Sanchez
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-02 00:00:00.000000000 Z
11
+ date: 2020-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -193,7 +193,7 @@ dependencies:
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0.15'
195
195
  description: EBS tool for me
196
- email:
196
+ email:
197
197
  executables:
198
198
  - durt
199
199
  extensions: []
@@ -240,7 +240,7 @@ homepage: https://durt.github.io
240
240
  licenses:
241
241
  - MIT
242
242
  metadata: {}
243
- post_install_message:
243
+ post_install_message:
244
244
  rdoc_options: []
245
245
  require_paths:
246
246
  - lib
@@ -255,8 +255,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
255
255
  - !ruby/object:Gem::Version
256
256
  version: '0'
257
257
  requirements: []
258
- rubygems_version: 3.0.3
259
- signing_key:
258
+ rubygems_version: 3.1.2
259
+ signing_key:
260
260
  specification_version: 4
261
261
  summary: Unify tools for EBS
262
262
  test_files: