aiwolf-client 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f6145d57de32e3cf93d0e9317be2333cfe6882e5
4
+ data.tar.gz: cde6d8bc2e6b96e91edd017c44c2c3f47b59f088
5
+ SHA512:
6
+ metadata.gz: 8e33ab5688b90d8784c432913e5e67aba04c3cfea04257fb27a915db50093fb82cb6530e555aaf717db3d518bd932bc223fa5879864e334934d97bde997926e9
7
+ data.tar.gz: '08dfa59631301b2e85db097786c5239f903ff8e7b5fc4f0d2e829632c1ec4336bdb0b0bf0125e04d11a9350ad20d66ca7ffce03cead292eec7305e0d59c35a12'
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require rspec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,65 @@
1
+ AllCops:
2
+ Exclude:
3
+ - bin/**
4
+ DisplayCopNames: true
5
+ TargetRubyVersion: 2.4
6
+
7
+ Layout/AlignParameters:
8
+ Enabled: false
9
+
10
+ Layout/ExtraSpacing:
11
+ AllowForAlignment: true
12
+
13
+ Lint/AssignmentInCondition:
14
+ Enabled: false
15
+
16
+ Metrics/AbcSize:
17
+ Max: 25
18
+
19
+ Metrics/BlockLength:
20
+ Exclude:
21
+ - aiwolf.gemspec
22
+ - spec/**/*_spec.rb
23
+ Metrics/LineLength:
24
+ Exclude:
25
+ - aiwolf.gemspec
26
+
27
+ Metrics/MethodLength:
28
+ Enabled: false
29
+
30
+ Rails/HasAndBelongsToMany:
31
+ Enabled: false
32
+
33
+ Style/AsciiComments:
34
+ Enabled: false
35
+
36
+ Style/BlockComments:
37
+ Enabled: false
38
+
39
+ Style/ClassAndModuleChildren:
40
+ Enabled: false
41
+
42
+ Style/Documentation:
43
+ Enabled: false
44
+
45
+ Style/NumericLiterals:
46
+ MinDigits: 10
47
+
48
+ Style/PercentLiteralDelimiters:
49
+ PreferredDelimiters:
50
+ '%': '{}'
51
+ '%i': '()'
52
+ '%w': '()'
53
+ '%W': '()'
54
+
55
+ Style/RedundantSelf:
56
+ Enabled: false
57
+
58
+ Style/SignalException:
59
+ Enabled: false
60
+
61
+ Style/TrailingCommaInArguments:
62
+ EnforcedStyleForMultiline: comma
63
+
64
+ Style/TrailingCommaInLiteral:
65
+ EnforcedStyleForMultiline: comma
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in aiwolf.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Teisp
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # Aiwolf Client for Ruby
2
+
3
+ ## Installation
4
+
5
+ Add this line to your application's Gemfile:
6
+
7
+ ```ruby
8
+ gem 'aiwolf-client'
9
+ ```
10
+
11
+ And then execute:
12
+
13
+ $ bundle --binstubs
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install aiwolf-client
18
+
19
+ ## Usage
20
+
21
+ $ bin/aiwolf[ -h host][ -p port] SampleRoleAssignPlayer
22
+
23
+ I try to port sample implemented codes from https://github.com/aiwolf/AIWolfCommon .
24
+
25
+ ## Contributing
26
+
27
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Tei1988/aiwolf-client-ruby .
28
+
29
+ ## License
30
+
31
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
data/aiwolf.gemspec ADDED
@@ -0,0 +1,40 @@
1
+ # coding: utf-8
2
+ # frozen_string_literal: true
3
+
4
+ lib = File.expand_path('../lib', __FILE__)
5
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
+ require 'aiwolf/version'
7
+
8
+ Gem::Specification.new do |spec|
9
+ spec.name = 'aiwolf-client'
10
+ spec.version = Aiwolf::VERSION
11
+ spec.authors = ['Tei1988']
12
+ spec.email = ['github@grifola.xyz']
13
+
14
+ spec.summary = 'Aiwolf 4.x Client Library for Ruby'
15
+ spec.description = 'This gem is useful for building Aiwolf 4.x Client.'
16
+ spec.homepage = 'https://github.com/Tei1988/aiwolf-client-ruby'
17
+ spec.license = 'MIT'
18
+
19
+ unless spec.respond_to?(:metadata)
20
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
21
+ 'public gem pushes.'
22
+ end
23
+
24
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
25
+ f.match(%r{^(test|spec|features)/})
26
+ end
27
+ spec.bindir = 'exe'
28
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ['lib']
30
+
31
+ spec.add_dependency 'eventmachine'
32
+ spec.add_dependency 'thor'
33
+
34
+ spec.add_development_dependency 'bundler', '~> 1.15'
35
+ spec.add_development_dependency 'rake', '~> 10.0'
36
+ spec.add_development_dependency 'rspec', '~> 3.0'
37
+ spec.add_development_dependency 'rubocop'
38
+ spec.add_development_dependency 'rspec_junit_formatter'
39
+ spec.add_development_dependency 'simplecov'
40
+ end
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "aiwolf"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/exe/aiwolf ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'aiwolf'
5
+ require 'aiwolf/cli'
6
+
7
+ Aiwolf::CLI.start
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'aiwolf/base/logger'
4
+
5
+ module Aiwolf
6
+ module Base
7
+ module CommandParser
8
+ include Aiwolf::Base::Logger
9
+
10
+ def parse_command(packet)
11
+ logger.debug(packet[:request].downcase)
12
+ send("inner_command_#{packet[:request].downcase}".to_sym, packet)
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aiwolf
4
+ module Base
5
+ module Logger
6
+ attr_writer :logger
7
+
8
+ def logger
9
+ @logger || ::Logger.new(STDOUT)
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aiwolf
4
+ module Base
5
+ module Try
6
+ private
7
+
8
+ def try(method, *params)
9
+ send(method, *params) if respond_to?(method)
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'aiwolf/base/command_parser'
4
+ require 'aiwolf/base/logger'
5
+
6
+ module Aiwolf
7
+ module Base
8
+ include EventMachine::Protocols::LineProtocol
9
+
10
+ include Aiwolf::Base::CommandParser
11
+ include Aiwolf::Base::Logger
12
+
13
+ def receive_line(data)
14
+ logger.debug(data)
15
+ result = parse_command(JSON.parse(data, symbolize_names: true))
16
+ logger.debug(result)
17
+ send_data("#{result}\n") unless result.nil? || result.empty?
18
+ end
19
+
20
+ def unbind
21
+ logger.debug('connection closed')
22
+ EventMachine.stop_event_loop
23
+ end
24
+ end
25
+ end
data/lib/aiwolf/cli.rb ADDED
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'thor'
4
+
5
+ require 'aiwolf/base/logger'
6
+
7
+ module Aiwolf
8
+ class CLI < Thor
9
+ include Aiwolf::Base::Logger
10
+
11
+ EXECUTE_INFO_FORMAT = 'Connecting to %s:%d with %s'
12
+
13
+ desc 'execute AiClassName', 'play Aiwolf with AiClassName'
14
+ option :host, type: :string, default: '127.0.0.1', aliases: '-h'
15
+ option :port, type: :numeric, default: 10000, aliases: '-p'
16
+ def execute(ai_class)
17
+ logger.info(
18
+ format(
19
+ EXECUTE_INFO_FORMAT,
20
+ options[:host],
21
+ options[:port],
22
+ ai_class,
23
+ ),
24
+ )
25
+ EventMachine.run do
26
+ EventMachine
27
+ .connect(options[:host], options[:port], load_ai_class(ai_class))
28
+ end
29
+ end
30
+
31
+ private
32
+
33
+ def load_ai_class(ai_class)
34
+ $LOAD_PATH << './'
35
+ path = ai_class.split(/(?=[A-Z])/)
36
+ .map(&:downcase)
37
+ .join('_')
38
+ .gsub('::_', '/')
39
+ require path
40
+
41
+ Object.const_get(ai_class)
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'aiwolf'
4
+ require 'aiwolf/base'
5
+ require 'aiwolf/commands/attack'
6
+ require 'aiwolf/commands/daily_finish'
7
+ require 'aiwolf/commands/daily_initialize'
8
+ require 'aiwolf/commands/divine'
9
+ require 'aiwolf/commands/finish'
10
+ require 'aiwolf/commands/guard'
11
+ require 'aiwolf/commands/initialize'
12
+ require 'aiwolf/commands/name'
13
+ require 'aiwolf/commands/role'
14
+ require 'aiwolf/commands/talk'
15
+ require 'aiwolf/commands/vote'
16
+ require 'aiwolf/commands/whisper'
17
+
18
+ module Aiwolf
19
+ class Client < EventMachine::Connection
20
+ include Aiwolf::Base
21
+
22
+ include Aiwolf::Commands::Attack
23
+ include Aiwolf::Commands::DailyFinish
24
+ include Aiwolf::Commands::DailyInitialize
25
+ include Aiwolf::Commands::Divine
26
+ include Aiwolf::Commands::Finish
27
+ include Aiwolf::Commands::Guard
28
+ include Aiwolf::Commands::Initialize
29
+ include Aiwolf::Commands::Name
30
+ include Aiwolf::Commands::Role
31
+ include Aiwolf::Commands::Talk
32
+ include Aiwolf::Commands::Vote
33
+ include Aiwolf::Commands::Whisper
34
+ end
35
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aiwolf
4
+ module Commands
5
+ module Attack
6
+ def inner_command_attack(packet)
7
+ hash = send(:command_attack, packet[:gameInfo])
8
+ return '' if hash.nil? || hash.empty?
9
+ JSON.generate(hash)
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'aiwolf/base/try'
4
+
5
+ module Aiwolf
6
+ module Commands
7
+ module DailyFinish
8
+ include Aiwolf::Base::Try
9
+
10
+ def inner_command_daily_finish(packet)
11
+ try(:command_daily_finish, packet[:gameInfo])
12
+ nil
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'aiwolf/base/try'
4
+
5
+ module Aiwolf
6
+ module Commands
7
+ module DailyInitialize
8
+ include Aiwolf::Base::Try
9
+
10
+ def inner_command_daily_initialize(packet)
11
+ try(:command_daily_initialize, packet[:gameInfo])
12
+ nil
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aiwolf
4
+ module Commands
5
+ module Divine
6
+ def inner_command_divine(packet)
7
+ hash = send(:command_divine, packet[:gameInfo])
8
+ return '' if hash.nil? || hash.empty?
9
+ JSON.generate(hash)
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aiwolf
4
+ module Commands
5
+ module Finish
6
+ def inner_command_finish(packet)
7
+ send(:command_finish, packet[:gameInfo])
8
+ EventMachine.stop_event_loop
9
+ nil
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aiwolf
4
+ module Commands
5
+ module Guard
6
+ def inner_command_guard(packet)
7
+ hash = send(:command_guard, packet[:gameInfo])
8
+ return '' if hash.nil? || hash.empty?
9
+ JSON.generate(hash)
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'aiwolf/base/try'
4
+
5
+ module Aiwolf
6
+ module Commands
7
+ module Initialize
8
+ def inner_command_initialize(packet)
9
+ send(:command_initialize, packet[:gameInfo], packet[:gameSetting])
10
+ nil
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'aiwolf/base/try'
4
+
5
+ module Aiwolf
6
+ module Commands
7
+ module Name
8
+ include Aiwolf::Base::Try
9
+
10
+ def inner_command_name(_packet)
11
+ try(:command_name) || self.class.to_s
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'aiwolf/base/try'
4
+
5
+ module Aiwolf
6
+ module Commands
7
+ module Role
8
+ include Aiwolf::Base::Try
9
+
10
+ def inner_command_role(_packet)
11
+ try(:command_role) || 'none'
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aiwolf
4
+ module Commands
5
+ module Talk
6
+ def inner_command_talk(packet)
7
+ send(:command_talk, packet[:gameInfo]) || ''
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aiwolf
4
+ module Commands
5
+ module Vote
6
+ def inner_command_vote(packet)
7
+ hash = send(:command_vote, packet[:gameInfo])
8
+ return '' if hash.nil? || hash.empty?
9
+ JSON.generate(hash)
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aiwolf
4
+ module Commands
5
+ module Whisper
6
+ def inner_command_whisper(packet)
7
+ send(:command_whisper, packet[:gameInfo]) || ''
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aiwolf
4
+ VERSION = '0.1.0'
5
+ end
data/lib/aiwolf.rb ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eventmachine'
4
+ require 'json'
5
+ require 'logger'
6
+
7
+ module Aiwolf
8
+ autoload :VERSION, 'aiwolf/version'
9
+ end
metadata ADDED
@@ -0,0 +1,188 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aiwolf-client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Tei1988
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-06-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: eventmachine
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: thor
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.15'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.15'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec_junit_formatter
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: simplecov
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: This gem is useful for building Aiwolf 4.x Client.
126
+ email:
127
+ - github@grifola.xyz
128
+ executables:
129
+ - aiwolf
130
+ extensions: []
131
+ extra_rdoc_files: []
132
+ files:
133
+ - ".gitignore"
134
+ - ".rspec"
135
+ - ".rubocop.yml"
136
+ - Gemfile
137
+ - LICENSE.txt
138
+ - README.md
139
+ - Rakefile
140
+ - aiwolf.gemspec
141
+ - bin/console
142
+ - bin/setup
143
+ - exe/aiwolf
144
+ - lib/aiwolf.rb
145
+ - lib/aiwolf/base.rb
146
+ - lib/aiwolf/base/command_parser.rb
147
+ - lib/aiwolf/base/logger.rb
148
+ - lib/aiwolf/base/try.rb
149
+ - lib/aiwolf/cli.rb
150
+ - lib/aiwolf/client.rb
151
+ - lib/aiwolf/commands/attack.rb
152
+ - lib/aiwolf/commands/daily_finish.rb
153
+ - lib/aiwolf/commands/daily_initialize.rb
154
+ - lib/aiwolf/commands/divine.rb
155
+ - lib/aiwolf/commands/finish.rb
156
+ - lib/aiwolf/commands/guard.rb
157
+ - lib/aiwolf/commands/initialize.rb
158
+ - lib/aiwolf/commands/name.rb
159
+ - lib/aiwolf/commands/role.rb
160
+ - lib/aiwolf/commands/talk.rb
161
+ - lib/aiwolf/commands/vote.rb
162
+ - lib/aiwolf/commands/whisper.rb
163
+ - lib/aiwolf/version.rb
164
+ homepage: https://github.com/Tei1988/aiwolf-client-ruby
165
+ licenses:
166
+ - MIT
167
+ metadata: {}
168
+ post_install_message:
169
+ rdoc_options: []
170
+ require_paths:
171
+ - lib
172
+ required_ruby_version: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - - ">="
175
+ - !ruby/object:Gem::Version
176
+ version: '0'
177
+ required_rubygems_version: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ requirements: []
183
+ rubyforge_project:
184
+ rubygems_version: 2.6.11
185
+ signing_key:
186
+ specification_version: 4
187
+ summary: Aiwolf 4.x Client Library for Ruby
188
+ test_files: []