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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fb050764d4610e725df30049551b313d93e388a
4
- data.tar.gz: 0b71eb057f042f1c79a702c95f08a24d2941de38
3
+ metadata.gz: 612fb17725e03b67e6bcea8f211b55f4270610fa
4
+ data.tar.gz: 99ca0e827598954ad2779eb028f7210e87acb208
5
5
  SHA512:
6
- metadata.gz: 60d80f64dd2bb5c112440276dbadd2cfdef577e502df779246c938f6da12a4406606dbc68aa4527980240d4d618a1b96322791fd120a342deb2d5e3ccfa0b4eb
7
- data.tar.gz: ec99f0364d5d2de60459a3d11137cb4445234ac394e5bd9b4112ab267bf9fb15b4ff925dc04203a05f81a75f44aef016cf080f5b08cbca87adfbb2018539a459
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 Ruby projects and as one helper for reading/trying source code of Ruby projects (like source code of Ruby on Rails).
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.
@@ -1,3 +1,3 @@
1
1
  module ModuleShims
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -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.1.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: It helps you prepend modules in the inheritance chain so that you can
56
- easily implement your own methods to override existing ones in specific modules/classes
57
- without impacting others.
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: []