git-story-workflow 0.3.0 → 0.3.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
  SHA1:
3
- metadata.gz: 0d96db4c44d5cd4fb385b923527dd7bf329d69d7
4
- data.tar.gz: 4163367466affb792ba91078165b14a96e7d2511
3
+ metadata.gz: 4aea46e72caf2836d7371d6d239f999f35b13ab1
4
+ data.tar.gz: 017efac5c7306c646de0544200507accc458c397
5
5
  SHA512:
6
- metadata.gz: d71654977096c90b5b5dd88967c5f412f256d6fca9a68714984789aaaf509b5e38b2925e4b658a323b4aad5dc10feb43ce927942330486c14d0c808017f87ad0
7
- data.tar.gz: c2a5cac775742ba5f70c1ff0b379c3a0d9cd9f51dc5045686dee4534d9c4ab1071e0e331fd7f2b52d48030f0441c06ab433f8bde94f5995941e5163b74572b58
6
+ metadata.gz: 24d2af0c336a68f971f439179138f8a30070f840811aebc571d0cb0aecdca3696d2e26f7d8bcbeee3b6dd1a7deefacd0205dc221ececf1dffda95a0d9b761622
7
+ data.tar.gz: 152cd0e2cb21b811cdc20b21ef96d7fb5ed2a26946f4667749b5262cae661f75e39fafb3aabde40fc4e450946154fab27218b0f0ede300cf9fa1712fcdb0e3f2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: git-story-workflow 0.3.0 ruby lib
2
+ # stub: git-story-workflow 0.3.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "git-story-workflow".freeze
6
- s.version = "0.3.0"
6
+ s.version = "0.3.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]
@@ -271,7 +271,10 @@ class Git::Story::App
271
271
 
272
272
  command doc: '[BRANCH] open branch on github'
273
273
  def github(branch = current(check: false))
274
- system "open #{github_url(branch).inspect}"
274
+ if url = github_url(branch)
275
+ system "open #{url.inspect}"
276
+ end
277
+ nil
275
278
  end
276
279
 
277
280
  command doc: '[BRANCH] open branch on github'
@@ -280,6 +283,7 @@ class Git::Story::App
280
283
  story_url = fetch_story(story_id)&.url
281
284
  system "open #{story_url}"
282
285
  end
286
+ nil
283
287
  end
284
288
 
285
289
  private
@@ -1,6 +1,6 @@
1
1
  module Git::Story
2
2
  # Git::Story version
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank