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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ed3976b4840dbc4929c694b323dfe3d28fc715c238c791276b8646cbfc6579e
4
- data.tar.gz: 1429522000afa1bfb0ce0a489bffb3e4767e5a93081916f81277cc3637fdec70
3
+ metadata.gz: 53a1d93018c8b9fd7f0b9b79988a6d432ca1ee75b962833282232758010741c4
4
+ data.tar.gz: 60641e1eb0ff239e9a2e0951dcb36bbf98cae039456e66f9ed9913f3b857197f
5
5
  SHA512:
6
- metadata.gz: 645bc69cbdaf959f4e15a9a288ff90e68b49f1c06e206d8beedca294f10f8c206981b732ea8a9865a22825185895593c5d793b521695b041958ffb4efeb8649b
7
- data.tar.gz: 577fad980a6fda088ecf2042887c40c7b574a3e1416b34e8afb1f81269062a5b247c5ea47ae3360acaf652c836335e4826378f1d9c085ca8300383f6d33df0ae
6
+ metadata.gz: 1377dfc656ae5a63a988c5cb96fa089959669b3c4391b7c76bc7a8bd3233182089cc7cee2a763b41ff021a77112abc767e5eff94bf91b23a6ade40e4680701a7
7
+ data.tar.gz: 749cc69e0b3fb1f417aab296e9353a1fc0421460ba35487220e39f9f68bdb7c497ad323df7b0fa0a488f226502fa105d24bcb25f44c105b66c149a7988ff3b8b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- distortioner (0.0.1.alpha)
4
+ distortioner (0.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,4 +1,5 @@
1
1
  require "distortioner/version"
2
+ require "distortioner/say"
2
3
 
3
4
  module Distortioner
4
5
  class Error < StandardError; end
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Distortioner
2
- VERSION = "0.0.1.alpha"
2
+ VERSION = "0.0.1"
3
3
  end
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.alpha
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-10 00:00:00.000000000 Z
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: 1.3.1
54
+ version: '0'
54
55
  requirements: []
55
56
  rubygems_version: 3.1.2
56
57
  signing_key: