gistory 0.1.4 → 0.1.5

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
  SHA1:
3
- metadata.gz: 3c869b6ccd9aeb5d0a9ad7b080aa35f326d62863
4
- data.tar.gz: a8b2d0930813f9d6c62503562ff68c2ceac79f30
3
+ metadata.gz: f15e11803f6e91bfb1af57610267737d808406fb
4
+ data.tar.gz: fd36322d7caa39a74a17843f6604c721906e8cdb
5
5
  SHA512:
6
- metadata.gz: 3ce6ad22492538a40df7e828931c2ec67fa423d9716db58deeefa4624244c0228427be12d9a763779e2c7c9f450efca0364beb56134915db0878c751b3429f55
7
- data.tar.gz: 385aef234e3efe8b297792c7c880d0f3a41881d8fa58cf12bc7b8ac35b4196ca675dbe00446e5ca32c236df5d624f249044d8f3859ff6f457764cc97606cf3bc
6
+ metadata.gz: 00de34130a52fcd49e7cfe8de998fd80e16307b8e62b24d357f551a27fe3eebd4b98599c354bcf51ab2cb7b9d8fc8d28c856d66ae6d5e37bab5ff3f7d40fbd55
7
+ data.tar.gz: 18fc83ae3593944d3fe8f8b7476494c1d4272baa3c162c3d09b5feed21bf1813f7bd1ca93e786cd3bf26ce87ffebf3ad7eab4317045f604bcca893c5c3c67d23
data/README.md CHANGED
@@ -43,3 +43,4 @@ only show the latest version changes up until it was removed.
43
43
  - use a libgit2 binding instead of the git cli, how much faster it is?
44
44
  - remove bundler dep
45
45
  - add yard doc
46
+ - do not print the warning text if there were no more changes in the lock file
@@ -38,6 +38,10 @@ module Gistory
38
38
  changes.each do |change|
39
39
  @io.puts "#{change.version} on #{change.date.strftime('%a, %e %b %Y %H:%M %Z')} (commit #{change.short_hash})"
40
40
  end
41
+
42
+ @io.puts ''
43
+ max = Gistory.config.max_lockfile_changes
44
+ @io.puts "The last #{max} changes to the lock file were taken into account, to see farther in the past use the -m switch" # rubocop:disable Metrics/LineLength
41
45
  end
42
46
  end
43
47
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gistory
4
- VERSION = '0.1.4'.freeze
4
+ VERSION = '0.1.5'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gistory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Medina
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-26 00:00:00.000000000 Z
11
+ date: 2017-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler