ztk 1.6.18 → 1.6.19
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ztk/dsl/core/dataset.rb +9 -5
- data/lib/ztk/version.rb +1 -1
- metadata +3 -3
data/lib/ztk/dsl/core/dataset.rb
CHANGED
@@ -24,11 +24,15 @@ module ZTK::DSL::Core
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def purge
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
27
|
+
klass = self.to_s.underscore.to_sym
|
28
|
+
|
29
|
+
@@dataset ||= {}
|
30
|
+
@@dataset[klass] = []
|
31
|
+
|
32
|
+
@@id ||= {}
|
33
|
+
@@id[klass] = 0
|
34
|
+
|
35
|
+
true
|
32
36
|
end
|
33
37
|
|
34
38
|
def next_id
|
data/lib/ztk/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ztk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.19
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -275,7 +275,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
275
275
|
version: '0'
|
276
276
|
segments:
|
277
277
|
- 0
|
278
|
-
hash: -
|
278
|
+
hash: -3228698218951252924
|
279
279
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
280
|
none: false
|
281
281
|
requirements:
|
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
284
284
|
version: '0'
|
285
285
|
segments:
|
286
286
|
- 0
|
287
|
-
hash: -
|
287
|
+
hash: -3228698218951252924
|
288
288
|
requirements: []
|
289
289
|
rubyforge_project:
|
290
290
|
rubygems_version: 1.8.25
|