storext 1.0.0 → 1.0.1

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: 41501e45ad81d0210775629539268c73a96d98a0
4
- data.tar.gz: e775e1155ae76dda7b5098920a366b74fe794724
3
+ metadata.gz: a6ce323342ef66d7c2dc65ba73b25b5365717138
4
+ data.tar.gz: f4a3efec960a9e8619aa135360167992faadfb13
5
5
  SHA512:
6
- metadata.gz: 64f397db35f2cde3086cc7a8b6102c818fd83a8dedb712b1d6e401609a3f4201cf9b28a30725eed0665d8531f49778b8f12cb96382b2dc47e6f2ed6475b3b4aa
7
- data.tar.gz: fbce44911c14449ca9a2015bd0107180fb0d76aea197c48e9ef33836a1b06e740899d2c5c882a2d3e18c84a5ce4952debf28a257eec4f843270ef492bf969d1e
6
+ metadata.gz: 70cd9d171ad95723db0a8569d727e6133b9f29824707ce280111d5b25f2f284754c9f38b6623b24871a60424927b1ad3bb467dc612b80516a0265229d9672bfb
7
+ data.tar.gz: 3b7b48cf1eaeff6931d7ad675139dbbd72c9c57d69223b9aafb3897bca71646bed9cd23b4d8e64a481a56eddd3bc4586c2952be7e9465ee5bd07251a8fd97a4b
@@ -3,6 +3,9 @@ module Storext
3
3
 
4
4
  def destroy_key(column, attr)
5
5
  new_value = send(column)
6
+ if Rails.gem_version < Gem::Version.new("4.2.0")
7
+ new_value = send(column).dup
8
+ end
6
9
  new_value.delete(attr.to_s)
7
10
  send("#{column}=", new_value)
8
11
  end
@@ -1,3 +1,3 @@
1
1
  module Storext
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
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.0
4
+ version: 1.0.1
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-03-24 00:00:00.000000000 Z
13
+ date: 2015-04-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  requirements: []
121
121
  rubyforge_project:
122
- rubygems_version: 2.4.3
122
+ rubygems_version: 2.4.5
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: Extends ActiveRecord::Store.store_accessor