cistern 0.12.1 → 0.12.2

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: 596a794e4f9c5986b6d3163405445f2712df6152
4
- data.tar.gz: 7e49adeffc52e77885f8ab6dd4b409b0591d5bc4
3
+ metadata.gz: 75b3fbead13f2028fa36ed413bebfb3949711c40
4
+ data.tar.gz: b500f2b11619bd533e4e5748c36b2748e776c7d4
5
5
  SHA512:
6
- metadata.gz: 9046ac54d8b3c92b9665431dd56651e4f5985c1512bba516395ac3910ae14b1806ea1a1d1cb0fb762abd1f70c010863fdaae405c258486653f9719597786565e
7
- data.tar.gz: a46cf7e5877fb598f0b37525f7feb451f0fa8a730a8ecaba605b924d6f1a3aa96e874d5e91bcb893a7941d8e142b2ec3082a9a17603388debb238574ff1f96b7
6
+ metadata.gz: b06bb3bbd34236cebb50d34801a310d2f3f06cbc6165dc35a1705f3065ed331499120a0a0814329b5b3387346949b7786d4d38585ac9b133d1dc031f09f5738e
7
+ data.tar.gz: f4b04aa9d6d9fead01330e08235ce91f853ed9ea7937ee0c9698ae244fe77b2de8237bc4981d59a6461f88d8959b6c2bc8b1c24d1c43810de2d1bf78de59184b
@@ -10,6 +10,8 @@ class Cistern::Collection
10
10
 
11
11
  attr_accessor :records, :loaded, :connection
12
12
 
13
+ alias service connection
14
+
13
15
  def self.model(new_model=nil)
14
16
  if new_model == nil
15
17
  @model
@@ -4,6 +4,8 @@ class Cistern::Model
4
4
 
5
5
  attr_accessor :collection, :connection
6
6
 
7
+ alias service connection
8
+
7
9
  def inspect
8
10
  Cistern.formatter.call(self)
9
11
  end
@@ -1,3 +1,3 @@
1
1
  module Cistern
2
- VERSION = "0.12.1"
2
+ VERSION = "0.12.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cistern
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Lane