Skip to content

Commit

Permalink
feat: Prepare version 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
daskycodes committed Jan 9, 2022
1 parent af75c5a commit 370a747
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.1.1 (2022-01-09)

* Enhancements
* Add AIFF audio file support

## 0.1.0 (2021-12-26)

Initial release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ by adding `infer` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:infer, "~> 0.1.0"}
{:infer, "~> 0.1.1"}
]
end
```
Expand Down
12 changes: 5 additions & 7 deletions lib/matchers/doc.ex
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,11 @@ defmodule Infer.Doc do
root_directory_address = sector_size + root_directory_index * sector_size
position = root_directory_address + 80

<<_offset::binary-size(position), guid::binary-size(16), _rest::binary>> = doc

case guid do
<<16, 141, 129, 100, 155, 79, 207, 17, 134, 234, 0, 170, 0, 185, 41, 232>> -> :ppt
<<6, 9, 2, 0, 0, 0, 0, 0, 192, 0, 0, 0, 0, 0, 0, 70>> -> :doc
<<32, 8, 2, 0, 0, 0, 0, 0, 192, 0, 0, 0, 0, 0, 0, 70>> -> :xls
<<32, 8, 1, 0, 0, 0, 0, 0, 192, 0, 0, 0, 0, 0, 0, 70>> -> :xls
case doc do
<<_offset::binary-size(position), 16, 141, 129, 100, 155, 79, 207, 17, 134, 234, 0, 170, 0, 185, 41, 232, _rest::binary>> -> :ppt
<<_offset::binary-size(position), 6, 9, 2, 0, 0, 0, 0, 0, 192, 0, 0, 0, 0, 0, 0, 70, _rest::binary>> -> :doc
<<_offset::binary-size(position), 32, 8, 2, 0, 0, 0, 0, 0, 192, 0, 0, 0, 0, 0, 0, 70, _rest::binary>> -> :xls
<<_offset::binary-size(position), 32, 8, 1, 0, 0, 0, 0, 0, 192, 0, 0, 0, 0, 0, 0, 70, _rest::binary>> -> :xls
_ -> nil
end
end
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Infer.MixProject do
def project do
[
app: :infer,
version: "0.1.0",
version: "0.1.1",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down

0 comments on commit 370a747

Please sign in to comment.