Browse Source

Rename cow_uri_templates to cow_uri_template

Fits better since we are dealing with a single template at a time.
Loïc Hoguin 5 years ago
parent
commit
ea6b482f82
2 changed files with 2 additions and 2 deletions
  1. 1 1
      ebin/cowlib.app
  2. 1 1
      src/cow_uri_template.erl

+ 1 - 1
ebin/cowlib.app

@@ -1,7 +1,7 @@
 {application, 'cowlib', [
 {application, 'cowlib', [
 	{description, "Support library for manipulating Web protocols."},
 	{description, "Support library for manipulating Web protocols."},
 	{vsn, "2.8.0"},
 	{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, []},
 	{registered, []},
 	{applications, [kernel,stdlib,crypto]},
 	{applications, [kernel,stdlib,crypto]},
 	{env, []}
 	{env, []}

+ 1 - 1
src/cow_uri_templates.erl → src/cow_uri_template.erl

@@ -15,7 +15,7 @@
 %% This is a full level 4 implementation of URI Templates
 %% This is a full level 4 implementation of URI Templates
 %% as defined by RFC6570.
 %% as defined by RFC6570.
 
 
--module(cow_uri_templates).
+-module(cow_uri_template).
 
 
 -export([parse/1]).
 -export([parse/1]).
 -export([expand/2]).
 -export([expand/2]).