storext 1.0.3 → 1.1.0

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: 575cadf889b06670fee076e367dbdd98f65dacdd
4
- data.tar.gz: 9f16efe7dbfae9cd8c5982d84c2e8fc78f53c9bb
3
+ metadata.gz: b724caadf1e54b22c8cab75f126182a1968a7314
4
+ data.tar.gz: 221fc6202180a8c0c3ac3519b5811d4dc930fc29
5
5
  SHA512:
6
- metadata.gz: 095db2aa2daefcd5b1f9202e43a9eccae3a7cd7341aa0ac335457c3560fb84456ffc88b21144fa7cac518cf4c6f044321568af3649783bbfb3f7f8ef9113d148
7
- data.tar.gz: be9f734f099a4597ef6a8bf4b1862f1484598edb5d563fb6bf9e083cc24eb239098a207c9dfd72a3d0833ee072cfb5aedc9ecd5f4e649c3b8006c6c0637aaf75
6
+ metadata.gz: 7b1dfb86dee5422517a5704ae0c5a0c58a29f5944994bec4855f64647761a945887a3897549fbe77433c8c2f1a0be8aa97aebc4f38ef96678da107b9dd5d6932
7
+ data.tar.gz: 5e40101f5840f73c08b09831ff9e7386eb08a1a2bbd2402d2fff8a6edd51303d29fcaeda5295d4b3537b4c48c975f81312c4759c8720930a9a91f684c28f39a1
@@ -1,4 +1,4 @@
1
- Copyright 2014 G5
1
+ Copyright 2015 G5
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -19,6 +19,10 @@ module Storext
19
19
  send("#{column}=", new_value)
20
20
  end
21
21
 
22
+ def storext_has_key?(column, key)
23
+ send(column).with_indifferent_access.has_key?(key)
24
+ end
25
+
22
26
  private
23
27
 
24
28
  def set_storext_defaults
@@ -1,3 +1,3 @@
1
1
  module Storext
2
- VERSION = "1.0.3"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: storext
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - G5
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-04-13 00:00:00.000000000 Z
13
+ date: 2015-06-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails