dungeon_master_tools 0.1.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: abeadea328ca3cdea58323ac4c87a8a0af0cdf534c3c6eb5c54ab85d4f136356
4
+ data.tar.gz: 122cf3e4d9505b8f48d953024fd508b19c72f0a61c90c00c164ea0e540e73235
5
+ SHA512:
6
+ metadata.gz: 9139ca7852d657839f326cc555a99f32a4e48634e143b2630018d452f73e22525910180cee8079a737f35d6c445841b6f59f63ccf3e117e10e6b8cf593aef9b7
7
+ data.tar.gz: ff399482430f240cfaf0129229ba7ea4e6e58d8711e6dd12a46071526a5742ec2676e889dfbd50317a848eb7000b7bf15aff7ef09855a4a40c4239b010462346
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ *.gem
data/.rubocop.yml ADDED
@@ -0,0 +1,13 @@
1
+ AllCops:
2
+ TargetRubyVersion: 3.0
3
+
4
+ Style/StringLiterals:
5
+ Enabled: true
6
+ EnforcedStyle: double_quotes
7
+
8
+ Style/StringLiteralsInInterpolation:
9
+ Enabled: true
10
+ EnforcedStyle: double_quotes
11
+
12
+ Layout/LineLength:
13
+ Max: 120
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in dmcli.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "minitest", "~> 5.0"
11
+
12
+ gem "rubocop", "~> 1.7"
data/Gemfile.lock ADDED
@@ -0,0 +1,63 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ dmcli (0.1.1)
5
+ nokogiri (~> 1.11.4)
6
+ thor (~> 1.1.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ast (2.4.2)
12
+ diff-lcs (1.4.4)
13
+ minitest (5.14.4)
14
+ nokogiri (1.11.4-x86_64-darwin)
15
+ racc (~> 1.4)
16
+ parallel (1.20.1)
17
+ parser (3.0.1.1)
18
+ ast (~> 2.4.1)
19
+ racc (1.5.2)
20
+ rainbow (3.0.0)
21
+ rake (13.0.3)
22
+ regexp_parser (2.1.1)
23
+ rexml (3.2.5)
24
+ rspec (3.10.0)
25
+ rspec-core (~> 3.10.0)
26
+ rspec-expectations (~> 3.10.0)
27
+ rspec-mocks (~> 3.10.0)
28
+ rspec-core (3.10.1)
29
+ rspec-support (~> 3.10.0)
30
+ rspec-expectations (3.10.1)
31
+ diff-lcs (>= 1.2.0, < 2.0)
32
+ rspec-support (~> 3.10.0)
33
+ rspec-mocks (3.10.2)
34
+ diff-lcs (>= 1.2.0, < 2.0)
35
+ rspec-support (~> 3.10.0)
36
+ rspec-support (3.10.2)
37
+ rubocop (1.15.0)
38
+ parallel (~> 1.10)
39
+ parser (>= 3.0.0.0)
40
+ rainbow (>= 2.2.2, < 4.0)
41
+ regexp_parser (>= 1.8, < 3.0)
42
+ rexml
43
+ rubocop-ast (>= 1.5.0, < 2.0)
44
+ ruby-progressbar (~> 1.7)
45
+ unicode-display_width (>= 1.4.0, < 3.0)
46
+ rubocop-ast (1.5.0)
47
+ parser (>= 3.0.1.1)
48
+ ruby-progressbar (1.11.0)
49
+ thor (1.1.0)
50
+ unicode-display_width (2.0.0)
51
+
52
+ PLATFORMS
53
+ x86_64-darwin-20
54
+
55
+ DEPENDENCIES
56
+ dmcli!
57
+ minitest (~> 5.0)
58
+ rake (~> 13.0)
59
+ rspec (~> 3.2)
60
+ rubocop (~> 1.7)
61
+
62
+ BUNDLED WITH
63
+ 2.2.16
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Shane Rainville
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,65 @@
1
+ # Dmcli
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/dmcli`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'dmcli'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install dmcli
22
+
23
+ ## Usage
24
+
25
+ ### Spells
26
+
27
+ List all spells
28
+
29
+ ```ruby
30
+ dmcli spells [-f PATH]
31
+ ```
32
+
33
+ List spells for specific class
34
+
35
+ ```ruby
36
+ dmcli spells -c [cleric|druid|magic-user] [-f PATH]
37
+ ```
38
+
39
+ List spells for a specific level
40
+
41
+ ```ruby
42
+ dmcli spells -l LEVEL [-f PATH]
43
+ ```
44
+
45
+ List spells for a specific class and specific level
46
+
47
+ ```ruby
48
+ dmcli spells -c [cleric|druid|magic-user] -l LEVEL [-f PATH]
49
+ ```
50
+
51
+ TODO: Write usage instructions here
52
+
53
+ ## Development
54
+
55
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
56
+
57
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
58
+
59
+ ## Contributing
60
+
61
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dmcli.
62
+
63
+ ## License
64
+
65
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rake/testtask"
5
+
6
+ Rake::TestTask.new(:test) do |t|
7
+ t.libs << "test"
8
+ t.libs << "lib"
9
+ t.test_files = FileList["test/**/*_test.rb"]
10
+ end
11
+
12
+ require "rubocop/rake_task"
13
+
14
+ RuboCop::RakeTask.new
15
+
16
+ task default: %i[test rubocop]
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "dmcli"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ IRB.start(__FILE__)
data/bin/dmcli ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "dmcli"
6
+
7
+ Dmcli::CLI.start
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/dmcli.gemspec ADDED
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/dmcli/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "dungeon_master_tools"
7
+ spec.version = Dmcli::VERSION
8
+ spec.authors = ["Shane Rainville"]
9
+ spec.email = ["shane.rainville@gmail.com"]
10
+
11
+ spec.summary = "Dungeon Master utility"
12
+ spec.description = "Command-line tool for Dungeons and Dragons data files"
13
+ spec.homepage = "https://www.shanerainville.com"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
16
+
17
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
18
+
19
+ spec.metadata["homepage_uri"] = spec.homepage
20
+ spec.metadata["source_code_uri"] = "https://github.com/serainville/dmcli"
21
+ spec.metadata["changelog_uri"] = "https://github.com/serainville/dmcli"
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
26
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
27
+ end
28
+ spec.bindir = "bin"
29
+ spec.executables << "dmcli"
30
+ spec.require_paths = ["lib"]
31
+
32
+ # Uncomment to register a new dependency of your gem
33
+ # spec.add_dependency "example-gem", "~> 1.0"
34
+ spec.add_development_dependency "rspec", "~> 3.2"
35
+
36
+ spec.add_dependency "nokogiri", "~> 1.11.4"
37
+ spec.add_dependency "thor", "~> 1.1.0"
38
+
39
+ # For more information and examples about making a new gem, checkout our
40
+ # guide at: https://bundler.io/guides/creating_gem.html
41
+ end
data/lib/dmcli.rb ADDED
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "dmcli/cli"
4
+ require_relative "dmcli/version"
5
+ require_relative "dmcli/dnd_data_loader"
6
+ require_relative "dmcli/spell"
7
+ require_relative "dmcli/spell_list"
8
+ require_relative "dmcli/xml_exporter"
9
+
10
+ module Dmcli
11
+ class Error < StandardError; end
12
+ # Your code goes here...
13
+ end
data/lib/dmcli/cli.rb ADDED
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "thor"
4
+
5
+ module Dmcli
6
+ # CLI
7
+ # Command-line options and commands are set in the CLI class
8
+ class CLI < Thor
9
+ class_options %i[filepath f] => :string
10
+
11
+ package_name "dmcli"
12
+ desc "spells", "List spells"
13
+ method_options %i[caster c] => :string, %i[level l] => :number, %i[edition e] => :string
14
+
15
+ def spells
16
+ caster = options.caster? ? options.caster : "any"
17
+ level = options.level? ? options.level : "any"
18
+ @filepath = options.filepath? ? options.filepath : "."
19
+
20
+ loader = DndDataLoader.new
21
+ puts loader.load_spells(@filepath, "BECMI", caster, level)
22
+ end
23
+
24
+ desc "monsters", "List monsters"
25
+ method_options :edition => :string, :level => :number
26
+
27
+ def monsters
28
+ puts "Not implemented"
29
+ end
30
+
31
+ desc "package", "Package xml"
32
+ method_options %i[output o] => :string
33
+
34
+ def package
35
+ xml = XmlExporter.new
36
+ output = options.output? ? options.output : "output.xml"
37
+ filepath = options.filepath? ? options.filepath : "."
38
+
39
+ xml.builder(filepath, output)
40
+ end
41
+
42
+ desc "version", "dmcli version"
43
+ def version
44
+ puts "dmcli version #{VERSION}"
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,97 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "nokogiri"
4
+
5
+ module Dmcli
6
+ # DndDataLoader
7
+ # Utility class for parsing and writing XML data files
8
+ class DndDataLoader
9
+ @spells_directory = "../../spells/*.xml"
10
+ @docs = []
11
+
12
+ def load(directory)
13
+ # directory = "../../spells/*.xml"
14
+ puts "Loading spells..."
15
+
16
+ @docs = []
17
+ files = 0
18
+
19
+ starting = Process.clock_gettime(Process::CLOCK_MONOTONIC, :millisecond)
20
+ Dir["#{directory}/*"].each do |file|
21
+ if File.extname(file).strip.downcase[1..-1] == "xml"
22
+ doc = Nokogiri::XML(File.open(file)) do |config|
23
+ config.options = Nokogiri::XML::ParseOptions::STRICT | Nokogiri::XML::ParseOptions::NOBLANKS
24
+ end
25
+ @docs.push(doc)
26
+ files += 1
27
+ end
28
+ end
29
+ ending = Process.clock_gettime(Process::CLOCK_MONOTONIC, :millisecond)
30
+ elapsed = ending - starting
31
+
32
+ puts "Found #{@docs.size} spells"
33
+ puts "Processed #{files} files in #{format("%0.0f", elapsed)} ms"
34
+ puts
35
+ end
36
+
37
+ def load_spells(
38
+ filepath,
39
+ edition = "any",
40
+ spell_class = "any",
41
+ level = "any"
42
+ )
43
+
44
+ puts "Loading data files from #{filepath}"
45
+ load(filepath)
46
+
47
+ @spell_list = SpellList.new
48
+ @spells = []
49
+
50
+ @docs.each do |doc|
51
+ name = doc.xpath("//a:spell/a:name", { "a" => "dungeon" }).text
52
+ doc_spell_class = doc.xpath("//a:spell/a:editions/a:edition#{edition}/a:class", { "a" => "dungeon" }).text.strip
53
+ doc_spell_level = doc.xpath("//a:spell/a:editions/a:edition#{edition}/a:level", { "a" => "dungeon" }).text.strip
54
+ range = doc.xpath("//a:spell/a:editions/a:edition#{edition}/a:range", { "a" => "dungeon" }).text.strip
55
+ duration = doc.xpath("//a:spell/a:editions/a:edition#{edition}/a:duration", { "a" => "dungeon" }).text.strip
56
+ effect = doc.xpath("//a:spell/a:editions/a:edition#{edition}/a:effect", { "a" => "dungeon" }).text.strip
57
+ reversible = doc.xpath("//a:spell/a:editions/a:edition#{edition}/a:isReversible", { "a" => "dungeon" }).text.strip
58
+ description_text = doc.xpath("//a:spell/a:editions/a:edition#{edition}/a:description", { "a" => "dungeon" }).text.strip.split("\n")
59
+
60
+ name += " *" if reversible == "true"
61
+
62
+ if add_spell?(spell_class, doc_spell_class, level, doc_spell_level)
63
+ @spell_list.add Spell.new(name, reversible, doc_spell_class, doc_spell_level, range, duration, effect, description_text)
64
+ end
65
+ end
66
+
67
+ @spell_list.sort
68
+
69
+ @spell_list.spells
70
+ end
71
+
72
+ def add_spell?(
73
+ spell_class,
74
+ doc_spell_class,
75
+ level,
76
+ doc_spell_level
77
+ )
78
+
79
+ case spell_class
80
+ when "any"
81
+ return true
82
+ else
83
+ if spell_class == doc_spell_class
84
+ case level
85
+ when "any"
86
+ return true
87
+ else
88
+ if level.to_i == doc_spell_level.to_i
89
+ return true
90
+ end
91
+ end
92
+ end
93
+ end
94
+ false
95
+ end
96
+ end
97
+ end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Dmcli
4
+ # Spell
5
+ # Defines a spell object for storing Dungeons and Dragons spells
6
+ class Spell
7
+ attr_reader :name, :is_reversible, :spell_level, :spell_class, :range, :duration, :effect, :description_text
8
+
9
+ def initialize(
10
+ name,
11
+ is_reversible,
12
+ spell_class,
13
+ spell_level,
14
+ range,
15
+ duration,
16
+ effect,
17
+ description_text
18
+ )
19
+ @name = name
20
+ @is_reversible = is_reversible
21
+ @spell_class = spell_class
22
+ @spell_level = spell_level
23
+ @range = range
24
+ @duration = duration
25
+ @effect = effect
26
+ @description_text = description_text
27
+ end
28
+
29
+ def to_s
30
+ "#{@name.ljust(35)} #{@spell_class.ljust(13).capitalize} #{@spell_level.ljust(4)} #{@range.ljust(30)} #{@duration.ljust(45)} #{@effect}"
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Dmcli
4
+ # SpellList
5
+ # Stores a list of Spell objects
6
+ class SpellList
7
+ attr_reader :spells
8
+
9
+ def initialize
10
+ @spells = []
11
+ end
12
+
13
+ def add(spell)
14
+ @spells.push(spell)
15
+ end
16
+
17
+ def sort
18
+ @spells.sort_by! { |spell| [spell.spell_level, spell.spell_class, spell.name] }
19
+ end
20
+
21
+ def list
22
+ puts "#{"Name".ljust(35)} #{"Class".ljust(13)} #{"Lvl".ljust(4)} #{"Range".ljust(30)} #{"Duration".ljust(45)} Effect"
23
+ puts "----------------------------------------------------------------------------------------------------------------------------------------------------------"
24
+ @spells.each do |spell|
25
+ puts spell.to_s
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Dmcli
4
+ VERSION = "0.1.1"
5
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "nokogiri"
4
+
5
+ module Dmcli
6
+ # XmlExporter
7
+ # Utility class for exporting data to a XML file. Used to compile a large number of individual XML
8
+ # files into one large XML file.
9
+ class XmlExporter
10
+ def builder(
11
+ target,
12
+ output
13
+ )
14
+
15
+ loader = DndDataLoader.new
16
+ spells = loader.load_spells(target, "BECMI", "any", "any")
17
+
18
+ xml_contents = Nokogiri::XML::Builder.new do |xml|
19
+ xml.spellList("xmlns" => "dungeon", "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance", "xsi:schemaLocation" => "dungeon spells.xsd") do
20
+ spells.each do |s|
21
+ xml.spell do
22
+ xml.name s.name
23
+ xml.editions do
24
+ xml.editionBECMI do
25
+ xml.is_reversible s.is_reversible
26
+ xml.class_ s.spell_class
27
+ xml.level s.spell_level
28
+ xml.range s.range
29
+ xml.duration s.range
30
+ xml.effect s.effect
31
+ xml.description s.description_text
32
+ xml.sources do
33
+ xml.source "Dungeons and Dragons Rules Cyclopedia, p42"
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
41
+
42
+ puts "Exporting to #{output}"
43
+ File.open(output, "w") do |f|
44
+ f.write(xml_contents.to_xml)
45
+ end
46
+
47
+ filesize = File.size(output) / 1024
48
+ puts "#{filesize} kb written"
49
+ end
50
+ end
51
+ end
metadata ADDED
@@ -0,0 +1,107 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dungeon_master_tools
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Shane Rainville
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-05-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.11.4
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.11.4
41
+ - !ruby/object:Gem::Dependency
42
+ name: thor
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.1.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.1.0
55
+ description: Command-line tool for Dungeons and Dragons data files
56
+ email:
57
+ - shane.rainville@gmail.com
58
+ executables:
59
+ - dmcli
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - ".gitignore"
64
+ - ".rubocop.yml"
65
+ - Gemfile
66
+ - Gemfile.lock
67
+ - LICENSE.txt
68
+ - README.md
69
+ - Rakefile
70
+ - bin/console
71
+ - bin/dmcli
72
+ - bin/setup
73
+ - dmcli.gemspec
74
+ - lib/dmcli.rb
75
+ - lib/dmcli/cli.rb
76
+ - lib/dmcli/dnd_data_loader.rb
77
+ - lib/dmcli/spell.rb
78
+ - lib/dmcli/spell_list.rb
79
+ - lib/dmcli/version.rb
80
+ - lib/dmcli/xml_exporter.rb
81
+ homepage: https://www.shanerainville.com
82
+ licenses:
83
+ - MIT
84
+ metadata:
85
+ homepage_uri: https://www.shanerainville.com
86
+ source_code_uri: https://github.com/serainville/dmcli
87
+ changelog_uri: https://github.com/serainville/dmcli
88
+ post_install_message:
89
+ rdoc_options: []
90
+ require_paths:
91
+ - lib
92
+ required_ruby_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 3.0.0
97
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ requirements: []
103
+ rubygems_version: 3.2.17
104
+ signing_key:
105
+ specification_version: 4
106
+ summary: Dungeon Master utility
107
+ test_files: []