nova_git_stats 2.3.0 → 2.4.0

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: d9c75ae01414c7ec2ecd2a0ba1f1e94bc042f0b40d59ff46d9fae171686ee0d6
4
- data.tar.gz: 50c677c1d4f8434f9c0a5ae87f58fcac8bde933b88a09171b27e880b375e8657
3
+ metadata.gz: d9440379e3d738893ac9832855eff2654bc67d8502ba96b484026bfd89352e36
4
+ data.tar.gz: 2db5e384bed363e5d27dfc2f9c8808ce633f53c61ab9eb994fd4be0e58f3e92f
5
5
  SHA512:
6
- metadata.gz: fc05e086ff8c61ff82c9ab7fb848637da6985464e8e7ee9ca5eeb2146441d60d1bc3b5ea4b64592c9d04a4b1d2e14b17b61634823545b30a17436bf5ed073adb
7
- data.tar.gz: 62c0fedfcd7a15b09f2b217a673e1609027b1bb5f61af4836a8307253ee0e114ed0a3ef8fdf3fa9ebc476fca0f4d54eb18e501f409cc2538706570cb71b82840
6
+ metadata.gz: f408d2226bc0cf2a72471212d8169da91afb7b18c6b0afa000c227b33147cf77a42e48967e922e465f13134015db4cc05daf3de7ffbaa242a4edd2f3442dcf9a
7
+ data.tar.gz: 0b25a20352dcb760a10a3859583c966062f33262823f61ae4d960e3b1659ac96d917c0020b76f05bc714452cd05dab24609a2b3f2d0454f7c80beefdf481449a
data/CHANGELOG.md CHANGED
@@ -2,11 +2,22 @@
2
2
 
3
3
  ## [master]
4
4
 
5
- [master]: https://github.com/mishina2228/nova_git_stats/compare/v2.3.0...master
5
+ [master]: https://github.com/mishina2228/nova_git_stats/compare/v2.4.0...master
6
+
7
+ ## [2.4.0]
8
+
9
+ [2.4.0]: https://github.com/mishina2228/nova_git_stats/compare/v2.3.0...v2.4.0
10
+
11
+ * Bugfixes
12
+ * Renamed CLI option name `--tree` to `--tree-path`
13
+ * **This is a potentially breaking change.**
14
+ * `--tree` and `-d` did not work before.
15
+ The CLI option name was `--tree`, but an internal variable name was `tree-path`, and there was a mismatch.
16
+ So we changed the CLI option name `--tree` to `--tree-path`.
6
17
 
7
18
  ## [2.3.0]
8
19
 
9
- [2.3.0]: https://github.com/mishina2228/nova_git_stats/compare/v2.2.0...2.3.0
20
+ [2.3.0]: https://github.com/mishina2228/nova_git_stats/compare/v2.2.0...v2.3.0
10
21
 
11
22
  * Breaking Changes
12
23
  * Stop bundling jQuery and Bootstrap assets
@@ -25,7 +36,7 @@
25
36
 
26
37
  ## [2.2.0]
27
38
 
28
- [2.2.0]: https://github.com/mishina2228/nova_git_stats/compare/v2.1.2...2.2.0
39
+ [2.2.0]: https://github.com/mishina2228/nova_git_stats/compare/v2.1.2...v2.2.0
29
40
 
30
41
  * Features
31
42
  * Renamed to NovaGitStats(nova_git_stats) from GitStats(git_stats)
data/README.md CHANGED
@@ -72,7 +72,7 @@ It browses the repository and outputs html page with statistics.
72
72
  -t, [--last-commit-sha=LAST_COMMIT_SHA] # Commit where statistics should stop.
73
73
  # Default: HEAD
74
74
  -s, [--silent], [--no-silent] # Silent mode. Don't output anything.
75
- -d, [--tree=TREE] # Tree where statistics should be generated.
75
+ -d, [--tree-path=TREE_PATH] # Tree path of where statistics should be generated.
76
76
  # Default: .
77
77
  -c, [--comment-string=COMMENT_STRING] # The string which is used for comments.
78
78
  # Default: //
data/lib/git_stats/cli.rb CHANGED
@@ -17,7 +17,7 @@ module GitStats
17
17
  option :first_commit_sha, aliases: '-f', desc: 'Commit from where statistics should start.'
18
18
  option :last_commit_sha, aliases: '-t', default: 'HEAD', desc: 'Commit where statistics should stop.'
19
19
  option :silent, aliases: '-s', type: :boolean, desc: 'Silent mode. Don\'t output anything.'
20
- option :tree, aliases: '-d', default: '.', desc: 'Tree where statistics should be generated.'
20
+ option :tree_path, aliases: '-d', default: '.', desc: 'Tree path of where statistics should be generated.'
21
21
  option :comment_string, aliases: '-c', default: '//', desc: 'The string which is used for comments.'
22
22
 
23
23
  desc 'generate', 'Generates the statistics of a git repository'
@@ -16,7 +16,7 @@ module GitStats
16
16
  end
17
17
 
18
18
  def ==(other)
19
- ((repo == other.repo) && (relative_path == other.relative_path))
19
+ repo == other.repo && relative_path == other.relative_path
20
20
  end
21
21
  end
22
22
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GitStats
4
- VERSION = '2.3.0'
4
+ VERSION = '2.4.0'
5
5
 
6
6
  def self.version
7
7
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nova_git_stats
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Gieniusz
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-06-29 00:00:00.000000000 Z
12
+ date: 2022-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionview
@@ -220,7 +220,7 @@ metadata:
220
220
  changelog_uri: https://github.com/mishina2228/git_stats/blob/master/CHANGELOG.md
221
221
  homepage_uri: https://github.com/mishina2228/git_stats
222
222
  rubygems_mfa_required: 'true'
223
- source_code_uri: https://github.com/mishina2228/git_stats/tree/v2.3.0
223
+ source_code_uri: https://github.com/mishina2228/git_stats/tree/v2.4.0
224
224
  post_install_message:
225
225
  rdoc_options: []
226
226
  require_paths: