bundlesec 0.0.0

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/bundlesec.rb +10 -0
  3. metadata +44 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 866d62934d25e542684c589a3a1237698c19b953e3bc861df45860a0a9b4c849
4
+ data.tar.gz: 1f8e333c4dbd3ae0895b1837db6eae6267d592b7cf6c928f49a862fd77dcf385
5
+ SHA512:
6
+ metadata.gz: c318cfe8c637943517d1d03b1475b109f00de189d3cde0badb87c2358ed12f6649710cf7ca58e240e880c14c7a88e26531005c02240f09087e481c460d33a80a
7
+ data.tar.gz: 98382e147333ce974e07ece50bde16e98a21de1c3449362b9b0515770cf65733c51a2f16becc71ce78a94a0d6389777fa515147ee7ee210efd0947111ba86cdf
data/lib/bundlesec.rb ADDED
@@ -0,0 +1,10 @@
1
+ class BundleSec
2
+ def self.add(input)
3
+ if input.empty?
4
+ 0
5
+ else
6
+ numbers = input.split(",").map { |num| num.to_i }
7
+ numbers.inject(0) { |sum, number| sum + number }
8
+ end
9
+ end
10
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bundlesec
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Shiv Shambhu
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Library creates and configures thrift client and thrift server to work
14
+ together. You can connect to Thrift implementation in any other languages and libraries.
15
+ email: shivshambhu637@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/bundlesec.rb
21
+ homepage: https://rubygems.org/gems/bundlesec
22
+ licenses:
23
+ - MIT
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubygems_version: 3.2.27
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: bundle bundle gem gem
44
+ test_files: []