method_log 0.2.0 → 0.2.1

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: 125db342c6c8ad4ba938d3fac7cee3fc7dfe7330a53b4c882d051570d851791b
4
- data.tar.gz: 817b5da57430c8703b8d7b00adba2de76714d03cd588ff36bdec79837615f978
3
+ metadata.gz: fed61570ff15b08f57f4cb2ceff47caba37503ef7dadbeb65abed685056aa677
4
+ data.tar.gz: b3eb44e2e9c319e44845ff85a417f884fa6c779cd43d5f2939d312dcf65a8c52
5
5
  SHA512:
6
- metadata.gz: edc71468238c1f9dc27f6698a8726a4c9768d6706091788b68f0dc2dd1e257a59e3b76a9f82713bde8403b3416cea7ba226450436c5921019699f1ec65995163
7
- data.tar.gz: 82777e60269dd12aabed2842386603a89f627f5f87666c20f06680d7eade642d49afc4b491537817a3c93c4b5358c0a2eff1eae4e96037efd986f2a23fee7605
6
+ metadata.gz: 012de7d5663971728f8330ed41acb2cd605a7a39599f236a1c88ed72bf39840ecba742c33da9a06de3024327b3a878ce5e31c763958f41926e1fade5a278f3b6
7
+ data.tar.gz: 81a20b157edf5725bc01bf248d7a0f99516e5cecb5992160a74a293f80448ee6a67fcdecc4ce9fc602d595a480b8dff1e98974edaa977850d0b9cb8b5e03749c
data/README.md CHANGED
@@ -1,13 +1,13 @@
1
- ## Method Log
1
+ ## Method Log [![Build Status](https://travis-ci.org/freerange/method_log.svg?branch=master)](https://travis-ci.org/freerange/method_log) [![Gem Version](https://badge.fury.io/rb/method_log.svg)](https://badge.fury.io/rb/method_log)
2
2
 
3
3
  Trace the history of an individual method in a git repository (experimental).
4
4
 
5
+ See [this article](https://gofreerange.com/tracing-the-git-history-of-a-ruby-method) for more information.
6
+
5
7
  ### Requirements
6
8
 
7
- * Ruby >= v2.0.0 (due to requirements of the `parser` gem); although parsing of source code for Ruby >= v1.8 is possible
8
- * The [rugged](https://github.com/libgit2/rugged) Ruby gem (listed as dependency in gemspec)
9
- * The [libgit2](https://github.com/libgit2/libgit2) C library (included as part of rugged gem)
10
- * The [parser](https://github.com/whitequark/parser) Ruby gem (listed as dependency in gemspec)
9
+ * Tool runtime: Ruby >= v2.0.0
10
+ * Source code under analysis: Ruby >= v1.8
11
11
 
12
12
  ### Install
13
13
 
@@ -23,14 +23,6 @@ Trace the history of an individual method in a git repository (experimental).
23
23
 
24
24
  $ build_methods_repo [options] <source-repo-path> <target-repo-path>
25
25
 
26
- ### To Do
27
-
28
- * Parsing support for RSpec tests
29
- * Default to looking for commits in current git branch
30
- * Check what happens with merge commits
31
- * Maybe add as new git command or extension to existing command e.g. `git log`
32
- * Find "similar" method implementations e.g. by comparing ASTs of implementations
33
-
34
26
  ### Credits
35
27
 
36
28
  Written by [James Mead](http://jamesmead.org) and the other members of [Go Free Range](http://gofreerange.com).
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'method_log'
4
+ require 'method_log/version'
4
5
  require 'optimist'
5
6
 
6
7
  options = Optimist::options do
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'method_log'
4
+ require 'method_log/version'
4
5
  require 'optimist'
5
6
 
6
7
  options = Optimist::options do
@@ -1,3 +1,3 @@
1
1
  module MethodLog
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: method_log
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
  - James Mead
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-18 00:00:00.000000000 Z
11
+ date: 2019-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rugged