iron_bank 4.0.2 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/iron_bank/metadata.rb +8 -0
- data/lib/iron_bank/schema.rb +5 -1
- data/lib/iron_bank/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abb859755f3f2f169efc2c17e94c528bfceeecae15af29f34242b50af64c200f
|
4
|
+
data.tar.gz: 82afc59a76fc08d047598d8eebff23a55367e0762cd97c72a395bfa065a39275
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eeb311ce4ecc8a50e506b81551dd69ffabf8314de9f933dc4ce59f684df0c61b35f5b0b91228af005dfccdef86bf54ecffa9cdd4b962e951322f96f1701de74b
|
7
|
+
data.tar.gz: 12db484a37af6594b35aa231897ea0121976039da7059fd41f205373b945bbf51b5cd6d97f15a49af832450e932e6aa77922fe606d14c3d7bc1da8bb35fccb0e
|
data/Gemfile.lock
CHANGED
data/lib/iron_bank/metadata.rb
CHANGED
@@ -35,6 +35,14 @@ module IronBank
|
|
35
35
|
@schema ||= IronBank::Schema.for(object_name)
|
36
36
|
end
|
37
37
|
|
38
|
+
def reset
|
39
|
+
%i[@fields @query_fields @schema].each do |var|
|
40
|
+
remove_instance_variable(var) if instance_variable_defined?(var)
|
41
|
+
end
|
42
|
+
|
43
|
+
with_schema
|
44
|
+
end
|
45
|
+
|
38
46
|
def with_schema
|
39
47
|
fields.each do |field|
|
40
48
|
field_name = IronBank::Utils.underscore(field).to_sym
|
data/lib/iron_bank/schema.rb
CHANGED
data/lib/iron_bank/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iron_bank
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mickael Pham
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2019-09-
|
14
|
+
date: 2019-09-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bump
|