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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c3e4ce0e0a5a9fae8575225359cc5b8e922cfd009b1ceade3a3ed4f4a9865a9
4
- data.tar.gz: 5d1e25766012a16829958a194398394eed379555369e36e8c1617641e9ad6da8
3
+ metadata.gz: a7de64a66dc9da94be1989bd089b7b322163cbe155068d8b09b45f83ef26a5ca
4
+ data.tar.gz: 8d09deb5bdb96bc954b90ca423554da64c6e8186551beed44f5a6d33c3f0b549
5
5
  SHA512:
6
- metadata.gz: 7f61ab1c13cea52539d27ed42837e58c0be53e4472881c8e5d4e08d9db43bdbf71fbaed4b2fc6b52ea75e14bcdf135121e430449d2953f9ce5c9ad3ee77201d8
7
- data.tar.gz: 86e692ee3e36cc058266f644bb84ea2cceeacc2d2f19c6a5898719b67786ffda938843622dbdc28e232d09c4f50ac5785ac8fbe2ddf372a7c0b5b1e679ca0fa1
6
+ metadata.gz: 05dfb29206f983154ee13ba8e814ba3bf016ac53c40717a90f1db255ac87a99537a9d1d4365a1c41651612df0098e813c9d4da50a2794346d472b11e0ba5b477
7
+ data.tar.gz: b85f37666b8a5d05d106d436fd8f611d559929d4310a044b31bbdead4188f912b7017553ab219e40f9dc1f3c8e98748c355eeb6d5a391113d1e002caf0c70c99
checksums.yaml.gz.sig CHANGED
Binary file
data/History.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  ---
4
4
 
5
+ ## v0.6.0 [2019-10-16] Michael Granger <ged@FaerieMUD.org>
6
+
7
+ Improvements:
8
+
9
+ - Add topic extension
10
+
11
+
5
12
  ## v0.5.0 [2019-10-14] Michael Granger <ged@FaerieMUD.org>
6
13
 
7
14
  Improvements:
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/ruby-hglib
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/ruby-hglib).
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
@@ -12,7 +12,7 @@ module Hglib
12
12
  Exception2MessageMapper
13
13
 
14
14
  # Package version
15
- VERSION = '0.5.0'
15
+ VERSION = '0.6.0'
16
16
 
17
17
  # Version control revision
18
18
  REVISION = %q$Revision$
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.5.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-14 00:00:00.000000000 Z
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.2'
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.2'
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.3
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