gotit 0.0.28 → 0.0.29

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c51079f21f970084b527fdddb2a67b00757a2cee50645ec9ca9bed13a30ff8b
4
- data.tar.gz: a65196eaf24ba027f6a74c2869dc76b937be3040c2326a5ec5734b38780a8ee9
3
+ metadata.gz: f28ed02b1695ebfb7b0cc9b7e7c0a6f3f142a0ed2e0003383e3ea59d88028f4e
4
+ data.tar.gz: f368c034c396eebc398255f94ec20333198971798320704cf4527938a225eb35
5
5
  SHA512:
6
- metadata.gz: 883705f5ca552ff409f3828af39ff278311d63bb7e590ca37e0b70a0df01eefb7a494d84c9c94f14c199670e2ff3fe0413c29e92c711986246ac2e0812707f0a
7
- data.tar.gz: bdd89af7464209e11797ae6dee92e9c539ab731b5b0b6fbedaf51c96b6ccc77e11e531a5e562b947fc39dc927cb855f87416c31c2f15dcda73f8ac515e749f45
6
+ metadata.gz: 2a6f5ed154c64a86983bc3aac9885d7c151367e309e9b98bee42a542cbc66d9551da89b0cc6cdc3aa35e29683723cf4f6c7d1a7913c38af6315c62e17be39f4d
7
+ data.tar.gz: 433468306eec3e81379b4c5b409414af7dde9970d3b65541765d274879e27f68ad86e705d51356a65c1b80ccc8ff8e82f0ca94ee294c2b8daccb056a5d2ac34c
@@ -1,6 +1,6 @@
1
1
  require 'active_record'
2
2
  require 'gotit/base'
3
- require 'gotit/class_method'
3
+ #require 'gotit/class_method'
4
4
 
5
5
  ActiveRecord::Base.send :include, Gotit
6
- ActiveRecord::Base.send :extend, Gotit::ClassMethod
6
+ #ActiveRecord::Base.send :extend, Gotit::ClassMethod
@@ -6,8 +6,8 @@ module Gotit
6
6
  end
7
7
 
8
8
  module Base
9
- def test_method
10
- p self * 100
9
+ def be_a_reader
10
+ self.extends Gotit::Reader
11
11
  end
12
12
  end
13
13
  end
@@ -1,5 +1,5 @@
1
1
  module Gotit
2
- module ClassMethod
2
+ class Reader
3
3
  def another_method(word)
4
4
  p word * 50
5
5
  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.28
4
+ version: 0.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - vferreyra
@@ -21,7 +21,7 @@ files:
21
21
  - lib/generators/gotit/templates/migration.rb
22
22
  - lib/gotit.rb
23
23
  - lib/gotit/base.rb
24
- - lib/gotit/class_method.rb
24
+ - lib/gotit/reader.rb
25
25
  homepage: http://rubygems.org/gems/gotit
26
26
  licenses:
27
27
  - MIT