Benign ruby 368,870,882 installs Download

aws-sdk-resources 3.280.0

“The official AWS SDK for Ruby. Provides both resource oriented interfaces and API clients for AWS services.”

AWS SDK Ruby gem nameAWS SDK Ruby namespace marker
SHA-256302c1aa321df57f28163ae5bfd2caebe55727b2e13150ea7450e8dd05f8e79ae

Evidence

Digest/expected label near a hexadecimal value checksums.yaml · lines 1–7
1---
2SHA256:
3 metadata.gz: be0596f51a4f98d38706ee6ee1a5398ae878a3f3069661927303eb92dfb6592e
4 data.tar.gz: bed2899e44fe73d3e508f842b23bec260f4db10744563bd5271e21ec680a8390
5SHA512:
6 metadata.gz: 75fa522b5d85256f1deda1872ad73cabe16f362276275513db5e3acdeef0d8724afcbb4c50976f4bdc9ae5d089f9d90687173a5e2d936d448b6f6fce6abaeb02
7 data.tar.gz: 5dc7e60daaa87133769e2f10abbdf06daf20b3506ae20cf2cf95d5c8a1d7eab8830e97b0103d27688d23a83c2cb25e87f1347383b4135571d876039cbbcec9e4
String literal contains a CLI usage screen aws-v3.rb · lines 23–35
⋯4 lines
27OptionParser.new do |opts|
28
29 opts.banner = "Usage: aws-rb [options]"
30
31 opts.on("--region NAME", "specify the AWS region, e.g. us-west-2") do |value|
32 options[:region] = value
33 end
34
35 opts.on("--repl R …
Ruby defines methods dynamically aws-v3.rb · lines 118–130
118:48… ../#{gem_name}/lib", __FILE__))
119 end
120end
121
122# add helper methods
123module Aws
124 class << self
125 Aws.constants.each do |const_name|
126 if Aws.autoload?(const_name)
127 define_method(const_name.downcase) do |options = {}|
128 Aws.const_get(const_name).const_get(:Client).new(options)
129 end
130 en …
Names a RubyGems extension builder file aws-v3.rb · lines 140–152
140:13… t_get(name).const_get(:Resource).new(client: self)
141 end
142end
143
144# configure the sdk
145
146cfg = {}
⋯6 lines
Ruby dynamic code evaluation call aws-v3.rb · lines 166–193
166:31… rary|
167 require(library)
168end
169
170unless options[:execute].empty?
171 eval(options[:execute].join("\n"))
172 exit
173end
174
175class PryNotAvailable < StandardError; end
176
177def run_with_pry
178 begin
179 require 'pry'
180 rescue LoadError
181 raise PryNotAvailable
182 end
183 Aws.pry
184end
185
186def run_with_irb
187 require 'irb'
188 IRB.start
189end
⋯4 lines

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.