sem_ver_components 0.2.2 → 0.2.3

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: 615e48cee99768167dff45e0889a1718250c4a7188a8c7d2ad0ed2dcb193dd1c
4
- data.tar.gz: 4e4233b956a6e99179c7c5f10dc2f4bba5ade9c90b27b7a3b85326f259ade41c
3
+ metadata.gz: 185deb09195baa6edae7e07fbd2bcc12950e68bdca1e7a2d8dac5701bc7ffeac
4
+ data.tar.gz: 201606f2490c02ba2819582bf787c7f8264d577f6c7feeebc1ef9ddfbf41ce0e
5
5
  SHA512:
6
- metadata.gz: fe8e33a730795782a2576b065aaa074295afc3f10eabb8f9f7070cbdb93d30e62545f0daab470072b76c8b92ea71cb7729f7a7b75b61c11eaa3109b7b66ebbb9
7
- data.tar.gz: 1a7572ba83c6b9b643e25bdb13ce41ee7e4bdc0f08bc95392ec68e2941a75bafa22e16f157eba7b7a7a52a2c5110a65870ddf84bef72894f081ccf2691147345
6
+ metadata.gz: 9af95c9e8a9fb2377eafaa277cd730f4a11d698484b6794441b49d88e0022faf7aa77a89fe883a4f5489faafc822e1c522c539b3a4f2061c4d428c43a63ea5cb
7
+ data.tar.gz: 373c35bad5e6a655c80fa0a7a2430203309380cf98a645ba99bcefb9bae9cad6fdb777e679dfcfcc0789755e6998c8ad2398d9ab3aca02ba660ff9aa7a9470dc
@@ -17,7 +17,7 @@ git_hosting_plugins = SemVerComponents::Plugins.new(:git_hostings)
17
17
  OptionParser.new do |opts|
18
18
  opts.banner = "Usage: #{File.basename($0)} [options]"
19
19
  opts.on('-f', '--from GIT_REF', 'Git reference from which commits are to be analyzed (defaults to first commit)') do |git_ref|
20
- git_from = git_ref
20
+ git_from = git_ref.empty? ? nil : git_ref
21
21
  end
22
22
  opts.on('-g', '--git_hosting GIT_HOSTING', "Specify which kind of git hosting is used. Used to format URLs to commits and comparisons. Possible values are #{git_hosting_plugins.list.sort.join(', ')}. (defaults to #{git_hosting})") do |git_hosting_str|
23
23
  git_hosting = git_hosting_str.to_sym
@@ -1,5 +1,5 @@
1
1
  module SemVerComponents
2
2
 
3
- VERSION = '0.2.2'
3
+ VERSION = '0.2.3'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sem_ver_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muriel Salvan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-18 00:00:00.000000000 Z
11
+ date: 2021-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git