gitlog 0.1.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 212e5916fc447695e650d6d3ff2c4944bb505231
4
+ data.tar.gz: 2427bfd25ee7c189428aacd9da3b5799d6ffb039
5
+ SHA512:
6
+ metadata.gz: 21d58e41d6f55bd1e71605d7bfe67cdef6a039ae5282bbf57991f02d8a7dd051936690cbfe09b9ddd3d72c9efff18be2c64f01d899072f324c154487fab67b12
7
+ data.tar.gz: bffdd70c56f92b4083edd7d1f403653d9055fd2138223fe5e07bd9dada2eacdcc76099379edcc82ee33f1639f8eee0c297f1d23393839c351a5f3a1548aba6ce
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at soni@nickelfox.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1 @@
1
+ source "https://rubygems.org"
data/Gemfile.lock ADDED
@@ -0,0 +1,37 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ gitlog (0.1.0)
5
+ thor
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ diff-lcs (1.3)
11
+ rake (10.5.0)
12
+ rspec (3.8.0)
13
+ rspec-core (~> 3.8.0)
14
+ rspec-expectations (~> 3.8.0)
15
+ rspec-mocks (~> 3.8.0)
16
+ rspec-core (3.8.2)
17
+ rspec-support (~> 3.8.0)
18
+ rspec-expectations (3.8.4)
19
+ diff-lcs (>= 1.2.0, < 2.0)
20
+ rspec-support (~> 3.8.0)
21
+ rspec-mocks (3.8.1)
22
+ diff-lcs (>= 1.2.0, < 2.0)
23
+ rspec-support (~> 3.8.0)
24
+ rspec-support (3.8.2)
25
+ thor (0.20.3)
26
+
27
+ PLATFORMS
28
+ ruby
29
+
30
+ DEPENDENCIES
31
+ bundler (~> 2.0)
32
+ gitlog!
33
+ rake (~> 10.0)
34
+ rspec (~> 3.2)
35
+
36
+ BUNDLED WITH
37
+ 2.0.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Ravindra Soni
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # GitLog
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/gitlog`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'gitlog'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install gitlog
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/gitlog. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the Gitlogs project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/gitlog/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "gitlog"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/exe/gitlog ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'gitlog/cli'
4
+
5
+ GitLog::CLI.start
data/gitlog.gemspec ADDED
@@ -0,0 +1,35 @@
1
+ lib = File.expand_path("lib", __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "gitlog/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "gitlog"
7
+ spec.version = GitLog::VERSION
8
+ spec.authors = ["Ravindra Soni"]
9
+ spec.email = ["soni@nickelfox.com"]
10
+
11
+ spec.summary = %q{Generate formatted logs from git commits.}
12
+ spec.description = %q{Generate formatted logs from git commits.}
13
+ spec.homepage = "http://github.com/ravindrasoni/gitlog"
14
+ spec.license = "MIT"
15
+
16
+ # spec.metadata["allowed_push_host"] = "http://nickelfox.com"
17
+
18
+ spec.metadata["homepage_uri"] = spec.homepage
19
+ spec.metadata["source_code_uri"] = "http://github.com/ravindrasoni/gitlog"
20
+ spec.metadata["changelog_uri"] = "http://github.com/ravindrasoni/gitlog"
21
+
22
+ # Specify which files should be added to the gem when it is released.
23
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
25
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ end
27
+ spec.bindir = "exe"
28
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ["lib"]
30
+
31
+ spec.add_development_dependency "bundler", "~> 2.0"
32
+ spec.add_development_dependency "rake", "~> 10.0"
33
+ spec.add_development_dependency "rspec", "~> 3.2"
34
+ spec.add_dependency "thor"
35
+ end
data/lib/gitlog/cli.rb ADDED
@@ -0,0 +1,56 @@
1
+ require 'thor'
2
+ require 'gitlog'
3
+
4
+ module GitLog
5
+ class CLI < Thor
6
+ desc "my", "Generate my commit logs. Ex. gitlog my --date 2019-06-07 --scope-wise --current-branch"
7
+ method_option :date, aliases: "-d", :desc => "provide date in yyyy-MM-dd format"
8
+ method_option :scopewise, aliases: "-s", :type => :boolean, :desc => "if you want log to be grouped scope wise"
9
+ method_option :typewise, aliases: "-t", :type => :boolean, :desc => "if you want log to be grouped type wise"
10
+ method_option :current_branch, aliases: "-c", :type => :boolean, :desc => "if you want logs from current branch only"
11
+ def my
12
+ grouping = :type_wise
13
+ if options[:scopewise]
14
+ grouping = :scope_wise
15
+ end
16
+ puts GitLog::Log.generate_log(options[:date], grouping, nil, options[:current_branch])
17
+ end
18
+
19
+ desc "all", "Generate all commit logs. Ex. gitlog all --date 2019-06-07 --scope-wise --current-branch"
20
+ method_option :date, aliases: "-d", :desc => "provide date in yyyy-MM-dd format"
21
+ method_option :author, aliases: "-a", :desc => "email id of the author whose logs you want"
22
+ method_option :scopewise, aliases: "-s", :type => :boolean, :desc => "if you want log to be grouped scope wise"
23
+ method_option :typewise, aliases: "-t", :type => :boolean, :desc => "if you want log to be grouped type wise"
24
+ method_option :current_branch, aliases: "-c", :type => :boolean, :desc => "if you want logs from current branch only"
25
+ def all
26
+ grouping = :type_wise
27
+ if options[:scopewise]
28
+ grouping = :scope_wise
29
+ end
30
+ puts GitLog::Log.generate_log(options[:date], grouping, options[:author], options[:current_branch])
31
+ end
32
+
33
+ desc "range", "Generate all logs between 2 commits. It prompts for the commit hashes. Ex. gitlog range --from 2958885 --to 2f96f24 --author a@b.co --scope-wise"
34
+ method_option :from, :type => :string, :desc => "From Commit"
35
+ method_option :to, :type => :string, :desc => "To Commit"
36
+ method_option :author, aliases: "-a", :desc => "email id of the author whose logs you want"
37
+ method_option :scopewise, aliases: "-s", :type => :boolean, :desc => "if you want log to be grouped scope wise"
38
+ method_option :typewise, aliases: "-t", :type => :boolean, :desc => "if you want log to be grouped type wise"
39
+ def range
40
+ from = options[:from]
41
+ if from.nil?
42
+ from = ask('From Commit:')
43
+ end
44
+ to = options[:to]
45
+ if to.nil?
46
+ to = ask('To Commit:')
47
+ end
48
+
49
+ grouping = :type_wise
50
+ if options[:scopewise]
51
+ grouping = :scope_wise
52
+ end
53
+ puts GitLog::Log.log_between_commits(to, from, grouping, options[:author])
54
+ end
55
+ end
56
+ end
data/lib/gitlog/log.rb ADDED
@@ -0,0 +1,242 @@
1
+ require 'date'
2
+
3
+ def git_format_selectors()
4
+ git_format_selectors = {
5
+ 'message' => '%s',
6
+ }
7
+ return git_format_selectors
8
+ end
9
+
10
+ def type_keywords()
11
+ type_keywords = {
12
+ 'feat' => {
13
+ name: 'New Features',
14
+ },
15
+ 'fix' => {
16
+ name: 'Bug Fixes',
17
+ },
18
+ 'perf' => {
19
+ name: 'Performance Enhancements',
20
+ },
21
+ 'refactor' => {
22
+ name: 'Refactorings',
23
+ dev: true,
24
+ },
25
+ 'docs' => {
26
+ name: 'Documentation Changes',
27
+ dev: true,
28
+ },
29
+ 'test' => {
30
+ name: 'Test Changes',
31
+ dev: true,
32
+ },
33
+ 'style' => {
34
+ name: 'Style Changes',
35
+ dev: true,
36
+ },
37
+ 'chore' => {
38
+ name: 'Configuration Updates',
39
+ dev: true,
40
+ },
41
+ $other_type => {
42
+ name: 'Other Changes',
43
+ dev: true,
44
+ }
45
+ }
46
+ return type_keywords
47
+ end
48
+
49
+ $other_type = 'other'
50
+ $type_keywords = type_keywords()
51
+ $type_keywords_index_helper = $type_keywords.map { |key, value| key }
52
+ $git_format_info = git_format_selectors().map { |key, value| key }
53
+
54
+
55
+
56
+ def git_log_on_date(specific_date = nil, author = nil, current_branch_only = false)
57
+ command = Array["git log"]
58
+ command << "--pretty=\"%s\""
59
+ command << "--all" if !current_branch_only
60
+ command << "--author=\"#{author.chomp}\"" if author
61
+ command << "--after=\"#{specific_date.chomp} 00:00\" --before=\"#{specific_date.chomp} 23:59\"" if specific_date
62
+ command << "--no-merges"
63
+ # puts command.compact.join(' ')
64
+ return `#{command.compact.join(' ')}`
65
+ rescue
66
+ nil
67
+ end
68
+
69
+ def git_log_between_commits(from, to, author = nil)
70
+ command = Array['git log --branches']
71
+ command << "--pretty=\"%s\""
72
+ command << "--author=\"#{author.chomp}\"" if author
73
+ # command << '--ancestry-path'
74
+ command << "#{from.chomp} ^#{to.chomp}^"
75
+ command << "--no-merges"
76
+ puts command.compact.join(' ')
77
+ return `#{command.compact.join(' ')}`
78
+ rescue
79
+ nil
80
+ end
81
+
82
+
83
+ def git_formatted_log(logs, log_style, dev = true)
84
+
85
+ # print_log('Raw Logs', logs)
86
+
87
+ return "No Changelogs \n" unless logs && !logs.empty?
88
+
89
+ categorized_line_info = {}
90
+ logs.each_line { |line|
91
+ line_info = {}
92
+ line = line.strip.split("\t")
93
+ $git_format_info.each_with_index { |value, index|
94
+ line_info[value] = line[index]
95
+ }
96
+
97
+ message_format_regex = /([^\(:]+)(?:\(([^\)]*)\))?[[:space:]]*:?[[:space:]]*(.*)/
98
+ match_data = line_info['message'].match(message_format_regex)
99
+ if match_data
100
+ if match_data[3].empty?
101
+ $type_keywords.each { |key, value|
102
+ if line_info['message'].downcase.include? key
103
+ line_info['type'] = key
104
+ break
105
+ end
106
+ }
107
+ else
108
+ line_info['type'] = match_data[1]
109
+ line_info['scope'] = match_data[2]
110
+ line_info['message'] = match_data[3]
111
+ end
112
+ end
113
+
114
+ line_info['type'] = (line_info['type'] || '').downcase
115
+
116
+ unless $type_keywords[line_info['type']]
117
+ line_info['type'] = $other_type
118
+ end
119
+
120
+ line_info['message'] = (line_info['message'][0, 1].upcase + line_info['message'][1..-1]).chomp(".")
121
+
122
+ style = 'type'
123
+ case log_style
124
+ when :type_wise
125
+ style = 'type'
126
+ when :scope_wise
127
+ style = 'scope'
128
+ end
129
+
130
+ categorized_line_info[line_info[style]] ||= []
131
+ categorized_line_info[line_info[style]] << line_info
132
+ }
133
+
134
+ case log_style
135
+ when :type_wise
136
+ return git_formatted_log_type(categorized_line_info)
137
+ when :scope_wise
138
+ return git_formatted_log_scope(categorized_line_info)
139
+ end
140
+ end
141
+
142
+ def git_formatted_log_type_markdown(categorized_line_info, dev = true)
143
+ categorized_line_info = categorized_line_info.sort_by { |key, value| $type_keywords_index_helper.index(key) || $type_keywords_index_helper.index($other_type) }
144
+
145
+ # print_log('categorized_line_info', categorized_line_info)
146
+
147
+ changelog_lines = []
148
+ categorized_line_info.each { |key, value|
149
+ next if $type_keywords[key][:dev] && !dev
150
+ changelog_lines << "#### #{$type_keywords[key][:name]}"
151
+ changelog_lines << ''
152
+ value.each { |line_info|
153
+ scope_string = (dev && line_info['scope']) ? " #{line_info['scope']}" : ''
154
+ dev_string = dev ? (scope_string.empty? ? '' : "**-#{scope_string}:** ") : ''
155
+ changelog_lines << "#{dev_string}#{line_info['message']}"
156
+ changelog_lines << ''
157
+ }
158
+ changelog_lines << ''
159
+ }
160
+ return changelog_lines.join("\n")
161
+ end
162
+
163
+ def git_formatted_log_type(categorized_line_info, dev = true)
164
+ categorized_line_info = categorized_line_info.sort_by { |key, value| $type_keywords_index_helper.index(key) || $type_keywords_index_helper.index($other_type) }
165
+
166
+ # print_log('categorized_line_info', categorized_line_info)
167
+
168
+ changelog_lines = []
169
+ categorized_line_info.each { |key, value|
170
+ next if $type_keywords[key][:dev] && !dev
171
+ changelog_lines << "#{$type_keywords[key][:name]}"
172
+ value.each { |line_info|
173
+ scope_string = (dev && line_info['scope']) ? " #{line_info['scope']}" : ''
174
+ dev_string = dev ? (scope_string.empty? ? '' : "-#{scope_string}: ") : ''
175
+ changelog_lines << "#{dev_string}#{line_info['message']}"
176
+ }
177
+ changelog_lines << ''
178
+ }
179
+ return changelog_lines.join("\n")
180
+ end
181
+
182
+ def git_formatted_log_scope(categorized_line_info, dev = true)
183
+ categorized_line_info = categorized_line_info.sort_by { |key, value| $type_keywords_index_helper.index(key)}
184
+
185
+ # print_log('categorized_line_info', categorized_line_info)
186
+
187
+ changelog_lines = []
188
+ categorized_line_info.each { |key, value|
189
+ changelog_lines << key
190
+ value.each { |line_info|
191
+ changelog_lines << "- #{$type_keywords[line_info['type']][:name]}: #{line_info['message']}"
192
+ }
193
+ changelog_lines << ''
194
+ }
195
+ return changelog_lines.join("\n")
196
+ end
197
+
198
+ def print_log(key, value)
199
+ print "\n\n #{key}: \n"
200
+ print value
201
+ print "\n\n"
202
+ end
203
+
204
+ def author()
205
+ author = `git config user.email`
206
+ return author
207
+ end
208
+
209
+
210
+ module GitLog
211
+ class Log
212
+
213
+ def self.generate_log(specific_date = nil, log_style = nil, author = nil, current_branch_only = false)
214
+ if specific_date.nil?
215
+ specific_date = "#{DateTime.now.strftime("%Y-%m-%d")}"
216
+ end
217
+ if log_style.nil?
218
+ log_style = :type_wise
219
+ end
220
+ if author.nil?
221
+ author = author()
222
+ end
223
+ print_log("log_style", log_style)
224
+ git_logs = git_log_on_date(specific_date, author, current_branch_only)
225
+ logs = git_formatted_log(git_logs,log_style)
226
+ puts logs
227
+ end
228
+
229
+ def self.log_between_commits(from, to, log_style = nil, author = nil)
230
+ if log_style.nil?
231
+ log_style = :type_wise
232
+ end
233
+ if author.nil?
234
+ author = author()
235
+ end
236
+
237
+ git_logs = git_log_between_commits(from, to, author)
238
+ logs = git_formatted_log(git_logs,log_style)
239
+ puts logs
240
+ end
241
+ end
242
+ end
@@ -0,0 +1,3 @@
1
+ module GitLog
2
+ VERSION = "0.1.0"
3
+ end
data/lib/gitlog.rb ADDED
@@ -0,0 +1,7 @@
1
+ require "gitlog/log"
2
+ require "gitlog/version"
3
+
4
+ module GitLog
5
+ class Error < StandardError; end
6
+ # Your code goes here...
7
+ end
metadata ADDED
@@ -0,0 +1,119 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gitlog
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ravindra Soni
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-08-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.2'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: thor
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: Generate formatted logs from git commits.
70
+ email:
71
+ - soni@nickelfox.com
72
+ executables:
73
+ - gitlog
74
+ extensions: []
75
+ extra_rdoc_files: []
76
+ files:
77
+ - ".gitignore"
78
+ - CODE_OF_CONDUCT.md
79
+ - Gemfile
80
+ - Gemfile.lock
81
+ - LICENSE.txt
82
+ - README.md
83
+ - Rakefile
84
+ - bin/console
85
+ - bin/setup
86
+ - exe/gitlog
87
+ - gitlog.gemspec
88
+ - lib/gitlog.rb
89
+ - lib/gitlog/cli.rb
90
+ - lib/gitlog/log.rb
91
+ - lib/gitlog/version.rb
92
+ homepage: http://github.com/ravindrasoni/gitlog
93
+ licenses:
94
+ - MIT
95
+ metadata:
96
+ homepage_uri: http://github.com/ravindrasoni/gitlog
97
+ source_code_uri: http://github.com/ravindrasoni/gitlog
98
+ changelog_uri: http://github.com/ravindrasoni/gitlog
99
+ post_install_message:
100
+ rdoc_options: []
101
+ require_paths:
102
+ - lib
103
+ required_ruby_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ required_rubygems_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ requirements: []
114
+ rubyforge_project:
115
+ rubygems_version: 2.5.2.3
116
+ signing_key:
117
+ specification_version: 4
118
+ summary: Generate formatted logs from git commits.
119
+ test_files: []