proxy_method 1.1.0 → 1.1.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/proxy_method/version.rb +1 -1
  3. metadata +13 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8bc049207e43c67354f9411eb043f1637cfd8cfc9c96214375527d5a9b077e5b
4
- data.tar.gz: b64c28b819fe354192ee34f42fde428d4f27a0274ddd4da4cff6db2e9154b3f1
3
+ metadata.gz: 52db94c79b99c5ba157644315140141d0335fbaccf6f81c129e1bc1506c0685d
4
+ data.tar.gz: 7e8e77e4e16f678e4f26fb942fdc3b9d02c78ee49b738d34b92e5eb1a3e5b1f6
5
5
  SHA512:
6
- metadata.gz: 3a45bfc0ef058d8dd4b8a6fa24ffc2c9bbdc9abcd0b48085d59c4609cb855ee83b7a4ff8a0dc7dd9b723a1a516dbc053ccc0a08d7e0ab6ebe2bcd1c17e3f626a
7
- data.tar.gz: 85098afdef7599ddfb4f910ffa56dbaa8d9b276f0fbd84a272a477603bec55904c2be03de5b432a551fa9c0833cd037666497c1742906a3da788c9bdd0e9867c
6
+ metadata.gz: 8bc83c1b4c1a8fd011042d9d0a0ecbdd7155a6a501eea01255d9d2c55c06f921407ef6faf14e8b553267350d21540ee3b7fc7a312c8bc1838ebb5380f089f88e
7
+ data.tar.gz: df971e7483eaf4655e22a0703d6e79f30a4b25e2ca46153a115b3e18606e171df97770c773f9b56f0a2081c81c79b59d0830b07b32cea0d6678da36193fb6582
@@ -1,3 +1,3 @@
1
1
  module ProxyMethod
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proxy_method
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime Bellmyer
@@ -12,11 +12,19 @@ date: 2019-12-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  The purpose of this gem is to prevent directly running the inherited
15
- methods you choose to block, and instead raise a custom Error message.
16
- The original method can still be called under a different name.
15
+ methods you choose to block at either the class or instance level, and
16
+ instead do one of two things: run an alternative block which may or may
17
+ not invoke the original method, or simply raise an error message.
17
18
 
18
- This was created to help enforce the use of interactors over directly
19
- calling ActiveRecord methods like create, save, and update.
19
+ The error message can be customized. The original method can still be
20
+ called under a different name. The entire object or class can return
21
+ "unproxied" versions of themselves to preserve the original functionality.
22
+
23
+ This was originally created to help enforce the use of interactors over
24
+ directly calling ActiveRecord methods like create, save, and update. As
25
+ with any metaprogramming, this gives you plenty of rope to hang yourself
26
+ if you try to get too "clever". Treat this library like salt; use
27
+ sparingly, because over time its cumulative effect will kill you :)
20
28
  email:
21
29
  - online@bellmyer.com
22
30
  executables: []