storext 2.2.2 → 3.0.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: f5d7523a11632ea7cca82654a7a878d5071de8eed58b1ed226b173e913f36e67
4
+ data.tar.gz: 595687865fa73f641a74b046eedf2a66651ca7b701583ff91f8319b549a72e6d
5
5
  SHA512:
6
- metadata.gz: 599218af628381c3a34b06fb973c7446edad2ac643f5ac42835c7dd50b49578077002314f554377c02c9ef3488f58f5f6b263bd279835d0d5d42cc6181b56714
7
- data.tar.gz: 5d1ccd6f7668b46d939cd5243ab4e52af15e1042face666ec356fa311f18d7c9875340ac7f21d1ca7541b2feca53b0193332bd0b80c773546c8ed565f5578571
6
+ metadata.gz: 3ed526644fe013141dfa08380c5d7c51f6fd639eacd99c9fc97607a59cf797c13867e71f0653e8ccc0efc23db2da84d5458f555b8079b4104222fe980c692b5b
7
+ data.tar.gz: 4093703ddc0ce709bdcffc6fa93d9e3e8e6288d2f54db2821913640967d929b88028b6b3d3e7f02c0e395b6c4f546658ee44db39571a53f19f797135d55710b9
@@ -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.0.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.0.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: 2019-04-26 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
  - - ">="
@@ -33,13 +47,13 @@ dependencies:
33
47
  - !ruby/object:Gem::Version
34
48
  version: '6.0'
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
  - - ">="
@@ -125,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
139
  version: '0'
126
140
  requirements: []
127
141
  rubyforge_project:
128
- rubygems_version: 2.5.1
142
+ rubygems_version: 2.7.9
129
143
  signing_key:
130
144
  specification_version: 4
131
145
  summary: Extends ActiveRecord::Store.store_accessor