circleci_artifact 0.1.0

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
+ SHA256:
3
+ metadata.gz: 0c1a1533acb7d8f33447d4b431f40f91108b342a43c78ed965f49a8b697acb5a
4
+ data.tar.gz: f5991dff86c4deaa0a16b10a0891e99bccfb68fdf1429e9b258326834320a1ee
5
+ SHA512:
6
+ metadata.gz: 41e65135852f1cb67a03ebc25bb006a932c46367dfbc87ec3f17b97da1ec1dcf8a2949e430071c2f1c67cd02a420c9c942409184ffeaa0af56ff5ab2f2e6cc0c
7
+ data.tar.gz: 01a0a710991e0491db02c77bd77886e8e0086c2f93dd7b81545a1f25b18aa15c3514ae0751ba492c33bde00987daaa06a5d8b65d65d903f53399c277b98f2d0c
@@ -0,0 +1,36 @@
1
+ # Ruby CircleCI 2.0 configuration file
2
+ #
3
+ # Check https://circleci.com/docs/2.0/language-ruby/ for more details
4
+ #
5
+ version: 2
6
+ jobs:
7
+ build:
8
+ docker:
9
+ - image: circleci/ruby:latest
10
+ working_directory: ~/repo
11
+
12
+ steps:
13
+ - checkout
14
+
15
+ # Download and cache dependencies
16
+ - restore_cache:
17
+ keys:
18
+ - v1-dependencies-{{ checksum "Gemfile.lock" }}
19
+ # fallback to using the latest cache if no exact match is found
20
+ - v1-dependencies-
21
+
22
+ - run:
23
+ name: install dependencies
24
+ command: |
25
+ bundle install --jobs=4 --retry=3 --path vendor/bundle
26
+
27
+ - save_cache:
28
+ paths:
29
+ - ./vendor/bundle
30
+ key: v1-dependencies-{{ checksum "Gemfile.lock" }}
31
+
32
+ # run tests!
33
+ - run:
34
+ name: run tests
35
+ command: |
36
+ bundle exec rake test
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
data/.rubocop.yml ADDED
@@ -0,0 +1,6 @@
1
+
2
+ Metrics/LineLength:
3
+ Max: 99
4
+
5
+ Metrics/MethodLength:
6
+ Max: 30
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at chris.ballinger@raizlabs.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
+
7
+ # Specify your gem's dependencies in circleci_artifact.gemspec
8
+ gemspec
9
+
10
+ gem 'rubocop', '~> 0.55.0', require: false
data/Gemfile.lock ADDED
@@ -0,0 +1,46 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ circleci_artifact (0.1.0)
5
+ circleci (~> 2.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ ast (2.4.0)
11
+ circleci (2.0.2)
12
+ coderay (1.1.2)
13
+ method_source (0.9.0)
14
+ minitest (5.11.3)
15
+ parallel (1.12.1)
16
+ parser (2.5.1.0)
17
+ ast (~> 2.4.0)
18
+ powerpack (0.1.1)
19
+ pry (0.11.3)
20
+ coderay (~> 1.1.0)
21
+ method_source (~> 0.9.0)
22
+ rainbow (3.0.0)
23
+ rake (10.5.0)
24
+ rubocop (0.55.0)
25
+ parallel (~> 1.10)
26
+ parser (>= 2.5)
27
+ powerpack (~> 0.1)
28
+ rainbow (>= 2.2.2, < 4.0)
29
+ ruby-progressbar (~> 1.7)
30
+ unicode-display_width (~> 1.0, >= 1.0.1)
31
+ ruby-progressbar (1.9.0)
32
+ unicode-display_width (1.3.2)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ bundler (~> 1.16)
39
+ circleci_artifact!
40
+ minitest (~> 5.0)
41
+ pry
42
+ rake (~> 10.0)
43
+ rubocop (~> 0.55.0)
44
+
45
+ BUNDLED WITH
46
+ 1.16.1
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Raizlabs
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/README.md ADDED
@@ -0,0 +1,80 @@
1
+ # circleci_artifact
2
+
3
+ [![CircleCI](https://img.shields.io/circleci/project/github/Raizlabs/circleci_artifact/master.svg)](https://circleci.com/gh/Raizlabs/circleci_artifact)
4
+
5
+ This library is designed to make fetching the URLs for [CircleCI build artifacts](https://circleci.com/docs/2.0/artifacts/#downloading-all-artifacts-for-a-build-on-circleci) quick and easy. Unfortunately CircleCI makes it difficult to get the URLs for your build artifacts without hitting their API, so it's not straightforward to include links to your artifacts as part of the CI process.
6
+
7
+ This gem was built to be used in combination with tools like [Fastlane](https://github.com/fastlane/fastlane) and [Danger](https://github.com/danger/danger). The functionality is very limited at this point, and just makes it easier to grab single artifacts whose URL match a substring.
8
+
9
+ ## Getting Started
10
+
11
+ * Create a new CircleCI account for your CI bot user.
12
+ * Create a CircleCI API token in the application by going to [User Settings > Personal API Tokens](https://circleci.com/account/api).
13
+ * Create a new token called `CIRCLE_API_TOKEN`.
14
+ * Add `CIRCLE_API_TOKEN` to the CircleCI build environment for the target repo.
15
+
16
+ ## Installation
17
+
18
+ Add this line to your application's Gemfile:
19
+
20
+ ```ruby
21
+ gem 'circleci_artifact'
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install circleci_artifact
31
+
32
+ ## Usage
33
+
34
+
35
+ ```ruby
36
+ require 'circleci_artifact'
37
+
38
+ # Set this yourself using the steps in "Getting Started"
39
+ token = ENV['CIRCLE_API_TOKEN']
40
+
41
+ # These are already in the Circle environment
42
+ # https://circleci.com/docs/2.0/env-vars/#build-specific-environment-variables
43
+ username = ENV['CIRCLE_PROJECT_USERNAME']
44
+ reponame = ENV['CIRCLE_PROJECT_REPONAME']
45
+ build = ENV['CIRCLE_BUILD_NUM']
46
+
47
+ fetcher = CircleciArtifact::Fetcher.new(token: token, username: username, reponame: reponame, build: build)
48
+
49
+ xcov = CircleciArtifact::Query.new(url_substring: 'xcov/index.html')
50
+ slather = CircleciArtifact::Query.new(url_substring: 'slather/index.html')
51
+ screenshots = CircleciArtifact::Query.new(url_substring: 'screenshots/index.html')
52
+ queries = [xcov, slather, screenshots]
53
+ results = fetcher.fetch_queries(queries)
54
+
55
+ xcov_url = results.url_for_query(xcov)
56
+ slather_url = results.url_for_query(slather)
57
+ screenshots_url = results.url_for_query(screenshots)
58
+
59
+ puts "xcov_url #{xcov_url}"
60
+ puts "slather_url #{slather_url}"
61
+ puts "screenshots_url #{screenshots_url}"
62
+ ```
63
+
64
+ ## Development
65
+
66
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
67
+
68
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
69
+
70
+ ## Contributing
71
+
72
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Raizlabs/circleci_artifact. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
73
+
74
+ ## License
75
+
76
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
77
+
78
+ ## Code of Conduct
79
+
80
+ Everyone interacting in the CircleciArtifact project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Raizlabs/circleci_artifact/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rake/testtask'
5
+
6
+ Rake::TestTask.new(:test) do |t|
7
+ t.libs << 'test'
8
+ t.libs << 'lib'
9
+ t.test_files = FileList['test/**/*_test.rb']
10
+ end
11
+
12
+ task default: :test
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'circleci_artifact'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,31 @@
1
+
2
+ # frozen_string_literal: true
3
+
4
+ lib = File.expand_path('lib', __dir__)
5
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
+ require 'circleci_artifact/version'
7
+
8
+ Gem::Specification.new do |spec|
9
+ spec.name = 'circleci_artifact'
10
+ spec.version = CircleciArtifact::VERSION
11
+ spec.authors = ['Chris Ballinger']
12
+ spec.email = ['chris.ballinger@raizlabs.com']
13
+
14
+ spec.summary = 'Easy fetching of CircleCI build artifact URLs'
15
+ spec.homepage = 'https://github.com/Raizlabs/circleci_artifact'
16
+ spec.license = 'MIT'
17
+
18
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
+ f.match(%r{^(test|spec|features)/})
20
+ end
21
+ spec.bindir = 'exe'
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ['lib']
24
+
25
+ spec.add_runtime_dependency 'circleci', '~> 2.0'
26
+
27
+ spec.add_development_dependency 'bundler', '~> 1.16'
28
+ spec.add_development_dependency 'minitest', '~> 5.0'
29
+ spec.add_development_dependency 'pry'
30
+ spec.add_development_dependency 'rake', '~> 10.0'
31
+ end
@@ -0,0 +1,164 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'circleci_artifact/version'
4
+ require 'circleci'
5
+
6
+ module CircleciArtifact
7
+ # Simple queries for artifacts
8
+ class Query
9
+ attr_reader :url_substring
10
+
11
+ # 'url_substring' is a resource url substring you're looking for
12
+ #
13
+ # @param url_substring [String]
14
+ def initialize(url_substring:)
15
+ raise ArgumentError if url_substring.to_s.empty?
16
+ @url_substring = url_substring
17
+ end
18
+
19
+ def ==(other)
20
+ other.is_a?(self.class) &&
21
+ (other.url_substring == @url_substring)
22
+ end
23
+
24
+ alias eql? ==
25
+
26
+ def hash
27
+ @url_substring.hash
28
+ end
29
+ end
30
+
31
+ # Returned if query is successful
32
+ class Result
33
+ attr_reader :query, :url
34
+
35
+ # @param query [Query]
36
+ # @param url [String] the url matching the original query
37
+ def initialize(query:, url:)
38
+ raise ArgumentError unless query.is_a?(Query)
39
+ raise ArgumentError if url.to_s.empty?
40
+ @query = query
41
+ @url = url
42
+ end
43
+ end
44
+
45
+ # Set of all matching queries
46
+ class ResultSet
47
+ def initialize
48
+ @results = {}
49
+ end
50
+
51
+ # @param result [Result]
52
+ # @return [void]
53
+ def add_result(result)
54
+ raise ArgumentError unless result.is_a?(Result)
55
+ results = @results[result.query] || []
56
+ results.push(result)
57
+ @results[result.query] = results
58
+ end
59
+
60
+ # Returns first result for query
61
+ #
62
+ # @param query [Query]
63
+ # @return [Result]
64
+ def result_for_query(query)
65
+ results_for_query(query).first
66
+ end
67
+
68
+ # Returns all results matching query
69
+ #
70
+ # @param query [Query]
71
+ # @return [Array<Result>]
72
+ def results_for_query(query)
73
+ raise ArgumentError unless query.is_a?(Query)
74
+ @results[query] ? @results[query] : []
75
+ end
76
+
77
+ # Returns first url for query
78
+ #
79
+ # @param query [Query]
80
+ # @return [String]
81
+ def url_for_query(query)
82
+ result_for_query(query)&.url
83
+ end
84
+ end
85
+
86
+ # This is the main interface, handles fetching and parsing
87
+ class Fetcher
88
+ # @param token [String]
89
+ # @param username [String]
90
+ # @param reponame [String]
91
+ # @param build [String]
92
+ def initialize(token:, username:, reponame:, build:)
93
+ raise ArgumentError, 'Error: Missing CIRCLE_API_TOKEN' if token.to_s.empty?
94
+ raise ArgumentError, 'Error: Missing CIRCLE_PROJECT_USERNAME' if username.to_s.empty?
95
+ raise ArgumentError, 'Error: Missing CIRCLE_PROJECT_REPONAME' if reponame.to_s.empty?
96
+ raise ArgumentError, 'Error: Missing CIRCLE_BUILD_NUM' if build.to_s.empty?
97
+
98
+ @token = token
99
+ @username = username
100
+ @reponame = reponame
101
+ @build = build
102
+
103
+ @config = CircleCi::Config.new token: token
104
+ end
105
+
106
+ # Give array of Query to find, returns Results
107
+ #
108
+ # @param queries [Array<Query>]
109
+ # @return [ResultSet]
110
+ def fetch_queries(queries)
111
+ raise ArgumentError, 'Error: Must have queries' unless queries.is_a?(Array)
112
+ build = CircleCi::Build.new @username, @reponame, nil, @build, @config
113
+ artifacts = build.artifacts
114
+
115
+ if artifacts.nil?
116
+ STDERR.puts 'Error: No artifacts'
117
+ return Results.new
118
+ end
119
+ parse(artifacts: artifacts, queries: queries)
120
+ end
121
+
122
+ # Internal method for extracting results
123
+ # @param artifacts [CircleCi::Artifacts]
124
+ # @param queries [Array<Query>]
125
+ # @return [ResultSet]
126
+ def parse(artifacts:, queries:)
127
+ raise ArgumentError, 'Error: Must have artifacts' if artifacts.nil?
128
+ raise ArgumentError, 'Error: Must have queries' unless queries.is_a?(Array)
129
+
130
+ # Example
131
+ # [
132
+ # {
133
+ # node_index: 0,
134
+ # path: "/tmp/circle-artifacts.NHQxLku/cherry-pie.png",
135
+ # pretty_path: "$CIRCLE_ARTIFACTS/cherry-pie.png",
136
+ # url: "https://circleci.com/gh/circleci/mongofinil/22/artifacts/0/tmp/circle-artifacts.NHQxLku/cherry-pie.png"
137
+ # },
138
+ # {
139
+ # node_index: 0,
140
+ # path: "/tmp/circle-artifacts.NHQxLku/rhubarb-pie.png",
141
+ # pretty_path: "$CIRCLE_ARTIFACTS/rhubarb-pie.png",
142
+ # url: "https://circleci.com/gh/circleci/mongofinil/22/artifacts/0/tmp/circle-artifacts.NHQxLku/rhubarb-pie.png"
143
+ # }
144
+ # ]
145
+
146
+ results = ResultSet.new
147
+
148
+ artifacts.body.each do |artifact|
149
+ url = artifact['url']
150
+ if url.nil?
151
+ STDERR.puts "Warning: No URL found on #{artifact}"
152
+ next
153
+ end
154
+
155
+ query = queries.find { |q| url.include?(q.url_substring) }
156
+ next if query.nil?
157
+ result = Result.new(query: query, url: url)
158
+ results.add_result(result)
159
+ end
160
+
161
+ results
162
+ end
163
+ end
164
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CircleciArtifact
4
+ VERSION = '0.1.0'
5
+ end
metadata ADDED
@@ -0,0 +1,128 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: circleci_artifact
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Chris Ballinger
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-04-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: circleci
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.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.16'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.16'
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.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ description:
84
+ email:
85
+ - chris.ballinger@raizlabs.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".circleci/config.yml"
91
+ - ".gitignore"
92
+ - ".rubocop.yml"
93
+ - CODE_OF_CONDUCT.md
94
+ - Gemfile
95
+ - Gemfile.lock
96
+ - LICENSE.txt
97
+ - README.md
98
+ - Rakefile
99
+ - bin/console
100
+ - bin/setup
101
+ - circleci_artifact.gemspec
102
+ - lib/circleci_artifact.rb
103
+ - lib/circleci_artifact/version.rb
104
+ homepage: https://github.com/Raizlabs/circleci_artifact
105
+ licenses:
106
+ - MIT
107
+ metadata: {}
108
+ post_install_message:
109
+ rdoc_options: []
110
+ require_paths:
111
+ - lib
112
+ required_ruby_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ required_rubygems_version: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ requirements: []
123
+ rubyforge_project:
124
+ rubygems_version: 2.7.6
125
+ signing_key:
126
+ specification_version: 4
127
+ summary: Easy fetching of CircleCI build artifact URLs
128
+ test_files: []