gleborator 0.1.1.6 → 0.1.1.7

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
  SHA1:
3
- metadata.gz: 18bfc3f5ab71d1f31c1cd1ad1cc63cba7ba1a0d3
4
- data.tar.gz: d4b94259049c3f4380d5cb824687967de7e9ae53
3
+ metadata.gz: aaf1c14e110ce0d34c37c917408f1dd1c3ede779
4
+ data.tar.gz: 63dc06f43a03adc4a05e31f1ddd404717d430798
5
5
  SHA512:
6
- metadata.gz: 9391d62ac1fa8a5866c057176dbc44f95112274fdd175c988d20f1d800ed0f39ce2ccaeb422ddd9a578bddb10b1f43e877f8f61d852002bc1acb551d042e8ba0
7
- data.tar.gz: 850b61cdd9817a62dfdaa7df72a6e0fc4f8272a4da86a7b0f38a3ffb70bffbc4566e2c3fdb135a898ee7334effe8f3d848feb85e6fb11ed2a06a60b16e5f811f
6
+ metadata.gz: 49b122fac3fc31b413f7451e8be10d2bb01d133d9880d1b49aa18a9804487c57b89eb3fa08452e7e726ff25c9a5e39776f798edc79a5cd06c0d47398c2a30113
7
+ data.tar.gz: c887ab9192b005e884bb563a7b1f4ccfa1578385b8c956fd23fbac25ef6754254b48969550c58d59aad3bca5d835149d9eae44f43e9423f4055787bf209f6f16
@@ -4,8 +4,8 @@ module Gleborator
4
4
  @object = object
5
5
  end
6
6
 
7
- def self.decorate_collection(collection)
8
- collection.map {|object| new(object) }
7
+ def self.decorate_collection(col)
8
+ col.map {|object| new(object) }
9
9
  end
10
10
  end
11
11
  end
@@ -14,6 +14,7 @@ module Gleborator
14
14
  module ClassMethods
15
15
  def decorate
16
16
  # begin
17
+ raise self.inspect
17
18
  decorator_class = "#{self.name}Decorator".constantize
18
19
  decorator_class.decorate_collection(self)
19
20
  # rescue NameError => e
@@ -1,3 +1,3 @@
1
1
  module Gleborator
2
- VERSION = "0.1.1.6"
2
+ VERSION = "0.1.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gleborator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.6
4
+ version: 0.1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Vishnevsky