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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0aa67e6c72b1527778f786fb604807437789516188c2b0aac1d6520701571762
4
- data.tar.gz: 9323e1fcd8d7ab220b10ef465baf8a158252b7bf6f317366707f7954a69f11e3
3
+ metadata.gz: bd21fc17951e069e786be9eed380d7d459e62aae10e54b252cb8fe0150652ca8
4
+ data.tar.gz: c7ebdce6a7230d14bafb1a325eecea4671337cd04f9412708fc4dbc3fcb233f4
5
5
  SHA512:
6
- metadata.gz: 6d6e3c36b03808d24f4e8ae8dafd7cec12da24d586cabc637d667ed76a5c9c446f017764a80f57a1cefd2e0ca349c61bc2eb3948cb76998c97992aaa4497218b
7
- data.tar.gz: aaeef8f54d352eb93649de28f2d54f107b1ac7e5d856505660f9a7a649aa8c436062216ffaf2ca5da04771e3cd35292b9963fa620fb91213bdcd804c904e8ca6
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 build experimenting with different concepts.
3
+ Pet project I built to experiment with different concepts.
4
4
 
5
- GitMiner allow for "mining" of vanity git prefixes.
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. `git-mine -h` will display the help section (default options are optimised for performance).
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], "Desired engine (default: ruby)") do |x|
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], "Desired dispatch (default: parallel)") do |x|
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
 
@@ -1,3 +1,3 @@
1
1
  module GitMiner
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
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.1.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-20 00:00:00.000000000 Z
11
+ date: 2019-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel