copyright-header 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/copyright_header/parser.rb +1 -1
- data/lib/copyright_header/version.rb +1 -1
- metadata +37 -51
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 097a7e0830e9409e5ecf07ca99671ba4b91611d1
|
|
4
|
+
data.tar.gz: cc46531f644ec0d986b4ef60c2354a1545458805
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 150c3aadb51fbed942e1a9a182a47496ecde3ee52e517d7bef72d2ab2c58f7f65566cf797b050109e353f565c28f68040067ae1e5ceea7341935935a2a7b348d
|
|
7
|
+
data.tar.gz: e9e49422d345639295f0f3d6f3cf558918b50c3c2104a30375a574f48603bf149f94bb8354a37acbcb348a9e7ffa8bf033bfa48c8546738c9db0e37d4c2a1715
|
|
@@ -252,7 +252,7 @@ module CopyrightHeader
|
|
|
252
252
|
dir = "#{@options[:output_dir]}/#{File.dirname(file).gsub(/^\/+/, '')}"
|
|
253
253
|
STDERR.puts "UPDATE #{file} [output-dir #{dir}]"
|
|
254
254
|
FileUtils.mkpath dir unless File.directory?(dir)
|
|
255
|
-
output_path = @options[:output_dir] + file
|
|
255
|
+
output_path = @options[:output_dir] + "/" + file
|
|
256
256
|
f =File.new(output_path, 'w')
|
|
257
257
|
f.write(contents)
|
|
258
258
|
f.close
|
metadata
CHANGED
|
@@ -1,49 +1,42 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: copyright-header
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
segments:
|
|
6
|
-
- 1
|
|
7
|
-
- 0
|
|
8
|
-
- 12
|
|
9
|
-
version: 1.0.12
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.13
|
|
10
5
|
platform: ruby
|
|
11
|
-
authors:
|
|
6
|
+
authors:
|
|
12
7
|
- Erik Osterman
|
|
13
8
|
autorequire:
|
|
14
9
|
bindir: bin
|
|
15
10
|
cert_chain: []
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
dependencies:
|
|
20
|
-
- !ruby/object:Gem::Dependency
|
|
11
|
+
date: 2014-06-18 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
21
14
|
name: github-linguist
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
requirements:
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
25
17
|
- - ~>
|
|
26
|
-
- !ruby/object:Gem::Version
|
|
27
|
-
segments:
|
|
28
|
-
- 2
|
|
29
|
-
- 6
|
|
30
|
-
- 7
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
31
19
|
version: 2.6.7
|
|
32
20
|
type: :runtime
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ~>
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: 2.6.7
|
|
27
|
+
description: A utility which is able to recursively insert and remove copyright headers
|
|
28
|
+
from source code files based on file extensions.
|
|
29
|
+
email:
|
|
36
30
|
- e@osterman.com
|
|
37
|
-
executables:
|
|
31
|
+
executables:
|
|
38
32
|
- copyright-header
|
|
39
33
|
extensions: []
|
|
40
|
-
|
|
41
|
-
extra_rdoc_files:
|
|
34
|
+
extra_rdoc_files:
|
|
42
35
|
- README.md
|
|
43
36
|
- LICENSE
|
|
44
37
|
- AUTHORS
|
|
45
38
|
- contrib/syntax.yml
|
|
46
|
-
files:
|
|
39
|
+
files:
|
|
47
40
|
- .gitignore
|
|
48
41
|
- AUTHORS
|
|
49
42
|
- Gemfile
|
|
@@ -64,35 +57,28 @@ files:
|
|
|
64
57
|
- licenses/BSD-4-CLAUSE.erb
|
|
65
58
|
- licenses/GPL3.erb
|
|
66
59
|
- licenses/MIT.erb
|
|
67
|
-
has_rdoc: true
|
|
68
60
|
homepage: https://github.com/osterman/copyright-header
|
|
69
|
-
licenses:
|
|
61
|
+
licenses:
|
|
70
62
|
- GPL-3
|
|
63
|
+
metadata: {}
|
|
71
64
|
post_install_message:
|
|
72
65
|
rdoc_options: []
|
|
73
|
-
|
|
74
|
-
require_paths:
|
|
66
|
+
require_paths:
|
|
75
67
|
- lib
|
|
76
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
|
-
requirements:
|
|
78
|
-
- -
|
|
79
|
-
- !ruby/object:Gem::Version
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
- !ruby/object:Gem::Version
|
|
87
|
-
segments:
|
|
88
|
-
- 0
|
|
89
|
-
version: "0"
|
|
68
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
69
|
+
requirements:
|
|
70
|
+
- - '>='
|
|
71
|
+
- !ruby/object:Gem::Version
|
|
72
|
+
version: '0'
|
|
73
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
|
+
requirements:
|
|
75
|
+
- - '>='
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: '0'
|
|
90
78
|
requirements: []
|
|
91
|
-
|
|
92
79
|
rubyforge_project: copyright-header
|
|
93
|
-
rubygems_version:
|
|
80
|
+
rubygems_version: 2.0.3
|
|
94
81
|
signing_key:
|
|
95
|
-
specification_version:
|
|
82
|
+
specification_version: 4
|
|
96
83
|
summary: A utility to insert copyright headers into various types of source code files
|
|
97
84
|
test_files: []
|
|
98
|
-
|