aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-09-22 17:34:01 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-09-22 17:34:01 +0000
commita5fde9987360988d92eb9f1eeba2ffcbc5752c1f (patch)
treedc0ac5f370f232421f8a9eb8c2417ae46986f9f6 /railties/lib/rails_generator
parent6203d4574ca744215094bec97c5786bd047236d5 (diff)
downloadrails-a5fde9987360988d92eb9f1eeba2ffcbc5752c1f.tar.gz
rails-a5fde9987360988d92eb9f1eeba2ffcbc5752c1f.tar.bz2
rails-a5fde9987360988d92eb9f1eeba2ffcbc5752c1f.zip
Plugin license and README should use a dynamic year (closes #9329) [bscofield]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator')
-rw-r--r--railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE2
-rw-r--r--railties/lib/rails_generator/generators/components/plugin/templates/README2
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE b/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE
index 570ecf8706..8717df053d 100644
--- a/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE
+++ b/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2007 [name of plugin creator]
+Copyright (c) <%= Date.today.year %> [name of plugin creator]
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/railties/lib/rails_generator/generators/components/plugin/templates/README b/railties/lib/rails_generator/generators/components/plugin/templates/README
index 0a3378f1b9..702db07cb1 100644
--- a/railties/lib/rails_generator/generators/components/plugin/templates/README
+++ b/railties/lib/rails_generator/generators/components/plugin/templates/README
@@ -10,4 +10,4 @@ Example
Example goes here.
-Copyright (c) 2007 [name of plugin creator], released under the MIT license
+Copyright (c) <%= Date.today.year %> [name of plugin creator], released under the MIT license