urg 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/urg.rb +15 -0
  3. metadata +44 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 63a78a2b0eade44bfc04878f4b683e5276649ca4d96f5fb7da5064446219d367
4
+ data.tar.gz: ccbd5c29ffb756301334a2af8b54154b972685f3536e6491b694a87477b563b1
5
+ SHA512:
6
+ metadata.gz: 2570a0f714960f307077e19095ede1242c6af384f26712eee95bc7e62a3edf39bf98e3df55925d838faf78cdf51080f754165ce0007ccfef85e460bdb9ee90a5
7
+ data.tar.gz: a7ce219d70084a3f2c496e0256f40da8f5d62cf8b955174cccd14096943f0dad27411482969053d3e005088a20bd8132de98b8b42bbe4e5a7746ff51800f0b0e
data/lib/urg.rb ADDED
@@ -0,0 +1,15 @@
1
+ require "base64"
2
+ require "zlib"
3
+
4
+ module Urg
5
+ def self.exfil(object)
6
+ str = Base64.encode64(Zlib::Deflate.deflate(Marshal.dump(object)))
7
+ puts "🚀"*20
8
+ puts "Urg.infil(\"#{str}\")"
9
+ puts "🚀"*20
10
+ end
11
+
12
+ def self.infil(str)
13
+ Marshal.load(Zlib::Inflate.inflate(Base64.decode64(str)))
14
+ end
15
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: urg
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Lawson Kurtz
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-08-08 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Utils for urg
14
+ email: lawson.kurtz@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/urg.rb
20
+ homepage: https://rubygems.org/gems/urg
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubyforge_project:
40
+ rubygems_version: 2.7.6
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: urg, mostly.
44
+ test_files: []