dsp_blueprint_parser 0.1.2 → 0.2.0

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: ea96a27ab7a6ff6a0d8f471171bf00d895598405e3540a39e1eef500c5845441
4
- data.tar.gz: 667b222e2fc364e6bbb3453d4593f7c024523a58655d699a8f569efa87a7cfdc
3
+ metadata.gz: 70a878a74f9594b2005945000c0e016565df7e649dbae85e594c49126d11c64f
4
+ data.tar.gz: 401c698f0baf529f12e41f116bc45b8135563791cde00f7b656390395622e1f2
5
5
  SHA512:
6
- metadata.gz: 7d2b7fee9d4fd08748608c5a6d9920f754d7ca7ee62e57bd792a54409534ca1c880c3231c9e271f1a5a73dc4b8a3cbf47446dd9c307bc9297734ada96d9774eb
7
- data.tar.gz: 9fe1c4414ee671bc6a296a8b872b3c583131d6531a7717a687993a3e1a21421f83c748c4c1282de9d4425722181465acfd2a41d51f74c88ec84c56a715e4812f
6
+ metadata.gz: f61f88200db3af250c7d583489713701152056248a2715e3878eb7fb7b6b193f6d37f0035f3d6d92f324ad38239eb7f759d66600549cbbd6df9b0e7ef07c6c22
7
+ data.tar.gz: e3d45773eb38134e81c022365595e15ebd253d0c008f076ac2429114cfdba2e45724ae1fdc7b22c61d91a394d04b9be274747f71bdd9687e6d2b3a10aeb485f9
data/.gitignore CHANGED
@@ -1,12 +1,15 @@
1
- /.idea/
2
- /.bundle/
3
- /.yardoc
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
-
11
- # rspec failure tracking
12
- .rspec_status
1
+ /.idea/
2
+ /.bundle/
3
+ /.yardoc
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
13
+
14
+ # rspec failure tracking
15
+ *.so
data/.rspec CHANGED
@@ -1,3 +1,3 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml CHANGED
@@ -1,22 +1,22 @@
1
- AllCops:
2
- TargetRubyVersion: 3.0
3
-
4
- Style/StringLiterals:
5
- Enabled: true
6
- EnforcedStyle: single_quotes
7
-
8
- Style/StringLiteralsInInterpolation:
9
- Enabled: true
10
- EnforcedStyle: double_quotes
11
-
12
- Layout/LineLength:
13
- Max: 120
14
-
15
- Metrics/MethodLength:
16
- Max: 30
17
-
18
- Metrics/BlockLength:
19
- Max: 30
20
-
21
- Metrics/AbcSize:
1
+ AllCops:
2
+ TargetRubyVersion: 3.0
3
+
4
+ Style/StringLiterals:
5
+ Enabled: true
6
+ EnforcedStyle: single_quotes
7
+
8
+ Style/StringLiteralsInInterpolation:
9
+ Enabled: true
10
+ EnforcedStyle: double_quotes
11
+
12
+ Layout/LineLength:
13
+ Max: 120
14
+
15
+ Metrics/MethodLength:
16
+ Max: 30
17
+
18
+ Metrics/BlockLength:
19
+ Max: 30
20
+
21
+ Metrics/AbcSize:
22
22
  Enabled: false
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
- ## [Unreleased]
2
-
3
- ## [0.1.0] - 2021-07-31
4
-
5
- - Initial release
1
+ ## [Unreleased]
2
+
3
+ ## [0.2.0] 2025-12-20
4
+
5
+ - Add support for new building metadata.
6
+
7
+ ## [0.1.0] - 2021-07-31
8
+
9
+ - Initial release
data/Gemfile CHANGED
@@ -1,15 +1,15 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- # Specify your gem's dependencies in dsp_blueprint_parser.gemspec
6
- gemspec
7
-
8
- gem 'rake', '~> 13.0'
9
-
10
- gem 'rspec', '~> 3.0'
11
-
12
- gem 'pry', '~> 0.14.0'
13
- gem 'rspec-expectations', '~> 3.10.1'
14
- gem 'rspec-its', '~> 1.3.0'
15
- gem 'rubocop', '~> 1.7'
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in dsp_blueprint_parser.gemspec
6
+ gemspec
7
+
8
+ gem 'rake', '~> 13.0'
9
+
10
+ gem 'rspec', '~> 3.0'
11
+
12
+ gem 'pry', '~> 0.14.0'
13
+ gem 'rspec-expectations', '~> 3.10.1'
14
+ gem 'rspec-its', '~> 1.3.0'
15
+ gem 'rubocop', '~> 1.7'
data/Gemfile.lock CHANGED
@@ -1,66 +1,69 @@
1
- PATH
2
- remote: .
3
- specs:
4
- dsp_blueprint_parser (0.1.1)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- ast (2.4.2)
10
- coderay (1.1.3)
11
- diff-lcs (1.4.4)
12
- method_source (1.0.0)
13
- parallel (1.20.1)
14
- parser (3.0.2.0)
15
- ast (~> 2.4.1)
16
- pry (0.14.1)
17
- coderay (~> 1.1)
18
- method_source (~> 1.0)
19
- rainbow (3.0.0)
20
- rake (13.0.6)
21
- regexp_parser (2.1.1)
22
- rexml (3.2.5)
23
- rspec (3.10.0)
24
- rspec-core (~> 3.10.0)
25
- rspec-expectations (~> 3.10.0)
26
- rspec-mocks (~> 3.10.0)
27
- rspec-core (3.10.1)
28
- rspec-support (~> 3.10.0)
29
- rspec-expectations (3.10.1)
30
- diff-lcs (>= 1.2.0, < 2.0)
31
- rspec-support (~> 3.10.0)
32
- rspec-its (1.3.0)
33
- rspec-core (>= 3.0.0)
34
- rspec-expectations (>= 3.0.0)
35
- rspec-mocks (3.10.2)
36
- diff-lcs (>= 1.2.0, < 2.0)
37
- rspec-support (~> 3.10.0)
38
- rspec-support (3.10.2)
39
- rubocop (1.18.4)
40
- parallel (~> 1.10)
41
- parser (>= 3.0.0.0)
42
- rainbow (>= 2.2.2, < 4.0)
43
- regexp_parser (>= 1.8, < 3.0)
44
- rexml
45
- rubocop-ast (>= 1.8.0, < 2.0)
46
- ruby-progressbar (~> 1.7)
47
- unicode-display_width (>= 1.4.0, < 3.0)
48
- rubocop-ast (1.9.0)
49
- parser (>= 3.0.1.1)
50
- ruby-progressbar (1.11.0)
51
- unicode-display_width (2.0.0)
52
-
53
- PLATFORMS
54
- x86_64-linux
55
-
56
- DEPENDENCIES
57
- dsp_blueprint_parser!
58
- pry (~> 0.14.0)
59
- rake (~> 13.0)
60
- rspec (~> 3.0)
61
- rspec-expectations (~> 3.10.1)
62
- rspec-its (~> 1.3.0)
63
- rubocop (~> 1.7)
64
-
65
- BUNDLED WITH
66
- 2.2.3
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ dsp_blueprint_parser (0.1.3)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.2)
10
+ coderay (1.1.3)
11
+ diff-lcs (1.4.4)
12
+ method_source (1.0.0)
13
+ parallel (1.20.1)
14
+ parser (3.0.2.0)
15
+ ast (~> 2.4.1)
16
+ pry (0.14.1)
17
+ coderay (~> 1.1)
18
+ method_source (~> 1.0)
19
+ rainbow (3.0.0)
20
+ rake (13.0.6)
21
+ rake-compiler (1.2.7)
22
+ rake
23
+ regexp_parser (2.1.1)
24
+ rexml (3.2.5)
25
+ rspec (3.10.0)
26
+ rspec-core (~> 3.10.0)
27
+ rspec-expectations (~> 3.10.0)
28
+ rspec-mocks (~> 3.10.0)
29
+ rspec-core (3.10.1)
30
+ rspec-support (~> 3.10.0)
31
+ rspec-expectations (3.10.1)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.10.0)
34
+ rspec-its (1.3.0)
35
+ rspec-core (>= 3.0.0)
36
+ rspec-expectations (>= 3.0.0)
37
+ rspec-mocks (3.10.2)
38
+ diff-lcs (>= 1.2.0, < 2.0)
39
+ rspec-support (~> 3.10.0)
40
+ rspec-support (3.10.2)
41
+ rubocop (1.18.4)
42
+ parallel (~> 1.10)
43
+ parser (>= 3.0.0.0)
44
+ rainbow (>= 2.2.2, < 4.0)
45
+ regexp_parser (>= 1.8, < 3.0)
46
+ rexml
47
+ rubocop-ast (>= 1.8.0, < 2.0)
48
+ ruby-progressbar (~> 1.7)
49
+ unicode-display_width (>= 1.4.0, < 3.0)
50
+ rubocop-ast (1.9.0)
51
+ parser (>= 3.0.1.1)
52
+ ruby-progressbar (1.11.0)
53
+ unicode-display_width (2.0.0)
54
+
55
+ PLATFORMS
56
+ x86_64-linux
57
+
58
+ DEPENDENCIES
59
+ dsp_blueprint_parser!
60
+ pry (~> 0.14.0)
61
+ rake (~> 13.0)
62
+ rake-compiler (~> 1.0)
63
+ rspec (~> 3.0)
64
+ rspec-expectations (~> 3.10.1)
65
+ rspec-its (~> 1.3.0)
66
+ rubocop (~> 1.7)
67
+
68
+ BUNDLED WITH
69
+ 2.3.22
data/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2021 Lucas Falk
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.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Lucas Falk
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 CHANGED
@@ -1,48 +1,46 @@
1
- # DspBlueprintParser
2
-
3
- Small Ruby gem to handle parsing of Dyson Sphere Program's blueprint data.
4
-
5
- Currently the gem does not support validating the MD5 hash of the blueprint. It appears as if the DSP devs wrote their own MD5 algorithm which would need it's own Ruby port.
6
-
7
- ## Installation
8
-
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'dsp_blueprint_parser'
13
- ```
14
-
15
- And then execute:
16
-
17
- $ bundle install
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install dsp_blueprint_parser
22
-
23
- ## Usage
24
-
25
- Module `DspBlueprintParser` has a single static method `parse` which takes the DSP blueprint string to be parsed.
26
-
27
- ```ruby
28
- DspBlueprintParser.parse(str_blueprint)
29
- ```
30
-
31
- This method returns a [BlueprintData](https://github.com/LRFalk01/DSP-Blueprint-Parser/blob/master/lib/dsp_blueprint_parser/blueprint_data.rb) object which includes the various metadata of the blueprint.
32
- Part of the `BlueprintData` object are properties for [areas](https://github.com/LRFalk01/DSP-Blueprint-Parser/blob/master/lib/dsp_blueprint_parser/area.rb) and [buildings](https://github.com/LRFalk01/DSP-Blueprint-Parser/blob/master/lib/dsp_blueprint_parser/building.rb) which are what one would mostly be interested in further evaluating.
33
-
34
- ## Development
35
-
36
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
37
-
38
- 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).
39
-
40
- ## Contributing
41
-
42
- Running `rake compile` requires `gem install rake-compiler` to build the md5f extension.
43
-
44
- Bug reports and pull requests are welcome on GitHub at https://github.com/LRFalk01/dsp_blueprint_parser.
45
-
46
- ## License
47
-
48
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
1
+ # DspBlueprintParser
2
+
3
+ Small Ruby gem to handle parsing of Dyson Sphere Program's blueprint data.
4
+
5
+ Currently the gem does not support validating the MD5 hash of the blueprint. It appears as if the DSP devs wrote their own MD5 algorithm which would need it's own Ruby port.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'dsp_blueprint_parser'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install dsp_blueprint_parser
22
+
23
+ ## Usage
24
+
25
+ Module `DspBlueprintParser` has a single static method `parse` which takes the DSP blueprint string to be parsed.
26
+
27
+ ```ruby
28
+ DspBlueprintParser.parse(str_blueprint)
29
+ ```
30
+
31
+ This method returns a [BlueprintData](https://github.com/LRFalk01/DSP-Blueprint-Parser/blob/master/lib/dsp_blueprint_parser/blueprint_data.rb) object which includes the various metadata of the blueprint.
32
+ Part of the `BlueprintData` object are properties for [areas](https://github.com/LRFalk01/DSP-Blueprint-Parser/blob/master/lib/dsp_blueprint_parser/area.rb) and [buildings](https://github.com/LRFalk01/DSP-Blueprint-Parser/blob/master/lib/dsp_blueprint_parser/building.rb) which are what one would mostly be interested in further evaluating.
33
+
34
+ ## Development
35
+
36
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
37
+
38
+ 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).
39
+
40
+ ## Contributing
41
+
42
+ Bug reports and pull requests are welcome on GitHub at https://github.com/LRFalk01/dsp_blueprint_parser.
43
+
44
+ ## License
45
+
46
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile CHANGED
@@ -1,16 +1,16 @@
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
- require 'rubocop/rake_task'
9
-
10
- RuboCop::RakeTask.new
11
-
12
- task default: %i[spec rubocop]
13
-
14
-
15
- require 'rake/extensiontask'
16
- Rake::ExtensionTask.new('md5f')
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
+ require 'rubocop/rake_task'
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
13
+
14
+
15
+ require 'rake/extensiontask'
16
+ Rake::ExtensionTask.new('md5f')
data/bin/console CHANGED
@@ -1,15 +1,15 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'bundler/setup'
5
- require 'dsp_blueprint_parser'
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__)
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'dsp_blueprint_parser'
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/setup CHANGED
@@ -1,8 +1,9 @@
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
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
9
+ bundle exec rake compile
@@ -1,39 +1,40 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative 'lib/dsp_blueprint_parser/version'
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = 'dsp_blueprint_parser'
7
- spec.version = DspBlueprintParser::VERSION
8
- spec.authors = ['Lucas Falk']
9
- spec.email = ['LRFalk01@gmail.com']
10
-
11
- spec.summary = 'Parse Dyson Sphere Program blueprint string'
12
- spec.description = 'Parse Dyson Sphere Program blueprint string'
13
- spec.homepage = 'https://github.com/LRFalk01/DSP-Blueprint-Parser'
14
- spec.license = 'MIT'
15
- spec.required_ruby_version = '>= 3.0'
16
-
17
- # spec.metadata["allowed_push_host"] = "TODO: Set to 'https://mygemserver.com'"
18
-
19
- spec.metadata['homepage_uri'] = spec.homepage
20
- spec.metadata['source_code_uri'] = spec.homepage
21
- # spec.metadata['changelog_uri'] = spec.homepage
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 = 'exe'
29
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
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
-
35
- # For more information and examples about making a new gem, checkout our
36
- # guide at: https://bundler.io/guides/creating_gem.html
37
-
38
- spec.extensions = %w[ext/md5f/extconf.rb]
39
- end
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/dsp_blueprint_parser/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'dsp_blueprint_parser'
7
+ spec.version = DspBlueprintParser::VERSION
8
+ spec.authors = ['Lucas Falk']
9
+ spec.email = ['LRFalk01@gmail.com']
10
+
11
+ spec.summary = 'Parse Dyson Sphere Program blueprint string'
12
+ spec.description = 'Parse Dyson Sphere Program blueprint string'
13
+ spec.homepage = 'https://github.com/LRFalk01/DSP-Blueprint-Parser'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = '>= 3.0'
16
+
17
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'https://mygemserver.com'"
18
+
19
+ spec.metadata['homepage_uri'] = spec.homepage
20
+ spec.metadata['source_code_uri'] = spec.homepage
21
+ # spec.metadata['changelog_uri'] = spec.homepage
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 = 'exe'
29
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
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
+
35
+ # For more information and examples about making a new gem, checkout our
36
+ # guide at: https://bundler.io/guides/creating_gem.html
37
+ spec.add_development_dependency "rake-compiler", "~> 1.0"
38
+
39
+ spec.extensions = %w[ext/md5f/extconf.rb]
40
+ end
data/ext/md5f/extconf.rb CHANGED
@@ -1,3 +1,3 @@
1
- require 'mkmf'
2
-
1
+ require 'mkmf'
2
+
3
3
  create_makefile 'dsp_blueprint_parser/md5f'