git.rb 0.13.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Git/Branch.rb +1 -1
- data/lib/Git/VERSION.rb +1 -1
- data/lib/Git.rb +1 -4
- data/lib/Ordinal.rb +5 -3
- data/lib/String/capture.rb +5 -26
- data/lib/Thoran/String/Capture/capture.rb +26 -5
- metadata +32 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 511701d18690f97859f52fa405f8e570fff9394fb2ddfbd1b40056ba279cabe7
|
4
|
+
data.tar.gz: 3d12a68af103f82c3d3fa924687a6bd26a9fa0510fc4de6f0195ed45e90b2c8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f8bed8621c8b8cc1098eeae14703514377079cd92f7479ac0f40460412dbfa4f835245ff6dee8c1ebde7d0126cbb41c92338429482a27cad0c4166d5f7fb9d0
|
7
|
+
data.tar.gz: 01716cffa50628740a9e90a09b41ac0d060ad5fd4aba2d151193337572c7aad076c0c97a6ed8e3c90e8a054e9b0c9603ed1c50e2be5b9648d558844198283291
|
data/lib/Git/Branch.rb
CHANGED
data/lib/Git/VERSION.rb
CHANGED
data/lib/Git.rb
CHANGED
data/lib/Ordinal.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Ordinal.rb
|
2
2
|
# Ordinal
|
3
3
|
|
4
|
-
#
|
5
|
-
# 0.2.
|
4
|
+
# 20220527
|
5
|
+
# 0.2.1
|
6
6
|
|
7
7
|
# Description: This is a collection of methods which relies upon an object having an entries method.
|
8
8
|
|
@@ -12,6 +12,8 @@
|
|
12
12
|
# Changes since 0.1:
|
13
13
|
# 1. - require 'File/self.relative_path' from Ordinal/Array and replaced with require_relative.
|
14
14
|
# 2. - require 'File/self.relative_path' from Ordinal/Array and replaced with require_relative.
|
15
|
+
# 0/1
|
16
|
+
# 3. /ninteenth/nineteenth/
|
15
17
|
|
16
18
|
module Ordinal
|
17
19
|
|
@@ -87,7 +89,7 @@ module Ordinal
|
|
87
89
|
entries[17]
|
88
90
|
end
|
89
91
|
|
90
|
-
def
|
92
|
+
def nineteenth
|
91
93
|
entries[18]
|
92
94
|
end
|
93
95
|
|
data/lib/String/capture.rb
CHANGED
@@ -1,28 +1,7 @@
|
|
1
|
-
#
|
2
|
-
#
|
1
|
+
# String/capture.rb
|
2
|
+
# String#capture
|
3
3
|
|
4
|
-
#
|
5
|
-
# 0.3.1
|
4
|
+
# 20201008
|
5
|
+
# 0.3.1 (The same version number as the current version of Thoran/String/Capture.)
|
6
6
|
|
7
|
-
|
8
|
-
# 1. + Thoran namespace.
|
9
|
-
# 0/1
|
10
|
-
# 2. Updated the MiniTest superclass only---no implementation changes.
|
11
|
-
|
12
|
-
module Thoran
|
13
|
-
module String
|
14
|
-
module Capture
|
15
|
-
|
16
|
-
def capture(regex)
|
17
|
-
if md = self.match(regex)
|
18
|
-
md[1]
|
19
|
-
else
|
20
|
-
nil
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
String.send(:include, Thoran::String::Capture)
|
7
|
+
require 'Thoran/String/Capture/capture'
|
@@ -1,7 +1,28 @@
|
|
1
|
-
# String/capture.rb
|
2
|
-
# String#capture
|
1
|
+
# Thoran/String/Capture/capture.rb
|
2
|
+
# Thoran::String::Capture#capture
|
3
3
|
|
4
|
-
#
|
5
|
-
# 0.3.1
|
4
|
+
# 20161109
|
5
|
+
# 0.3.1
|
6
6
|
|
7
|
-
|
7
|
+
# Changes since 0.2:
|
8
|
+
# 1. + Thoran namespace.
|
9
|
+
# 0/1
|
10
|
+
# 2. Updated the MiniTest superclass only---no implementation changes.
|
11
|
+
|
12
|
+
module Thoran
|
13
|
+
module String
|
14
|
+
module Capture
|
15
|
+
|
16
|
+
def capture(regex)
|
17
|
+
if md = self.match(regex)
|
18
|
+
md[1]
|
19
|
+
else
|
20
|
+
nil
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
String.send(:include, Thoran::String::Capture)
|
metadata
CHANGED
@@ -1,15 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thoran
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
11
|
+
date: 2023-06-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: minitest
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: minitest-spec-context
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
13
41
|
description: Do stuff with git-blame, git-branch, git-log, and git-remote from Ruby.
|
14
42
|
email: code@thoran.com
|
15
43
|
executables: []
|
@@ -51,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
79
|
- !ruby/object:Gem::Version
|
52
80
|
version: '0'
|
53
81
|
requirements: []
|
54
|
-
rubygems_version: 3.
|
82
|
+
rubygems_version: 3.4.14
|
55
83
|
signing_key:
|
56
84
|
specification_version: 4
|
57
85
|
summary: Do git stuff from Ruby.
|