octostat 0.2.0 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2e64faab77a884d9f7849108699a7d063709311553d22f79ebb9f9c61093722
4
- data.tar.gz: 4e897ff4d764deeefb86b51566fb0de8d01312cd39eca04eb22e0be14813c943
3
+ metadata.gz: d6c0ebd758965992e92891eab5bc84a686faee4febe56824d7caaa4cefccd683
4
+ data.tar.gz: 2ace567260f96559ab9650037ac72402e26381922ee1a301a8349cfdbf7e988c
5
5
  SHA512:
6
- metadata.gz: 533b07af9b0820358c52a116d03a4c40037a3f6e38b7bdaecc1ab087359411092b0adfc24a6f2e4a88a5b0f4bccf9d987454a21e98db04bc153f36394ef328d9
7
- data.tar.gz: e1ae8db0d9455fe57db6e722dacf0dfa3b7a2ad7573133a8718e219a9364c3e8d3abb766ed36a00c700dd7c04cadf4279bd8a40c0815bf846cdd4e00d5a5e17c
6
+ metadata.gz: 71eac438522c71bcd0c85c60d5f8b9f7a19392e011c75261e27aee675b4302ec5d93bff863c3aa2c0d72bfd9273bfe51c81c835ee75132aa54028ac8d56b8233
7
+ data.tar.gz: 1645d6dbb6fa2a655759d8ef18a613f1670cbcbd0bf3c90a79585d43007a9f3d88f8375a17d168a30ee448eec775f402de51c047cca240f23a20abdd381caa50
data/README.md CHANGED
@@ -1,38 +1,16 @@
1
1
  # Octostat
2
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/octostat`. 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
3
+ Octostat extracts and converts the Git log of a repo into an SQLite database for easy querying.
6
4
 
7
5
  ## Installation
8
6
 
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'octostat'
13
- ```
14
-
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install octostat
7
+ `gem install octostat`
22
8
 
23
9
  ## Usage
24
10
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. 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
11
+ `octostat <OPTIONAL_PATH_TO_REPO>`
34
12
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/octostat.
13
+ To specify the name of the output database: `octostat path/to/repo --db=new_name.sqlite`
36
14
 
37
15
  ## License
38
16
 
data/exe/octostat ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'octostat'
4
+
5
+ Octostat::Command.new(*ARGV).call
@@ -1,3 +1,3 @@
1
1
  module Octostat
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octostat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joé Dupuis
@@ -69,13 +69,15 @@ dependencies:
69
69
  description:
70
70
  email:
71
71
  - joe@dupuis.io
72
- executables: []
72
+ executables:
73
+ - octostat
73
74
  extensions: []
74
75
  extra_rdoc_files: []
75
76
  files:
76
77
  - LICENSE.txt
77
78
  - README.md
78
79
  - Rakefile
80
+ - exe/octostat
79
81
  - lib/octostat.rb
80
82
  - lib/octostat/command.rb
81
83
  - lib/octostat/database.rb