storext 2.2.2 → 3.3.0

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
- SHA1:
3
- metadata.gz: d7310847392f00a725727524f18b60aa786ae711
4
- data.tar.gz: 4f97657ecfce3c723c778d4828ccd0c9caa06263
2
+ SHA256:
3
+ metadata.gz: '08e312550d28c9b6fa6d53783037e1a5d40e86f9ae1ffe23a94d82978a65b6e1'
4
+ data.tar.gz: c8224c7d4f2a7fb41330ccb56511d0b23356c7ad9a107af40a515a2cbe85f48b
5
5
  SHA512:
6
- metadata.gz: 599218af628381c3a34b06fb973c7446edad2ac643f5ac42835c7dd50b49578077002314f554377c02c9ef3488f58f5f6b263bd279835d0d5d42cc6181b56714
7
- data.tar.gz: 5d1ccd6f7668b46d939cd5243ab4e52af15e1042face666ec356fa311f18d7c9875340ac7f21d1ca7541b2feca53b0193332bd0b80c773546c8ed565f5578571
6
+ metadata.gz: '08b86e1cf1ad26124c6f1922424ade4c9acc35ba368a1e4dc6d2ff254d4600d51ea9369429cd03d387844103698bf3e582b4b26eb23fc85d1a46637226fe0bec'
7
+ data.tar.gz: 0a6d04a5e40cb3fedf0de080c849714ee9796e7903e54dcc4c6bda0348ffdfa51e520d26ebc381eafb50dfa27dcd6ea373ed52545112c8805ecc5616aefea2a3
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2016 G5
1
+ Copyright 2019 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
@@ -80,6 +80,10 @@ module Storext
80
80
  end
81
81
  end
82
82
 
83
+ def _load(yml)
84
+ YAML.load(yml)
85
+ end
86
+
83
87
  private
84
88
 
85
89
  def storext_attrs_for(column)
@@ -30,6 +30,10 @@ module Storext
30
30
  send(column).with_indifferent_access.has_key?(key)
31
31
  end
32
32
 
33
+ def _dump(level)
34
+ self.to_yaml
35
+ end
36
+
33
37
  private
34
38
 
35
39
  def set_storext_defaults
@@ -1,3 +1,3 @@
1
1
  module Storext
2
- VERSION = "2.2.2"
2
+ VERSION = "3.3.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: 2.2.2
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - G5
@@ -10,10 +10,24 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-12-16 00:00:00.000000000 Z
13
+ date: 2021-01-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: rails
16
+ name: virtus
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: '0'
29
+ - !ruby/object:Gem::Dependency
30
+ name: activerecord
17
31
  requirement: !ruby/object:Gem::Requirement
18
32
  requirements:
19
33
  - - ">="
@@ -21,7 +35,7 @@ dependencies:
21
35
  version: '4.0'
22
36
  - - "<"
23
37
  - !ruby/object:Gem::Version
24
- version: '6.0'
38
+ version: '6.2'
25
39
  type: :runtime
26
40
  prerelease: false
27
41
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,15 +45,15 @@ dependencies:
31
45
  version: '4.0'
32
46
  - - "<"
33
47
  - !ruby/object:Gem::Version
34
- version: '6.0'
48
+ version: '6.2'
35
49
  - !ruby/object:Gem::Dependency
36
- name: virtus
50
+ name: pg
37
51
  requirement: !ruby/object:Gem::Requirement
38
52
  requirements:
39
53
  - - ">="
40
54
  - !ruby/object:Gem::Version
41
55
  version: '0'
42
- type: :runtime
56
+ type: :development
43
57
  prerelease: false
44
58
  version_requirements: !ruby/object:Gem::Requirement
45
59
  requirements:
@@ -47,7 +61,7 @@ dependencies:
47
61
  - !ruby/object:Gem::Version
48
62
  version: '0'
49
63
  - !ruby/object:Gem::Dependency
50
- name: pg
64
+ name: rspec
51
65
  requirement: !ruby/object:Gem::Requirement
52
66
  requirements:
53
67
  - - ">="
@@ -61,7 +75,7 @@ dependencies:
61
75
  - !ruby/object:Gem::Version
62
76
  version: '0'
63
77
  - !ruby/object:Gem::Dependency
64
- name: rspec
78
+ name: database_cleaner
65
79
  requirement: !ruby/object:Gem::Requirement
66
80
  requirements:
67
81
  - - ">="
@@ -75,7 +89,7 @@ dependencies:
75
89
  - !ruby/object:Gem::Version
76
90
  version: '0'
77
91
  - !ruby/object:Gem::Dependency
78
- name: database_cleaner
92
+ name: rails
79
93
  requirement: !ruby/object:Gem::Requirement
80
94
  requirements:
81
95
  - - ">="
@@ -124,8 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
138
  - !ruby/object:Gem::Version
125
139
  version: '0'
126
140
  requirements: []
127
- rubyforge_project:
128
- rubygems_version: 2.5.1
141
+ rubygems_version: 3.1.3
129
142
  signing_key:
130
143
  specification_version: 4
131
144
  summary: Extends ActiveRecord::Store.store_accessor