aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-12-18 21:27:35 +0100
committerLoïc Hoguin <[email protected]>2019-12-18 21:27:35 +0100
commitea6b482f82e016aeb171c3fa37734a97a182f63f (patch)
treeba801d030e86da2ee6ef05b57a87d1107ccec49e
parent34291d5bb42c03d92522dfa18d38aa0d22bcb8ec (diff)
downloadcowlib-ea6b482f82e016aeb171c3fa37734a97a182f63f.tar.gz
cowlib-ea6b482f82e016aeb171c3fa37734a97a182f63f.tar.bz2
cowlib-ea6b482f82e016aeb171c3fa37734a97a182f63f.zip
Rename cow_uri_templates to cow_uri_template
Fits better since we are dealing with a single template at a time.
-rw-r--r--ebin/cowlib.app2
-rw-r--r--src/cow_uri_template.erl (renamed from src/cow_uri_templates.erl)2
2 files changed, 2 insertions, 2 deletions
diff --git a/ebin/cowlib.app b/ebin/cowlib.app
index 5b18a58..db7ea07 100644
--- a/ebin/cowlib.app
+++ b/ebin/cowlib.app
@@ -1,7 +1,7 @@
{application, 'cowlib', [
{description, "Support library for manipulating Web protocols."},
{vsn, "2.8.0"},
- {modules, ['cow_base64url','cow_cookie','cow_date','cow_hpack','cow_http','cow_http2','cow_http2_machine','cow_http_hd','cow_http_struct_hd','cow_http_te','cow_iolists','cow_link','cow_mimetypes','cow_multipart','cow_qs','cow_spdy','cow_sse','cow_uri','cow_uri_templates','cow_ws']},
+ {modules, ['cow_base64url','cow_cookie','cow_date','cow_hpack','cow_http','cow_http2','cow_http2_machine','cow_http_hd','cow_http_struct_hd','cow_http_te','cow_iolists','cow_link','cow_mimetypes','cow_multipart','cow_qs','cow_spdy','cow_sse','cow_uri','cow_uri_template','cow_ws']},
{registered, []},
{applications, [kernel,stdlib,crypto]},
{env, []}
diff --git a/src/cow_uri_templates.erl b/src/cow_uri_template.erl
index 32ca07c..eac784f 100644
--- a/src/cow_uri_templates.erl
+++ b/src/cow_uri_template.erl
@@ -15,7 +15,7 @@
%% This is a full level 4 implementation of URI Templates
%% as defined by RFC6570.
--module(cow_uri_templates).
+-module(cow_uri_template).
-export([parse/1]).
-export([expand/2]).