Skip to content

Commit

Permalink
Rename to Biryani and correct copyright.
Browse files Browse the repository at this point in the history
  • Loading branch information
eraviart committed Feb 5, 2015
1 parent 754725a commit 844ec69
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 36 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -4,7 +4,7 @@ julia:
# - nightly
script:
- julia -e 'Pkg.clone(pwd())'
- julia -e "Pkg.build(\"Converters\")"
- julia --check-bounds=yes --code-coverage -e "Pkg.test(\"Converters\", coverage = true)"
- julia -e "Pkg.build(\"Biryani\")"
- julia --check-bounds=yes --code-coverage -e "Pkg.test(\"Biryani\", coverage = true)"
after_success:
- julia -e 'cd(Pkg.dir("Converters")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
- julia -e 'cd(Pkg.dir("Biryani")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
2 changes: 1 addition & 1 deletion LICENSE.md
@@ -1,4 +1,4 @@
The Converters.jl package is licensed under version 2.0 of the Apache License:
The Biryani.jl package is licensed under version 2.0 of the Apache License:

> Copyright (c) 2015: Emmanuel Raviart.
>
Expand Down
12 changes: 6 additions & 6 deletions README.md
@@ -1,16 +1,16 @@
# Converters
# Biryani

A data conversion and validation toolbox, written in Julia.

[![Build Status](https://travis-ci.org/eraviart/Converters.jl.svg?branch=master)](https://travis-ci.org/eraviart/Converters.jl)
[![Coverage Status](https://coveralls.io/repos/eraviart/Converters.jl/badge.svg?branch=master)](https://coveralls.io/r/eraviart/Converters.jl?branch=master)
[![Build Status](https://travis-ci.org/eraviart/Biryani.jl.svg?branch=master)](https://travis-ci.org/eraviart/Biryani.jl)
[![Coverage Status](https://coveralls.io/repos/eraviart/Biryani.jl/badge.svg?branch=master)](https://coveralls.io/r/eraviart/Biryani.jl?branch=master)

## Quickstart

```julia
julia> Pkg.add("Converters")
julia> Pkg.add("Biryani")

julia> using Converters
julia> using Biryani
```

## Usage Examples
Expand Down Expand Up @@ -64,7 +64,7 @@ When conversion has failed (the convertible has an `error` field), `to_value` th
julia> Convertible("John.DOE.name") |> input_to_email |> to_value
ERROR: An email must contain exactly one "@".
Value: john.doe.name
in to_value at /home/manou/.julia/v0.3/Converters/src/Converters.jl:571
in to_value at .../Biryani.jl:571
in |> at ./operators.jl:178
```

Expand Down
14 changes: 7 additions & 7 deletions src/Converters.jl → src/Biryani.jl
@@ -1,10 +1,10 @@
# Converters -- A conversion and validation toolbox
# Biryani -- A conversion and validation toolbox
# By: Emmanuel Raviart <emmanuel@raviart.com>
#
# Copyright (C) 2015 Etalab
# https://github.com/etalab/Converters.jl
# Copyright (C) 2015 Emmanuel Raviart
# https://github.com/eraviart/Biryani.jl
#
# This file is part of Converters.
# This file is part of Biryani.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -19,7 +19,7 @@
# limitations under the License.


module Converters
module Biryani


export _, call, condition, Convertible, default, empty_to_nothing, extract_when_singleton, fail, from_value, guess_bool, input_to_bool, input_to_email, input_to_float, input_to_int, item_or_sequence, item_to_singleton, log_info, log_warning, N_, noop, pipe, require, string_to_email, strip, struct, test, test_between, test_greater_or_equal, test_in, test_isa, to_bool, to_float, to_int, to_string, to_value, to_value_error, uniform_mapping, uniform_sequence
Expand All @@ -41,7 +41,7 @@ module DatesConverters

import Dates: Date

import ..Converters: call, Context, Convertible, N_, pipe, strip, test
import ..Biryani: call, Context, Convertible, N_, pipe, strip, test


include("dates.jl")
Expand All @@ -50,4 +50,4 @@ module DatesConverters
end # module DatesConverters


end # module Converters
end # module Biryani
8 changes: 4 additions & 4 deletions src/base.jl
@@ -1,10 +1,10 @@
# Converters -- A conversion and validation toolbox
# Biryani -- A conversion and validation toolbox
# By: Emmanuel Raviart <emmanuel@raviart.com>
#
# Copyright (C) 2015 Etalab
# https://github.com/etalab/Converters.jl
# Copyright (C) 2015 Emmanuel Raviart
# https://github.com/eraviart/Biryani.jl
#
# This file is part of Converters.
# This file is part of Biryani.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
8 changes: 4 additions & 4 deletions src/dates.jl
@@ -1,10 +1,10 @@
# Converters -- A conversion and validation toolbox
# Biryani -- A conversion and validation toolbox
# By: Emmanuel Raviart <emmanuel@raviart.com>
#
# Copyright (C) 2015 Etalab
# https://github.com/etalab/Converters.jl
# Copyright (C) 2015 Emmanuel Raviart
# https://github.com/eraviart/Biryani.jl
#
# This file is part of Converters.
# This file is part of Biryani.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
8 changes: 4 additions & 4 deletions test/runtests.jl
@@ -1,10 +1,10 @@
# Converters -- A conversion and validation toolbox
# Biryani -- A conversion and validation toolbox
# By: Emmanuel Raviart <emmanuel@raviart.com>
#
# Copyright (C) 2015 Emmanuel Raviart
# https://github.com/eraviart/Converters.jl
# https://github.com/eraviart/Biryani.jl
#
# This file is part of Converters.
# This file is part of Biryani.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -21,7 +21,7 @@

using Base.Test

importall Converters
importall Biryani


include("test_base.jl")
Expand Down
6 changes: 3 additions & 3 deletions test/test_base.jl
@@ -1,10 +1,10 @@
# Converters -- A conversion and validation toolbox
# Biryani -- A conversion and validation toolbox
# By: Emmanuel Raviart <emmanuel@raviart.com>
#
# Copyright (C) 2015 Emmanuel Raviart
# https://github.com/eraviart/Converters.jl
# https://github.com/eraviart/Biryani.jl
#
# This file is part of Converters.
# This file is part of Biryani.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
8 changes: 4 additions & 4 deletions test/test_dates.jl
@@ -1,10 +1,10 @@
# Converters -- A conversion and validation toolbox
# Biryani -- A conversion and validation toolbox
# By: Emmanuel Raviart <emmanuel@raviart.com>
#
# Copyright (C) 2015 Emmanuel Raviart
# https://github.com/eraviart/Converters.jl
# https://github.com/eraviart/Biryani.jl
#
# This file is part of Converters.
# This file is part of Biryani.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -21,7 +21,7 @@

import Dates: Date

importall Converters.DatesConverters
importall Biryani.DatesConverters


# iso8601_input_to_date
Expand Down

0 comments on commit 844ec69

Please sign in to comment.