darkdark 0.0.0 → 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
  SHA1:
3
- metadata.gz: 66edfb1edaef44f9c3253a5b9834750a8aa74c98
4
- data.tar.gz: d3ea30a5e46daab1b627496fab3f4d6ba2de0389
3
+ metadata.gz: 55b5a3d9ab37416db958df22f12701e77596a1ac
4
+ data.tar.gz: e1ba07dd301d55614e87c87c262a258320734e43
5
5
  SHA512:
6
- metadata.gz: 6c381411996f9799daae733eb138cc8a3f1a69d9daa6a86adcd52e254c91499cd9512a9236bd69c52a2766a686509047b5d2d87a0f38d7f812091a2982ff88bf
7
- data.tar.gz: 46e44836624dff09df2cc8e3f876a4f347a72916b180bca772e302cb7a2b829e599a38a4819159feec301a7f3bae1479c956b1cb97178a0b73daac05cc3c2e02
6
+ metadata.gz: b26369eb89e2845a603cd17170436a53255e0c2f366700f37bd50642ea7da70ef5ef469a82ba7f5ef58e74d7ca685f133a21bb6b04d358f8bf53f6d067f72c66
7
+ data.tar.gz: 60c39e4f698d1e058009bed1d3744caa651f3f4a4a77f70c3fd83f7bb29607dd650c84106e837af2b9ef9a1d2b406a075c8295379849586c759f225da8183988
data/bin/darkdark ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'darkdark'
4
+ DarkDark::Hello.new.hello
data/lib/darkdark.rb CHANGED
@@ -1,5 +1,4 @@
1
- class DarkDark
2
- def self.hello
3
- puts "Hello world"
4
- end
1
+ module DarkDark
5
2
  end
3
+
4
+ require 'darkdark/hello.rb'
@@ -0,0 +1,5 @@
1
+ class DarkDark::Hello
2
+ def hello
3
+ "Hello world"
4
+ end
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: darkdark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Quang-Minh Nguyen
@@ -12,11 +12,14 @@ date: 2016-08-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple hello world gem writen by Dark
14
14
  email: nguyenquangminh0711@gmail.com
15
- executables: []
15
+ executables:
16
+ - darkdark
16
17
  extensions: []
17
18
  extra_rdoc_files: []
18
19
  files:
20
+ - bin/darkdark
19
21
  - lib/darkdark.rb
22
+ - lib/darkdark/hello.rb
20
23
  homepage: https://google.com
21
24
  licenses:
22
25
  - MIT