Skip to content

Commit

Permalink
Version 0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Dec 25, 2018
1 parent 7e74120 commit fde0e55
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## Version 0.4.0

### Features

- Adds `sentence_case`, see [#38](https://github.com/sobolevn/recase/pull/38)

### Misc

- Package version updates


## Version 0.3.0

### Breaking changes
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ One can ask: "Why should I use `recase` when I can use built-in `Macro` module?"

```elixir
def deps do
[{:recase, "~> 0.2"}]
[{:recase, "~> 0.4"}]
end
```

Expand Down Expand Up @@ -88,6 +88,16 @@ Recase.to_path("SomeValue") # => "Some/Value"
Recase.to_path("some value", "\\") # => "some\\value"
```

### Sentence

Sentence case uses the same rules as regular sentence.
First letter is uppercase all others letters are lowercase separated by spaces.

```elixir
Recase.to_sentence("SomeValue") # => "Some value"
Recase.to_sentence("some value") # => "Some value"
```


## Changelog

Expand Down
5 changes: 2 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Recase.Mixfile do
use Mix.Project

@version "0.3.0"
@version "0.4.0"
@url "https://github.com/sobolevn/recase"

def project do
Expand Down Expand Up @@ -40,8 +40,7 @@ defmodule Recase.Mixfile do
end

defp deps do
[# Testing:
{:excoveralls, "~> 0.5", only: :test},
[{:excoveralls, "~> 0.5", only: :test},
{:credo, "~> 1.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},

Expand Down

0 comments on commit fde0e55

Please sign in to comment.