repo_miner 0.2.0 → 0.2.1

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: f8e005fe499b1896489c3f607ac01c8865dd5bba
4
- data.tar.gz: daa6c769d3dd9112c1e4266e2d3f32583292d0ea
3
+ metadata.gz: e198934312977496cf20f0758225e0050eb94483
4
+ data.tar.gz: 89f370668139366dde74d129ebd0d3bbfc32cb60
5
5
  SHA512:
6
- metadata.gz: b9fb75bda604333a55de49e7bd1e92d8bc728b8ab0b73139a7ea01bf76e289444d0ed223948c2f78890d93f9fc9a06905664518d550e834609f84f56fc5e23f4
7
- data.tar.gz: b85aabbad7cbb291cee1b4d56c57b68ed69f874ff7b5bdd7fd2daef6375b3201bd84cc99905796281aae394c381f1cbf6cd33d3145749eb0a92a29f132f97ff9
6
+ metadata.gz: 318cba5daf96c9dfe0c77033dd5f00525fa10e59d9a8e4bd1f5cf2bf687f16b88b998916749f436d6274bd1bfd46f0846783be0b16f8cd88a0472698ab1cbfc7
7
+ data.tar.gz: 8dff27d4ad503bc7674da3408e61f79ba7e159ad1a9184a50ab742f82ecb268e0ae3374db6bd08988e9efe3988b4b046fc334688914108e5d05a54a982c52c2d
data/.travis.yml CHANGED
@@ -1,5 +1,8 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.1
5
- before_install: gem install bundler -v 1.14.6
4
+ - 2.4.0
5
+ cache: bundler
6
+ before_install: gem install bundler -v 1.15.1
7
+ script:
8
+ - bundle exec rake spec && bundle exec codeclimate-test-reporter
data/CHANGELOG.md ADDED
@@ -0,0 +1,17 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
+ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [0.2.0] - 2017-07-17
8
+ ### Added
9
+ - Parsing of modified dependency manifest files
10
+ - Refactoring internals
11
+ - Basic usage documentation
12
+
13
+ ## [1.0.0] - 2017-07-13
14
+ ### Added
15
+ - Initial release
16
+ - Parsing of emails from commits
17
+ - Parsing of added and removed dependency manifest files
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,191 @@
1
+ ## Contributing to Libraries.io :heart:
2
+ Thanks for considering contributing. These guidelines outline how to contribute to the [Libraries.io](http://github.com/librariesio) project.
3
+
4
+ ## Table of Contents
5
+ [What is Libraries.io all about?](#whats-librariesio-about)
6
+
7
+ [What should I know Before I get started?](#what-should-i-know-before-i-get-started)
8
+ * [Code of conduct](#code-of-conduct)
9
+ * [Langauge](#langauge)
10
+ * [Installation and setup](#setup)
11
+
12
+ [How can I contribute?](#how-can-i-contribute)
13
+ * [Reporting bugs](#reporting-bugs)
14
+ * [Suggesting enhancements](#suggesting-enhancements)
15
+ * [Suggesting a new feature](#suggesting-new-features)
16
+ * [Your first contribution](#your-first-contribution)
17
+ * [Tackling something meatier](#tackling-something-meatier)
18
+
19
+ [How can I talk to other contributors?](#how-can-i-talk-to-other-contributors)
20
+ * [Chat](#chat)
21
+ * [Video](#video)
22
+ * [Social media](#twitter)
23
+
24
+ [Who Are Libraries.io's Users?](#who-are-librariesios-users)
25
+
26
+ [Our workflow](#workflow)
27
+
28
+
29
+ ## What's Libraries.io About?
30
+ _Our goal is to raise the quality of all software._
31
+
32
+ By outlining our [mission and strategy](/strategy.md) we hope to give you more power to make decisions and determine how best to spend your time. Specifically we tackle three distinct problems:
33
+
34
+ * Discovery: _Helping developers make faster, more informed decisions about the software that they use._
35
+ * Maintainability: _Helping maintainers understand more about the software they depend upon and the consumers of their software._
36
+ * Sustainability: _Supporting undervalued software by highlighting shortfalls in contribution and funneling support to them._
37
+
38
+ ## What Should I Know Before I Get Started?
39
+
40
+ ### Code of Conduct
41
+ Libraries.io is an open and inclusive [community of people](https://github.com/orgs/librariesio/people) working together. We expect contributors to abide by our [contributor code of conduct](CODE_OF_CONDUCT.md) which basically say 'be excellent to each other'. Please report unacceptable behavior to conduct@libraries.io
42
+
43
+ ### Language
44
+ We communicate predominately in English. Contributions to the project should be made with English as the first language. We are happy for members of the community to communicate in a language other than English in chat, email and video but be aware that this might be considered exclusive by other members of the community.
45
+
46
+ ### Documentation
47
+ Documentation for the project as a whole is available at [docs.libraries.io](https://docs.libraries.io). These pages are generated from the [documentation](https://github.com/librariesio/documentation) repo. Documentation that needs to be in every repo is replicated in [required-files](https://github.com/librariesio/required-files) (currently limited to [GitHub templates](https://github.com/blog/2111-issue-and-pull-request-templates)). Otherwise documentation will be specific to that repo. For example the main [Libraries.io](https://github.com/librariesio/libraries.io) `README.md` contains information about installing and running the main rails application.
48
+
49
+ ### Setup
50
+ If you wish to make contributions to Libraries.io then you'll need a local version of the site to test. You can find instructions to install the correct Ruby version, Postgres, and to set up the database in our [README](https://github.com/librariesio/libraries.io/blob/master/README.md#getting-started).
51
+
52
+ ## How Can I Contribute?
53
+
54
+ ### Reporting Bugs
55
+
56
+ The simplest thing that you can do to help us is by filing good bug reports, so here we go:
57
+
58
+ #### Before Submitting a Bug Report
59
+
60
+ * Double-check that the bug is persistent. The site is still in it's infancy and sometimes artifacts may appear and disappear.
61
+ * Double-check the bug hasn't already been reported [on our issue tracker](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+org%3Alibrariesio), they *should* be labelled `bug` or `bugsnag`.
62
+
63
+ If something hasn't been raised, you can go ahead and create a new issue using [the template](/issue_template.md). If you'd like to help investigate further or fix the bug just mention it in your issue and check out our [workflow](#workflow).
64
+
65
+ ### Suggesting Enhancements
66
+
67
+ The next simplest thing you can do to help us is by telling us how we can improve the features we already support, here we go:
68
+
69
+ #### Before Submitting an Enhancement
70
+
71
+ * Check that the enhancement is not already [in our issue tracker](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+org%3Alibrariesio), they should be labelled 'enhancement'.
72
+
73
+ If there isn't already an issue for feature then go ahead and create a new issue for it using the [template](/issue_template.md). If you'd like to work on the enhancement then just mention it in a comment and check out our [workflow](#workflow).
74
+
75
+ ### Suggesting New Features
76
+
77
+ If you're into this zone then you need to understand a little more about what we're trying to achieve:
78
+
79
+ #### Before Suggesting a Feature
80
+
81
+ * Check that it aligns with [our strategy](strategy.md) and is specifically not in line with something we have said we will not do (for the moment this is anything to do with ranking *people*).
82
+ * Check that the feature is not already [in our issue tracker](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+org%3Alibrariesio), they should be tagged 'feature'.
83
+ * Specifically check that it is not already a [funded commitment](https://github.com/librariesio/supporters/issues).
84
+
85
+ If you're still thinking about that killer feature that no one else is thinking about then *please* create an issue for it using the [template](/issue_template.md).
86
+
87
+ ### Your First Contribution
88
+ You're in luck! We label issues that are ideal for first time contributors with [`first-pr`](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+user%3Alibrariesio+label%3A%22first-pr%22). For someone who wants something a little more meaty you might find an issue that needs some assistance with [`help wanted`](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+user%3Alibrariesio+label%3A%22help+wanted%22). Next you'll want to read our [workflow](#workflow).
89
+
90
+ ### Tackling Something Meatier
91
+
92
+ Tickets are labeled by size, skills required and to indicate workflow. Details can be found in our [labelling policy](/labelling.md).
93
+
94
+ To get you started you might want to check out issues concerning [documentation](https://github.com/librariesio/documentation/issues/), [user experience](https://github.com/librariesio/libraries.io/labels/ux), [visual design](https://github.com/librariesio/libraries.io/issues/labels/visual%20design) or perhaps something already [awaiting help](https://github.com/librariesio/libraries.io/labels/help%20wanted). You may find the following useful:
95
+
96
+ * Our [strategy](/strategy.md) which outlines what our goals are, how we are going to achieve those goals and what we are specifically going to avoid.
97
+ * A [techncial overview](/overview.md) of the components that make up the Libraries.io project and run the [https://libraries.io](https://libraries.io) site.
98
+
99
+ ## How Can I Talk To Other Contributors?
100
+
101
+ ### Chat
102
+ We use [Slack](http://slack.io) for chat. There's an open invitation available to anyone who wishes to join the conversation at [http://slack.libraries.io](http://slack.libraries.io).
103
+
104
+ We try to use the following channels accordingly:
105
+
106
+ * `#general` channel is used for general, water cooler-type conversation, contributor updates and issue discussion.
107
+ * `#events` is used to share and discuss events that may be of interest to or attended by members of the community
108
+ * `#activity` contains notifications from the various platforms that we use to keep the Libraries.io project turning. Including notifications from GitHub, Twitter and our servers.
109
+
110
+ Members are encouraged to openly discuss their work, their lives, share views and ask for help using chat. It should be considered a *safe space* in which there is *no such thing as a stupid question*. Conversely no one contributor should ever be expected to have read something said in a chat. If someone should know something then it should be written down as an issue and/or documented in an obvious place for others to find.
111
+
112
+ ### Video
113
+ [Google Hangouts](http://hangouts.google.com) is our preferred tool for video chat. We operate an [open hangout](http://bit.ly/2kWtYak) for anyone to jump into at any time to discuss issues face to face.
114
+
115
+ ### Regular updates
116
+ Contributors are encouraged to share what they're working on. We do this through daily or weekly updates in the `#general` channel on Slack. Updates should take the format 'currently working on X, expecting to move onto Y, blocked on Z' where x, y and z are issues in our [issue tracker](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+org%3Alibrariesio).
117
+
118
+ Additionally we host an [open hangout](http://bit.ly/2kWtYak) for any contributor to join at *5pm UTC on a Tuesday* to discuss their work, the next week's priorities and to ask questions of other contributors regarding any aspect of the project. Again this is considered a *safe space* in which *there is no such thing as a stupid question*.
119
+
120
+ ### Mail
121
+ The [core team](https://github.com/orgs/librariesio/teams/core) operate a mailing list for project updates. If you'd like to subscribe you'll find a form in the footer on [Libraries.io](http://libraries.io).
122
+
123
+ ### Twitter
124
+ We have an account on Twitter at [@librariesio](http://twitter.com/librariesio). This is predominately used to retweet news, events and musings by contributors rather than as a direct method of communication. Contributors are encouraged to use @librariesio in a tweet when talking about the project, so that we may retweet if appropriate. The account is moderated and protected by the [core team](https://github.com/orgs/librariesio/teams/core).
125
+
126
+ ### Facebook
127
+ We have a Facebook page at [@libraries.io](https://www.facebook.com/libraries.io). Again this is predominantly used to gather and reflect news, events and musings by contributors rather than as a direct method of communication. Contributors are encouraged to reference Libraries.io in a post when talking about the project, so that we may reflect this if appropriate. Again the account is moderated and protected by the [core team](https://github.com/orgs/librariesio/teams/core).
128
+
129
+ ### Medium
130
+ We have a Medium account at [@librariesio](https://medium.com/@librariesio) and once again it is used to reflect news, events and musings by contributors rather than a direct method of communication. Contributors are encouraged to reference @librariesio in a post when talking about the project, so that we may recommend it if appropriate. Again the account is moderated and protected by the [core team](https://github.com/orgs/librariesio/teams/core).
131
+
132
+ ## Who Are Libraries.io's Users?
133
+ Libraries.io focusses on the following personas:
134
+
135
+ ### Google
136
+ _Is hungry for linked data so she can serve you up search traffic_
137
+
138
+ ### 'Searcher'
139
+ _Is a developer with a problem, she is looking for something to help solve it._
140
+
141
+ ### 'Producer'
142
+ _Has a product or products that incorporates some free/open source dependencies. She needs to ensure the product(s) are well maintained, free of vulnerabilities and licence compatible._
143
+
144
+ ### 'Maintainer'
145
+ _Is a developer with a successful free/open source project. She's looking to understand more about those who use her project, attract more contributors and manage their contributions well._
146
+
147
+ ### 'Extender'
148
+ _Has her own ideas. She wants access to the raw data so that she can mash up her own service and offer it to the world._
149
+
150
+ ### 'Overlord'
151
+ _Has a vast empire of people, products and projects. Some of which she publishes as open source, some are proprietary. She wants to ensure that her policies regarding the use of dependencies are adhered to and that her team are as efficient as possible._
152
+
153
+ ## Workflow
154
+ In general we use [GitHub](https://help.github.com/) and [Git](https://git-scm.com/docs/gittutorial) to support our workflow. If you are unfamiliar with those tools then you should check them out until you feel you have a basic understanding of GitHub and a working understanding of Git. Specifically you should understand how forking, branching, committing, PRing and merging works.
155
+
156
+ #### Forking
157
+ We prefer that contributors fork the project in order to contribute.
158
+
159
+ #### Branching
160
+ We *try* to use principles of [GitHub-flow](https://lucamezzalira.com/2014/03/10/git-flow-vs-github-flow/) in our branching model. That is the `master` branch will always be deployable to the live site, and that every branch from that will be used to add a feature, fix a bug, improve something or otherwise represent an atomic unit of work.
161
+
162
+ #### Ticketing
163
+ We *try* to create an issue for everything. That is any bug, feature or enhancement that is worth an open, focussed and documented discussion.
164
+
165
+ #### Labelling
166
+ We constrain labels as they are a key part of our workflow. Tickets will be labeled according to our [labelling policy](/labelling.md).
167
+
168
+ #### Templates
169
+ We use templates to guide contributors toward good practice in [filing bugs, requesting enhancements and features](/issue_template.md) and in [issuing pull-requests](/pull_request_template.md).
170
+
171
+ #### Commenting
172
+ If it possible to comment your contribution — for instance if you are contributing code — then do so in a way that is simple, clear, concise and lowers the level of understanding necessary for others to comprehend what comes afterward does or achieves. If you are contributing code it is very likely it will be rejected if it does not contain sufficient comments.
173
+
174
+ #### Committing
175
+ When committing to a branch be sure to use plain, simple language that describes the incremental changes made on the branch toward the overall goal. Avoid unnecessary complexity. Simplify whenever possible. Assume a reasonable but not comprehensive knowledge of the tools, techniques and context of your work.
176
+
177
+ #### Testing
178
+ When adding or fixing functionality, tests should be added to help reduce future regressions and breakage. All tests are ran automatically when new commits are pushed to a branch. Pull requests with broken/missing tests are not likely to be merged.
179
+
180
+ #### Submitting for Review
181
+ Once a piece of work (in a branch) is complete it should be readied for review. This is your last chance to ensure that your contribution is [properly tested](#testing). If you are contributing code it is likely your contribution will be rejected if it would lower the test-coverage. Once this is done you can submit a pull-request following the [template](/pull_request_template.md).
182
+
183
+ It is likely that your contributions will need to be checked by at least one member of the [core team](https://github.com/orgs/librariesio/teams/core) prior to merging. It is also incredibly likely that your contribution may need some re-work in order to be accepted. Particularly if it lacks an appropriate level of comments, tests or it is difficult to understand your commits. Please do not take offense if this is the case. We understand that contributors give their time because they want to improve the project but please understand it is another's responsibility to ensure that the project is maintainable, and good practices like these are key to ensuring that is possible.
184
+
185
+ #### Reviewing a PR
186
+ We appreciate that it may be difficult to offer constructive criticism, but it is a necessary part of ensuring the project is maintainable and successful. If it is difficult to understand something, request it is better commented. If you do not feel assured of the robustness of a contribution, request it is better tested. If it is unclear what the goal of the piece of work is and how it relates to the [strategy](/strategy.md), request a clarification in the corresponding issue. If a pull-request has no corresponding issue, decreases code coverage or otherwise decreases the quality of the project. Reject it. Otherwise, merge it.
187
+
188
+ #### Merging
189
+ As we keep the `master` branch in a permanent state of 'deployment ready' once-merged your contribution will be live on the next deployment.
190
+ #### Deploying
191
+ Any member of the [deployers](https://github.com/orgs/librariesio/teams/deployers) team are able to redeploy the site. If you require a deployment then you might find one of them in our `#general` [chat channel on Slack](slack.libraries.io).
data/Gemfile CHANGED
@@ -2,3 +2,8 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in repo_miner.gemspec
4
4
  gemspec
5
+
6
+ group :test do
7
+ gem "simplecov"
8
+ gem "codeclimate-test-reporter", "~> 1.0.0"
9
+ end
data/ISSUE_TEMPLATE.md ADDED
@@ -0,0 +1,18 @@
1
+ Thanks for taking the time to raise an issue. This template should guide you through the process of submitting a bug, enhancement or feature request. Please erase any part of this template that is not relevant to your issue.
2
+
3
+ ## Bugs
4
+ Before submitting a bug report:
5
+
6
+ - [ ] Double-check that the bug is persistent,
7
+ - [ ] Double-check the bug hasn't already been reported [on our issue tracker](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+org%3Alibrariesio), they *should* be labelled `bug` or `bugsnag`.
8
+
9
+ If you have completed those steps then please replace this section with a description of the steps taken to recreate the bug, the expected behavior and the observed behavior.
10
+
11
+ ## Enhancements and Features
12
+
13
+ Before submitting an enhancement or feature request:
14
+
15
+ - [ ] Check that the enhancement is not already [in our issue tracker](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+org%3Alibrariesio), they should be labelled 'enhancement'.,
16
+ - [ ] For large feature requests, check that your request aligns with our strategy http://docs.libraries.io/strategy.
17
+
18
+ If you have complete the above step then please replace this section with a description of your proposed enhancement or feature, the motivation for it, an approach and any alternative approaches considered, and whether you are willing and able to create a pull request for it. Note that we may close this issue if it's not something we're planning on working on.
@@ -0,0 +1,10 @@
1
+ Thanks taking the time to contribute. This template should help guide you through the process of creating a pull request for review. Please erase any part of this template that is not relevant to your pull request:
2
+
3
+
4
+ - [ ] Have you followed the guidelines for [contributors](http://docs.libraries.io/contributorshandbook)?
5
+ - [ ] Have you checked to ensure there aren't other open pull requests on the repository for a similar change?
6
+ - [ ] Is there a corresponding ticket for your pull request?
7
+ - [ ] Have you written new tests for your changes?
8
+ - [ ] Have you successfully run the project with your changes locally?
9
+
10
+ If so then please replace this section with a link to the ticket(s) it addressed, an explanation of your change and why you think we should include it. Thanks again!
data/README.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # RepoMiner
2
2
 
3
+ [![Build Status](https://travis-ci.org/librariesio/repo_miner.svg?branch=master)](https://travis-ci.org/librariesio/repo_miner)
4
+ [![Code Climate](https://img.shields.io/codeclimate/github/librariesio/repo_miner.svg?style=flat)](https://codeclimate.com/github/librariesio/repo_miner)
5
+ [![Test Coverage](https://img.shields.io/codeclimate/coverage/github/librariesio/repo_miner.svg?style=flat)](https://codeclimate.com/github/librariesio/repo_miner)
6
+ [![Code Climate](https://img.shields.io/codeclimate/issues/github/librariesio/repo_miner.svg)](https://codeclimate.com/github/librariesio/repo_miner/issues)
7
+ [![license](https://img.shields.io/github/license/librariesio/repo_miner.svg)](https://github.com/librariesio/repo_miner/blob/master/LICENSE.txt)
8
+
3
9
  RepoMiner is a ruby library designed to mine time sensitive information from git repositories. Things like:
4
10
 
5
11
  - When dependencies are added/updated/removed
@@ -44,7 +50,7 @@ commits = repository.analyse('master')
44
50
  See mined dependency data for a given commit:
45
51
 
46
52
  ```ruby
47
- commits.last #=> RepoMiner::Commit:0x007fd87fdf1150(message: "Fixes 1597", sha: c656e48ada19c6c83f7705893f0a73cfc1844abf, data: {:email=>{:committer=>"andrewnez@gmail.com", :author=>"andrewnez@gmail.com"}, :dependencies=>{:added_manifests=>[], :modified_manifests=>[{:path=>"Gemfile", :platform=>"rubygems", :added_dependencies=>[], :modified_dependencies=>[], :removed_dependencies=>[{:name=>"sass", :requirement=>"= 3.4.24", :type=>:runtime}]}, {:path=>"Gemfile.lock", :platform=>"rubygems", :added_dependencies=>[{:name=>"sass-listen", :requirement=>"4.0.0", :type=>"runtime"}], :modified_dependencies=>[{:name=>"commonmarker", :requirement=>"0.16.8", :type=>"runtime", :previous_requirement=>"0.16.7"}, {:name=>"gitlab", :requirement=>"4.2.0", :type=>"runtime", :previous_requirement=>"4.1.0"}, {:name=>"rack-cors", :requirement=>"1.0.0", :type=>"runtime", :previous_requirement=>"0.4.1"}, {:name=>"sass", :requirement=>"3.5.1", :type=>"runtime", :previous_requirement=>"3.4.24"}, {:name=>"sassc", :requirement=>"1.11.4", :type=>"runtime", :previous_requirement=>"1.11.2"}], :removed_dependencies=>[]}], :removed_manifests=>[]}})
53
+ commits.last #=> <RepoMiner::Commit:0x007fd87fdf1150(message: "Fixes 1597", sha: c656e48ada19c6c83f7705893f0a73cfc1844abf, data: {:email=>{:committer=>"andrewnez@gmail.com", :author=>"andrewnez@gmail.com"}, :dependencies=>{:added_manifests=>[], :modified_manifests=>[{:path=>"Gemfile", :platform=>"rubygems", :added_dependencies=>[], :modified_dependencies=>[], :removed_dependencies=>[{:name=>"sass", :requirement=>"= 3.4.24", :type=>:runtime}]}, {:path=>"Gemfile.lock", :platform=>"rubygems", :added_dependencies=>[{:name=>"sass-listen", :requirement=>"4.0.0", :type=>"runtime"}], :modified_dependencies=>[{:name=>"commonmarker", :requirement=>"0.16.8", :type=>"runtime", :previous_requirement=>"0.16.7"}, {:name=>"gitlab", :requirement=>"4.2.0", :type=>"runtime", :previous_requirement=>"4.1.0"}, {:name=>"rack-cors", :requirement=>"1.0.0", :type=>"runtime", :previous_requirement=>"0.4.1"}, {:name=>"sass", :requirement=>"3.5.1", :type=>"runtime", :previous_requirement=>"3.4.24"}, {:name=>"sassc", :requirement=>"1.11.4", :type=>"runtime", :previous_requirement=>"1.11.2"}], :removed_dependencies=>[]}], :removed_manifests=>[]}})>
48
54
  ```
49
55
 
50
56
  ## Development
@@ -38,7 +38,7 @@ module RepoMiner
38
38
  end
39
39
 
40
40
  def inspect
41
- "RepoMiner::Commit:#{"0x00%x" % (object_id << 1)}(message: #{message}, sha: #{sha}, data: #{data})"
41
+ "<RepoMiner::Commit:#{"0x00%x" % (object_id << 1)}(message: '#{message}', sha: '#{sha}', data: #{data})>"
42
42
  end
43
43
 
44
44
  private
@@ -40,6 +40,7 @@ module RepoMiner
40
40
  added_manifests << {
41
41
  path: manifest_path,
42
42
  platform: manifest[0][:platform],
43
+ kind: manifest[0][:kind],
43
44
  added_dependencies: added,
44
45
  modified_dependencies: [],
45
46
  removed_dependencies: []
@@ -107,6 +108,7 @@ module RepoMiner
107
108
  modified_manifests << {
108
109
  path: manifest_path,
109
110
  platform: after_modified_manifest[:platform],
111
+ kind: after_modified_manifest[:kind],
110
112
  added_dependencies: added_dependencies,
111
113
  modified_dependencies: modified_dependencies,
112
114
  removed_dependencies: removed_dependencies
@@ -137,6 +139,7 @@ module RepoMiner
137
139
  removed_manifests << {
138
140
  path: manifest_path,
139
141
  platform: manifest[0][:platform],
142
+ kind: manifest[0][:kind],
140
143
  added_dependencies: [],
141
144
  modified_dependencies: [],
142
145
  removed_dependencies: removed
@@ -1,3 +1,3 @@
1
1
  module RepoMiner
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: repo_miner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Nesbitt
@@ -91,9 +91,13 @@ files:
91
91
  - ".rspec"
92
92
  - ".ruby-version"
93
93
  - ".travis.yml"
94
+ - CHANGELOG.md
94
95
  - CODE_OF_CONDUCT.md
96
+ - CONTRIBUTING.md
95
97
  - Gemfile
98
+ - ISSUE_TEMPLATE.md
96
99
  - LICENSE.txt
100
+ - PULL_REQUEST_TEMPLATE.md
97
101
  - README.md
98
102
  - Rakefile
99
103
  - bin/console