around_the_world 0.29.1 → 0.29.3

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: 56638f0ecdd1caedf7b97009ae42b7a38a8d5ca96876665cbbd3df017a89a780
4
- data.tar.gz: dbdf5d23235bb2b5925431a988704efed01b078825a6a7d67074221eada6438c
3
+ metadata.gz: baf7cee294e6c03d71f1912bcf14de381c0225113f9936698482b981ddce6047
4
+ data.tar.gz: ebed5a37c4b434a9bb5a74082cb6b015124a93ca37304866a539e0fad066a4ee
5
5
  SHA512:
6
- metadata.gz: 746569894c55bab41cc4dcb868f425e7306aab5a358b40a37f8dc48e9151898b489f2d09634ccae20c77b9727a901bb3ffabb13d862112d49753df5fb5353fd7
7
- data.tar.gz: f6af3f6360b3f02a45f0d6bcec96dda0f62315bfb4988d820a60bf8c37bd9f9bdafe9899e0aff3df49fc1b1e160e9d44f991b3f021b9aca3cc4c6d112ffd1371
6
+ metadata.gz: a95d1455bdd04e833b5008bb22239ccf255ee9f04bbd142060b94fae3fa3080d80b2efe12e263224996c6a2788cd27e6c718ee22da23fb282e780bb940f5d111
7
+ data.tar.gz: 192f45072fd6d0d3cd15b6b1c927277b5e2ea1f29bc302d4a133f521b22acc19bc4e9e2c5552c53e019cdb3aaa4c2612b5a165788559d4c2faa208dceecac86c
data/README.md CHANGED
@@ -48,11 +48,7 @@ class SomeClass
48
48
  !!@something_happened
49
49
  end
50
50
 
51
- around_method :make_something_happen!, :did_something_happened? do |*args| # use |...| for ruby 2.7+
52
- # For Ruby <= 2.6:
53
- things_happened = super(*args)
54
-
55
- #Or, for Ruby <= 2.7:
51
+ around_method :make_something_happen!, :did_something_happened? do |..|
56
52
  things_happened = super(...)
57
53
 
58
54
  if things_happened
@@ -113,7 +109,7 @@ class SomeClass
113
109
  def a_singleton_method; end
114
110
 
115
111
  around_method :a_singleton_method do |...|
116
- super(...) # See above for ruby <= 2.6 syntax
112
+ super(...)
117
113
 
118
114
  "It works for class methods too!"
119
115
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module AroundTheWorld
4
4
  # This constant is managed by spicerack
5
- VERSION = "0.29.1"
5
+ VERSION = "0.29.3"
6
6
  end
@@ -23,11 +23,7 @@ module AroundTheWorld
23
23
  #
24
24
  # @example
25
25
  # class SomeClass
26
- # around_method :make_something_happen!, :did_something_happened? do |*args| # use |...| for ruby 2.7+
27
- # # For Ruby <= 2.6:
28
- # things_happened = super(*args)
29
-
30
- # #Or, for Ruby <= 2.7:
26
+ # around_method :make_something_happen!, :did_something_happened? do |...|
31
27
  # things_happened = super(...)
32
28
 
33
29
  # if things_happened
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: around_the_world
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.1
4
+ version: 0.29.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Allen Rettberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-23 00:00:00.000000000 Z
11
+ date: 2023-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.1
19
+ version: 6.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.2.1
26
+ version: 6.1.0
27
27
  description: A metaprogramming module which allows you to wrap any method easily
28
28
  email:
29
29
  - allen.rettberg@freshly.com
@@ -47,7 +47,7 @@ metadata:
47
47
  homepage_uri: https://github.com/RubyAfterAll/spicerack/tree/main/around_the_world
48
48
  source_code_uri: https://github.com/RubyAfterAll/spicerack/tree/main/around_the_world
49
49
  changelog_uri: https://github.com/RubyAfterAll/spicerack/blob/main/around_the_world/CHANGELOG.md
50
- documentation_uri: https://www.rubydoc.info/gems/around_the_world/0.29.1
50
+ documentation_uri: https://www.rubydoc.info/gems/around_the_world/0.29.3
51
51
  post_install_message:
52
52
  rdoc_options: []
53
53
  require_paths:
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  requirements: []
66
- rubygems_version: 3.3.7
66
+ rubygems_version: 3.5.3
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: Allows you to easily wrap methods with custom logic on any class