libis-tools 1.1.0 → 1.1.1

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: ac9ebf414072a3f3e428e510fe58bd5295f2d51dd0d6ef21d942180eec8ca7e7
4
- data.tar.gz: 85b0795ba6bf78225959ff7d7a91cd3907a3be45a4051002c02fbc36542ddf1d
3
+ metadata.gz: 9cdf44886fdc0890073e44ad0a507e3dd37db77523defc39f3584192e8bce70a
4
+ data.tar.gz: 8c0037d5ea9907a99b006c7273e39ef5f3d5b51e81618963bc4a82728c28c13e
5
5
  SHA512:
6
- metadata.gz: 836a404a0a1f7253b6de12013b56112a3c8f7a35adc7867a2675489fc0e71a5a0f18d066a59101da43e97c205f5153596fbb74bf285f721c07a77d8b955ea0b2
7
- data.tar.gz: 6f01c97a2e947906ff50cdea77785f6fa3700abd46fbbb026e3c01656f43aeb013983113cd87b42781ae9289518ecf9cb72e4fc24290c54e9dc34540427e9531
6
+ metadata.gz: a69b2e77fab73af0fadbef38afa6a53f2d462689f82b3299ee8447b4a0d799cb2f2503ce8eea2cb1bbede8686a31e5b5c320526769fb30d6719adfb56839a696
7
+ data.tar.gz: 749f31e690dfbd7bba4d205005dd157113da3632aa1c445a4a7d62f3a6a79430dcf9793df4b0ba3f8e1e2de5147a785ca0665c2c7446206bbcf926d10e904e98
@@ -1,8 +1,8 @@
1
- # Symbol monkey patch to allow map(&:method) to take arguments. Allows: [2,3].map(&:+.(10)) # => [12,13]
1
+ # Symbol monkey patch to allow map(&:method) to take arguments. Allows: [2,3].map(&:+.with(10)) # => [12,13]
2
2
  # See: https://stackoverflow.com/questions/23695653/can-you-supply-arguments-to-the-mapmethod-syntax-in-ruby
3
3
  # for more information,
4
4
  class Symbol
5
- def call(*args, &block)
5
+ def with(*args, &block)
6
6
  ->(caller, *rest) { caller.public_send(self, *rest, *args, &block) }
7
7
  end
8
8
  end
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Tools
3
- VERSION = '1.1.0'
3
+ VERSION = '1.1.1'
4
4
  end
5
5
  end
data/libis-tools.gemspec CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
 
17
17
  spec.authors = ['Kris Dekeyser']
18
18
  spec.email = ['kris.dekeyser@libis.be']
19
- spec.homepage = 'https://github.com/Kris-LIBIS/LIBIS_Tools'
19
+ spec.homepage = 'https://github.com/libis/LIBIS_Tools'
20
20
  spec.license = 'MIT'
21
21
 
22
22
  spec.platform = Gem::Platform::JAVA if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-tools
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
  - Kris Dekeyser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-24 00:00:00.000000000 Z
11
+ date: 2024-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -353,7 +353,7 @@ files:
353
353
  - test/test_helper.rb
354
354
  - test/webservices/test_ca_item_info.rb
355
355
  - test/webservices/test_ca_search.rb
356
- homepage: https://github.com/Kris-LIBIS/LIBIS_Tools
356
+ homepage: https://github.com/libis/LIBIS_Tools
357
357
  licenses:
358
358
  - MIT
359
359
  metadata: {}