branch_base 0.1.0 → 0.1.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 +4 -4
- data/Dockerfile +1 -1
- data/Gemfile +0 -1
- data/Gemfile.lock +1 -1
- data/README.md +3 -0
- data/lib/branch_base/repository.rb +0 -2
- data/lib/branch_base/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac2b962d3318d0496d929f7745c804ff822c58b9e7d15874eddaa0c77fa7330a
|
4
|
+
data.tar.gz: 0f255cb5ea4b68fc038c68039a6322b514cdc697dc6ac2571b594ff572cb3f64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1465a856148f4917f10f1c41e201b78fd91d5a5f9dc202eb4db61abea12682191efa7d2dfec0aecdb4fa14a769bf40747bbd59285ba82de3ad88df38b6b1c148
|
7
|
+
data.tar.gz: 2c20ed4a6c162853e808b8ef39af131c29dcc0388baa07ae0ffc418a76988ebbcdd1b76f404256437bdf9e633acd0ce2818a82a9f9eb5c7d1cbfbb8437b1333c
|
data/Dockerfile
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# BranchBase
|
2
2
|
|
3
|
+
[](https://github.com/shayonj/branch_base/actions/workflows/ci.yaml)
|
4
|
+
[](https://badge.fury.io/rb/branch_base)
|
5
|
+
|
3
6
|
`branch_base` is a Ruby gem to synchronize data from a Git repository into a SQLite database. It provides a CLI to easily build and store the data, including commits, branches, and file changes, into a SQLite database.
|
4
7
|
|
5
8
|
You can now easily run, any kind of analytics on your Git directory using the SQLite database.
|
@@ -11,8 +11,6 @@ module BranchBase
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def walk(branch_name = nil, &block)
|
14
|
-
# Use the provided branch's head commit OID if a branch name is given,
|
15
|
-
# otherwise, use the repository's HEAD commit OID.
|
16
14
|
oid =
|
17
15
|
if branch_name
|
18
16
|
branch = @repo.branches[branch_name]
|
data/lib/branch_base/version.rb
CHANGED