git-root 0.1.0 → 0.1.3
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/LICENSE.md +1 -1
- data/README.md +31 -14
- data/lib/git-root/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f55ad4edef9339ccee036d82e83d6e2c6bce2e24fae687124cf69ec8000b9bd
|
4
|
+
data.tar.gz: e0169b6f2d724e8e4ea5b7d4b96fe04aabf498955ca6e1ec82223d5fd81bdf66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d071bdadb3754b21332ef7d4958caaf821a8e8bae526cb13f2f709ea70f1ef83b39a9224be1786cff2793d10d580c57dd46865285ae88633cb8165664c82a5cd
|
7
|
+
data.tar.gz: b20618d75bd2e58e7dd8454ee54a530adeb02c95ba8fc139af822f230467c818baf2d00690617d5491bcb2d081b9cd9cd428205559230f7add24619c9a0fe0a2
|
data/LICENSE.md
CHANGED
data/README.md
CHANGED
@@ -1,35 +1,52 @@
|
|
1
|
+
<!-- markdownlint-disable -->
|
1
2
|
<p align="center">
|
2
3
|
<a href="https://github.com/DevelopersToolbox/">
|
3
4
|
<img src="https://cdn.wolfsoftware.com/assets/images/github/organisations/developerstoolbox/black-and-white-circle-256.png" alt="DevelopersToolbox logo" />
|
4
5
|
</a>
|
5
6
|
<br />
|
6
|
-
<a href="https://github.com/DevelopersToolbox/
|
7
|
-
<img src="https://img.shields.io/github/workflow/status/DevelopersToolbox/
|
7
|
+
<a href="https://github.com/DevelopersToolbox/git-root/actions/workflows/cicd.yml">
|
8
|
+
<img src="https://img.shields.io/github/actions/workflow/status/DevelopersToolbox/git-root/cicd.yml?branch=master&label=build%20status&style=for-the-badge" alt="Github Build Status" />
|
8
9
|
</a>
|
9
|
-
<a href="https://github.com/DevelopersToolbox/
|
10
|
-
<img src="https://img.shields.io/github/
|
10
|
+
<a href="https://github.com/DevelopersToolbox/git-root/blob/master/LICENSE.md">
|
11
|
+
<img src="https://img.shields.io/github/license/DevelopersToolbox/git-root?color=blue&label=License&style=for-the-badge" alt="License">
|
11
12
|
</a>
|
12
|
-
<a href="https://github.com/DevelopersToolbox/
|
13
|
-
<img src="https://img.shields.io/github/
|
13
|
+
<a href="https://github.com/DevelopersToolbox/git-root">
|
14
|
+
<img src="https://img.shields.io/github/created-at/DevelopersToolbox/git-root?color=blue&label=Created&style=for-the-badge" alt="Created">
|
14
15
|
</a>
|
15
16
|
<br />
|
16
|
-
<a href=".
|
17
|
+
<a href="https://github.com/DevelopersToolbox/git-root/releases/latest">
|
18
|
+
<img src="https://img.shields.io/github/v/release/DevelopersToolbox/git-root?color=blue&label=Latest%20Release&style=for-the-badge" alt="Release">
|
19
|
+
</a>
|
20
|
+
<a href="https://github.com/DevelopersToolbox/git-root/releases/latest">
|
21
|
+
<img src="https://img.shields.io/github/release-date/DevelopersToolbox/git-root?color=blue&label=Released&style=for-the-badge" alt="Released">
|
22
|
+
</a>
|
23
|
+
<a href="https://github.com/DevelopersToolbox/git-root/releases/latest">
|
24
|
+
<img src="https://img.shields.io/github/commits-since/DevelopersToolbox/git-root/latest.svg?color=blue&style=for-the-badge" alt="Commits since release">
|
25
|
+
</a>
|
26
|
+
<br />
|
27
|
+
<a href="https://github.com/DevelopersToolbox/git-root/blob/master/.github/CODE_OF_CONDUCT.md">
|
17
28
|
<img src="https://img.shields.io/badge/Code%20of%20Conduct-blue?style=for-the-badge" />
|
18
29
|
</a>
|
19
|
-
<a href=".github/CONTRIBUTING.md">
|
30
|
+
<a href="https://github.com/DevelopersToolbox/git-root/blob/master/.github/CONTRIBUTING.md">
|
20
31
|
<img src="https://img.shields.io/badge/Contributing-blue?style=for-the-badge" />
|
21
32
|
</a>
|
22
|
-
<a href=".github/SECURITY.md">
|
33
|
+
<a href="https://github.com/DevelopersToolbox/git-root/blob/master/.github/SECURITY.md">
|
23
34
|
<img src="https://img.shields.io/badge/Report%20Security%20Concern-blue?style=for-the-badge" />
|
24
35
|
</a>
|
25
|
-
<a href="https://github.com/DevelopersToolbox/
|
36
|
+
<a href="https://github.com/DevelopersToolbox/git-root/issues">
|
26
37
|
<img src="https://img.shields.io/badge/Get%20Support-blue?style=for-the-badge" />
|
27
38
|
</a>
|
28
|
-
<br />
|
29
|
-
<a href="https://wolfsoftware.com/">
|
30
|
-
<img src="https://img.shields.io/badge/Created%20by%20Wolf%20Software-blue?style=for-the-badge" />
|
31
|
-
</a>
|
32
39
|
</p>
|
33
40
|
|
34
41
|
## Overview
|
35
42
|
|
43
|
+
A very simple RubyGem for returning the root of any git repository.
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
require 'git-root'
|
47
|
+
|
48
|
+
puts GitRoot.path
|
49
|
+
```
|
50
|
+
|
51
|
+
<br />
|
52
|
+
<p align="right"><a href="https://wolfsoftware.com/"><img src="https://img.shields.io/badge/Created%20by%20Wolf%20on%20behalf%20of%20Wolf%20Software-blue?style=for-the-badge" /></a></p>
|
data/lib/git-root/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-root
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- TGWolf
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 2.8.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.
|
40
|
+
version: 2.8.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: reek
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
75
|
+
version: 1.50.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.
|
82
|
+
version: 1.50.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop-packaging
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
version: 0.5.2
|
97
97
|
description:
|
98
98
|
email:
|
99
|
-
-
|
99
|
+
- rubygems@wolfsoftware.com
|
100
100
|
executables: []
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
@@ -128,8 +128,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
128
|
- !ruby/object:Gem::Version
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
|
-
rubygems_version: 3.
|
131
|
+
rubygems_version: 3.5.9
|
132
132
|
signing_key:
|
133
133
|
specification_version: 4
|
134
|
-
summary: A super simple gem to get the root directory for any given git repository
|
134
|
+
summary: A super simple gem to get the root directory for any given git repository.
|
135
135
|
test_files: []
|