Skip to content

Commit

Permalink
Bump copyrights
Browse files Browse the repository at this point in the history
```
$ git grep -nPi copyright \
      | perl -nE 'print if /copyright/i && /\d{4}/' \
      | awk -F: '{print $1}' \
      | xargs -I {} sh -c 'year=`date +"%Y"`;
                           sed -i -e "/[Cc]opyright/s/\-[[:digit:]]\{4\}/-${year}/; \
			   /[Cc]opyright/s/ [[:digit:]]\{4\}\( \|,\)/ ${year}\1/" {}'
```
  • Loading branch information
ariel-anieli committed Jul 17, 2024
1 parent a54f062 commit d3d690a
Show file tree
Hide file tree
Showing 18 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion COPYING
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2011 Erlware, LLC
Copyright (c) 2024 Erlware, LLC

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
4 changes: 2 additions & 2 deletions include/ec_cmd_log.hrl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% -*- erlang-indent-level: 4; indent-tabs-mode: nil; fill-column: 80 -*-
%%% Copyright 2012 Erlware, LLC. All Rights Reserved.
%%% Copyright 2024 Erlware, LLC. All Rights Reserved.
%%%
%%% This file is provided to you under the Apache License,
%%% Version 2.0 (the "License"); you may not use this file
Expand All @@ -16,7 +16,7 @@
%%% under the License.
%%%---------------------------------------------------------------------------
%%% @author Eric Merritt <[email protected]>
%%% @copyright (C) 2012 Erlware, LLC.
%%% @copyright (C) 2024 Erlware, LLC.

-define(EC_ERROR, 0).
-define(EC_WARN, 1).
Expand Down
2 changes: 1 addition & 1 deletion src/ec_assoc_list.erl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%%% vi:ts=4 sw=4 et
%%%-------------------------------------------------------------------
%%% @author Eric Merritt <[email protected]>
%%% @copyright 2011 Erlware, LLC.
%%% @copyright 2024 Erlware, LLC.
%%% @doc
%%% provides an implementation of ec_dictionary using an association
%%% list as a basy
Expand Down
4 changes: 2 additions & 2 deletions src/ec_cmd_log.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% -*- erlang-indent-level: 4; indent-tabs-mode: nil; fill-column: 80 -*-
%%% Copyright 2012 Erlware, LLC. All Rights Reserved.
%%% Copyright 2024 Erlware, LLC. All Rights Reserved.
%%%
%%% This file is provided to you under the Apache License,
%%% Version 2.0 (the "License"); you may not use this file
Expand All @@ -16,7 +16,7 @@
%%% under the License.
%%%---------------------------------------------------------------------------
%%% @author Eric Merritt <[email protected]>
%%% @copyright (C) 2012 Erlware, LLC.
%%% @copyright (C) 2024 Erlware, LLC.
%%%
%%% @doc This provides simple output functions for command line apps. You should
%%% use this to talk to the users if you are writing code for the system
Expand Down
4 changes: 2 additions & 2 deletions src/ec_cnv.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% -*- erlang-indent-level: 4; indent-tabs-mode: nil; fill-column: 80 -*-
%%% Copyright 2012 Erlware, LLC. All Rights Reserved.
%%% Copyright 2024 Erlware, LLC. All Rights Reserved.
%%%
%%% This file is provided to you under the Apache License,
%%% Version 2.0 (the "License"); you may not use this file
Expand All @@ -16,7 +16,7 @@
%%% under the License.
%%%---------------------------------------------------------------------------
%%% @author Eric Merritt <[email protected]>
%%% @copyright (C) 2012 Erlware, LLC.
%%% @copyright (C) 2024 Erlware, LLC.
%%%
-module(ec_cnv).

Expand Down
2 changes: 1 addition & 1 deletion src/ec_compile.erl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%%%-------------------------------------------------------------------
%%% @author Eric Merritt <>
%%% @copyright (C) 2011, Erlware, LLC.
%%% @copyright (C) 2024, Erlware, LLC.
%%% @doc
%%% These are various utility functions to help with compiling and
%%% decompiling erlang source. They are mostly useful to the
Expand Down
2 changes: 1 addition & 1 deletion src/ec_dict.erl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%%% vi:ts=4 sw=4 et
%%%-------------------------------------------------------------------
%%% @author Eric Merritt <[email protected]>
%%% @copyright 2011 Erlware, LLC.
%%% @copyright 2024 Erlware, LLC.
%%% @doc
%%% This provides an implementation of the ec_dictionary type using
%%% erlang dicts as a base. The function documentation for
Expand Down
2 changes: 1 addition & 1 deletion src/ec_dictionary.erl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%%% vi:ts=4 sw=4 et
%%%-------------------------------------------------------------------
%%% @author Eric Merritt <[email protected]>
%%% @copyright 2011 Erlware, LLC.
%%% @copyright 2024 Erlware, LLC.
%%% @doc
%%% A module that supports association of keys to values. A map cannot
%%% contain duplicate keys; each key can map to at most one value.
Expand Down
2 changes: 1 addition & 1 deletion src/ec_file.erl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%%% vi:ts=4 sw=4 et
%%%-------------------------------------------------------------------
%%% @copyright (C) 2011, Erlware LLC
%%% @copyright (C) 2024, Erlware LLC
%%% @doc
%%% Helper functions for working with files.
%%% @end
Expand Down
2 changes: 1 addition & 1 deletion src/ec_gb_trees.erl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%%% vi:ts=4 sw=4 et
%%%-------------------------------------------------------------------
%%% @author Eric Merritt <[email protected]>
%%% @copyright 2011 Erlware, LLC.
%%% @copyright 2024 Erlware, LLC.
%%% @doc
%%% This provides an implementation of the type ec_dictionary using
%%% gb_trees as a backin
Expand Down
2 changes: 1 addition & 1 deletion src/ec_git_vsn.erl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%%% vi:ts=4 sw=4 et
%%%-------------------------------------------------------------------
%%% @author Eric Merritt <[email protected]>
%%% @copyright 2011 Erlware, LLC.
%%% @copyright 2024 Erlware, LLC.
%%% @doc
%%% This provides an implementation of the ec_vsn for git. That is
%%% it is capable of returning a semver for a git repository
Expand Down
2 changes: 1 addition & 1 deletion src/ec_lists.erl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%%% vi:ts=4 sw=4 et
%%%-------------------------------------------------------------------
%%% @copyright (C) 2011, Erlware LLC
%%% @copyright (C) 2024, Erlware LLC
%%% @doc
%%% Provides useful functionionality on standard lists that are
%%% not provided in the standard library.
Expand Down
2 changes: 1 addition & 1 deletion src/ec_orddict.erl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%%% vi:ts=4 sw=4 et
%%%-------------------------------------------------------------------
%%% @author Eric Merritt <[email protected]>
%%% @copyright 2011 Erlware, LLC.
%%% @copyright 2024 Erlware, LLC.
%%% @doc
%%% This provides an implementation of the ec_dictionary type using
%%% erlang orddicts as a base. The function documentation for
Expand Down
4 changes: 2 additions & 2 deletions src/ec_plists.erl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
%%% vi:ts=4 sw=4 et
%%% The MIT License
%%%
%%% Copyright (c) 2007 Stephen Marsh
%%% Copyright (c) 2024 Stephen Marsh
%%%
%%% Permission is hereby granted, free of charge, to any person obtaining a copy
%%% of this software and associated documentation files (the "Software"), to deal
Expand All @@ -23,7 +23,7 @@
%%% THE SOFTWARE.
%%%---------------------------------------------------------------------------
%%% @author Stephen Marsh
%%% @copyright 2007 Stephen Marsh freeyourmind ++ [$@|gmail.com]
%%% @copyright 2024 Stephen Marsh freeyourmind ++ [$@|gmail.com]
%%% @doc
%%% plists is a drop-in replacement for module <a
%%% href="http://www.erlang.org/doc/man/lists.html">lists</a>, making
Expand Down
4 changes: 2 additions & 2 deletions src/ec_rbdict.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%% vi:ts=4 sw=4 et
%%% Copyright (c) 2008 Robert Virding. All rights reserved.
%%% Copyright (c) 2024 Robert Virding. All rights reserved.
%%%
%%% Redistribution and use in source and binary forms, with or without
%%% modification, are permitted provided that the following conditions
Expand All @@ -24,7 +24,7 @@
%%% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
%%% POSSIBILITY OF SUCH DAMAGE.
%%%-------------------------------------------------------------------
%%% @copyright 2008 Robert Verding
%%% @copyright 2024 Robert Verding
%%%
%%% @doc
%%%
Expand Down
2 changes: 1 addition & 1 deletion src/ec_semver.erl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%%% vi:ts=4 sw=4 et
%%%-------------------------------------------------------------------
%%% @copyright (C) 2011, Erlware LLC
%%% @copyright (C) 2024, Erlware LLC
%%% @doc
%%% Helper functions for working with semver versioning strings.
%%% See http://semver.org/ for the spec.
Expand Down
2 changes: 1 addition & 1 deletion src/ec_talk.erl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
%%% Provides the ability to ask questions of the user and
%%% get a response.
%%% @end
%%% @copyright Erlware 2006-2011
%%% @copyright Erlware 2006-2024
%%%---------------------------------------------------------------------------
-module(ec_talk).

Expand Down
2 changes: 1 addition & 1 deletion src/ec_vsn.erl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%%% vi:ts=4 sw=4 et
%%%-------------------------------------------------------------------
%%% @author Eric Merritt <[email protected]>
%%% @copyright 2014 Erlware, LLC.
%%% @copyright 2024 Erlware, LLC.
%%% @doc
%%% Provides a signature to manage returning semver formatted versions
%%% from various version control repositories.
Expand Down

0 comments on commit d3d690a

Please sign in to comment.