danger-periphery 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.
@@ -0,0 +1,286 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 50;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 5B3EA09B271EE2DD00388A3A /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B3EA09A271EE2DD00388A3A /* main.swift */; };
11
+ /* End PBXBuildFile section */
12
+
13
+ /* Begin PBXCopyFilesBuildPhase section */
14
+ 5B3EA095271EE2DD00388A3A /* CopyFiles */ = {
15
+ isa = PBXCopyFilesBuildPhase;
16
+ buildActionMask = 2147483647;
17
+ dstPath = /usr/share/man/man1/;
18
+ dstSubfolderSpec = 0;
19
+ files = (
20
+ );
21
+ runOnlyForDeploymentPostprocessing = 1;
22
+ };
23
+ /* End PBXCopyFilesBuildPhase section */
24
+
25
+ /* Begin PBXFileReference section */
26
+ 5B3EA097271EE2DD00388A3A /* test */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = test; sourceTree = BUILT_PRODUCTS_DIR; };
27
+ 5B3EA09A271EE2DD00388A3A /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
28
+ /* End PBXFileReference section */
29
+
30
+ /* Begin PBXFrameworksBuildPhase section */
31
+ 5B3EA094271EE2DD00388A3A /* Frameworks */ = {
32
+ isa = PBXFrameworksBuildPhase;
33
+ buildActionMask = 2147483647;
34
+ files = (
35
+ );
36
+ runOnlyForDeploymentPostprocessing = 0;
37
+ };
38
+ /* End PBXFrameworksBuildPhase section */
39
+
40
+ /* Begin PBXGroup section */
41
+ 5B3EA08E271EE2DD00388A3A = {
42
+ isa = PBXGroup;
43
+ children = (
44
+ 5B3EA099271EE2DD00388A3A /* test */,
45
+ 5B3EA098271EE2DD00388A3A /* Products */,
46
+ );
47
+ sourceTree = "<group>";
48
+ };
49
+ 5B3EA098271EE2DD00388A3A /* Products */ = {
50
+ isa = PBXGroup;
51
+ children = (
52
+ 5B3EA097271EE2DD00388A3A /* test */,
53
+ );
54
+ name = Products;
55
+ sourceTree = "<group>";
56
+ };
57
+ 5B3EA099271EE2DD00388A3A /* test */ = {
58
+ isa = PBXGroup;
59
+ children = (
60
+ 5B3EA09A271EE2DD00388A3A /* main.swift */,
61
+ );
62
+ path = test;
63
+ sourceTree = "<group>";
64
+ };
65
+ /* End PBXGroup section */
66
+
67
+ /* Begin PBXNativeTarget section */
68
+ 5B3EA096271EE2DD00388A3A /* test */ = {
69
+ isa = PBXNativeTarget;
70
+ buildConfigurationList = 5B3EA09E271EE2DD00388A3A /* Build configuration list for PBXNativeTarget "test" */;
71
+ buildPhases = (
72
+ 5B3EA093271EE2DD00388A3A /* Sources */,
73
+ 5B3EA094271EE2DD00388A3A /* Frameworks */,
74
+ 5B3EA095271EE2DD00388A3A /* CopyFiles */,
75
+ );
76
+ buildRules = (
77
+ );
78
+ dependencies = (
79
+ );
80
+ name = test;
81
+ productName = test;
82
+ productReference = 5B3EA097271EE2DD00388A3A /* test */;
83
+ productType = "com.apple.product-type.tool";
84
+ };
85
+ /* End PBXNativeTarget section */
86
+
87
+ /* Begin PBXProject section */
88
+ 5B3EA08F271EE2DD00388A3A /* Project object */ = {
89
+ isa = PBXProject;
90
+ attributes = {
91
+ LastSwiftUpdateCheck = 1250;
92
+ LastUpgradeCheck = 1250;
93
+ TargetAttributes = {
94
+ 5B3EA096271EE2DD00388A3A = {
95
+ CreatedOnToolsVersion = 12.5.1;
96
+ };
97
+ };
98
+ };
99
+ buildConfigurationList = 5B3EA092271EE2DD00388A3A /* Build configuration list for PBXProject "test" */;
100
+ compatibilityVersion = "Xcode 9.3";
101
+ developmentRegion = en;
102
+ hasScannedForEncodings = 0;
103
+ knownRegions = (
104
+ en,
105
+ Base,
106
+ );
107
+ mainGroup = 5B3EA08E271EE2DD00388A3A;
108
+ productRefGroup = 5B3EA098271EE2DD00388A3A /* Products */;
109
+ projectDirPath = "";
110
+ projectRoot = "";
111
+ targets = (
112
+ 5B3EA096271EE2DD00388A3A /* test */,
113
+ );
114
+ };
115
+ /* End PBXProject section */
116
+
117
+ /* Begin PBXSourcesBuildPhase section */
118
+ 5B3EA093271EE2DD00388A3A /* Sources */ = {
119
+ isa = PBXSourcesBuildPhase;
120
+ buildActionMask = 2147483647;
121
+ files = (
122
+ 5B3EA09B271EE2DD00388A3A /* main.swift in Sources */,
123
+ );
124
+ runOnlyForDeploymentPostprocessing = 0;
125
+ };
126
+ /* End PBXSourcesBuildPhase section */
127
+
128
+ /* Begin XCBuildConfiguration section */
129
+ 5B3EA09C271EE2DD00388A3A /* Debug */ = {
130
+ isa = XCBuildConfiguration;
131
+ buildSettings = {
132
+ ALWAYS_SEARCH_USER_PATHS = NO;
133
+ CLANG_ANALYZER_NONNULL = YES;
134
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
135
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
136
+ CLANG_CXX_LIBRARY = "libc++";
137
+ CLANG_ENABLE_MODULES = YES;
138
+ CLANG_ENABLE_OBJC_ARC = YES;
139
+ CLANG_ENABLE_OBJC_WEAK = YES;
140
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
141
+ CLANG_WARN_BOOL_CONVERSION = YES;
142
+ CLANG_WARN_COMMA = YES;
143
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
144
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
145
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
146
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
147
+ CLANG_WARN_EMPTY_BODY = YES;
148
+ CLANG_WARN_ENUM_CONVERSION = YES;
149
+ CLANG_WARN_INFINITE_RECURSION = YES;
150
+ CLANG_WARN_INT_CONVERSION = YES;
151
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
152
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
153
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
154
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
155
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
156
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
157
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
158
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
159
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
160
+ CLANG_WARN_UNREACHABLE_CODE = YES;
161
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
162
+ COPY_PHASE_STRIP = NO;
163
+ DEBUG_INFORMATION_FORMAT = dwarf;
164
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
165
+ ENABLE_TESTABILITY = YES;
166
+ GCC_C_LANGUAGE_STANDARD = gnu11;
167
+ GCC_DYNAMIC_NO_PIC = NO;
168
+ GCC_NO_COMMON_BLOCKS = YES;
169
+ GCC_OPTIMIZATION_LEVEL = 0;
170
+ GCC_PREPROCESSOR_DEFINITIONS = (
171
+ "DEBUG=1",
172
+ "$(inherited)",
173
+ );
174
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
175
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
176
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
177
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
178
+ GCC_WARN_UNUSED_FUNCTION = YES;
179
+ GCC_WARN_UNUSED_VARIABLE = YES;
180
+ MACOSX_DEPLOYMENT_TARGET = 11.3;
181
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
182
+ MTL_FAST_MATH = YES;
183
+ ONLY_ACTIVE_ARCH = YES;
184
+ SDKROOT = macosx;
185
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
186
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
187
+ };
188
+ name = Debug;
189
+ };
190
+ 5B3EA09D271EE2DD00388A3A /* Release */ = {
191
+ isa = XCBuildConfiguration;
192
+ buildSettings = {
193
+ ALWAYS_SEARCH_USER_PATHS = NO;
194
+ CLANG_ANALYZER_NONNULL = YES;
195
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
196
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
197
+ CLANG_CXX_LIBRARY = "libc++";
198
+ CLANG_ENABLE_MODULES = YES;
199
+ CLANG_ENABLE_OBJC_ARC = YES;
200
+ CLANG_ENABLE_OBJC_WEAK = YES;
201
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
202
+ CLANG_WARN_BOOL_CONVERSION = YES;
203
+ CLANG_WARN_COMMA = YES;
204
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
205
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
206
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
207
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
208
+ CLANG_WARN_EMPTY_BODY = YES;
209
+ CLANG_WARN_ENUM_CONVERSION = YES;
210
+ CLANG_WARN_INFINITE_RECURSION = YES;
211
+ CLANG_WARN_INT_CONVERSION = YES;
212
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
213
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
214
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
215
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
216
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
217
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
218
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
219
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
220
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
221
+ CLANG_WARN_UNREACHABLE_CODE = YES;
222
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
223
+ COPY_PHASE_STRIP = NO;
224
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
225
+ ENABLE_NS_ASSERTIONS = NO;
226
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
227
+ GCC_C_LANGUAGE_STANDARD = gnu11;
228
+ GCC_NO_COMMON_BLOCKS = YES;
229
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
230
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
231
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
232
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
233
+ GCC_WARN_UNUSED_FUNCTION = YES;
234
+ GCC_WARN_UNUSED_VARIABLE = YES;
235
+ MACOSX_DEPLOYMENT_TARGET = 11.3;
236
+ MTL_ENABLE_DEBUG_INFO = NO;
237
+ MTL_FAST_MATH = YES;
238
+ SDKROOT = macosx;
239
+ SWIFT_COMPILATION_MODE = wholemodule;
240
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
241
+ };
242
+ name = Release;
243
+ };
244
+ 5B3EA09F271EE2DD00388A3A /* Debug */ = {
245
+ isa = XCBuildConfiguration;
246
+ buildSettings = {
247
+ CODE_SIGN_STYLE = Automatic;
248
+ PRODUCT_NAME = "$(TARGET_NAME)";
249
+ SWIFT_VERSION = 5.0;
250
+ };
251
+ name = Debug;
252
+ };
253
+ 5B3EA0A0271EE2DD00388A3A /* Release */ = {
254
+ isa = XCBuildConfiguration;
255
+ buildSettings = {
256
+ CODE_SIGN_STYLE = Automatic;
257
+ PRODUCT_NAME = "$(TARGET_NAME)";
258
+ SWIFT_VERSION = 5.0;
259
+ };
260
+ name = Release;
261
+ };
262
+ /* End XCBuildConfiguration section */
263
+
264
+ /* Begin XCConfigurationList section */
265
+ 5B3EA092271EE2DD00388A3A /* Build configuration list for PBXProject "test" */ = {
266
+ isa = XCConfigurationList;
267
+ buildConfigurations = (
268
+ 5B3EA09C271EE2DD00388A3A /* Debug */,
269
+ 5B3EA09D271EE2DD00388A3A /* Release */,
270
+ );
271
+ defaultConfigurationIsVisible = 0;
272
+ defaultConfigurationName = Release;
273
+ };
274
+ 5B3EA09E271EE2DD00388A3A /* Build configuration list for PBXNativeTarget "test" */ = {
275
+ isa = XCConfigurationList;
276
+ buildConfigurations = (
277
+ 5B3EA09F271EE2DD00388A3A /* Debug */,
278
+ 5B3EA0A0271EE2DD00388A3A /* Release */,
279
+ );
280
+ defaultConfigurationIsVisible = 0;
281
+ defaultConfigurationName = Release;
282
+ };
283
+ /* End XCConfigurationList section */
284
+ };
285
+ rootObject = 5B3EA08F271EE2DD00388A3A /* Project object */;
286
+ }
metadata ADDED
@@ -0,0 +1,89 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: danger-periphery
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Ryosuke Ito
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-10-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: danger-plugin-api
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ description: A Danger plugin to detect unused codes.
28
+ email:
29
+ - rito.0305@gmail.com
30
+ executables:
31
+ - download_periphery
32
+ extensions: []
33
+ extra_rdoc_files: []
34
+ files:
35
+ - ".github/workflows/lint.yml"
36
+ - ".github/workflows/test.yml"
37
+ - ".gitignore"
38
+ - ".rspec"
39
+ - ".rubocop.yml"
40
+ - Dangerfile
41
+ - Gemfile
42
+ - Guardfile
43
+ - LICENSE.txt
44
+ - README.md
45
+ - Rakefile
46
+ - bin/download_periphery
47
+ - danger-periphery.gemspec
48
+ - lib/danger_plugin.rb
49
+ - lib/periphery/runner.rb
50
+ - lib/periphery/scan_log_parser.rb
51
+ - lib/version.rb
52
+ - spec/danger_plugin_spec.rb
53
+ - spec/periphery/runner_spec.rb
54
+ - spec/periphery/scan_log_parser_spec.rb
55
+ - spec/spec_helper.rb
56
+ - spec/support/fixtures/github_pr.json
57
+ - spec/support/fixtures/test.xcodeproj/project.pbxproj
58
+ - spec/support/fixtures/test/main.swift
59
+ homepage: https://github.com/manicmaniac/danger-periphery
60
+ licenses:
61
+ - MIT
62
+ metadata: {}
63
+ post_install_message:
64
+ rdoc_options: []
65
+ require_paths:
66
+ - lib
67
+ required_ruby_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: 2.3.0
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ requirements: []
78
+ rubygems_version: 3.0.3
79
+ signing_key:
80
+ specification_version: 4
81
+ summary: A Danger plugin to detect unused codes.
82
+ test_files:
83
+ - spec/danger_plugin_spec.rb
84
+ - spec/periphery/runner_spec.rb
85
+ - spec/periphery/scan_log_parser_spec.rb
86
+ - spec/spec_helper.rb
87
+ - spec/support/fixtures/github_pr.json
88
+ - spec/support/fixtures/test.xcodeproj/project.pbxproj
89
+ - spec/support/fixtures/test/main.swift