copyright-header 1.0.12 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -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.12"
21
+ VERSION = "1.0.13"
22
22
  end
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
- prerelease: false
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
- date: 2013-11-12 00:00:00 -08:00
18
- default_executable:
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
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
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
- version_requirements: *id001
34
- description: A utility which is able to recursively insert and remove copyright headers from source code files based on file extensions.
35
- email:
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
- segments:
81
- - 0
82
- version: "0"
83
- required_rubygems_version: !ruby/object:Gem::Requirement
84
- requirements:
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: 1.3.6
80
+ rubygems_version: 2.0.3
94
81
  signing_key:
95
- specification_version: 3
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
-