distortioner 0.0.1.alpha → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/distortioner.rb +1 -0
- data/lib/distortioner/say.rb +17 -0
- data/lib/distortioner/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53a1d93018c8b9fd7f0b9b79988a6d432ca1ee75b962833282232758010741c4
|
4
|
+
data.tar.gz: 60641e1eb0ff239e9a2e0951dcb36bbf98cae039456e66f9ed9913f3b857197f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1377dfc656ae5a63a988c5cb96fa089959669b3c4391b7c76bc7a8bd3233182089cc7cee2a763b41ff021a77112abc767e5eff94bf91b23a6ade40e4680701a7
|
7
|
+
data.tar.gz: 749cc69e0b3fb1f417aab296e9353a1fc0421460ba35487220e39f9f68bdb7c497ad323df7b0fa0a488f226502fa105d24bcb25f44c105b66c149a7988ff3b8b
|
data/Gemfile.lock
CHANGED
data/lib/distortioner.rb
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
module Distortioner
|
2
|
+
class Say
|
3
|
+
def version
|
4
|
+
$stdout.puts Distortioner::VERSION
|
5
|
+
end
|
6
|
+
|
7
|
+
def hi(to: :mr_sourcerer)
|
8
|
+
if to == :mr_sourcerer
|
9
|
+
$stdout.puts "I am politely saying hi on behalf of Ricardo Valeriano!"
|
10
|
+
$stdout.puts " He sure hope you are having fun reading his book. 🙌"
|
11
|
+
return
|
12
|
+
end
|
13
|
+
|
14
|
+
$stdout.puts "Hi, #{to}!"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/distortioner/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: distortioner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricardo Valeriano
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: The reference implementation for the book.
|
14
14
|
email:
|
@@ -29,6 +29,7 @@ files:
|
|
29
29
|
- bin/setup
|
30
30
|
- distortioner.gemspec
|
31
31
|
- lib/distortioner.rb
|
32
|
+
- lib/distortioner/say.rb
|
32
33
|
- lib/distortioner/version.rb
|
33
34
|
homepage: https://blog.ricardovaleriano.com
|
34
35
|
licenses:
|
@@ -48,9 +49,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
48
49
|
version: 2.3.0
|
49
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
51
|
requirements:
|
51
|
-
- - "
|
52
|
+
- - ">="
|
52
53
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
54
|
+
version: '0'
|
54
55
|
requirements: []
|
55
56
|
rubygems_version: 3.1.2
|
56
57
|
signing_key:
|