git-story-workflow 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 596a9130689707c63f88c05175e839d2fd6618452096191d9f943ab7b0cf5273
4
- data.tar.gz: e2917683df0992dc786210a6d666aa287f615501ab2334916d6a49c828579ddf
3
+ metadata.gz: 9281d7ee0268375c1962f2e770d845eb3cbf8ebb26f0655b5362d52174698558
4
+ data.tar.gz: 8c0dfe010aaee441b7548f877492cfa68b394f2896862fa0e184991004302703
5
5
  SHA512:
6
- metadata.gz: 58477df77c6ab0ffcfda37cd1089dca528bb19b412f5e5359271d5b9956537c001f283e798881deedcae90f6ffd4254f76e37c95d7872e04caf3af9f1122b034
7
- data.tar.gz: ce696203a7f9955074fa7829d5c2afd31adb884154c9eca38820bd9f91a38b5f97c6ba01c99523c1155316652503289f7bd7030ff4b3f442ddecdddab0823278
6
+ metadata.gz: 6fd7c0939eb952e7f3e92d2ba3366fe469e829f70a238b5f54ed53cd101e05132651c62097ea0069a9761b3e95c148b726ff2c30112321d1f80bd829859e8ce7
7
+ data.tar.gz: 781376972c269ebd38e1ac0993d07daafd97365c6a4b6d4d41ba7280c02f9967794247df69c1104ed81db47357e232acebb644540faefc57cae723a7793a8496
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.7.1
data/config/story.yml CHANGED
@@ -5,4 +5,3 @@ pivotal_reference_prefix: pivotal
5
5
  deploy_tag_prefix: production_deploy_
6
6
  semaphore_auth_token: <%= ENV['SEMAPHORE_AUTH_TOKEN'] %>
7
7
  semaphore_project_url: https://betterplace.semaphoreci.com/projects/betterplace
8
- todo_nudging: <%= ENV['TODO_NUDGING'].to_i == 1 %>
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: git-story-workflow 1.7.0 ruby lib
2
+ # stub: git-story-workflow 1.7.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "git-story-workflow".freeze
6
- s.version = "1.7.0"
6
+ s.version = "1.7.1"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
10
  s.authors = ["Florian Frank".freeze]
11
- s.date = "2022-01-12"
11
+ s.date = "2022-01-17"
12
12
  s.description = "Gem abstracting a git workflow\u2026".freeze
13
13
  s.email = "flori@ping.de".freeze
14
14
  s.executables = ["git-story".freeze]
data/lib/git/story/app.rb CHANGED
@@ -619,10 +619,10 @@ class Git::Story::App
619
619
 
620
620
  def fetch_stories(pivotal_ids, &block)
621
621
  block or raise ArgumentError, '&block parameter is required'
622
- tg = ThreadGroup.new
622
+ threads = []
623
623
  pivotal_ids.each do |pid|
624
624
  order = 0
625
- tg.add(
625
+ threads.push(
626
626
  Thread.new do
627
627
  Thread.current[:order] = order
628
628
  Thread.current[:result] = block.(pid)
@@ -630,11 +630,11 @@ class Git::Story::App
630
630
  end
631
631
  )
632
632
  end
633
- tg.list.with_infobar(label: 'Story').map do |t|
633
+ threads.with_infobar(label: 'Story').map do |t|
634
634
  t.join
635
635
  +infobar
636
636
  [ t[:order], t[:result] ]
637
- end.sort_by(&:first).transpose[1]
637
+ end.sort_by(&:first).transpose[1].to_a
638
638
  end
639
639
 
640
640
  def fetch_statuses(pivotal_ids)
@@ -1,6 +1,6 @@
1
1
  module Git::Story
2
2
  # Git::Story version
3
- VERSION = '1.7.0'
3
+ VERSION = '1.7.1'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-story-workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-12 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar