grafeas 0.0.1 → 0.1.0
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 +4 -4
- data/.yardopts +11 -0
- data/AUTHENTICATION.md +199 -0
- data/LICENSE +201 -0
- data/README.md +55 -25
- data/lib/grafeas.rb +151 -2
- data/lib/grafeas/v1.rb +155 -0
- data/lib/grafeas/v1/attestation_pb.rb +27 -0
- data/lib/grafeas/v1/build_pb.rb +23 -0
- data/lib/grafeas/v1/common_pb.rb +34 -0
- data/lib/grafeas/v1/credentials.rb +37 -0
- data/lib/grafeas/v1/cvss_pb.rb +67 -0
- data/lib/grafeas/v1/deployment_pb.rb +35 -0
- data/lib/grafeas/v1/discovery_pb.rb +40 -0
- data/lib/grafeas/v1/doc/google/protobuf/any.rb +131 -0
- data/lib/grafeas/v1/doc/google/protobuf/empty.rb +29 -0
- data/lib/grafeas/v1/doc/google/protobuf/field_mask.rb +222 -0
- data/lib/grafeas/v1/doc/google/protobuf/timestamp.rb +113 -0
- data/lib/grafeas/v1/doc/google/rpc/status.rb +87 -0
- data/lib/grafeas/v1/doc/grafeas/v1/attestation.rb +64 -0
- data/lib/grafeas/v1/doc/grafeas/v1/build.rb +44 -0
- data/lib/grafeas/v1/doc/grafeas/v1/common.rb +105 -0
- data/lib/grafeas/v1/doc/grafeas/v1/cvss.rb +104 -0
- data/lib/grafeas/v1/doc/grafeas/v1/deployment.rb +64 -0
- data/lib/grafeas/v1/doc/grafeas/v1/discovery.rb +76 -0
- data/lib/grafeas/v1/doc/grafeas/v1/grafeas.rb +322 -0
- data/lib/grafeas/v1/doc/grafeas/v1/image.rb +79 -0
- data/lib/grafeas/v1/doc/grafeas/v1/package.rb +125 -0
- data/lib/grafeas/v1/doc/grafeas/v1/provenance.rb +248 -0
- data/lib/grafeas/v1/doc/grafeas/v1/vulnerability.rb +214 -0
- data/lib/grafeas/v1/grafeas_client.rb +961 -0
- data/lib/grafeas/v1/grafeas_client_config.json +96 -0
- data/lib/grafeas/v1/grafeas_pb.rb +163 -0
- data/lib/grafeas/v1/grafeas_services_pb.rb +86 -0
- data/lib/grafeas/v1/image_pb.rb +36 -0
- data/lib/grafeas/v1/package_pb.rb +59 -0
- data/lib/grafeas/v1/provenance_pb.rb +116 -0
- data/lib/grafeas/v1/vulnerability_pb.rb +81 -0
- data/lib/grafeas/version.rb +16 -1
- metadata +111 -31
- data/.gitignore +0 -8
- data/.travis.yml +0 -5
- data/Gemfile +0 -6
- data/Gemfile.lock +0 -22
- data/LICENSE.txt +0 -21
- data/Rakefile +0 -10
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/grafeas.gemspec +0 -26
@@ -0,0 +1,81 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: grafeas/v1/vulnerability.proto
|
3
|
+
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'grafeas/v1/common_pb'
|
8
|
+
require 'grafeas/v1/cvss_pb'
|
9
|
+
require 'grafeas/v1/package_pb'
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_message "grafeas.v1.VulnerabilityNote" do
|
12
|
+
optional :cvss_score, :float, 1
|
13
|
+
optional :severity, :enum, 2, "grafeas.v1.Severity"
|
14
|
+
repeated :details, :message, 3, "grafeas.v1.VulnerabilityNote.Detail"
|
15
|
+
optional :cvss_v3, :message, 4, "grafeas.v1.CVSSv3"
|
16
|
+
repeated :windows_details, :message, 5, "grafeas.v1.VulnerabilityNote.WindowsDetail"
|
17
|
+
end
|
18
|
+
add_message "grafeas.v1.VulnerabilityNote.Detail" do
|
19
|
+
optional :severity_name, :string, 1
|
20
|
+
optional :description, :string, 2
|
21
|
+
optional :package_type, :string, 3
|
22
|
+
optional :affected_cpe_uri, :string, 4
|
23
|
+
optional :affected_package, :string, 5
|
24
|
+
optional :affected_version_start, :message, 6, "grafeas.v1.Version"
|
25
|
+
optional :affected_version_end, :message, 7, "grafeas.v1.Version"
|
26
|
+
optional :fixed_cpe_uri, :string, 8
|
27
|
+
optional :fixed_package, :string, 9
|
28
|
+
optional :fixed_version, :message, 10, "grafeas.v1.Version"
|
29
|
+
optional :is_obsolete, :bool, 11
|
30
|
+
end
|
31
|
+
add_message "grafeas.v1.VulnerabilityNote.WindowsDetail" do
|
32
|
+
optional :cpe_uri, :string, 1
|
33
|
+
optional :name, :string, 2
|
34
|
+
optional :description, :string, 3
|
35
|
+
repeated :fixing_kbs, :message, 4, "grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase"
|
36
|
+
end
|
37
|
+
add_message "grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase" do
|
38
|
+
optional :name, :string, 1
|
39
|
+
optional :url, :string, 2
|
40
|
+
end
|
41
|
+
add_message "grafeas.v1.VulnerabilityOccurrence" do
|
42
|
+
optional :type, :string, 1
|
43
|
+
optional :severity, :enum, 2, "grafeas.v1.Severity"
|
44
|
+
optional :cvss_score, :float, 3
|
45
|
+
repeated :package_issue, :message, 4, "grafeas.v1.VulnerabilityOccurrence.PackageIssue"
|
46
|
+
optional :short_description, :string, 5
|
47
|
+
optional :long_description, :string, 6
|
48
|
+
repeated :related_urls, :message, 7, "grafeas.v1.RelatedUrl"
|
49
|
+
optional :effective_severity, :enum, 8, "grafeas.v1.Severity"
|
50
|
+
optional :fix_available, :bool, 9
|
51
|
+
end
|
52
|
+
add_message "grafeas.v1.VulnerabilityOccurrence.PackageIssue" do
|
53
|
+
optional :affected_cpe_uri, :string, 1
|
54
|
+
optional :affected_package, :string, 2
|
55
|
+
optional :affected_version, :message, 3, "grafeas.v1.Version"
|
56
|
+
optional :fixed_cpe_uri, :string, 4
|
57
|
+
optional :fixed_package, :string, 5
|
58
|
+
optional :fixed_version, :message, 6, "grafeas.v1.Version"
|
59
|
+
optional :fix_available, :bool, 7
|
60
|
+
end
|
61
|
+
add_enum "grafeas.v1.Severity" do
|
62
|
+
value :SEVERITY_UNSPECIFIED, 0
|
63
|
+
value :MINIMAL, 1
|
64
|
+
value :LOW, 2
|
65
|
+
value :MEDIUM, 3
|
66
|
+
value :HIGH, 4
|
67
|
+
value :CRITICAL, 5
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
module Grafeas
|
72
|
+
module V1
|
73
|
+
VulnerabilityNote = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.VulnerabilityNote").msgclass
|
74
|
+
VulnerabilityNote::Detail = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.VulnerabilityNote.Detail").msgclass
|
75
|
+
VulnerabilityNote::WindowsDetail = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.VulnerabilityNote.WindowsDetail").msgclass
|
76
|
+
VulnerabilityNote::WindowsDetail::KnowledgeBase = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase").msgclass
|
77
|
+
VulnerabilityOccurrence = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.VulnerabilityOccurrence").msgclass
|
78
|
+
VulnerabilityOccurrence::PackageIssue = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.VulnerabilityOccurrence.PackageIssue").msgclass
|
79
|
+
Severity = Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.Severity").enummodule
|
80
|
+
end
|
81
|
+
end
|
data/lib/grafeas/version.rb
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
# Copyright 2019 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
|
1
16
|
module Grafeas
|
2
|
-
VERSION = "0.0.
|
17
|
+
VERSION = "0.1.0".freeze
|
3
18
|
end
|
metadata
CHANGED
@@ -1,79 +1,160 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grafeas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Google LLC
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: google-gax
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.8'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: grpc-google-iam-v1
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.6.9
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.6.9
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.10'
|
20
48
|
type: :development
|
21
49
|
prerelease: false
|
22
50
|
version_requirements: !ruby/object:Gem::Requirement
|
23
51
|
requirements:
|
24
52
|
- - "~>"
|
25
53
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
54
|
+
version: '5.10'
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
56
|
+
name: redcarpet
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
30
58
|
requirements:
|
31
59
|
- - "~>"
|
32
60
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
61
|
+
version: '3.0'
|
34
62
|
type: :development
|
35
63
|
prerelease: false
|
36
64
|
version_requirements: !ruby/object:Gem::Requirement
|
37
65
|
requirements:
|
38
66
|
- - "~>"
|
39
67
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
68
|
+
version: '3.0'
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
70
|
+
name: google-style
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
44
72
|
requirements:
|
45
73
|
- - "~>"
|
46
74
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
75
|
+
version: 1.24.0
|
48
76
|
type: :development
|
49
77
|
prerelease: false
|
50
78
|
version_requirements: !ruby/object:Gem::Requirement
|
51
79
|
requirements:
|
52
80
|
- - "~>"
|
53
81
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
|
56
|
-
|
57
|
-
|
82
|
+
version: 1.24.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.9'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.9'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: yard
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.9'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.9'
|
111
|
+
description: grafeas is the official library for the Grafeas API.
|
112
|
+
email: googleapis-packages@google.com
|
58
113
|
executables: []
|
59
114
|
extensions: []
|
60
115
|
extra_rdoc_files: []
|
61
116
|
files:
|
62
|
-
- ".
|
63
|
-
-
|
64
|
-
-
|
65
|
-
- Gemfile.lock
|
66
|
-
- LICENSE.txt
|
117
|
+
- ".yardopts"
|
118
|
+
- AUTHENTICATION.md
|
119
|
+
- LICENSE
|
67
120
|
- README.md
|
68
|
-
- Rakefile
|
69
|
-
- bin/console
|
70
|
-
- bin/setup
|
71
|
-
- grafeas.gemspec
|
72
121
|
- lib/grafeas.rb
|
122
|
+
- lib/grafeas/v1.rb
|
123
|
+
- lib/grafeas/v1/attestation_pb.rb
|
124
|
+
- lib/grafeas/v1/build_pb.rb
|
125
|
+
- lib/grafeas/v1/common_pb.rb
|
126
|
+
- lib/grafeas/v1/credentials.rb
|
127
|
+
- lib/grafeas/v1/cvss_pb.rb
|
128
|
+
- lib/grafeas/v1/deployment_pb.rb
|
129
|
+
- lib/grafeas/v1/discovery_pb.rb
|
130
|
+
- lib/grafeas/v1/doc/google/protobuf/any.rb
|
131
|
+
- lib/grafeas/v1/doc/google/protobuf/empty.rb
|
132
|
+
- lib/grafeas/v1/doc/google/protobuf/field_mask.rb
|
133
|
+
- lib/grafeas/v1/doc/google/protobuf/timestamp.rb
|
134
|
+
- lib/grafeas/v1/doc/google/rpc/status.rb
|
135
|
+
- lib/grafeas/v1/doc/grafeas/v1/attestation.rb
|
136
|
+
- lib/grafeas/v1/doc/grafeas/v1/build.rb
|
137
|
+
- lib/grafeas/v1/doc/grafeas/v1/common.rb
|
138
|
+
- lib/grafeas/v1/doc/grafeas/v1/cvss.rb
|
139
|
+
- lib/grafeas/v1/doc/grafeas/v1/deployment.rb
|
140
|
+
- lib/grafeas/v1/doc/grafeas/v1/discovery.rb
|
141
|
+
- lib/grafeas/v1/doc/grafeas/v1/grafeas.rb
|
142
|
+
- lib/grafeas/v1/doc/grafeas/v1/image.rb
|
143
|
+
- lib/grafeas/v1/doc/grafeas/v1/package.rb
|
144
|
+
- lib/grafeas/v1/doc/grafeas/v1/provenance.rb
|
145
|
+
- lib/grafeas/v1/doc/grafeas/v1/vulnerability.rb
|
146
|
+
- lib/grafeas/v1/grafeas_client.rb
|
147
|
+
- lib/grafeas/v1/grafeas_client_config.json
|
148
|
+
- lib/grafeas/v1/grafeas_pb.rb
|
149
|
+
- lib/grafeas/v1/grafeas_services_pb.rb
|
150
|
+
- lib/grafeas/v1/image_pb.rb
|
151
|
+
- lib/grafeas/v1/package_pb.rb
|
152
|
+
- lib/grafeas/v1/provenance_pb.rb
|
153
|
+
- lib/grafeas/v1/vulnerability_pb.rb
|
73
154
|
- lib/grafeas/version.rb
|
74
|
-
homepage: https://github.com/
|
155
|
+
homepage: https://github.com/googleapis/googleapis
|
75
156
|
licenses:
|
76
|
-
-
|
157
|
+
- Apache-2.0
|
77
158
|
metadata: {}
|
78
159
|
post_install_message:
|
79
160
|
rdoc_options: []
|
@@ -83,16 +164,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
164
|
requirements:
|
84
165
|
- - ">="
|
85
166
|
- !ruby/object:Gem::Version
|
86
|
-
version: '
|
167
|
+
version: '2.4'
|
87
168
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
169
|
requirements:
|
89
170
|
- - ">="
|
90
171
|
- !ruby/object:Gem::Version
|
91
172
|
version: '0'
|
92
173
|
requirements: []
|
93
|
-
|
94
|
-
rubygems_version: 2.7.0
|
174
|
+
rubygems_version: 3.0.6
|
95
175
|
signing_key:
|
96
176
|
specification_version: 4
|
97
|
-
summary:
|
177
|
+
summary: API Client library for the Grafeas API
|
98
178
|
test_files: []
|
data/.gitignore
DELETED
data/.travis.yml
DELETED
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
grafeas (0.0.1)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
minitest (5.10.3)
|
10
|
-
rake (10.5.0)
|
11
|
-
|
12
|
-
PLATFORMS
|
13
|
-
ruby
|
14
|
-
|
15
|
-
DEPENDENCIES
|
16
|
-
bundler (~> 1.16)
|
17
|
-
grafeas!
|
18
|
-
minitest (~> 5.0)
|
19
|
-
rake (~> 10.0)
|
20
|
-
|
21
|
-
BUNDLED WITH
|
22
|
-
1.16.0
|
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2017 Ezekiel Templin
|
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
|
13
|
-
all 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
|
21
|
-
THE SOFTWARE.
|
data/Rakefile
DELETED
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "grafeas"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
data/grafeas.gemspec
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
lib = File.expand_path("../lib", __FILE__)
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require "grafeas/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "grafeas"
|
7
|
-
spec.version = Grafeas::VERSION
|
8
|
-
spec.authors = ["Ezekiel Templin"]
|
9
|
-
spec.email = ["zeke@templ.in"]
|
10
|
-
|
11
|
-
spec.summary = %q{Prototype Ruby Grafeas (https://grafeas.io/) API client}
|
12
|
-
spec.description = %q{Prototype Ruby Grafeas (https://grafeas.io/) API client}
|
13
|
-
spec.homepage = "https://github.com/ezkl/grafeas"
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
|
-
f.match(%r{^(test|spec|features)/})
|
18
|
-
end
|
19
|
-
spec.bindir = "exe"
|
20
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
-
spec.require_paths = ["lib"]
|
22
|
-
|
23
|
-
spec.add_development_dependency "bundler", "~> 1.16"
|
24
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
-
spec.add_development_dependency "minitest", "~> 5.0"
|
26
|
-
end
|