danger-clorox 0.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 99c9aa689fb59ed8d38855f1cf54c693e67b3687
4
+ data.tar.gz: ad581855f505ec8341b292cf47ec8451e482a620
5
+ SHA512:
6
+ metadata.gz: a16eb5f79c13def553f4e2b973f59903f318be85de34e59c379bbd1760dcb5f3351933cf2178230387f4134dccb2c21662f48c2bed10cb10ab0d3e4bb91bc521
7
+ data.tar.gz: 56c2ec0c04c50c484a8bbac5ee03acb02685c23ee334c1e38ae17588a3bc57b491fb7fd9eefb2be9a4ebb99e1e5aea33a18fb2246a9ed236ec08bea40e3b2369
data/.gitignore ADDED
@@ -0,0 +1,50 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ ## Specific to RubyMotion:
17
+ .dat*
18
+ .repl_history
19
+ build/
20
+ *.bridgesupport
21
+ build-iPhoneOS/
22
+ build-iPhoneSimulator/
23
+
24
+ ## Specific to RubyMotion (use of CocoaPods):
25
+ #
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
+ #
30
+ # vendor/Pods/
31
+
32
+ ## Documentation cache and generated files:
33
+ /.yardoc/
34
+ /_yardoc/
35
+ /doc/
36
+ /rdoc/
37
+
38
+ ## Environment normalization:
39
+ /.bundle/
40
+ /vendor/bundle
41
+ /lib/bundler/man/
42
+
43
+ # for a library or gem, you might want to ignore these files since the code is
44
+ # intended to run in multiple environments; otherwise, check them in:
45
+ # Gemfile.lock
46
+ # .ruby-version
47
+ # .ruby-gemset
48
+
49
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
+ .rvmrc
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-2.0.0-p247
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development do
6
+ gem 'mocha'
7
+ gem 'bacon'
8
+ gem 'mocha-on-bacon'
9
+ gem 'prettybacon'
10
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,113 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ danger-swiftlint (0.0.1)
5
+ danger
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.4.0)
11
+ bacon (1.2.0)
12
+ claide (1.0.0)
13
+ coderay (1.1.1)
14
+ colored (1.2)
15
+ cork (0.1.0)
16
+ colored (~> 1.2)
17
+ danger (0.8.4)
18
+ claide (~> 1.0)
19
+ colored (~> 1.2)
20
+ cork (~> 0.1)
21
+ faraday (~> 0)
22
+ git (~> 1)
23
+ octokit (~> 4.2)
24
+ redcarpet (~> 3.3)
25
+ terminal-table (~> 1)
26
+ diff-lcs (1.2.5)
27
+ faraday (0.9.2)
28
+ multipart-post (>= 1.2, < 3)
29
+ ffi (1.9.10)
30
+ formatador (0.2.5)
31
+ git (1.3.0)
32
+ guard (2.14.0)
33
+ formatador (>= 0.2.4)
34
+ listen (>= 2.7, < 4.0)
35
+ lumberjack (~> 1.0)
36
+ nenv (~> 0.1)
37
+ notiffany (~> 0.0)
38
+ pry (>= 0.9.12)
39
+ shellany (~> 0.0)
40
+ thor (>= 0.18.1)
41
+ guard-compat (1.2.1)
42
+ guard-rspec (4.7.2)
43
+ guard (~> 2.1)
44
+ guard-compat (~> 1.1)
45
+ rspec (>= 2.99.0, < 4.0)
46
+ listen (3.0.7)
47
+ rb-fsevent (>= 0.9.3)
48
+ rb-inotify (>= 0.9.7)
49
+ lumberjack (1.0.10)
50
+ metaclass (0.0.4)
51
+ method_source (0.8.2)
52
+ mocha (1.1.0)
53
+ metaclass (~> 0.0.1)
54
+ mocha-on-bacon (0.2.2)
55
+ mocha (>= 0.13.0)
56
+ multipart-post (2.0.0)
57
+ nenv (0.3.0)
58
+ notiffany (0.1.0)
59
+ nenv (~> 0.1)
60
+ shellany (~> 0.0)
61
+ octokit (4.3.0)
62
+ sawyer (~> 0.7.0, >= 0.5.3)
63
+ prettybacon (0.0.2)
64
+ bacon (~> 1.2)
65
+ pry (0.10.3)
66
+ coderay (~> 1.1.0)
67
+ method_source (~> 0.8.1)
68
+ slop (~> 3.4)
69
+ rake (10.5.0)
70
+ rb-fsevent (0.9.7)
71
+ rb-inotify (0.9.7)
72
+ ffi (>= 0.5.0)
73
+ redcarpet (3.3.4)
74
+ rspec (3.5.0)
75
+ rspec-core (~> 3.5.0)
76
+ rspec-expectations (~> 3.5.0)
77
+ rspec-mocks (~> 3.5.0)
78
+ rspec-core (3.5.0)
79
+ rspec-support (~> 3.5.0)
80
+ rspec-expectations (3.5.0)
81
+ diff-lcs (>= 1.2.0, < 2.0)
82
+ rspec-support (~> 3.5.0)
83
+ rspec-mocks (3.5.0)
84
+ diff-lcs (>= 1.2.0, < 2.0)
85
+ rspec-support (~> 3.5.0)
86
+ rspec-support (3.5.0)
87
+ sawyer (0.7.0)
88
+ addressable (>= 2.3.5, < 2.5)
89
+ faraday (~> 0.8, < 0.10)
90
+ shellany (0.0.1)
91
+ slop (3.6.0)
92
+ terminal-table (1.6.0)
93
+ thor (0.19.1)
94
+
95
+ PLATFORMS
96
+ ruby
97
+
98
+ DEPENDENCIES
99
+ bacon
100
+ bundler (~> 1.3)
101
+ danger-swiftlint!
102
+ guard (~> 2.14)
103
+ guard-rspec (~> 4.7)
104
+ listen (= 3.0.7)
105
+ mocha
106
+ mocha-on-bacon
107
+ prettybacon
108
+ pry
109
+ rake (~> 10.0)
110
+ rspec (~> 3.4)
111
+
112
+ BUNDLED WITH
113
+ 1.12.5
data/Guardfile ADDED
@@ -0,0 +1,21 @@
1
+ # A guardfile for making Danger Plugins
2
+ # For more info see https://github.com/guard/guard#readme
3
+
4
+ # To run, use `bundle exec guard`.
5
+
6
+ guard :rspec, cmd: "bundle exec rspec" do
7
+ require "guard/rspec/dsl"
8
+ dsl = Guard::RSpec::Dsl.new(self)
9
+
10
+ # Feel free to open issues for suggestions and improvements
11
+
12
+ # RSpec files
13
+ rspec = dsl.rspec
14
+ watch(rspec.spec_helper) { rspec.spec_dir }
15
+ watch(rspec.spec_support) { rspec.spec_dir }
16
+ watch(rspec.spec_files)
17
+
18
+ # Ruby files
19
+ ruby = dsl.ruby
20
+ dsl.watch_spec_files_for(ruby.lib_files)
21
+ end
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Ash Furrow
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # Danger Clorox
2
+
3
+ A [Danger](https://github.com/danger/danger) plugin for [Clorox](https://github.com/barbosa/clorox) that runs on macOS.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your Gemfile:
8
+
9
+ ```rb
10
+ gem 'danger-clorox'
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ The easiest way to use is just add this to your Dangerfile:
16
+
17
+ ```rb
18
+ clorox.check_files
19
+ ```
20
+
21
+ ## Attribution
22
+
23
+ Original structure, sequence, and organization of repo taken from [danger-prose](https://github.com/dbgrandi/danger-prose) by [David Grandinetti](https://github.com/dbgrandi/).
24
+
25
+ ## License
26
+
27
+ MIT
data/Rakefile ADDED
@@ -0,0 +1,13 @@
1
+ require 'bundler/gem_tasks'
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
7
+
8
+ task :spec do
9
+ Rake::Task['specs'].invoke
10
+ end
11
+
12
+ task :default => :spec
13
+
@@ -0,0 +1,42 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'danger-clorox'
8
+ spec.version = DangerClorox::VERSION
9
+ spec.authors = ['Gustavo Barbosa']
10
+ spec.email = ['gustavocsb@gmail.com']
11
+ spec.description = %q{A Danger plugin for checking presence of file header comments.}
12
+ spec.summary = spec.description
13
+ spec.homepage = 'https://github.com/barbosa/danger-clorox'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ['lib']
19
+
20
+ spec.add_dependency 'danger'
21
+
22
+ # General ruby development
23
+ spec.add_development_dependency 'bundler', '~> 1.3'
24
+ spec.add_development_dependency 'rake', '~> 10.0'
25
+
26
+ # Testing support
27
+ spec.add_development_dependency "rspec", '~> 3.4'
28
+
29
+ # Makes testing easy via `bundle exec guard`
30
+ spec.add_development_dependency "guard", '~> 2.14'
31
+ spec.add_development_dependency "guard-rspec", '~> 4.7'
32
+
33
+ # If you want to work on older builds of ruby
34
+ spec.add_development_dependency "listen", '3.0.7'
35
+
36
+ # This gives you the chance to run a REPL inside your test
37
+ # via
38
+ # binding.pry
39
+ # This will stop test execution and let you inspect the results
40
+ spec.add_development_dependency "pry"
41
+
42
+ end
@@ -0,0 +1,60 @@
1
+ module Danger
2
+
3
+
4
+ class DangerClorox < Plugin
5
+
6
+ # Checks presence of file header comments. Will fail if `clorox` cannot be installed correctly.
7
+ # Generates a `markdown` list of dirty Objective-C and Swift files
8
+ #
9
+ # @param [String] files
10
+ # A globbed string which should return the files that you want to check, defaults to nil.
11
+ # if nil, modified and added files from the diff will be used.
12
+ # @return [void]
13
+ #
14
+ def check_files(files=nil)
15
+ # Installs clorox if needed
16
+ system "pip install --target /tmp/danger_clorox clorox" unless clorox_installed?
17
+
18
+ # Check that this is in the user's PATH after installing
19
+ unless clorox_installed?
20
+ fail "clorox is not in the user's PATH, or it failed to install"
21
+ return
22
+ end
23
+
24
+ # Either use files provided, or use the modified + added
25
+ files = files ? Dir.glob(files) : (git.modified_files + git.added_files).uniq
26
+
27
+ require 'json'
28
+ result = JSON.parse(`python /tmp/danger_clorox/clorox/clorox.py -p #{files.join(" ")} -i -r json`)
29
+
30
+ message = ''
31
+ if result['status'] == 'dirty'
32
+ message = "### Clorox has found issues\n"
33
+ message << "Please, remove the header from the files below (those comments on the top of your file):\n\n"
34
+ message << parse_results(result['files'])
35
+ markdown message
36
+ end
37
+ end
38
+
39
+ # Parses clorox invocation results into a string
40
+ # which is formatted as a markdown table.
41
+ #
42
+ # @return [String]
43
+ #
44
+ def parse_results(results)
45
+ message = ""
46
+ results.each do |r|
47
+ message << "- #{r} :hankey:\n"
48
+ end
49
+
50
+ message
51
+ end
52
+
53
+ # Determine if clorox is currently installed in the system paths.
54
+ # @return [Bool]
55
+ #
56
+ def clorox_installed?
57
+ Dir.exists? "/tmp/danger_clorox"
58
+ end
59
+ end
60
+ end
data/lib/version.rb ADDED
@@ -0,0 +1,3 @@
1
+ module DangerClorox
2
+ VERSION = "0.0.1".freeze
3
+ end
@@ -0,0 +1,62 @@
1
+ require File.expand_path('../spec_helper', __FILE__)
2
+
3
+ module Danger
4
+ describe DangerClorox do
5
+ it 'is a plugin' do
6
+ expect(Danger::DangerClorox < Danger::Plugin).to be_truthy
7
+ end
8
+
9
+ describe 'with Dangerfile' do
10
+ before do
11
+ @dangerfile = testing_dangerfile
12
+ @clorox = testing_dangerfile.clorox
13
+ end
14
+
15
+ it "handles clorox not being installed" do
16
+ allow(@clorox).to receive(:`).with("which clorox").and_return("")
17
+ expect(@clorox.clorox_installed?).to be_falsy
18
+ end
19
+
20
+ it "handles clorox being installed" do
21
+ allow(@clorox).to receive(:`).with("which clorox").and_return("/bin/wherever/clorox")
22
+ expect(@clorox.clorox_installed?).to be_truthy
23
+ end
24
+
25
+ describe :lint_files do
26
+ before do
27
+ # So it doesn't try to install on your computer
28
+ allow(@clorox).to receive(:`).with("which clorox").and_return("/bin/wheverever/clorox")
29
+
30
+ # Set up our stubbed JSON response
31
+ @clorox_response = '[{"reason": "Force casts should be avoided.", "file": "/User/me/this_repo/spec/fixtures/SwiftFile.swift", "line": 13, "severity": "Error" }]'
32
+ end
33
+
34
+ it 'handles a known Clorox report' do
35
+ allow(@clorox).to receive(:`).with('clorox lint --quiet --reporter json --path spec/fixtures/SwiftFile.swift').and_return(@clorox_response)
36
+
37
+ # Do it
38
+ @clorox.lint_files("spec/fixtures/*.swift")
39
+
40
+ output = @clorox.status_report[:markdowns].first
41
+
42
+ expect(output).to_not be_empty
43
+
44
+ # A title
45
+ expect(output).to include("Clorox found issues")
46
+ # A warning
47
+ expect(output).to include("SwiftFile.swift | 13 | Force casts should be avoided.")
48
+ end
49
+
50
+ it 'handles no files' do
51
+ allow(@clorox).to receive(:modified_files).and_return('spec/fixtures/SwiftFile.swift')
52
+ allow(@clorox).to receive(:`).with('clorox lint --quiet --reporter json --path spec/fixtures/SwiftFile.swift').and_return(@clorox_response)
53
+
54
+ @clorox.lint_files("spec/fixtures/*.swift")
55
+
56
+ expect(@clorox.status_report[:markdowns].first).to_not be_empty
57
+ end
58
+
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1 @@
1
+ // This file intentional left blank-ish.
@@ -0,0 +1,43 @@
1
+ require 'pathname'
2
+
3
+ ROOT = Pathname.new(File.expand_path('../../', __FILE__))
4
+ $:.unshift((ROOT + 'lib').to_s)
5
+ $:.unshift((ROOT + 'spec').to_s)
6
+
7
+ RSpec.configure do |config|
8
+ # Use color in STDOUT
9
+ config.color = true
10
+ end
11
+
12
+ require 'bundler/setup'
13
+ require 'pry'
14
+
15
+ require 'danger'
16
+ require 'cork'
17
+ require 'danger_plugin'
18
+
19
+ # These functions are a subset of https://github.com/danger/danger/blob/master/spec/spec_helper.rb
20
+ # If you are expanding these files, see if it's already been done ^.
21
+
22
+ # A silent version of the user interface
23
+ def testing_ui
24
+ Cork::Board.new(silent: true)
25
+ end
26
+
27
+ # Example environment (ENV) that would come from
28
+ # running a PR on TravisCI
29
+ def testing_env
30
+ {
31
+ "HAS_JOSH_K_SEAL_OF_APPROVAL" => "true",
32
+ "TRAVIS_PULL_REQUEST" => "800",
33
+ "TRAVIS_REPO_SLUG" => "artsy/eigen",
34
+ "TRAVIS_COMMIT_RANGE" => "759adcbd0d8f...13c4dc8bb61d",
35
+ "DANGER_GITHUB_API_TOKEN" => "123sbdq54erfsd3422gdfio"
36
+ }
37
+ end
38
+
39
+ # A stubbed out Dangerfile for use in tests
40
+ def testing_dangerfile
41
+ env = Danger::EnvironmentManager.new(testing_env)
42
+ Danger::Dangerfile.new(env, testing_ui)
43
+ end
metadata ADDED
@@ -0,0 +1,174 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: danger-clorox
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Gustavo Barbosa
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-08-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: danger
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.4'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '3.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '2.14'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '2.14'
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard-rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '4.7'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: '4.7'
97
+ - !ruby/object:Gem::Dependency
98
+ name: listen
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '='
102
+ - !ruby/object:Gem::Version
103
+ version: 3.0.7
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 3.0.7
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: A Danger plugin for checking presence of file header comments.
126
+ email:
127
+ - gustavocsb@gmail.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - .gitignore
133
+ - .ruby-version
134
+ - Gemfile
135
+ - Gemfile.lock
136
+ - Guardfile
137
+ - LICENSE
138
+ - README.md
139
+ - Rakefile
140
+ - danger-clorox.gemspec
141
+ - lib/danger_plugin.rb
142
+ - lib/version.rb
143
+ - spec/danger_plugin_spec.rb
144
+ - spec/fixtures/SwiftFile.swift
145
+ - spec/spec_helper.rb
146
+ homepage: https://github.com/barbosa/danger-clorox
147
+ licenses:
148
+ - MIT
149
+ metadata: {}
150
+ post_install_message:
151
+ rdoc_options: []
152
+ require_paths:
153
+ - lib
154
+ required_ruby_version: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - '>='
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ required_rubygems_version: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - '>='
162
+ - !ruby/object:Gem::Version
163
+ version: '0'
164
+ requirements: []
165
+ rubyforge_project:
166
+ rubygems_version: 2.0.3
167
+ signing_key:
168
+ specification_version: 4
169
+ summary: A Danger plugin for checking presence of file header comments.
170
+ test_files:
171
+ - spec/danger_plugin_spec.rb
172
+ - spec/fixtures/SwiftFile.swift
173
+ - spec/spec_helper.rb
174
+ has_rdoc: