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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/README.md +31 -14
  4. data/lib/git-root/version.rb +1 -1
  5. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 894f2a98f7b7ef9977caa1aa493849ca50fb4d0e5730131d7e1b7f7c7c9d7d7f
4
- data.tar.gz: 17aaf75e9017073549b60cd44040ef4047c6bb6b15c6f8f9ffb4621e2021097a
3
+ metadata.gz: 1f55ad4edef9339ccee036d82e83d6e2c6bce2e24fae687124cf69ec8000b9bd
4
+ data.tar.gz: e0169b6f2d724e8e4ea5b7d4b96fe04aabf498955ca6e1ec82223d5fd81bdf66
5
5
  SHA512:
6
- metadata.gz: 76dc8f6a56e726dd147dfef2785db2e6a331cbc27a87ff2b44741f608fe3b105f42d4e915ffd6bf64aa0c0bc1c6de6e298fae83540a143fefd0b14249c316ffe
7
- data.tar.gz: e46f9657a65acb1871e0a26c5e42f3b2034363dc673c954bd5b7ba5e64b5b6ed3993660c4df24b3f3fc557552470027989c3c89d6e08d62893c01dcd6a15f7f0
6
+ metadata.gz: d071bdadb3754b21332ef7d4958caaf821a8e8bae526cb13f2f709ea70f1ef83b39a9224be1786cff2793d10d580c57dd46865285ae88633cb8165664c82a5cd
7
+ data.tar.gz: b20618d75bd2e58e7dd8454ee54a530adeb02c95ba8fc139af822f230467c818baf2d00690617d5491bcb2d081b9cd9cd428205559230f7add24619c9a0fe0a2
data/LICENSE.md CHANGED
@@ -1,7 +1,7 @@
1
1
  The MIT License (MIT)
2
2
  =====================
3
3
 
4
- Copyright © `2009-2022` `Wolf Software`
4
+ Copyright © `2009-2024` `Wolf Software`
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person
7
7
  obtaining a copy of this software and associated documentation
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/gitroot/actions/workflows/cicd-pipeline.yml">
7
- <img src="https://img.shields.io/github/workflow/status/DevelopersToolbox/gitroot/CICD%20Pipeline/master?style=for-the-badge" alt="Github Build Status">
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/gitroot/releases/latest">
10
- <img src="https://img.shields.io/github/v/release/DevelopersToolbox/gitroot?color=blue&label=Latest%20Release&style=for-the-badge" alt="Release">
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/gitroot/releases/latest">
13
- <img src="https://img.shields.io/github/commits-since/DevelopersToolbox/gitroot/latest.svg?color=blue&style=for-the-badge" alt="Commits since release">
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=".github/CODE_OF_CONDUCT.md">
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/gitroot/issues">
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>
@@ -6,7 +6,7 @@ class GitRoot
6
6
  MINOR = 1
7
7
 
8
8
  # Current patch level.
9
- PATCH = 0
9
+ PATCH = 3
10
10
 
11
11
  # Full release version.
12
12
  VERSION = [MAJOR, MINOR, PATCH].join('.').freeze
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.0
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
- - Tim Gurney aka Wolf
7
+ - TGWolf
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-22 00:00:00.000000000 Z
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.6.0
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.6.0
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.36.0
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.36.0
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
- - wolf@tgwolf.com
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.3.7
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: []