module_shims 0.1.0 → 0.2.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
- data/README.md +1 -1
- data/lib/module_shims/version.rb +1 -1
- data/module_shims.gemspec +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 612fb17725e03b67e6bcea8f211b55f4270610fa
|
4
|
+
data.tar.gz: 99ca0e827598954ad2779eb028f7210e87acb208
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bf269de7d872d7656441bcc1204bf16119efdbb6efee204f1712f419a00ef268f133e2e42a7ee6386d5ad2d4b54ed6cf921a9cb1f0b882e0d3cce7b6755e004
|
7
|
+
data.tar.gz: 59752808d4c235464ee049e22371c608b0eced7267b063f8e425ca816b2ed6f4a3a1b7f8ea42b6e6e55d86199a109a804c95d8077b08ccfe2b735ede565b2fe9
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Module::Shims
|
2
2
|
|
3
|
-
The gem is one tool used for debugging/developing
|
3
|
+
The gem is one tool used for debugging/developing and as one helper for reading/trying source code of projects (like Ruby on Rails).
|
4
4
|
It should NOT be used for production.
|
5
5
|
|
6
6
|
In one inheritance chain like [A, B, C, D], it can add shim module to anyone of them so that you can "replace" one method's implementation of one specific module/class with your own implementation without impacting other modules/classes.
|
data/lib/module_shims/version.rb
CHANGED
data/module_shims.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["ypxing@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Insert shims among inheritance chain for debugging/development and reading source code purpose.}
|
13
|
-
spec.description = %q{It helps you prepend modules in the inheritance chain so that you can easily implement your own methods to override existing ones in specific modules/classes without impacting others.}
|
13
|
+
spec.description = %q{The gem is one tool used for debugging/developing and as one helper for reading/trying source code of projects (like Ruby on Rails). It helps you prepend modules in the inheritance chain so that you can easily implement your own methods to override existing ones in specific modules/classes without impacting others. Different from monkey patch, you can easily enable/dsiable your implementation.}
|
14
14
|
spec.homepage = "https://github.com/ypxing/module_shims"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: module_shims
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yunpeng Xing (Rick)
|
@@ -52,9 +52,11 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.4'
|
55
|
-
description:
|
56
|
-
|
57
|
-
|
55
|
+
description: The gem is one tool used for debugging/developing and as one helper for
|
56
|
+
reading/trying source code of projects (like Ruby on Rails). It helps you prepend
|
57
|
+
modules in the inheritance chain so that you can easily implement your own methods
|
58
|
+
to override existing ones in specific modules/classes without impacting others.
|
59
|
+
Different from monkey patch, you can easily enable/dsiable your implementation.
|
58
60
|
email:
|
59
61
|
- ypxing@gmail.com
|
60
62
|
executables: []
|