git-story-workflow 0.2.0 → 0.2.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: 8b22aeccbb93e24c1ed444a5d846b739d35bf015bf09abfb7d5030ef88c740de
4
- data.tar.gz: 445b375ad12702e5d4ffd5179014e0e360e70088bfc703bbf6c72256a583e16c
3
+ metadata.gz: 43c968c9f9d5bbd21254536ec3a1b2ea2300a21f30d7bd16d41be8d575836130
4
+ data.tar.gz: 91a94c2145b59e6c47bdc84e88fc953468ac88c26c6212f12804c3ee34e42ba3
5
5
  SHA512:
6
- metadata.gz: 87ed8b1af5ae2754fbe5a4be9bcf0f5261da02601ffdcbf5892a2d29dab3da64c9704d9a1539a99cd007d8fb82d8945519e83c4d29bd11521b544bb3c4f60e86
7
- data.tar.gz: f43aa63dee9673b3edf0ad8fd0caae1c25326f271b0842e50566e67cf358c61c758916db8d88307ba4f8016ed35b89a66af210f3c9b52d6d549f6c0443767611
6
+ metadata.gz: a3990f389072d4f4ede00b5235478f8e45ce274e9e430a27e1600f4c64caca348a02c7038fd5dd69abd2a239bd1174b5f02c9d371c668e68094d7a64f841ac3a
7
+ data.tar.gz: c28cb6e35f7fdafe0d26b9e2bec5c13b653ec263ea7de0b5c68cbc2fb5bddae4c4cd99d18fc2f4455d9a8b231408c5649fc83634c116d10a25d638624d611c00
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: git-story-workflow 0.2.0 ruby lib
2
+ # stub: git-story-workflow 0.2.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "git-story-workflow".freeze
6
- s.version = "0.2.0"
6
+ s.version = "0.2.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]
data/lib/git/story/app.rb CHANGED
@@ -126,7 +126,6 @@ class Git::Story::App
126
126
  command doc: '[STORY_ID] fetch status of current story'
127
127
  def status(story_id = current(check: true)&.[](/_(\d+)\z/, 1)&.to_i)
128
128
  if story = fetch_story(story_id)
129
- jj story
130
129
  color_state =
131
130
  case cs = story.current_state
132
131
  when 'unscheduled', 'planned', 'unstarted'
@@ -318,6 +317,7 @@ class Git::Story::App
318
317
  end
319
318
 
320
319
  def apply_story_accessors(ref)
320
+ branch = ref[0]
321
321
  branch =~ BRANCH_NAME_REGEX or return
322
322
  branch.extend StoryAccessors
323
323
  branch.story_base_name = ref[0]
@@ -1,6 +1,6 @@
1
1
  module Git::Story
2
2
  # Git::Story version
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-story-workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank