Skip to content

Commit b5af0cc

Browse files
committed
Initial commit
0 parents  commit b5af0cc

13 files changed

+1250
-0
lines changed

.editorconfig

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_style = space
9+
insert_final_newline = true
10+
tab_width = 4
11+
trim_trailing_whitespace = true
12+
13+
[*.{ex,exs}]
14+
tab_width = 2

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/_build/
2+
/cover/
3+
/deps/
4+
/doc/
5+
/.fetch
6+
erl_crash.dump
7+
*.ez
8+
mix\.lock

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
9+
## 0.1.0 - 2017-08-10
10+
### Added
11+
- First version 🎉
12+
13+
[Unreleased]: https://github.com/mkaput/elixir-bimap/compare/v0.1.0...HEAD

LICENSE.txt

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright 2017 Marek Kaput
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# BiMap
2+
3+
[![Hex.pm](https://img.shields.io/hexpm/v/bimap.svg)](https://hex.pm/packages/bimap)
4+
[![API Docs](https://img.shields.io/badge/api-docs-yellow.svg?style=flat)](https://hexdocs.pm/bimap/)
5+
6+
Elixir implementation of bidirectional map and multimap.
7+
8+
## Installation
9+
10+
The package can be installed by adding `bimap` to your list of dependencies in `mix.exs`:
11+
12+
```elixir
13+
def deps do
14+
[{:bimap, "~> 0.1"}]
15+
end
16+
```
17+
18+
## License
19+
20+
See the [LICENSE] file for license rights and limitations (MIT).
21+
22+
[LICENSE]: https://github.com/mkaput/elixir-bimap/blob/master/LICENSE.txt

config/.credo.exs

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
%{
2+
configs: [
3+
%{
4+
name: "default",
5+
files: %{
6+
included: ["lib/", "src/", "web/", "apps/"],
7+
excluded: [~r"/_build/", ~r"/deps/"]
8+
},
9+
requires: [],
10+
check_for_updates: true,
11+
strict: true,
12+
color: true,
13+
checks: [
14+
{Credo.Check.Refactor.PipeChainStart, false}
15+
]
16+
}
17+
]
18+
}

config/config.exs

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file is responsible for configuring your application
2+
# and its dependencies with the aid of the Mix.Config module.
3+
use Mix.Config
4+
5+
# This configuration is loaded before any dependency and is restricted
6+
# to this project. If another project depends on this project, this
7+
# file won't be loaded nor affect the parent project. For this reason,
8+
# if you want to provide default values for your application for
9+
# 3rd-party users, it should be done in your "mix.exs" file.
10+
11+
# You can configure your application as:
12+
#
13+
# config :elixir_bimap, key: :value
14+
#
15+
# and access this configuration in your application as:
16+
#
17+
# Application.get_env(:elixir_bimap, :key)
18+
#
19+
# You can also configure a 3rd-party app:
20+
#
21+
# config :logger, level: :info
22+
#
23+
24+
# It is also possible to import configuration files, relative to this
25+
# directory. For example, you can emulate configuration per environment
26+
# by uncommenting the line below and defining dev.exs, test.exs and such.
27+
# Configuration from the imported file will override the ones defined
28+
# here (which is why it is important to import them last).
29+
#
30+
# import_config "#{Mix.env}.exs"

0 commit comments

Comments
 (0)