greyscale_record 1.0.1 → 1.0.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: 74420c0596bcbbe35996b1f640315a3147d54eb3
4
- data.tar.gz: 64a288f871b923b87de53fae2c618e6f6470d7f0
3
+ metadata.gz: 67d3b49e1ddaabefba7a1d037a82402b129d771f
4
+ data.tar.gz: 54f2145e2c16f7b635811dc9c76ae8f72e345ca5
5
5
  SHA512:
6
- metadata.gz: a292e9e2513d516f77795534776fdb32ff990746b4d4e6ffcad476f9be6d3b47a469561b2008f000ce33c0d4bb47398c6eb416193ac0e1c41b59fb0f1db24aa4
7
- data.tar.gz: 5d6a900b5f29153cea6265cc5e60bffd950a392b11cad63afb5a9cb88232a033742c75514b221666d8555600b4385c8eefaf1cc3779da02e181a4dd06523684d
6
+ metadata.gz: 70476ab4b172751544cde382d90c7a8b713658522c64a2ea8ba9bdcd138b467e0fc248a5d8ea2a6a69c1b23f481ae1019f228a289a34f565c303f5f505b2f05f
7
+ data.tar.gz: b8b2817a1d3f62d5215e520b74d3f191dc5363cd86d6572215328193b15696556fd586cdbaa4729f30f1766fc6d13650ed1062dc4c4ee6b292237dc7c96ad06f
@@ -37,7 +37,7 @@ module GreyscaleRecord
37
37
  def find( options = {} )
38
38
  table = store.table( options.delete(:_table) )
39
39
  if GreyscaleRecord.live_reload
40
- load_table!( table )
40
+ load_table!( table.name )
41
41
  end
42
42
 
43
43
  # TODO: this is where all the meat is
@@ -1,6 +1,7 @@
1
1
  module GreyscaleRecord
2
2
  module DataStore
3
3
  class Table
4
+ attr_accessor :name
4
5
 
5
6
  def initialize(name, store)
6
7
  @name = name
@@ -1,3 +1,3 @@
1
1
  module GreyscaleRecord
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: greyscale_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Orlov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-03 00:00:00.000000000 Z
11
+ date: 2017-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport