geekhub_tasks 1.1.0 → 1.2.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 +4 -4
  2. data/lib/geekhub_tasks.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0459718112773aa2b58adbab89ad52333bba7744b8ed74804fdc9313980fe6ed'
4
- data.tar.gz: 53d91e9b829096401bc4422c1a144dbeb4a60e4c8168c4ecfb0e391704561358
3
+ metadata.gz: 9f9bd91942ff7dba1919a0c9be134574b41fafa3d7c72d1cf9814f24d8a9511c
4
+ data.tar.gz: 3ec93e828b2e154086707d75fdedb3ddc12a275b42288fba7b6a8638234e3287
5
5
  SHA512:
6
- metadata.gz: 9b691b9d47a3361bbefa146b0f614c459a2cc413770fe45f5d0f8b8b4e9b5a417f9cca67f22bcf27be38fae127ff18199d2dbe6822cf4a89e64bb72edd73bce1
7
- data.tar.gz: 04e49217b223fb601921a320ac0fb2e387f146934a35e976b06b2f636b435f29182e9fcbfcc69a3fd577a3e91d170a54d9cfa87ceb50547fe7b9898dc4d49028
6
+ metadata.gz: 1394c16f49db6da0bae86ba8dc4bc3606dfd72b8774eaba6c007e06c530e0b01336ba15c41477e77c992cf0e01c117438ba39a1864f0812b37392565a393881e
7
+ data.tar.gz: 6b1a28b8b8b16155d56b73bbc568171c50a1edc4e6625376612d79c417a732a2dfd36a4a3435f09591ca83361e74bf3a0e20e418be1f5007f9ddd07b4da274b6
data/lib/geekhub_tasks.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  class GeekHubTasks
2
2
 
3
- def self.triangle(a, b)
3
+ def self.area_triangle(a, b)
4
4
  hypotenuse = Math.sqrt( ( a**2 ) + ( b**2 ) ).round(2)
5
5
  area = ( a * b )/2
6
6
  { hypotenuse: hypotenuse, area: area }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geekhub_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maks Gostroushko
@@ -10,7 +10,7 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2018-11-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: A simple hello world gem
13
+ description: Special gem for GeekHub
14
14
  email: makshostroyshko@gmail.com
15
15
  executables: []
16
16
  extensions: []