ztk 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/ztk/dsl/base.rb +5 -5
  2. data/lib/ztk/version.rb +1 -1
  3. metadata +3 -3
@@ -154,7 +154,7 @@ module ZTK::DSL
154
154
 
155
155
  # @api private
156
156
  def self.inherited(base)
157
- puts("inherited(#{base})")
157
+ # puts("inherited(#{base})")
158
158
  base.send(:extend, ZTK::DSL::Base::ClassMethods)
159
159
  base.instance_eval do
160
160
  attribute :id
@@ -163,12 +163,12 @@ module ZTK::DSL
163
163
 
164
164
  # @api private
165
165
  def self.included(base)
166
- puts("included(#{base})")
166
+ # puts("included(#{base})")
167
167
  end
168
168
 
169
169
  # @api private
170
170
  def self.extended(base)
171
- puts("extended(#{base})")
171
+ # puts("extended(#{base})")
172
172
  end
173
173
 
174
174
  def initialize(&block)
@@ -177,10 +177,10 @@ module ZTK::DSL
177
177
  block_given? and ((block.arity < 1) ? instance_eval(&block) : block.call(self))
178
178
 
179
179
  primary_key_count = self.class.dataset.count do |d|
180
- puts("d.id == #{d.id.inspect} / self.id == #{self.id.inspect}")
180
+ # puts("d.id == #{d.id.inspect} / self.id == #{self.id.inspect}")
181
181
  d.id == self.id
182
182
  end
183
- puts("primary_key_count == #{primary_key_count}")
183
+ # puts("primary_key_count == #{primary_key_count}")
184
184
  raise StandardError, "Primary key '#{self.id}' already exists!" if (primary_key_count > 1)
185
185
  end
186
186
 
@@ -21,6 +21,6 @@
21
21
  module ZTK
22
22
 
23
23
  # ZTK Version String
24
- VERSION = "1.0.2"
24
+ VERSION = "1.0.3"
25
25
 
26
26
  end
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.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -250,7 +250,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
250
250
  version: '0'
251
251
  segments:
252
252
  - 0
253
- hash: -3536505890360797724
253
+ hash: 3659297578291030360
254
254
  required_rubygems_version: !ruby/object:Gem::Requirement
255
255
  none: false
256
256
  requirements:
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
259
259
  version: '0'
260
260
  segments:
261
261
  - 0
262
- hash: -3536505890360797724
262
+ hash: 3659297578291030360
263
263
  requirements: []
264
264
  rubyforge_project:
265
265
  rubygems_version: 1.8.24