simple_base64 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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/simple_base64.rb +13 -0
  3. metadata +43 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 39245980e3e439a5a81a9782f023aed2542b92933841cfa1b1a43297acc3fd2a
4
+ data.tar.gz: 89a2ef95ceaf7d1d1b2c9b0848e454b39976b1d96e55ef7cfca14d24310cf261
5
+ SHA512:
6
+ metadata.gz: f08ecdaa5ed887cdfcd4baf8386a701e40055c83d543ea172c415fed802845378a868836842234310162b23d5292c0a1eeb3dff05d4b44d0736da40712fb5396
7
+ data.tar.gz: 687b1af83c667013461b18f7c06029b767be58ceb8cd7525fe6176164f47be6153f311ae5d26535db9a88af292f36dd4c4f5b01014ef8186554b01a920b9edf3
@@ -0,0 +1,13 @@
1
+ require 'base64'
2
+ # require 'pry'
3
+
4
+
5
+ class SimpleBase64
6
+ def initialize(prop)
7
+ File.open(prop).each do |item_file|
8
+ puts Base64.strict_encode64(item_file)
9
+ end
10
+ end
11
+ end
12
+
13
+
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simple_base64
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Ramiro Ruiz
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-10-15 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A simple base64
14
+ email: "-"
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/simple_base64.rb
20
+ homepage: https://rubygems.org/gems/simple_base64
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
+ rubygems_version: 3.2.3
40
+ signing_key:
41
+ specification_version: 4
42
+ summary: a basic base64
43
+ test_files: []