procon_bypass_man 0.3.8.1 → 0.3.10

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: 0e01c23bfc7d0fc483110069cb9762e3d55ea6f85ab1a38b08e67ada436f1826
4
- data.tar.gz: 63eaa730de176dad7e85a948ee491b5c396e40955fa310e0945a0289c3c52de4
3
+ metadata.gz: 8cdec3e27b22b6af2d55b8a55910154cf47f46ae5e3269bd84ed5ba9219adc62
4
+ data.tar.gz: 6f00204f909f4ac4f46bf3925007e1245b141c643ddc5b943d0545075a04dfb4
5
5
  SHA512:
6
- metadata.gz: 2b8e16f8619d923b103145ce6436ab2cbde6f50376c532ca5ae1d62ac4890613ec34171cdb2be91bc74a25da15bee15d1897408546245dc1dedd06fd0d2c1f3b
7
- data.tar.gz: fad139adb5de34586a2db210c22dbb692a5468a6e4ebfd30c610a24dc30b40239b3391392c92a9958285549c054ab18313e5b3f7c5dbf71dd886c300c737bd99
6
+ metadata.gz: c74d37d2301deb80ee803f8ecf42e1b52dd7203b341164f89dc912a9ed48adc3a464a3a312bfceca77d07a97ab268431b67cda0fc5565331f2cbbfae5ff00964
7
+ data.tar.gz: 0ce1eca5b886d04f13b78336a42ec40d2e925d571f4fa6df26e10ede5cf6c5174dce8759cb078f0042d33b7f10aceb5cd1f53ad3ab02b622c387c94f53e56efe
data/.rubocop.yml CHANGED
@@ -16,8 +16,16 @@ Layout:
16
16
  Naming:
17
17
  Enabled: false
18
18
 
19
+ Layout/AccessModifierIndentation:
20
+ Enabled: true
21
+
22
+ Layout/IndentationConsistency:
23
+ Enabled: true
24
+
19
25
  Lint/ConstantDefinitionInBlock:
20
- Enabled: false
26
+ Enabled: true
27
+ Exclude:
28
+ - 'spec/**/*.rb'
21
29
  Lint/UselessAssignment:
22
30
  Enabled: false
23
31
  Lint/EmptyBlock:
data/.solargraph.yml ADDED
@@ -0,0 +1,23 @@
1
+ include:
2
+ - "**/*.rb"
3
+ exclude:
4
+ - spec/**/*
5
+ - test/**/*
6
+ - vendor/**/*
7
+ - ".bundle/**/*"
8
+ require:
9
+ - pbmenv
10
+ - resolv-replace
11
+ domains: []
12
+ reporters:
13
+ - rubocop
14
+ - require_not_found
15
+ formatter:
16
+ rubocop:
17
+ cops: safe
18
+ except: []
19
+ only: []
20
+ extra_args: []
21
+ require_paths: []
22
+ plugins: []
23
+ max_files: 5000
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.3.10] 2023-11-30
2
+ * マクロを実行するとメモリ使用率が増え続ける不具合を修正しました
3
+
4
+ ## [0.3.9] 2023-07-15
5
+ * Lボタンを押すだけで簡単スニーキング(スプラ3)ができるようになりました
6
+ * 例: `left_analog_stick_cap cap: 1100, if_pressed: [:l], combined_press_is_pressed: [:zl], force_neutral: [:l]`
7
+
1
8
  ## [0.3.8.1] 2023-05-08
2
9
  * 接続に失敗しているときに、手動で別のプロセスとして起動できるようにする(多重起動禁止の制限緩和)
3
10
 
data/Gemfile CHANGED
@@ -5,18 +5,19 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in procon_bypass_man.gemspec
6
6
  gemspec
7
7
 
8
+ gem "pry"
8
9
  gem "rake"
9
10
  gem "rspec"
10
- gem "pry"
11
- gem "timecop"
12
11
  gem "rubocop", require: false
12
+ gem "serialport" # シリアル通信をする時に必要。通常はいらない
13
13
  gem "sinatra", require: false
14
- gem "webrick", require: false
14
+ gem "solargraph", require: false
15
15
  gem "stackprof", require: false
16
- gem "serialport" # シリアル通信をする時に必要。通常はいらない
16
+ gem "timecop"
17
+ gem "webrick", require: false
17
18
 
18
19
  if Gem::Version.new(RUBY_VERSION) > Gem::Version.new("2.6.0")
19
- gem 'typeprof', require: false
20
20
  gem 'rbs', require: false
21
21
  gem "steep", require: false
22
+ gem 'typeprof', require: false
22
23
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- procon_bypass_man (0.3.8.1)
4
+ procon_bypass_man (0.3.10)
5
5
  action_cable_client
6
6
  blue_green_process (= 0.1.4.2)
7
7
  pbmenv (>= 0.1.11)
@@ -19,29 +19,48 @@ GEM
19
19
  tzinfo (~> 2.0)
20
20
  zeitwerk (~> 2.3)
21
21
  ast (2.4.2)
22
+ backport (1.2.0)
23
+ benchmark (0.2.1)
22
24
  blue_green_process (0.1.4.2)
23
25
  coderay (1.1.3)
24
26
  concurrent-ruby (1.1.9)
25
27
  diff-lcs (1.4.4)
28
+ e2mmap (0.1.0)
26
29
  eventmachine (1.2.7)
27
30
  ffi (1.15.4)
28
31
  i18n (1.8.11)
29
32
  concurrent-ruby (~> 1.0)
33
+ jaro_winkler (1.5.6)
34
+ kramdown (2.4.0)
35
+ rexml
36
+ kramdown-parser-gfm (1.1.0)
37
+ kramdown (~> 2.0)
30
38
  language_server-protocol (3.16.0.3)
31
39
  listen (3.7.0)
32
40
  rb-fsevent (~> 0.10, >= 0.10.3)
33
41
  rb-inotify (~> 0.9, >= 0.9.10)
34
42
  method_source (1.0.0)
43
+ mini_portile2 (2.8.2)
35
44
  minitest (5.14.4)
36
45
  mustermann (1.1.1)
37
46
  ruby2_keywords (~> 0.0.1)
47
+ nokogiri (1.15.2)
48
+ mini_portile2 (~> 2.8.2)
49
+ racc (~> 1.4)
50
+ nokogiri (1.15.2-arm-linux)
51
+ racc (~> 1.4)
52
+ nokogiri (1.15.2-arm64-darwin)
53
+ racc (~> 1.4)
54
+ nokogiri (1.15.2-x86_64-linux)
55
+ racc (~> 1.4)
38
56
  parallel (1.21.0)
39
57
  parser (3.0.3.2)
40
58
  ast (~> 2.4.1)
41
- pbmenv (0.1.12)
59
+ pbmenv (0.1.13)
42
60
  pry (0.14.1)
43
61
  coderay (~> 1.1)
44
62
  method_source (~> 1.0)
63
+ racc (1.7.1)
45
64
  rack (2.2.3.1)
46
65
  rack-protection (2.2.0)
47
66
  rack
@@ -53,6 +72,8 @@ GEM
53
72
  rbs (1.7.1)
54
73
  rbtree (0.4.6)
55
74
  regexp_parser (2.2.0)
75
+ reverse_markdown (2.1.1)
76
+ nokogiri
56
77
  rexml (3.2.5)
57
78
  rspec (3.10.0)
58
79
  rspec-core (~> 3.10.0)
@@ -87,6 +108,21 @@ GEM
87
108
  rack (~> 2.2)
88
109
  rack-protection (= 2.2.0)
89
110
  tilt (~> 2.0)
111
+ solargraph (0.48.0)
112
+ backport (~> 1.2)
113
+ benchmark
114
+ bundler (>= 1.17.2)
115
+ diff-lcs (~> 1.4)
116
+ e2mmap
117
+ jaro_winkler (~> 1.5)
118
+ kramdown (~> 2.3)
119
+ kramdown-parser-gfm (~> 1.1)
120
+ parser (~> 3.0)
121
+ reverse_markdown (>= 1.0.5, < 3)
122
+ rubocop (>= 0.52)
123
+ thor (~> 1.0)
124
+ tilt (~> 2.0)
125
+ yard (~> 0.9, >= 0.9.24)
90
126
  sorted_set (1.0.3)
91
127
  rbtree
92
128
  set (~> 1.0)
@@ -102,6 +138,7 @@ GEM
102
138
  terminal-table (>= 2, < 4)
103
139
  terminal-table (3.0.2)
104
140
  unicode-display_width (>= 1.1.1, < 3)
141
+ thor (1.2.2)
105
142
  tilt (2.0.10)
106
143
  timecop (0.9.4)
107
144
  typeprof (0.20.4)
@@ -110,7 +147,7 @@ GEM
110
147
  concurrent-ruby (~> 1.0)
111
148
  unicode-display_width (2.1.0)
112
149
  webrick (1.7.0)
113
- websocket (1.2.9)
150
+ websocket (1.2.10)
114
151
  websocket-eventmachine-base (1.2.0)
115
152
  eventmachine (~> 1.0)
116
153
  websocket (~> 1.0)
@@ -118,6 +155,7 @@ GEM
118
155
  websocket-eventmachine-client (1.3.0)
119
156
  websocket-eventmachine-base (~> 1.0)
120
157
  websocket-native (1.0.0)
158
+ yard (0.9.34)
121
159
  zeitwerk (2.5.1)
122
160
 
123
161
  PLATFORMS
@@ -137,6 +175,7 @@ DEPENDENCIES
137
175
  rubocop
138
176
  serialport
139
177
  sinatra
178
+ solargraph
140
179
  stackprof
141
180
  steep
142
181
  timecop
data/README.md CHANGED
@@ -78,7 +78,7 @@ sudo kill -USR2 `cat ./pbm_pid`
78
78
  * `message = ProconBypassMan::BootMessage.new; ProconBypassMan::ReportBootJob.perform(body: message.to_hash)`
79
79
 
80
80
  ### リリース手順
81
- * project_template/web.rb, project_template/app.rb, lib/procon_bypass_man/version.rb のバージョンをあげる
81
+ * project_template/app.rb.erb, lib/procon_bypass_man/version.rb のバージョンをあげる
82
82
  * CHANGELOG.md に日付を書く
83
83
  * be rake release
84
84
  * githubのreleaseを作成する
@@ -89,7 +89,7 @@ sudo kill -USR2 `cat ./pbm_pid`
89
89
  * procon_bypassの運営・開発・サーバー費用に充てさせていただきます。また、問い合わせに優先して対応します。
90
90
 
91
91
  ## Links
92
- * https://discord.gg/bEcRNKf4ep
92
+ * https://discord.gg/GjaywxVZHY
93
93
  * 質問などご意見をdiscordでも受け付けています
94
94
 
95
95
  ## License
data/bin/console CHANGED
@@ -12,8 +12,7 @@ require "pry"
12
12
  # require "pry"
13
13
  # Pry.start
14
14
 
15
- require "irb"
16
-
17
15
  ProconBypassMan.config.logger = Logger.new($stdout)
18
16
 
19
- IRB.start(__FILE__)
17
+ opts = Pry::CLI.parse_options
18
+ Pry::CLI.start(opts)
@@ -8,11 +8,4 @@ require "pry"
8
8
  # Usage:
9
9
  # $ `generate_output_report x zl y` のように、引数にボタン名を渡す
10
10
 
11
- no_action_binary = ["30f28100800078c77448287509550274ff131029001b0022005a0271ff191028001e00210064027cff1410280020002100000000000000000000000000000000"].pack("H*")
12
- user_operation = ProconBypassMan::Procon::UserOperation.new(no_action_binary)
13
-
14
- ARGV.map { |x| x.to_sym }.each do |button|
15
- user_operation.press_button(button)
16
- end
17
-
18
- puts user_operation.binary.unpack.first
11
+ puts OutputReportGenerator.new(ARGV).execute
data/bin/rspec ADDED
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rspec' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ require "pathname"
12
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
25
+
26
+ require "rubygems"
27
+ require "bundler/setup"
28
+
29
+ load Gem.bin_path("rspec-core", "rspec")
@@ -5,15 +5,15 @@
5
5
  * sshをできる状態で焼いておく
6
6
  * SDカードをRaspberry Pi4本体に挿して起動する
7
7
  * sshする
8
- * wget -O - "https://github.com/itamae-kitchen/mitamae/releases/latest/download/mitamae-armhf-linux.tar.gz" | tar xvz
9
- * wget https://raw.githubusercontent.com/splaplapla/procon_bypass_man/master/docs/setup_raspi.mitamae.rb -O setup_raspi.mitamae.rb
10
- * sudo ./mitamae-armhf-linux local setup_raspi.mitamae.rb -l debug
11
- * sudo reboot
12
- * sudo sh /usr/share/pbm/shared/add_procon_gadget.sh の実行する
8
+ * `wget -O - "https://github.com/itamae-kitchen/mitamae/releases/latest/download/mitamae-armhf-linux.tar.gz" | tar xvz`
9
+ * `wget https://raw.githubusercontent.com/splaplapla/procon_bypass_man/master/docs/setup_raspi.mitamae.rb -O setup_raspi.mitamae.rb`
10
+ * `sudo ./mitamae-armhf-linux local setup_raspi.mitamae.rb -l debug`
11
+ * `sudo reboot`
12
+ * `sudo sh /usr/share/pbm/shared/add_procon_gadget.sh` の実行する
13
13
  * 何も表示されなければOK
14
14
  * PCとRaspberry Pi4を接続し、プロコンとして認識していることを確認する
15
- * sudo gem i pbmenv
16
- * sudo pbmenv install latest
15
+ * `sudo gem i pbmenv`
16
+ * `sudo pbmenv install latest`
17
17
 
18
18
  Raspberry Piのセットアップは以上です。
19
19
  次は、SwitchとRaspberry Piとプロコンにケーブルを接続した上で、次のコマンドをshellに入力し、procon_bypass_manの動作確認を行なってください。
@@ -172,7 +172,7 @@ module ProconBypassMan
172
172
  end
173
173
  end
174
174
 
175
- def left_analog_stick_cap(cap: nil, if_pressed: nil, force_neutral: nil)
175
+ def left_analog_stick_cap(cap: nil, if_pressed: nil, force_neutral: nil, combined_press_is_pressed: nil)
176
176
  case cap
177
177
  when Integer
178
178
  # OK
@@ -203,6 +203,15 @@ module ProconBypassMan
203
203
  return
204
204
  end
205
205
 
206
+ begin
207
+ if(combined_press_is_pressed = ParamNormalizer::IfPressedAllowsFalsy.new(combined_press_is_pressed).to_value!)
208
+ hash[:combined_press_is_pressed] = combined_press_is_pressed
209
+ end
210
+ rescue ParamNormalizer::UnSupportValueError
211
+ Kernel.warn "設定ファイルに記述ミスがあります. left_analog_stick_capのcombined_press_is_pressedにはボタンを渡してください."
212
+ return
213
+ end
214
+
206
215
  left_analog_stick_caps << hash
207
216
  end
208
217
 
@@ -4,7 +4,7 @@ class ProconBypassMan::Domains::Binary::Base
4
4
  @binary = binary
5
5
  end
6
6
 
7
- # @return [String] バイナリ
7
+ # @return [String]
8
8
  def binary
9
9
  raise NotImplementedError
10
10
  end
@@ -9,7 +9,6 @@ class ProconBypassMan::Procon
9
9
  require "procon_bypass_man/procon/value_objects/rumble_binary"
10
10
  require "procon_bypass_man/procon/value_objects/binary"
11
11
  require "procon_bypass_man/procon/value_objects/bypass_mode"
12
- require "procon_bypass_man/procon/consts"
13
12
  require "procon_bypass_man/procon/performance_measurement"
14
13
  require "procon_bypass_man/procon/performance_measurement/queue_over_process"
15
14
  require "procon_bypass_man/procon/mode_registry"
@@ -215,6 +214,8 @@ class ProconBypassMan::Procon
215
214
  end
216
215
  user_operation.press_button_only_or_tilt_sticks(step)
217
216
  return user_operation.binary.raw
217
+ else
218
+ BlueGreenProcess::SharedVariable.extend_run_on_this_process = false
218
219
  end
219
220
 
220
221
  current_layer.disables.each do |button|
@@ -226,6 +227,9 @@ class ProconBypassMan::Procon
226
227
  config[:force_neutral]&.each do |force_neutral_button|
227
228
  user_operation.unpress_button(force_neutral_button)
228
229
  end
230
+ config[:combined_press_is_pressed]&.each do |button|
231
+ user_operation.press_button(button)
232
+ end
229
233
  user_operation.apply_left_analog_stick_cap(cap: config[:cap])
230
234
  end
231
235
  end
@@ -0,0 +1,18 @@
1
+ class OutputReportGenerator
2
+ NO_ACTION = ["30f28100800078c77448287509550274ff131029001b0022005a0271ff191028001e00210064027cff1410280020002100000000000000000000000000000000"].pack("H*").freeze
3
+
4
+ # @param [Array<Symbol, String>, NilClass] pressed_buttons
5
+ def initialize(*pressed_buttons)
6
+ @buttons = pressed_buttons || []
7
+ end
8
+
9
+ # @return [String]
10
+ def execute
11
+ user_operation = ProconBypassMan::Procon::UserOperation.new(NO_ACTION.dup)
12
+ [@buttons].flatten.sort.uniq.each do |button|
13
+ user_operation.press_button(button.to_sym)
14
+ end
15
+
16
+ user_operation.binary.unpack.first
17
+ end
18
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ProconBypassMan
4
- VERSION = "0.3.8.1"
4
+ VERSION = "0.3.10"
5
5
  end
@@ -46,6 +46,7 @@ require_relative "procon_bypass_man/support/watchdog"
46
46
  require_relative "procon_bypass_man/support/forever"
47
47
  require_relative "procon_bypass_man/support/simple_tcp_server"
48
48
  require_relative "procon_bypass_man/support/proccess_cheacker"
49
+ require_relative "procon_bypass_man/support/output_report_generator"
49
50
  require_relative "procon_bypass_man/procon_display"
50
51
  require_relative "procon_bypass_man/background"
51
52
  require_relative "procon_bypass_man/commands"
@@ -28,10 +28,10 @@ Gem::Specification.new do |spec|
28
28
  spec.require_paths = ["lib"]
29
29
 
30
30
  # Uncomment to register a new dependency of your gem
31
- spec.add_dependency "pbmenv", ">= 0.1.11" # enable_pbm_cloud連携機能でPbmenv.install, .cleanを使っている.
32
31
  spec.add_dependency "action_cable_client"
33
- spec.add_dependency "sorted_set"
34
32
  spec.add_dependency "blue_green_process", '0.1.4.2'
33
+ spec.add_dependency "pbmenv", ">= 0.1.11" # enable_pbm_cloud連携機能でPbmenv.install, .cleanを使っている.
34
+ spec.add_dependency "sorted_set"
35
35
 
36
36
  # For more information and examples about making a new gem, checkout our
37
37
  # guide at: https://bundler.io/guides/creating_gem.html
@@ -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.8.1'
15
+ gem 'procon_bypass_man', '0.3.10'
16
16
  # uncomment if you want to use master branch
17
17
  # gem 'procon_bypass_man', github: 'splaplapla/procon_bypass_man', branch: 'master'
18
18
  # uncomment if you want to use serial communication feature
@@ -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.8.1'
15
+ gem 'procon_bypass_man', '0.3.10'
16
16
  # uncomment if you want to use master branch
17
17
  # gem 'procon_bypass_man', github: 'splaplapla/procon_bypass_man', branch: 'master'
18
18
  # uncomment if you want to use serial communication feature
data/sig/main.rbs CHANGED
@@ -339,12 +339,6 @@ class ProconBypassMan::Procon::ButtonCollection
339
339
  def self.load: (untyped button_key) -> untyped
340
340
  end
341
341
 
342
- class ProconBypassMan::Procon
343
- module Data
344
- NO_ACTION: untyped
345
- end
346
- end
347
-
348
342
  class ProconBypassMan::Procon
349
343
  class FlipCache
350
344
  def self.fetch: (key: untyped key, expires_in: untyped expires_in) { () -> untyped } -> untyped
metadata CHANGED
@@ -1,71 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: procon_bypass_man
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8.1
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - jiikko
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-08 00:00:00.000000000 Z
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: pbmenv
14
+ name: action_cable_client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.11
19
+ version: '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.11
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: action_cable_client
28
+ name: blue_green_process
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 0.1.4.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 0.1.4.2
41
41
  - !ruby/object:Gem::Dependency
42
- name: sorted_set
42
+ name: pbmenv
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 0.1.11
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: 0.1.11
55
55
  - !ruby/object:Gem::Dependency
56
- name: blue_green_process
56
+ name: sorted_set
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 0.1.4.2
61
+ version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 0.1.4.2
68
+ version: '0'
69
69
  description: A programmable converter for Nintendo Switch Pro Controller
70
70
  email:
71
71
  - n905i.1214@gmail.com
@@ -81,6 +81,7 @@ files:
81
81
  - ".rspec"
82
82
  - ".rubocop.yml"
83
83
  - ".ruby-version"
84
+ - ".solargraph.yml"
84
85
  - CHANGELOG.md
85
86
  - Gemfile
86
87
  - Gemfile.lock
@@ -94,6 +95,7 @@ files:
94
95
  - bin/dev_api_server.rb
95
96
  - bin/generate_default_app
96
97
  - bin/generate_output_report
98
+ - bin/rspec
97
99
  - bin/setup
98
100
  - bin/validate_external_input
99
101
  - docs/getting_started.md
@@ -214,7 +216,6 @@ files:
214
216
  - lib/procon_bypass_man/procon/analog_stick_manipulator.rb
215
217
  - lib/procon_bypass_man/procon/button.rb
216
218
  - lib/procon_bypass_man/procon/button_collection.rb
217
- - lib/procon_bypass_man/procon/consts.rb
218
219
  - lib/procon_bypass_man/procon/flip_cache.rb
219
220
  - lib/procon_bypass_man/procon/layer_changer.rb
220
221
  - lib/procon_bypass_man/procon/macro.rb
@@ -282,6 +283,7 @@ files:
282
283
  - lib/procon_bypass_man/support/load_agv.rb
283
284
  - lib/procon_bypass_man/support/never_exit_accidentally.rb
284
285
  - lib/procon_bypass_man/support/on_memory_cache.rb
286
+ - lib/procon_bypass_man/support/output_report_generator.rb
285
287
  - lib/procon_bypass_man/support/proccess_cheacker.rb
286
288
  - lib/procon_bypass_man/support/procon_performance_http_client.rb
287
289
  - lib/procon_bypass_man/support/remote_macro_http_client.rb
@@ -321,7 +323,7 @@ metadata:
321
323
  homepage_uri: https://github.com/splaplapla/procon_bypass_man
322
324
  source_code_uri: https://github.com/splaplapla/procon_bypass_man
323
325
  changelog_uri: https://github.com/splaplapla/procon_bypass_man/blob/master/CHANGELOG.md
324
- post_install_message:
326
+ post_install_message:
325
327
  rdoc_options: []
326
328
  require_paths:
327
329
  - lib
@@ -336,8 +338,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
336
338
  - !ruby/object:Gem::Version
337
339
  version: '0'
338
340
  requirements: []
339
- rubygems_version: 3.2.15
340
- signing_key:
341
+ rubygems_version: 3.3.7
342
+ signing_key:
341
343
  specification_version: 4
342
344
  summary: A programmable converter for Nintendo Switch Pro Controller
343
345
  test_files: []
@@ -1,5 +0,0 @@
1
- class ProconBypassMan::Procon
2
- module Consts
3
- NO_ACTION = "30f28100800078c77448287509550274ff131029001b0022005a0271ff191028001e00210064027cff1410280020002100000000000000000000000000000000".freeze
4
- end
5
- end