gleborator 0.1.1.10 → 0.1.1.11

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: 9fd2baf148391ef610a01d0181a7a38b72761ed3
4
- data.tar.gz: 1dc796d8f04e024638fef9e840b34828e3415dcb
3
+ metadata.gz: 40316b092651ac819a0ccd4a0ec535745aa2c627
4
+ data.tar.gz: f006a1be4de61665f9b6dcb5f5ce2ab464d43cc3
5
5
  SHA512:
6
- metadata.gz: c6b4209942bcd594358fcacd406899e28e9022e1b5ae64ed85656abae443e17f74d5a4c1405045b7bcc50dd7bd875d130a20ec495ab07ef6509930ba4c5ed4e6
7
- data.tar.gz: a3f862f2a22c8d76c700eccc40033d09b2e151327e805476fae8b72178e2b76d076e775af0b537563fd9b320dfaa15a69ca5c4ec6a15608699f8766da4e70bb7
6
+ metadata.gz: a334ac11c90a94c7555e00a17ef84061e2c3093ba78900f4ab6b4af89f85cae56647f5cfac1470dad7af169b035f1edd8df23786c19763e26bbc96e1548a6a4d
7
+ data.tar.gz: 607c0fd9e3221048cf5fed9a94cc7dc730f6d514190a82f4e82bbd79807de5058e655ae785e997890f7eeb4414428a9a5ed35f5a626a3c6853b525ad1bbc4de9
@@ -1,6 +1,10 @@
1
1
  module Gleborator
2
2
  class BaseDecorator
3
3
  attr_reader :object
4
+ alias_method :model, :object
5
+ alias_method :source, :object
6
+ alias_method :to_source, :object
7
+
4
8
  def initialize(object)
5
9
  @object = object
6
10
  end
@@ -1,3 +1,3 @@
1
1
  module Gleborator
2
- VERSION = "0.1.1.10"
2
+ VERSION = "0.1.1.11"
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.10
4
+ version: 0.1.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Vishnevsky