procon_bypass_man 0.3.3 → 0.3.3.1
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/procon_bypass_man/buttons_setting_configuration/layer.rb +3 -2
- data/lib/procon_bypass_man/version.rb +1 -1
- data/project_template/app.rb +1 -1
- data/project_template/app.rb.erb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 670f02fde81fd8b24214ec52a6863b08721c97959d5c5e52d6cc78efa4ab3749
|
4
|
+
data.tar.gz: 217a38476e7dd732fb692b89541daea156d9b389ee7677bf03f29126729f8ca2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f28ce822ca7ff9d3ece29e7aacad4b721c033c93792c6613b207d6bdfeaac7f0cbdf55247c7df121c783166562b429a24060f2103ef0efeaddcb9e615d54f22
|
7
|
+
data.tar.gz: f118e303fb62252263cdb16fde94d31134f68745bbabfa3519a2e3aa652603e2f9dfe6609bd3e3bf8a1e4cdfdb64e15bdbf205db4c12c549b0ac1a2182ced0d1
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -53,13 +53,13 @@ module ProconBypassMan
|
|
53
53
|
end
|
54
54
|
|
55
55
|
# @param [String, Class] プラグインのclass
|
56
|
-
# @param [Hash, NilClass] if_tilted_left_stick
|
56
|
+
# @param [Hash, Boolean, NilClass] if_tilted_left_stick
|
57
57
|
def macro(name, if_pressed: nil, if_tilted_left_stick: nil, force_neutral: nil)
|
58
58
|
case if_tilted_left_stick
|
59
59
|
when Integer, String, Symbol, Array
|
60
60
|
warn "macro #{name}のif_tilted_left_stickで想定外の値です"
|
61
61
|
if_tilted_left_stick = nil
|
62
|
-
when TrueClass, NilClass, FalseClass
|
62
|
+
when TrueClass, NilClass, FalseClass, Hash
|
63
63
|
# OK
|
64
64
|
else
|
65
65
|
Kernel.warn "設定ファイルに記述ミスがあります. 未対応の値を受け取りました."
|
@@ -91,6 +91,7 @@ module ProconBypassMan
|
|
91
91
|
end
|
92
92
|
|
93
93
|
# 設定ファイルに直接マクロを打ち込める
|
94
|
+
# @param [Hash, Boolean, NilClass] if_tilted_left_stick
|
94
95
|
# @param [String, Class] macroの識別子
|
95
96
|
# @paramh[Array<Symbol>] macroの本体. ボタンの配列
|
96
97
|
def open_macro(name, steps: [], if_pressed: nil, if_tilted_left_stick: nil, force_neutral: nil)
|
data/project_template/app.rb
CHANGED
@@ -12,7 +12,7 @@ begin
|
|
12
12
|
gemfile do
|
13
13
|
source 'https://rubygems.org'
|
14
14
|
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
15
|
-
gem 'procon_bypass_man', '0.3.3'
|
15
|
+
gem 'procon_bypass_man', '0.3.3.1'
|
16
16
|
end
|
17
17
|
rescue Bundler::Source::Git::GitCommandError => e
|
18
18
|
retry_count_on_git_command_error = retry_count_on_git_command_error + 1
|
data/project_template/app.rb.erb
CHANGED
@@ -12,7 +12,7 @@ begin
|
|
12
12
|
gemfile do
|
13
13
|
source 'https://rubygems.org'
|
14
14
|
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
15
|
-
gem 'procon_bypass_man', '0.3.3'
|
15
|
+
gem 'procon_bypass_man', '0.3.3.1'
|
16
16
|
end
|
17
17
|
rescue Bundler::Source::Git::GitCommandError => e
|
18
18
|
retry_count_on_git_command_error = retry_count_on_git_command_error + 1
|