ruby3-backward-compatibility 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d863bc999c8d389ecc066c1e205d29599f8126296c177937bf61e054245765ee
4
- data.tar.gz: bd87ac80c634fa8292c8a7f09bf7cbb6c2c1e84e7a8eae02fab1ade564c05b12
3
+ metadata.gz: 633e9d810f14371159a3119d1e2c713dfb79a00beae434fa1ae12d4bb6bd726b
4
+ data.tar.gz: 1e37912bd6c3885a3b0c03fe47bdfd5033e79d44361234a5a8f4fc653e23d275
5
5
  SHA512:
6
- metadata.gz: 06b02c646e5f753bf7e7f6ad908fc7687c11d96eace311e4e962264b9087e2f7c9b7f5613d72893d384b8ebb3c66a7dec27297e7e383dea4f675b44d80f220fb
7
- data.tar.gz: 84cb5c14e91f7c0272f7a56527aada55ea2785db50278584e3152265a43d435f68f4803f22693ffb750d2e6ca173df2fbd6a9771bd5181570eed87489b02092b
6
+ metadata.gz: bf74e2f1827ea9d397905258f6053000d74c3369b4b1f601a5250359c03fd31d1c2109e952050c1ab7ef19851f05f2efdfdd3861c34c985d6308f7b88a0966da
7
+ data.tar.gz: 6674cc14712ed77e0698dd9956ef0ca9228f32c872ee4cd091d7b2d621e7d80612a5d555336da797ce933f8a8fba6b60993ae17c644d211f7535604e2918872c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.1.0] - 2022-12-01
4
+
5
+ - Change `callable_with_hash` to return a symbol, if called with a singular method.
6
+
3
7
  ## [1.0.0] - 2022-12-01
4
8
 
5
9
  - Now 1.0, adhering to semantic versioning.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby3-backward-compatibility (1.0.0)
4
+ ruby3-backward-compatibility (1.1.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -50,6 +50,12 @@ module Ruby3BackwardCompatibility
50
50
  _ruby3_callable_with_hash_module.send(:protected, method_name)
51
51
  end
52
52
  end
53
+
54
+ if method_names.size > 1
55
+ method_names
56
+ else
57
+ method_names.first
58
+ end
53
59
  end
54
60
 
55
61
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ruby3BackwardCompatibility
4
- VERSION = '1.0.0'
4
+ VERSION = '1.1.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby3-backward-compatibility
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Kraze