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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73aee3654b476be49b07919f42351e4a215eed644ca265e430fa9ae5bb342602
4
- data.tar.gz: 5a1d9932d003433378f7e2ca9c3110e1417b0e4758aea2756117e8ad76d8f3d2
3
+ metadata.gz: 511701d18690f97859f52fa405f8e570fff9394fb2ddfbd1b40056ba279cabe7
4
+ data.tar.gz: 3d12a68af103f82c3d3fa924687a6bd26a9fa0510fc4de6f0195ed45e90b2c8a
5
5
  SHA512:
6
- metadata.gz: c767573d7f5d0912231e6f8cbd7ac74d725fd4982494d1d2871eaba18b76bea7b4179684601550603f39b93817462184c32e4f22cba1f44b4494f7c1d20a9ea1
7
- data.tar.gz: 84aa02f3100e0cf04e2321f323d5fb35f3cb848791e261382572ed56de93f0750bbfdfd980a9a4408395474e4699356ab24e79f657fcacb856b6a1d1dd136a97
6
+ metadata.gz: 6f8bed8621c8b8cc1098eeae14703514377079cd92f7479ac0f40460412dbfa4f835245ff6dee8c1ebde7d0126cbb41c92338429482a27cad0c4166d5f7fb9d0
7
+ data.tar.gz: 01716cffa50628740a9e90a09b41ac0d060ad5fd4aba2d151193337572c7aad076c0c97a6ed8e3c90e8a054e9b0c9603ed1c50e2be5b9648d558844198283291
data/lib/Git/Branch.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  # require 'Git/Branch'
7
7
  #
8
8
  # Git::Branch.local
9
- # => Git::Branch
9
+ # => #<Git::Branch>
10
10
  #
11
11
  # Git::Branch.local.all, Git::Branch.all
12
12
  # => [#<Git::Branch @name="master">, ...]
data/lib/Git/VERSION.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Git
2
2
 
3
- VERSION = '0.13.0'
3
+ VERSION = '0.14.1'
4
4
 
5
5
  end
data/lib/Git.rb CHANGED
@@ -1,9 +1,6 @@
1
- # Git.rb
1
+ # git.rb
2
2
  # Git
3
3
 
4
- # 20200330
5
- # 0.10.1
6
-
7
4
  lib_dir = File.expand_path(File.join(__FILE__, '..'))
8
5
  $LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)
9
6
 
data/lib/Ordinal.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  # Ordinal.rb
2
2
  # Ordinal
3
3
 
4
- # 20140316
5
- # 0.2.0
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 ninteenth
92
+ def nineteenth
91
93
  entries[18]
92
94
  end
93
95
 
@@ -1,28 +1,7 @@
1
- # Thoran/String/Capture/capture.rb
2
- # Thoran::String::Capture#capture
1
+ # String/capture.rb
2
+ # String#capture
3
3
 
4
- # 20161109
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
- # 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)
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
- # 20201008
5
- # 0.3.1 (The same version number as the current version of Thoran/String/Capture.)
4
+ # 20161109
5
+ # 0.3.1
6
6
 
7
- require 'Thoran/String/Capture/capture'
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.13.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: 2021-07-02 00:00:00.000000000 Z
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.2.3
82
+ rubygems_version: 3.4.14
55
83
  signing_key:
56
84
  specification_version: 4
57
85
  summary: Do git stuff from Ruby.