yuuki 0.1.11 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff28f02789081137b0b76139d48a2fcda95ab46c024cc2215174046da5c9a3aa
4
- data.tar.gz: 46ceab8dcc861c1658ae89ccb7201af70bca18cbc2894c662e1f9be33c13b5ef
3
+ metadata.gz: 7409615113f6585101139dd2df95c8f737d0f291016351b152bc3e01390ab8d0
4
+ data.tar.gz: 3941d1d916033d8cbf5944f55cad051f74213d8d0d809476d155800b60204b5f
5
5
  SHA512:
6
- metadata.gz: 621bb047763a596447f9f0a212e5e73674b20608d6806a68606d248226c1765be34577305f34e820e1fda0053864ee5f53b463c7bccb5dcad2e54c3365133d99
7
- data.tar.gz: 7dab2a98152bdb7fb00babfb865402ffe1b2498daeb4a4dfffe26d37a791acf9e38b29b0af0c6eaa6192a3429cab193dd585762023298dbdafac73ad855748c7
6
+ metadata.gz: 2a7dc76ec6ac0d04fbc8a734a5e79994a3f58fbb1f8d8c888c586e66442ce1eb5398ce9e1a413c9edb0145a3bfeb479843bbc2c721dd317305fdeb242bac8e3c
7
+ data.tar.gz: b22db32336dcceced700ffb15b65221c8020db7243df8b9cf79adc7a9d6a51426cfade7826a38045e74eb5da4d2ce5b2df0d76c2a90a5924591fe65c76fe9373
data/lib/yuuki/caller.rb CHANGED
@@ -90,7 +90,7 @@ module Yuuki
90
90
  end
91
91
 
92
92
  # runs all methods with the specified tags
93
- # @param [Symbol] tags
93
+ # @param [Array<Symbol>] tags
94
94
  # @param [Object] args arguments
95
95
  def run_tag(*tags, **args, &)
96
96
  t = self.tags
@@ -8,7 +8,7 @@ require 'yoshinon'
8
8
  module Yuuki
9
9
  module Runner
10
10
  # sets interval to the method
11
- # @param [Symbol] methods method names
11
+ # @param [Array<Symbol>] methods method names
12
12
  # @param [Integer] interval
13
13
  def periodic(*methods, interval)
14
14
  @yuuki_methods ||= {}
@@ -19,7 +19,7 @@ module Yuuki
19
19
  end
20
20
 
21
21
  # sets whether the method run at the first time
22
- # @param [Symbol] methods method names
22
+ # @param [Array<Symbol>] methods method names
23
23
  # @param [Boolean] enabled
24
24
  def first_run(*methods, enabled: true)
25
25
  @yuuki_methods ||= {}
data/lib/yuuki/runner.rb CHANGED
@@ -9,7 +9,7 @@ module Yuuki
9
9
  end
10
10
 
11
11
  # adds methods to yuuki
12
- # @param [Symbol] methods method names
12
+ # @param [Array<Symbol>] methods method names
13
13
  def add(*methods)
14
14
  @yuuki_methods ||= {}
15
15
  methods.each do |method|
@@ -19,7 +19,7 @@ module Yuuki
19
19
  end
20
20
 
21
21
  # deletes methods from yuuki
22
- # @param [Symbol] methods method names
22
+ # @param [Array<Symbol>] methods method names
23
23
  def delete(*methods)
24
24
  @yuuki_methods ||= {}
25
25
  methods.each do |method|
@@ -30,7 +30,7 @@ module Yuuki
30
30
 
31
31
  # adds tags to the method
32
32
  # @param [Symbol] method method name
33
- # @param [Symbol] tags tag names
33
+ # @param [Array<Symbol>] tags tag names
34
34
  def tag(method, *tags)
35
35
  @yuuki_methods ||= {}
36
36
  @yuuki_methods[method] ||= {}
@@ -39,7 +39,7 @@ module Yuuki
39
39
  end
40
40
 
41
41
  # enables threading for the methods
42
- # @param [Symbol] methods method names
42
+ # @param [Array<Symbol>] methods method names
43
43
  # @param [Boolean] enabled
44
44
  def thread(*methods, enabled: true)
45
45
  @yuuki_methods ||= {}
@@ -50,7 +50,7 @@ module Yuuki
50
50
  end
51
51
 
52
52
  # sets priority to the method
53
- # @param [Symbol] methods method names
53
+ # @param [Array<Symbol>] methods method names
54
54
  # @param [Numeric] value
55
55
  def priority(*methods, value)
56
56
  @yuuki_methods ||= {}
data/lib/yuuki/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Yuuki
4
- VERSION = '0.1.11'
4
+ VERSION = '0.1.12'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yuuki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ishotihadus