addition_mariam 0.0.2 → 0.0.4

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/add_two +7 -0
  3. data/lib/addition_mariam.rb +1 -1
  4. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3dfa80d377c01f3b95c7d30b60e40539e861f55a8b6d914bc60a2ded85e53413
4
- data.tar.gz: b825be409c9945d38b1ce61a07012ab0fc36fae2fe4f87f1a8f7233248b87ac9
3
+ metadata.gz: b8a3d4a65db30eaedfda41ef28aeba4debea69ea186f2dd6c5372baaaf150972
4
+ data.tar.gz: 6c415cdc08500e3fe4c942abd631bbec18f107b709d678a9f0fc62b0b8e19c65
5
5
  SHA512:
6
- metadata.gz: 65e96b11f2a92f78a37c0887cad31538446238af893c898c1bb25a90cc25fe4c09ef699ccf93e19193fdf4de0c273228552e12b282d42706d96fea518fa99db9
7
- data.tar.gz: 6f3dcd8ddec7c25d4e038de121d3e747b008ef5ed5f46ae980dcd2b815129292509605a69d8a4fb69b3755c9a793c485aa0ea5d4182985658d7c5eef6f175bf5
6
+ metadata.gz: a7f73e0d2daf28e044b2b0a70af2d35b57c2dc7483d7df5f1f1264f31639f204f26e87a0a5c842bbfc4db5f928eac2c57fb261f5b04c03162c7ef50754594ca8
7
+ data.tar.gz: 9c37583b4483e2efe22d1adfb151459cf4a19e88b27c1195ebaebb589266dbef98ce1d646b12c1ca81b08e4adde27ef9d1baa521213a146445802cfe16ab5112
data/bin/add_two ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'addition_mariam'
5
+
6
+ # Your code here
7
+ puts AdditionMariam.add(ARGV[0].to_i, ARGV[1].to_i)
@@ -1,6 +1,6 @@
1
1
  class AdditionMariam
2
2
  def self.add(val1, val2)
3
- puts val1 + val2
3
+ val1 + val2
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: addition_mariam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mariam Youssri
@@ -12,10 +12,12 @@ date: 2024-08-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple addition gem
14
14
  email: mariemyoussri074@gmail.com
15
- executables: []
15
+ executables:
16
+ - add_two
16
17
  extensions: []
17
18
  extra_rdoc_files: []
18
19
  files:
20
+ - bin/add_two
19
21
  - lib/addition_mariam.rb
20
22
  homepage: https://rubygems.org/gems/addition_mariam
21
23
  licenses: