sinja-sequel 0.1.3 → 0.1.4

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: 61b76939419efbaf8a1ebaa16422655c9203ed1e
4
- data.tar.gz: 76743e74389a170a94220a776f066225779069b0
3
+ metadata.gz: bf7faf4dabe880c98f5fa92ef61052682d7356fd
4
+ data.tar.gz: cb6ee60061b40394040abc77d0b6eb3013db0074
5
5
  SHA512:
6
- metadata.gz: efe50baa560a0f3c7759700049463e98bc3a2c03d0bc77991eaf161202471167324b0cef4a8d5cf2839176049f140e2f1a7619a7160b759bfbf3584d760724ee
7
- data.tar.gz: 66ad713a871bb5ab0cd28413a62118f6fd256121090492d65ee994a630f70ac675e61c336d5bb4f11f10665ad57d654c5bb288d314005700c10780db939a81af
6
+ metadata.gz: 52dfb601106827699ea282b58d6b81e696556a797750b5cfc811a39a9b18b00ac5d98d510a3df51e4c14b34d47f16b91ee837d00b1e44afbcb8715c656f658d4
7
+ data.tar.gz: 926c9234c0b01ba32d9c63e4c05b0a413cff9241700b0ee7ccdf7169dcf2cbe87328e0c81e4208d6a4915cd18cd9375a5f6fe8ef8483a081e8874632cc5335e8
data/lib/sinja/sequel.rb CHANGED
@@ -19,7 +19,7 @@ module Sinja
19
19
  klass.dataset
20
20
  end
21
21
 
22
- def find(id)
22
+ define_method(:find) do |id|
23
23
  dataset[id.send(try_convert)]
24
24
  end
25
25
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Sinja
3
3
  module Sequel
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinja-sequel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Pastore