defi 2.0.6 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/README.md +1 -1
  4. data/lib/defi/challenge.rb +11 -3
  5. metadata +6 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 426454d321bdf30c4cde0dc89c4de16df76c2c12c26c67eef784df4111fe8dde
4
- data.tar.gz: 7f3948a1116852ce7b82cdf7b456a7d3c6813e25da1c573ce520cf674440a4f2
3
+ metadata.gz: 45f62cb331ea97335ed07945d26c22a25f3ee7c826ded161d1432018e2e1005c
4
+ data.tar.gz: 1067904cd927baeb4c4f5bb8a52260ff813b66f1987e774baaf5916dd10922fa
5
5
  SHA512:
6
- metadata.gz: a7e2bd4ec5d168a91dc8e444214eba65b23e56a36f029f17adbd3aaa6ce7dad84761b26dd813ac046929efd1eb9391b2027dfa4ed1cf463be92e069474325bca
7
- data.tar.gz: 2574a52983fee5abcac60eb98a6c0178ba49e00dfb1b21473c620fda7ba8210e15fdb4b55213e274227c0c6cd98d49eb822559913ea3b3f50ffb978ac0063029
6
+ metadata.gz: 7fbd50efbc1db138975db94ab8c5b876b203443719d780032ac97a2e9129366b85dec847fc8cff0655b3046b02b423f8f2717c8c36b6c11fe45ba03772fc674e
7
+ data.tar.gz: a6ee3bb73c8dbbca088d2df08239f31c3451b0bee4075d4f6499d1d45625daab3314ce954fcde3b354d3a564bcbee3557201f74fa7fce65640776ada36e9a214
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015-2021 Cyril Kato
3
+ Copyright (c) 2015-2022 Cyril Kato
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -19,7 +19,7 @@ gem "defi"
19
19
  And then execute:
20
20
 
21
21
  ```sh
22
- bundle
22
+ bundle install
23
23
  ```
24
24
 
25
25
  Or install it yourself as:
@@ -46,6 +46,10 @@ module Defi
46
46
  }
47
47
  end
48
48
 
49
+ # rubocop:disable Metrics/AbcSize
50
+ # rubocop:disable Metrics/CyclomaticComplexity
51
+ # rubocop:disable Metrics/MethodLength
52
+
49
53
  # String of the challenge.
50
54
  #
51
55
  # @return [String] The string representation of the challenge.
@@ -66,9 +70,13 @@ module Defi
66
70
  stringified_items << stringified_opts unless @opts.empty?
67
71
  stringified_items << stringified_block unless @block.nil?
68
72
 
69
- "#{string}#{stringified_items.join(', ')})"
73
+ "#{string}#{stringified_items.join(", ")})"
70
74
  end
71
75
 
76
+ # rubocop:enable Metrics/AbcSize
77
+ # rubocop:enable Metrics/CyclomaticComplexity
78
+ # rubocop:enable Metrics/MethodLength
79
+
72
80
  # A string containing a human-readable representation of the challenge.
73
81
  #
74
82
  # @return [String] The human-readable representation of the challenge.
@@ -78,11 +86,11 @@ module Defi
78
86
  inspected_opts = @opts.inspect
79
87
  inspected_block = @block.nil? ? "nil" : "<Proc>"
80
88
 
81
- "Defi(" \
89
+ "Defi(" \
82
90
  "method: #{inspected_method}, " \
83
91
  "args: #{inspected_args}, " \
84
92
  "opts: #{inspected_opts}, " \
85
- "block: #{inspected_block}" \
93
+ "block: #{inspected_block}" \
86
94
  ")"
87
95
  end
88
96
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: defi
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Kato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-31 00:00:00.000000000 Z
11
+ date: 2022-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aw
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.13
19
+ version: 0.2.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: 0.1.13
26
+ version: 0.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -150,7 +150,8 @@ files:
150
150
  homepage: https://github.com/fixrb/defi
151
151
  licenses:
152
152
  - MIT
153
- metadata: {}
153
+ metadata:
154
+ rubygems_mfa_required: 'true'
154
155
  post_install_message:
155
156
  rdoc_options: []
156
157
  require_paths: