hglib 0.5.0 → 0.6.0
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
- checksums.yaml.gz.sig +0 -0
- data/History.md +7 -0
- data/README.md +4 -3
- data/lib/hglib/mixins.rb +25 -0
- data/lib/hglib.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +5 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a7de64a66dc9da94be1989bd089b7b322163cbe155068d8b09b45f83ef26a5ca
|
|
4
|
+
data.tar.gz: 8d09deb5bdb96bc954b90ca423554da64c6e8186551beed44f5a6d33c3f0b549
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05dfb29206f983154ee13ba8e814ba3bf016ac53c40717a90f1db255ac87a99537a9d1d4365a1c41651612df0098e813c9d4da50a2794346d472b11e0ba5b477
|
|
7
|
+
data.tar.gz: b85f37666b8a5d05d106d436fd8f611d559929d4310a044b31bbdead4188f912b7017553ab219e40f9dc1f3c8e98748c355eeb6d5a391113d1e002caf0c70c99
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/History.md
CHANGED
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ code
|
|
|
7
7
|
: https://hg.sr.ht/~ged/hglib
|
|
8
8
|
|
|
9
9
|
github
|
|
10
|
-
: https://github.com/ged/
|
|
10
|
+
: https://github.com/ged/hglib
|
|
11
11
|
|
|
12
12
|
docs
|
|
13
13
|
: http://deveiate.org/code/hglib
|
|
@@ -41,13 +41,14 @@ that uses the [Command Server][cmdserver] for efficiency.
|
|
|
41
41
|
|
|
42
42
|
You can check out the current development source with Mercurial via its
|
|
43
43
|
[project page](https://hg.sr.ht/~ged/hglib). Or if you prefer Git, via
|
|
44
|
-
[its Github mirror](https://github.com/ged/
|
|
44
|
+
[its Github mirror](https://github.com/ged/hglib).
|
|
45
45
|
|
|
46
46
|
After checking out the source, run:
|
|
47
47
|
|
|
48
48
|
$ gem install -Ng
|
|
49
49
|
|
|
50
|
-
This will install any missing dependencies
|
|
50
|
+
This will install any missing dependencies, after which you can get a list of
|
|
51
|
+
the available development tasks with `rake -T`.
|
|
51
52
|
|
|
52
53
|
|
|
53
54
|
## Authors
|
data/lib/hglib/mixins.rb
CHANGED
|
@@ -76,5 +76,30 @@ module Hglib
|
|
|
76
76
|
end # module MethodUtilities
|
|
77
77
|
|
|
78
78
|
|
|
79
|
+
# An extensible #inspect for Hglib objects.
|
|
80
|
+
module Inspection
|
|
81
|
+
|
|
82
|
+
### Return a human-readable representation of the object suitable for debugging.
|
|
83
|
+
def inspect
|
|
84
|
+
return "#<%p:%#016x %s>" % [
|
|
85
|
+
self.class,
|
|
86
|
+
self.object_id * 2,
|
|
87
|
+
self.inspect_details,
|
|
88
|
+
]
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Return the detail portion of the inspect output for this object.
|
|
93
|
+
def inspect_details
|
|
94
|
+
return self.instance_variables.sort.map do |ivar|
|
|
95
|
+
"%s=%p" % [ ivar, self.instance_variable_get(ivar) ]
|
|
96
|
+
end.join( ', ' )
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
end # module Inspection
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
79
104
|
end # module Hglib
|
|
80
105
|
|
data/lib/hglib.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hglib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Granger
|
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
|
34
34
|
jBZSA+N+xUTgUWpXjjwsLZjzJkhWATJWq+krNXcqpwXo6HsjmdUxoFMt63RBb+sI
|
|
35
35
|
XrxOxp8o0uOkU7FdLSGsyqJ2LzsR4obN
|
|
36
36
|
-----END CERTIFICATE-----
|
|
37
|
-
date: 2019-10-
|
|
37
|
+
date: 2019-10-16 00:00:00.000000000 Z
|
|
38
38
|
dependencies:
|
|
39
39
|
- !ruby/object:Gem::Dependency
|
|
40
40
|
name: loggability
|
|
@@ -56,14 +56,14 @@ dependencies:
|
|
|
56
56
|
requirements:
|
|
57
57
|
- - "~>"
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: '0.
|
|
59
|
+
version: '0.3'
|
|
60
60
|
type: :development
|
|
61
61
|
prerelease: false
|
|
62
62
|
version_requirements: !ruby/object:Gem::Requirement
|
|
63
63
|
requirements:
|
|
64
64
|
- - "~>"
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
|
-
version: '0.
|
|
66
|
+
version: '0.3'
|
|
67
67
|
- !ruby/object:Gem::Dependency
|
|
68
68
|
name: simplecov
|
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
148
148
|
- !ruby/object:Gem::Version
|
|
149
149
|
version: '0'
|
|
150
150
|
requirements: []
|
|
151
|
-
rubygems_version: 3.0.
|
|
151
|
+
rubygems_version: 3.0.6
|
|
152
152
|
signing_key:
|
|
153
153
|
specification_version: 4
|
|
154
154
|
summary: This is a client library for the Mercurial distributed revision control tool
|
metadata.gz.sig
CHANGED
|
Binary file
|