copyright-header 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- CopyrightHeader
1
+ Copyright Header
2
2
  ===============
3
3
 
4
4
 
@@ -36,6 +36,11 @@ Remove the header created in the previous step (without --dry-run argument):
36
36
 
37
37
  copyright-header --remove-path /tmp/test.rb --license GPL3 --dry-run
38
38
 
39
+ Command used to generate copyright headers for this script:
40
+
41
+ copyright-header --license GPL3 --add lib/ --copyright-holder 'Erik Osterman <e@osterman.com>' --copyright-software 'Copyright Header' --copyright-software-description "A utility to manipulate copyright headers on source code files" --copyright-year 2012 --word-wrap 100 --output-dir ./
42
+
43
+
39
44
  Paths can be either files or directories. It will recursively traverse the directory tree ignoring all dot files.
40
45
 
41
46
  You can specify an alternative syntax configuration file using the --syntax argument.
@@ -10,7 +10,7 @@
10
10
  # the Free Software Foundation, either version 3 of the License, or
11
11
  # (at your option) any later version.
12
12
  #
13
- # Foobar is distributed in the hope that it will be useful,
13
+ # Copyright Header is distributed in the hope that it will be useful,
14
14
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
15
15
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
16
  # GNU General Public License for more details.
@@ -9,7 +9,7 @@
9
9
  # the Free Software Foundation, either version 3 of the License, or
10
10
  # (at your option) any later version.
11
11
  #
12
- # Foobar is distributed in the hope that it will be useful,
12
+ # Copyright Header is distributed in the hope that it will be useful,
13
13
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
14
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
15
  # GNU General Public License for more details.
@@ -9,7 +9,7 @@
9
9
  # the Free Software Foundation, either version 3 of the License, or
10
10
  # (at your option) any later version.
11
11
  #
12
- # Foobar is distributed in the hope that it will be useful,
12
+ # Copyright Header is distributed in the hope that it will be useful,
13
13
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
14
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
15
  # GNU General Public License for more details.
@@ -127,4 +127,4 @@ module CopyrightHeader
127
127
  @parser.execute
128
128
  end
129
129
  end
130
- end
130
+ end
@@ -9,7 +9,7 @@
9
9
  # the Free Software Foundation, either version 3 of the License, or
10
10
  # (at your option) any later version.
11
11
  #
12
- # Foobar is distributed in the hope that it will be useful,
12
+ # Copyright Header is distributed in the hope that it will be useful,
13
13
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
14
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
15
  # GNU General Public License for more details.
@@ -247,4 +247,4 @@ module CopyrightHeader
247
247
  end
248
248
  end
249
249
  end
250
- end
250
+ end
@@ -9,7 +9,7 @@
9
9
  # the Free Software Foundation, either version 3 of the License, or
10
10
  # (at your option) any later version.
11
11
  #
12
- # Foobar is distributed in the hope that it will be useful,
12
+ # Copyright Header is distributed in the hope that it will be useful,
13
13
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
14
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
15
  # GNU General Public License for more details.
@@ -18,5 +18,5 @@
18
18
  # along with Copyright Header. If not, see <http://www.gnu.org/licenses/>.
19
19
  #
20
20
  module CopyrightHeader
21
- VERSION = "1.0.1"
21
+ VERSION = "1.0.2"
22
22
  end
@@ -8,7 +8,7 @@ it under the terms of the GNU General Public License as published by
8
8
  the Free Software Foundation, either version 3 of the License, or
9
9
  (at your option) any later version.
10
10
 
11
- Foobar is distributed in the hope that it will be useful,
11
+ <%=copyright_software%> is distributed in the hope that it will be useful,
12
12
  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
13
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
14
  GNU General Public License for more details.
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 1
9
- version: 1.0.1
8
+ - 2
9
+ version: 1.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Erik Osterman