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 +4 -4
- data/lib/libis/tools/extend/symbol.rb +2 -2
- data/lib/libis/tools/version.rb +1 -1
- data/libis-tools.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cdf44886fdc0890073e44ad0a507e3dd37db77523defc39f3584192e8bce70a
|
4
|
+
data.tar.gz: 8c0037d5ea9907a99b006c7273e39ef5f3d5b51e81618963bc4a82728c28c13e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
5
|
+
def with(*args, &block)
|
6
6
|
->(caller, *rest) { caller.public_send(self, *rest, *args, &block) }
|
7
7
|
end
|
8
8
|
end
|
data/lib/libis/tools/version.rb
CHANGED
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/
|
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.
|
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:
|
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/
|
356
|
+
homepage: https://github.com/libis/LIBIS_Tools
|
357
357
|
licenses:
|
358
358
|
- MIT
|
359
359
|
metadata: {}
|