dato 0.6.0 → 0.6.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: 7107aad93e6809c4140c2167e1d5ce2cc446c45bf05e66521916a357a52f2b2a
4
- data.tar.gz: a3f336225fa11c3d721b07171b432201326b03e58fb394ec0f26911c5320f8e9
3
+ metadata.gz: 70dd4b90e6cad917e774b7bb8566d84b1f24008a7bc22a18804ef1c81239fc48
4
+ data.tar.gz: 26b6cda172ba266c6d9d4ee7dee2895ae168ddbf9e5fab90ab91323fd1bb4aa9
5
5
  SHA512:
6
- metadata.gz: df93d0a0883dd2a6d728cb5f8ceb7e4b6c46f9063a75bc79ecf1442458f67f5a32aa0a95f7be9a9fc89360b02636206c1bf4bcc6f7689847eb2d2c7e9a269969
7
- data.tar.gz: 4a733da2b3626f47018fc6fadefb96d50ffd4959b871f952c78c382225504faa6d894d4aaaed68ba458d91fa6e138fe18ec2e28d550d840a2771c6e823cf48a4
6
+ metadata.gz: 6d8851990f86b88040e6dc19e9825a94d9ef2b2f6282bee9b198bd0e7ded9834495d78821d157eb8a63fcd9391805834e39efae98171a68457b2df27ab801e1d
7
+ data.tar.gz: 547fc2a37677fb5bfc6a1c4866276d873eea7221ae5a6754d7119776cc29d5bcbe0408521318e7687973e9f7a0113ffdc787525b5d5847058e3f15a552fd3b21
@@ -2,6 +2,7 @@ language: ruby
2
2
  rvm:
3
3
  - 2.2.2
4
4
  - 2.3.0
5
+ - 2.4.0
5
6
  before_install:
6
7
  - gem install bundler -v 1.13.5
7
8
  - echo 'puts "ruby \"#{RUBY_VERSION}\""' | ruby >> Gemfile
@@ -26,7 +26,7 @@ module Dato
26
26
  min_arguments_count = [
27
27
  link.href.scan(IDENTITY_REGEXP).size,
28
28
  link.schema && link.method != :get ? 1 : 0
29
- ].sum
29
+ ].reduce(0, :+)
30
30
 
31
31
  args.size >= min_arguments_count or
32
32
  raise ArgumentError.new(
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Dato
3
- VERSION = '0.6.0'
3
+ VERSION = '0.6.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna