targit 0.1.3 → 0.1.4

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: 9f6a709ec2674f96ad653510731da876a40141ec
4
- data.tar.gz: 381a145f43438600745ae4245cf1bebcd1e301b6
3
+ metadata.gz: 1dfdc9dd069070fd0d5ba245cab5298440d18d7c
4
+ data.tar.gz: 3684d1247d3234cfc4e700c39b7c73f58b69dacf
5
5
  SHA512:
6
- metadata.gz: 8df4c3919ae0f1bda174c89774eb444d33ca49b3b12bfb60cd05c143cd58be6dfbde9eab990587bc3b6f8a90a1510524f9357532ab6e97e7ae6a1f06487852b4
7
- data.tar.gz: 6d8d29a35e5ba0ac7372b4c92811f41733629d73eeb6e229ab5aa351c8d45a4dff7a8e065946f6996018799e175aa0bbe5504f229e8c886ab9721f46ea60a607
6
+ metadata.gz: 3c972f8ff6b8d029e09c7bc760024675b64dfbf4e01c119e0b068a24d2ee1e4e5897aa7359d02a0caaade7a279b3ffc48d31d92105614a86dea24933b34dd52d
7
+ data.tar.gz: 1372e67260df36acd57b7f36e55b86044d180e51504cc09aac5a3875a3ac007aa9f2ecd463a80b816743db7e0af1daaa835741e4f42f4291f7d64ce9ff25ba9f
@@ -31,7 +31,7 @@ module Targit
31
31
 
32
32
  def _create_options
33
33
  opts = {}
34
- opts[:name] = @options[:create] if @options[:create].is_a? String
34
+ opts[:name] = @options[:create] if @options[:create].to_s.size
35
35
  [:prerelease, :target_commitish].each_with_object(opts) do |option, hash|
36
36
  hash[option] = @options[option] if @options[option]
37
37
  end
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # Set the version (needed for Mercenary -v)
3
3
  module Targit
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: targit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker