git_miner 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -5
- data/bin/git-mine +2 -2
- data/lib/git_miner/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd21fc17951e069e786be9eed380d7d459e62aae10e54b252cb8fe0150652ca8
|
4
|
+
data.tar.gz: c7ebdce6a7230d14bafb1a325eecea4671337cd04f9412708fc4dbc3fcb233f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 703fa603e4218a04c97b90f8e2366ddada4be11080168922f482ab6658695178e010708c249b7d1e02d3a8c5f96c5e0128d07246bfb25165c3b6c0633a7fac17
|
7
|
+
data.tar.gz: e805cfb6aa93d88be8eb69b252433bb5b1df7dc563d24ee009a4837f5253bb9d882466be08ae7a2fe368523f9a6cc31e7d714698b7c12c611ee854070f301d8b
|
data/README.md
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
# GitMiner
|
2
2
|
|
3
|
-
Pet project I
|
3
|
+
Pet project I built to experiment with different concepts.
|
4
4
|
|
5
|
-
GitMiner allow for "mining" of vanity
|
5
|
+
GitMiner allow for "mining" of vanity Git sha1 prefixes.
|
6
6
|
|
7
7
|
This gem is a work in progress (core functionality is working).
|
8
8
|
|
9
9
|
|
10
10
|
## Installation
|
11
11
|
|
12
|
-
Installation will add the `git-mine` binary.
|
13
|
-
|
14
12
|
```ruby
|
15
13
|
gem 'git_miner'
|
16
14
|
```
|
17
15
|
|
16
|
+
The installation will add the `git-mine` binary which act as a Git custom command: `git mine`.
|
17
|
+
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
@@ -25,4 +25,11 @@ Eg.:
|
|
25
25
|
git mine c0ffee
|
26
26
|
```
|
27
27
|
|
28
|
-
Some extra options are available
|
28
|
+
Some extra options are available (experimental):
|
29
|
+
```
|
30
|
+
$ git-mine -h
|
31
|
+
Usage: example.rb [options]
|
32
|
+
--engine [ruby|c] Set the engine (default: ruby)
|
33
|
+
--dispatch [simple|parallel] Set the dispatch (default: parallel)
|
34
|
+
-h, --help Show this message
|
35
|
+
```
|
data/bin/git-mine
CHANGED
@@ -15,11 +15,11 @@ options = {
|
|
15
15
|
OptionParser.new do |opts|
|
16
16
|
opts.banner = "Usage: example.rb [options]"
|
17
17
|
|
18
|
-
opts.on("--engine [ruby|c]", [:ruby, :c], "
|
18
|
+
opts.on("--engine [ruby|c]", [:ruby, :c], "Set the engine (default: ruby)") do |x|
|
19
19
|
options[:engine] = x
|
20
20
|
end
|
21
21
|
|
22
|
-
opts.on("--dispatch [simple|parallel]", [:simple, :parallel], "
|
22
|
+
opts.on("--dispatch [simple|parallel]", [:simple, :parallel], "Set the dispatch (default: parallel)") do |x|
|
23
23
|
options[:dispatch] = x
|
24
24
|
end
|
25
25
|
|
data/lib/git_miner/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_miner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thierry Joyal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|