leonardo_camp_hello_world 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4d521ae37d105f41e33b9cfde817d46265b818d4
4
+ data.tar.gz: 1643cc3c9d4a806492c80972223eed4af39baaea
5
+ SHA512:
6
+ metadata.gz: dbccf143a9484f7c7cb099f3e354d28cf7e5510dc6af2606ab18e4e67272c38dcb9dad27149450c555fd1d700349e8eb87e8c13a8e18a721e14994ee7dba89e7
7
+ data.tar.gz: 88834a4f147f938aeec3da2c44338234b604f741a9af03de7dc1063d1a293b9817c10b75fd47d7cfcc2b92b83bac94b5114551d89afd3067af7871f277a8f262
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "rake/testtask"
2
+
3
+ Rake::TestTask.new do |t|
4
+ t.libs << "lib"
5
+ t.test_files = Dir["test/**/*_test.rb"]
6
+ end
@@ -0,0 +1,8 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = "leonardo_camp_hello_world"
3
+ s.version = "0.0.1"
4
+ s.description = "A simple gem that says hello to the world!"
5
+ s.summary = "Say hello!"
6
+ s.author = "Leonardo Camp"
7
+ s.files = Dir["{lib/**/*.rb,README.rdoc,test/**/*.rb,Rakefile,*.gemspec}"]
8
+ end
@@ -0,0 +1,5 @@
1
+ module HelloWorld
2
+ def self.say
3
+ "Hello World!"
4
+ end
5
+ end
@@ -0,0 +1,8 @@
1
+ require 'minitest/autorun'
2
+ require "hello_world"
3
+
4
+ class HelloWorldTest < Minitest::Test
5
+ def test_say_hello_world
6
+ assert_equal 'Hello World!', HelloWorld.say
7
+ end
8
+ end
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: leonardo_camp_hello_world
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Leonardo Camp
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-04-20 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A simple gem that says hello to the world!
14
+ email:
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - Rakefile
20
+ - leonardo_camp_hello_world.gemspec
21
+ - lib/leonardo_camp_hello_world.rb
22
+ - test/leonardo_cap_hello_world_test.rb
23
+ homepage:
24
+ licenses: []
25
+ metadata: {}
26
+ post_install_message:
27
+ rdoc_options: []
28
+ require_paths:
29
+ - lib
30
+ required_ruby_version: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ required_rubygems_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ requirements: []
41
+ rubyforge_project:
42
+ rubygems_version: 2.6.11
43
+ signing_key:
44
+ specification_version: 4
45
+ summary: Say hello!
46
+ test_files: []