artifactory-cleaner 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/.idea/.gitignore +2 -0
- data/.idea/checkstyle-idea.xml +16 -0
- data/.idea/dictionaries/jgitlin.xml +7 -0
- data/.idea/misc.xml +6 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.rspec +3 -0
- data/.rspec_status +39 -0
- data/.travis.yml +6 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +12 -0
- data/README.md +73 -0
- data/Rakefile +20 -0
- data/artifactory-cleaner.gemspec +43 -0
- data/artifactory-cleaner.iml +9 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/doc/rdoc/Artifactory.html +94 -0
- data/doc/rdoc/Artifactory/Cleaner.html +108 -0
- data/doc/rdoc/Artifactory/Cleaner/ArtifactBucket.html +504 -0
- data/doc/rdoc/Artifactory/Cleaner/ArtifactBucketCollection.html +570 -0
- data/doc/rdoc/Artifactory/Cleaner/ArtifactFilter.html +712 -0
- data/doc/rdoc/Artifactory/Cleaner/ArtifactFilterRule.html +519 -0
- data/doc/rdoc/Artifactory/Cleaner/CLI.html +625 -0
- data/doc/rdoc/Artifactory/Cleaner/Controller.html +1014 -0
- data/doc/rdoc/Artifactory/Cleaner/DiscoveredArtifact.html +400 -0
- data/doc/rdoc/Artifactory/Cleaner/DiscoveryWorker.html +466 -0
- data/doc/rdoc/Artifactory/Cleaner/Error.html +101 -0
- data/doc/rdoc/Artifactory/Cleaner/SpecHelpers.html +190 -0
- data/doc/rdoc/Artifactory/Cleaner/Util.html +157 -0
- data/doc/rdoc/CODE_OF_CONDUCT_md.html +228 -0
- data/doc/rdoc/Float.html +94 -0
- data/doc/rdoc/Gemfile.html +144 -0
- data/doc/rdoc/Gemfile_lock.html +217 -0
- data/doc/rdoc/Object.html +112 -0
- data/doc/rdoc/README_md.html +241 -0
- data/doc/rdoc/Rakefile.html +151 -0
- data/doc/rdoc/artifactory-cleaner_gemspec.html +173 -0
- data/doc/rdoc/artifactory-cleaner_iml.html +139 -0
- data/doc/rdoc/bin/setup.html +134 -0
- data/doc/rdoc/created.rid +219 -0
- data/doc/rdoc/css/fonts.css +167 -0
- data/doc/rdoc/css/rdoc.css +590 -0
- data/doc/rdoc/filterlist_yaml.html +149 -0
- data/doc/rdoc/filters/clean-amzn_yaml.html +133 -0
- data/doc/rdoc/filters/snapshots_yaml.html +137 -0
- data/doc/rdoc/filters/test-filter_yaml.html +137 -0
- data/doc/rdoc/filters/yum-test_yaml.html +141 -0
- data/doc/rdoc/fonts/Lato-Light.ttf +0 -0
- data/doc/rdoc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/rdoc/fonts/Lato-Regular.ttf +0 -0
- data/doc/rdoc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/rdoc/images/add.png +0 -0
- data/doc/rdoc/images/arrow_up.png +0 -0
- data/doc/rdoc/images/brick.png +0 -0
- data/doc/rdoc/images/brick_link.png +0 -0
- data/doc/rdoc/images/bug.png +0 -0
- data/doc/rdoc/images/bullet_black.png +0 -0
- data/doc/rdoc/images/bullet_toggle_minus.png +0 -0
- data/doc/rdoc/images/bullet_toggle_plus.png +0 -0
- data/doc/rdoc/images/date.png +0 -0
- data/doc/rdoc/images/delete.png +0 -0
- data/doc/rdoc/images/find.png +0 -0
- data/doc/rdoc/images/loadingAnimation.gif +0 -0
- data/doc/rdoc/images/macFFBgHack.png +0 -0
- data/doc/rdoc/images/package.png +0 -0
- data/doc/rdoc/images/page_green.png +0 -0
- data/doc/rdoc/images/page_white_text.png +0 -0
- data/doc/rdoc/images/page_white_width.png +0 -0
- data/doc/rdoc/images/plugin.png +0 -0
- data/doc/rdoc/images/ruby.png +0 -0
- data/doc/rdoc/images/tag_blue.png +0 -0
- data/doc/rdoc/images/tag_green.png +0 -0
- data/doc/rdoc/images/transparent.png +0 -0
- data/doc/rdoc/images/wrench.png +0 -0
- data/doc/rdoc/images/wrench_orange.png +0 -0
- data/doc/rdoc/images/zoom.png +0 -0
- data/doc/rdoc/index.html +166 -0
- data/doc/rdoc/js/darkfish.js +161 -0
- data/doc/rdoc/js/jquery.js +4 -0
- data/doc/rdoc/js/navigation.js +141 -0
- data/doc/rdoc/js/navigation.js.gz +0 -0
- data/doc/rdoc/js/search.js +109 -0
- data/doc/rdoc/js/search_index.js +1 -0
- data/doc/rdoc/js/search_index.js.gz +0 -0
- data/doc/rdoc/js/searcher.js +229 -0
- data/doc/rdoc/js/searcher.js.gz +0 -0
- data/doc/rdoc/results/archive-test-4_log.html +762 -0
- data/doc/rdoc/results/buckets-2020-01-31_txt.html +233 -0
- data/doc/rdoc/results/clean-test-2_log.html +598 -0
- data/doc/rdoc/results/clean-test-3_log.html +128 -0
- data/doc/rdoc/results/clean-test-5_log.html +2721 -0
- data/doc/rdoc/results/clean-test-6_log.html +135 -0
- data/doc/rdoc/results/clean-test-7_log.html +137 -0
- data/doc/rdoc/results/clean-test-8-real_log.html +131 -0
- data/doc/rdoc/results/clean-test-9_log.html +131 -0
- data/doc/rdoc/results/clean-test1_log.html +1759 -0
- data/doc/rdoc/results/yum-test_2020-01-31_log.html +2854 -0
- data/doc/rdoc/results/yum-test_dry-run_log.html +1074 -0
- data/doc/rdoc/table_of_contents.html +581 -0
- data/exe/artifactory-cleaner +12 -0
- data/lib/artifactory/cleaner.rb +17 -0
- data/lib/artifactory/cleaner/artifact_bucket.rb +102 -0
- data/lib/artifactory/cleaner/artifact_bucket_collection.rb +118 -0
- data/lib/artifactory/cleaner/artifact_filter.rb +146 -0
- data/lib/artifactory/cleaner/artifact_filter_rule.rb +81 -0
- data/lib/artifactory/cleaner/cli.rb +415 -0
- data/lib/artifactory/cleaner/controller.rb +466 -0
- data/lib/artifactory/cleaner/discovered_artifact.rb +71 -0
- data/lib/artifactory/cleaner/discovery_worker.rb +126 -0
- data/lib/artifactory/cleaner/util.rb +21 -0
- data/lib/artifactory/cleaner/version.rb +7 -0
- metadata +252 -0
@@ -0,0 +1,151 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Rakefile - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "./";
|
11
|
+
var index_rel_prefix = "./";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="./js/jquery.js"></script>
|
15
|
+
<script src="./js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
<body id="top" role="document" class="file">
|
23
|
+
<nav role="navigation">
|
24
|
+
<div id="project-navigation">
|
25
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
26
|
+
<h2>
|
27
|
+
<a href="./index.html" rel="home">Home</a>
|
28
|
+
</h2>
|
29
|
+
|
30
|
+
<div id="table-of-contents-navigation">
|
31
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
32
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
33
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
38
|
+
<form action="#" method="get" accept-charset="utf-8">
|
39
|
+
<div id="search-field-wrapper">
|
40
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
41
|
+
aria-autocomplete="list" aria-controls="search-results"
|
42
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
43
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<ul id="search-results" aria-label="Search Results"
|
47
|
+
aria-busy="false" aria-expanded="false"
|
48
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
49
|
+
</form>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
</div>
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
<div id="project-metadata">
|
57
|
+
<div id="fileindex-section" class="nav-section">
|
58
|
+
<h3>Pages</h3>
|
59
|
+
|
60
|
+
<ul class="link-list">
|
61
|
+
|
62
|
+
<li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
|
63
|
+
|
64
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
65
|
+
|
66
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
67
|
+
|
68
|
+
<li><a href="./README_md.html">README</a>
|
69
|
+
|
70
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
71
|
+
|
72
|
+
<li><a href="./artifactory-cleaner_gemspec.html">artifactory-cleaner.gemspec</a>
|
73
|
+
|
74
|
+
<li><a href="./artifactory-cleaner_iml.html">artifactory-cleaner.iml</a>
|
75
|
+
|
76
|
+
<li><a href="./bin/setup.html">setup</a>
|
77
|
+
|
78
|
+
<li><a href="./filterlist_yaml.html">filterlist.yaml</a>
|
79
|
+
|
80
|
+
<li><a href="./filters/clean-amzn_yaml.html">clean-amzn.yaml</a>
|
81
|
+
|
82
|
+
<li><a href="./filters/snapshots_yaml.html">snapshots.yaml</a>
|
83
|
+
|
84
|
+
<li><a href="./filters/test-filter_yaml.html">test-filter.yaml</a>
|
85
|
+
|
86
|
+
<li><a href="./filters/yum-test_yaml.html">yum-test.yaml</a>
|
87
|
+
|
88
|
+
<li><a href="./results/archive-test-4_log.html">archive-test-4.log</a>
|
89
|
+
|
90
|
+
<li><a href="./results/buckets-2020-01-31_txt.html">buckets-2020-01-31</a>
|
91
|
+
|
92
|
+
<li><a href="./results/clean-test-2_log.html">clean-test-2.log</a>
|
93
|
+
|
94
|
+
<li><a href="./results/clean-test-3_log.html">clean-test-3.log</a>
|
95
|
+
|
96
|
+
<li><a href="./results/clean-test-5_log.html">clean-test-5.log</a>
|
97
|
+
|
98
|
+
<li><a href="./results/clean-test-6_log.html">clean-test-6.log</a>
|
99
|
+
|
100
|
+
<li><a href="./results/clean-test-7_log.html">clean-test-7.log</a>
|
101
|
+
|
102
|
+
<li><a href="./results/clean-test-8-real_log.html">clean-test-8-real.log</a>
|
103
|
+
|
104
|
+
<li><a href="./results/clean-test-9_log.html">clean-test-9.log</a>
|
105
|
+
|
106
|
+
<li><a href="./results/clean-test1_log.html">clean-test1.log</a>
|
107
|
+
|
108
|
+
<li><a href="./results/yum-test_2020-01-31_log.html">yum-test.2020-01-31.log</a>
|
109
|
+
|
110
|
+
<li><a href="./results/yum-test_dry-run_log.html">yum-test_dry-run.log</a>
|
111
|
+
|
112
|
+
</ul>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
</div>
|
116
|
+
</nav>
|
117
|
+
|
118
|
+
<main role="main" aria-label="Page Rakefile">
|
119
|
+
|
120
|
+
<p>$LOAD_PATH.unshift File.join(File.dirname(__FILE__), “lib”)</p>
|
121
|
+
|
122
|
+
<p>require “bundler/gem_tasks” require “rspec/core/rake_task”</p>
|
123
|
+
|
124
|
+
<p>require “artifactory/cleaner/artifact_bucket” require
|
125
|
+
“artifactory/cleaner/artifact_bucket_collection”</p>
|
126
|
+
|
127
|
+
<p>RSpec::Core::RakeTask.new(:spec)</p>
|
128
|
+
|
129
|
+
<p>task :default => :spec</p>
|
130
|
+
|
131
|
+
<p>require 'rdoc/task'</p>
|
132
|
+
|
133
|
+
<p>RDoc::Task.new do |rdoc|</p>
|
134
|
+
|
135
|
+
<pre class="ruby"><span class="ruby-comment">#rdoc.main = "README.rdoc"</span>
|
136
|
+
<span class="ruby-identifier">rdoc</span>.<span class="ruby-identifier">rdoc_dir</span> =<span class="ruby-string">'doc/rdoc'</span>
|
137
|
+
<span class="ruby-comment">#rdoc.rdoc_files.include("README.rdoc", "lib/*.rb")</span>
|
138
|
+
<span class="ruby-identifier">rdoc</span>.<span class="ruby-identifier">rdoc_files</span>.<span class="ruby-identifier">include</span>(<span class="ruby-string">"lib/*.rb"</span>)
|
139
|
+
</pre>
|
140
|
+
|
141
|
+
<p>end</p>
|
142
|
+
</main>
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
<footer id="validator-badges" role="contentinfo">
|
147
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
148
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.0.1.
|
149
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
150
|
+
</footer>
|
151
|
+
|
@@ -0,0 +1,173 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>artifactory-cleaner.gemspec - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "./";
|
11
|
+
var index_rel_prefix = "./";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="./js/jquery.js"></script>
|
15
|
+
<script src="./js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
<body id="top" role="document" class="file">
|
23
|
+
<nav role="navigation">
|
24
|
+
<div id="project-navigation">
|
25
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
26
|
+
<h2>
|
27
|
+
<a href="./index.html" rel="home">Home</a>
|
28
|
+
</h2>
|
29
|
+
|
30
|
+
<div id="table-of-contents-navigation">
|
31
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
32
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
33
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
38
|
+
<form action="#" method="get" accept-charset="utf-8">
|
39
|
+
<div id="search-field-wrapper">
|
40
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
41
|
+
aria-autocomplete="list" aria-controls="search-results"
|
42
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
43
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<ul id="search-results" aria-label="Search Results"
|
47
|
+
aria-busy="false" aria-expanded="false"
|
48
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
49
|
+
</form>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
</div>
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
<div id="project-metadata">
|
57
|
+
<div id="fileindex-section" class="nav-section">
|
58
|
+
<h3>Pages</h3>
|
59
|
+
|
60
|
+
<ul class="link-list">
|
61
|
+
|
62
|
+
<li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
|
63
|
+
|
64
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
65
|
+
|
66
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
67
|
+
|
68
|
+
<li><a href="./README_md.html">README</a>
|
69
|
+
|
70
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
71
|
+
|
72
|
+
<li><a href="./artifactory-cleaner_gemspec.html">artifactory-cleaner.gemspec</a>
|
73
|
+
|
74
|
+
<li><a href="./artifactory-cleaner_iml.html">artifactory-cleaner.iml</a>
|
75
|
+
|
76
|
+
<li><a href="./bin/setup.html">setup</a>
|
77
|
+
|
78
|
+
<li><a href="./filterlist_yaml.html">filterlist.yaml</a>
|
79
|
+
|
80
|
+
<li><a href="./filters/clean-amzn_yaml.html">clean-amzn.yaml</a>
|
81
|
+
|
82
|
+
<li><a href="./filters/snapshots_yaml.html">snapshots.yaml</a>
|
83
|
+
|
84
|
+
<li><a href="./filters/test-filter_yaml.html">test-filter.yaml</a>
|
85
|
+
|
86
|
+
<li><a href="./filters/yum-test_yaml.html">yum-test.yaml</a>
|
87
|
+
|
88
|
+
<li><a href="./results/archive-test-4_log.html">archive-test-4.log</a>
|
89
|
+
|
90
|
+
<li><a href="./results/buckets-2020-01-31_txt.html">buckets-2020-01-31</a>
|
91
|
+
|
92
|
+
<li><a href="./results/clean-test-2_log.html">clean-test-2.log</a>
|
93
|
+
|
94
|
+
<li><a href="./results/clean-test-3_log.html">clean-test-3.log</a>
|
95
|
+
|
96
|
+
<li><a href="./results/clean-test-5_log.html">clean-test-5.log</a>
|
97
|
+
|
98
|
+
<li><a href="./results/clean-test-6_log.html">clean-test-6.log</a>
|
99
|
+
|
100
|
+
<li><a href="./results/clean-test-7_log.html">clean-test-7.log</a>
|
101
|
+
|
102
|
+
<li><a href="./results/clean-test-8-real_log.html">clean-test-8-real.log</a>
|
103
|
+
|
104
|
+
<li><a href="./results/clean-test-9_log.html">clean-test-9.log</a>
|
105
|
+
|
106
|
+
<li><a href="./results/clean-test1_log.html">clean-test1.log</a>
|
107
|
+
|
108
|
+
<li><a href="./results/yum-test_2020-01-31_log.html">yum-test.2020-01-31.log</a>
|
109
|
+
|
110
|
+
<li><a href="./results/yum-test_dry-run_log.html">yum-test_dry-run.log</a>
|
111
|
+
|
112
|
+
</ul>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
</div>
|
116
|
+
</nav>
|
117
|
+
|
118
|
+
<main role="main" aria-label="Page artifactory-cleaner.gemspec">
|
119
|
+
|
120
|
+
<p>lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib)
|
121
|
+
unless $LOAD_PATH.include?(lib)</p>
|
122
|
+
|
123
|
+
<p>require_relative 'lib/artifactory/cleaner/version'</p>
|
124
|
+
|
125
|
+
<p>Gem::Specification.new do |spec|</p>
|
126
|
+
|
127
|
+
<pre class="ruby"><span class="ruby-identifier">spec</span>.<span class="ruby-identifier">name</span> = <span class="ruby-string">"artifactory-cleaner"</span>
|
128
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">version</span> = <span class="ruby-constant">Artifactory</span><span class="ruby-operator">::</span><span class="ruby-constant">Cleaner</span><span class="ruby-operator">::</span><span class="ruby-constant">VERSION</span>
|
129
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">authors</span> = [<span class="ruby-string">"Josh Gitlin"</span>]
|
130
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">email</span> = [<span class="ruby-string">"jgitlin@pinnacle21.com"</span>]
|
131
|
+
|
132
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">summary</span> = <span class="ruby-string">%q{Performs maintainence tasks on Artifactory repositories}</span>
|
133
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">description</span> = <span class="ruby-string">%q{Will provide maintainence tasks for Artifactory, like cleaning up old artifacts}</span>
|
134
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">homepage</span> = <span class="ruby-string">"https://bitbucket.org/pinnacle21/artifactory-cleaner/src/master/"</span>
|
135
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">license</span> = <span class="ruby-string">'Nonstandard'</span>
|
136
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">required_ruby_version</span> = <span class="ruby-constant">Gem</span><span class="ruby-operator">::</span><span class="ruby-constant">Requirement</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">">= 2.3.0"</span>)
|
137
|
+
|
138
|
+
<span class="ruby-comment">#spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"</span>
|
139
|
+
|
140
|
+
<span class="ruby-comment">#spec.metadata["homepage_uri"] = spec.homepage</span>
|
141
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">metadata</span>[<span class="ruby-string">"source_code_uri"</span>] = <span class="ruby-string">"https://bitbucket.org/pinnacle21/artifactory-cleaner/src/master/"</span>
|
142
|
+
<span class="ruby-comment">#spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."</span>
|
143
|
+
|
144
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">"cucumber"</span>, <span class="ruby-string">'~> 1.3'</span>, <span class="ruby-string">'>= 1.3.20'</span>
|
145
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">"aruba"</span>, <span class="ruby-string">'~> 0.14'</span>
|
146
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">"rdoc"</span>
|
147
|
+
|
148
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_dependency</span> <span class="ruby-string">"thor"</span>, <span class="ruby-string">'~> 1.0.1'</span>
|
149
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_dependency</span> <span class="ruby-string">"sysexits"</span>, <span class="ruby-string">'>= 1.2.0'</span>
|
150
|
+
|
151
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_runtime_dependency</span> <span class="ruby-string">"artifactory"</span>
|
152
|
+
|
153
|
+
<span class="ruby-comment"># Specify which files should be added to the gem when it is released.</span>
|
154
|
+
<span class="ruby-comment"># The `git ls-files -z` loads the files in the RubyGem that have been added into git.</span>
|
155
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">files</span> = <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">chdir</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-string">'..'</span>, <span class="ruby-keyword">__FILE__</span>)) <span class="ruby-keyword">do</span>
|
156
|
+
<span class="ruby-string">`git ls-files -z`</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">"\x0"</span>).<span class="ruby-identifier">reject</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">%r{^(test|spec|features)/}</span>) }
|
157
|
+
<span class="ruby-keyword">end</span>
|
158
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">bindir</span> = <span class="ruby-string">"exe"</span>
|
159
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">executables</span> = <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">files</span>.<span class="ruby-identifier">grep</span>(<span class="ruby-regexp">%r{^exe/}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>(<span class="ruby-identifier">f</span>) }
|
160
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">require_paths</span> = [<span class="ruby-string">"lib"</span>]
|
161
|
+
</pre>
|
162
|
+
|
163
|
+
<p>end</p>
|
164
|
+
</main>
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
<footer id="validator-badges" role="contentinfo">
|
169
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
170
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.0.1.
|
171
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
172
|
+
</footer>
|
173
|
+
|
@@ -0,0 +1,139 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>artifactory-cleaner.iml - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "./";
|
11
|
+
var index_rel_prefix = "./";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="./js/jquery.js"></script>
|
15
|
+
<script src="./js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
<body id="top" role="document" class="file">
|
23
|
+
<nav role="navigation">
|
24
|
+
<div id="project-navigation">
|
25
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
26
|
+
<h2>
|
27
|
+
<a href="./index.html" rel="home">Home</a>
|
28
|
+
</h2>
|
29
|
+
|
30
|
+
<div id="table-of-contents-navigation">
|
31
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
32
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
33
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
38
|
+
<form action="#" method="get" accept-charset="utf-8">
|
39
|
+
<div id="search-field-wrapper">
|
40
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
41
|
+
aria-autocomplete="list" aria-controls="search-results"
|
42
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
43
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<ul id="search-results" aria-label="Search Results"
|
47
|
+
aria-busy="false" aria-expanded="false"
|
48
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
49
|
+
</form>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
</div>
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
<div id="project-metadata">
|
57
|
+
<div id="fileindex-section" class="nav-section">
|
58
|
+
<h3>Pages</h3>
|
59
|
+
|
60
|
+
<ul class="link-list">
|
61
|
+
|
62
|
+
<li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
|
63
|
+
|
64
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
65
|
+
|
66
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
67
|
+
|
68
|
+
<li><a href="./README_md.html">README</a>
|
69
|
+
|
70
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
71
|
+
|
72
|
+
<li><a href="./artifactory-cleaner_gemspec.html">artifactory-cleaner.gemspec</a>
|
73
|
+
|
74
|
+
<li><a href="./artifactory-cleaner_iml.html">artifactory-cleaner.iml</a>
|
75
|
+
|
76
|
+
<li><a href="./bin/setup.html">setup</a>
|
77
|
+
|
78
|
+
<li><a href="./filterlist_yaml.html">filterlist.yaml</a>
|
79
|
+
|
80
|
+
<li><a href="./filters/clean-amzn_yaml.html">clean-amzn.yaml</a>
|
81
|
+
|
82
|
+
<li><a href="./filters/snapshots_yaml.html">snapshots.yaml</a>
|
83
|
+
|
84
|
+
<li><a href="./filters/test-filter_yaml.html">test-filter.yaml</a>
|
85
|
+
|
86
|
+
<li><a href="./filters/yum-test_yaml.html">yum-test.yaml</a>
|
87
|
+
|
88
|
+
<li><a href="./results/archive-test-4_log.html">archive-test-4.log</a>
|
89
|
+
|
90
|
+
<li><a href="./results/buckets-2020-01-31_txt.html">buckets-2020-01-31</a>
|
91
|
+
|
92
|
+
<li><a href="./results/clean-test-2_log.html">clean-test-2.log</a>
|
93
|
+
|
94
|
+
<li><a href="./results/clean-test-3_log.html">clean-test-3.log</a>
|
95
|
+
|
96
|
+
<li><a href="./results/clean-test-5_log.html">clean-test-5.log</a>
|
97
|
+
|
98
|
+
<li><a href="./results/clean-test-6_log.html">clean-test-6.log</a>
|
99
|
+
|
100
|
+
<li><a href="./results/clean-test-7_log.html">clean-test-7.log</a>
|
101
|
+
|
102
|
+
<li><a href="./results/clean-test-8-real_log.html">clean-test-8-real.log</a>
|
103
|
+
|
104
|
+
<li><a href="./results/clean-test-9_log.html">clean-test-9.log</a>
|
105
|
+
|
106
|
+
<li><a href="./results/clean-test1_log.html">clean-test1.log</a>
|
107
|
+
|
108
|
+
<li><a href="./results/yum-test_2020-01-31_log.html">yum-test.2020-01-31.log</a>
|
109
|
+
|
110
|
+
<li><a href="./results/yum-test_dry-run_log.html">yum-test_dry-run.log</a>
|
111
|
+
|
112
|
+
</ul>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
</div>
|
116
|
+
</nav>
|
117
|
+
|
118
|
+
<main role="main" aria-label="Page artifactory-cleaner.iml">
|
119
|
+
|
120
|
+
<p><module type=“RUBY_MODULE” version=“4”></p>
|
121
|
+
|
122
|
+
<pre><component name="NewModuleRootManager" inherit-compiler-output="true">
|
123
|
+
<exclude-output />
|
124
|
+
<content url="file://$MODULE_DIR$" />
|
125
|
+
<orderEntry type="inheritedJdk" />
|
126
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
127
|
+
</component></pre>
|
128
|
+
|
129
|
+
<p></module></p>
|
130
|
+
</main>
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
<footer id="validator-badges" role="contentinfo">
|
135
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
136
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.0.1.
|
137
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
138
|
+
</footer>
|
139
|
+
|