localization_generator 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,7 @@ class LocalizationGenerator < Rails::Generator::NamedBase
18
18
  m.template "lang.yaml", "lang/#{plural_name}.yaml"
19
19
 
20
20
  m.template "README", "README_#{file_name.upcase}"
21
+ m.file "LICENSE", "LICENSE_#{file_name.upcase}"
21
22
  end
22
23
  end
23
24
  end
data/templates/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2004 Andreas Schwarz
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a
4
+ copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included
12
+ in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.8
3
3
  specification_version: 1
4
4
  name: localization_generator
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.4
6
+ version: 1.0.5
7
7
  date: 2005-04-19
8
8
  summary: "[Rails] Localization generator."
9
9
  require_paths:
@@ -29,6 +29,7 @@ authors:
29
29
  - Joe Hosteny
30
30
  files:
31
31
  - USAGE
32
+ - templates/LICENSE
32
33
  - templates/README
33
34
  - localization_generator.rb
34
35
  - templates/localization.rb