gotit 0.0.36 → 0.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gotit/base.rb +16 -10
  3. metadata +1 -2
  4. data/lib/gotit/reader.rb +0 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed699a9867fb8438b2d2c671081d0aa7956d8e56c30995f08e3f338ac276e84a
4
- data.tar.gz: 503048e17dbc9fe6530f5b29faaf404bf0e0c490b5d5c60b458047242cb41c5a
3
+ metadata.gz: 07f93849fcda62aa45260a641547ef59ceed32a629651e437a8dc4daa686e1f2
4
+ data.tar.gz: 9ad6ee92df3aadab0e802fa595eff07c4c15e45a760e328df29fb8e4ca997223
5
5
  SHA512:
6
- metadata.gz: e1e1ba2522dc96ea4e830e08ae453045b68cf6abb18cc37450e18df2d17c97b3adc1bc8f5314b028044ceab2d5199d3e3628ad8b5675c592b16698cf371ff65f
7
- data.tar.gz: 32da22067ae9dea091469ad4ada97c1d15c5a140010f62c71e1b0248f00ec41db447138ac616047347799b07ed329ed079fec77e813bcabf7f3dacd1129abc8e
6
+ metadata.gz: 8ea26970fa53a1181a5c28eaae1ea5f4497bafbd132daf0b53899749c27aebd2e9baa038053a8a602173b5d905c871ec69b25f9000ccea6c116a812eeb4a89b0
7
+ data.tar.gz: 265b6518c5101f1aa71f9441f24c600524ca900ccc62f8de315be500574281b1f5b71d4cefb362e9ae303d937186fdf6872c037f34a5eb682eb69a70e0075504
data/lib/gotit/base.rb CHANGED
@@ -1,12 +1,18 @@
1
- class Gotit::Base
2
- # def self.included(base)
3
- # base.extend Base
4
- # end
5
- #
6
- # module Base
7
- #
8
- # end
9
- def be_a_reader
10
- self.extends Gotit::Reader
1
+ module Gotit
2
+ def self.included(base)
3
+ base.extend Base
4
+ end
5
+
6
+ module Reader
7
+ def another_method(word)
8
+ p word * 50
9
+ end
10
+ end
11
+
12
+ module Base
13
+ def be_a_reader
14
+ p Gotit
15
+ self.extends Gotit::Reader
16
+ end
11
17
  end
12
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gotit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.36
4
+ version: 0.0.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - vferreyra
@@ -21,7 +21,6 @@ files:
21
21
  - lib/generators/gotit/templates/migration.rb
22
22
  - lib/gotit.rb
23
23
  - lib/gotit/base.rb
24
- - lib/gotit/reader.rb
25
24
  homepage: http://rubygems.org/gems/gotit
26
25
  licenses:
27
26
  - MIT
data/lib/gotit/reader.rb DELETED
@@ -1,5 +0,0 @@
1
- class Gotit::Reader
2
- def another_method(word)
3
- p word * 50
4
- end
5
- end