volt 0.7.3 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4acf606a202b459c97e4f91e65569bb5f17eeaeb
4
- data.tar.gz: 87950c858fb0fe423e5bd7b7d58221dc1b019e26
3
+ metadata.gz: e66c91c0fc530f8c0bfe7ab8f309fdf5873a3d39
4
+ data.tar.gz: f9ed6aecc1e258b23cbe59e9d99ab64a54da72d1
5
5
  SHA512:
6
- metadata.gz: 3bea6062b149c61ecf8a49c840607616c2f617baaceacc3c5d75bcf19a11accdb8cd562da6bf278f6e70c0f150e4ecde2f8061926c26f30707bf0a84b4eb9397
7
- data.tar.gz: 4a01e2a636f05071e0151c5d2446c15ed4934e24f0d9c6bfa788dc3ed744fb1cd1fd4fb9f054a8ad33db1061400d9b351ef09c65132d1d7d79bd351774af9448
6
+ metadata.gz: 17882cc80fad10785f995d654f6f127eba2e11dffa5b19965785f50aa262cb2e3950d62fdfdcecfc86099ebc47e33a12937f3dd506845d4e60577ac1f8d3b414
7
+ data.tar.gz: 4821c56302f0b4e649162dba8e6f07e3a629d7b3ff43e9cc970bb3d37304460d29d846b649190a306d67b20ab282042ecb47f3334c6aff915f2dfccde95a89a7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.3
1
+ 0.7.4
@@ -53,7 +53,7 @@ module Persistors
53
53
  def load_data
54
54
  # Don't load data from any queried
55
55
  if @state == :not_loaded || @state == :dirty
56
- puts "Load Data at #{@model.path.inspect} - query: #{@query.inspect}"# on #{@model.inspect}"
56
+ # puts "Load Data at #{@model.path.inspect} - query: #{@query.inspect}"# on #{@model.inspect}"
57
57
  change_state_to :loading
58
58
 
59
59
  @query_changed_listener.remove if @query_changed_listener
@@ -142,14 +142,10 @@ module Persistors
142
142
  def remove(ids)
143
143
  $loading_models = true
144
144
  ids.each do |id|
145
- puts "delete at: #{id} on #{@model.inspect}"
146
-
147
145
  # TODO: optimize this delete so we don't need to loop
148
146
  @model.each_with_index do |model, index|
149
- puts "#{model._id.inspect} vs #{id.inspect} - #{index}"
150
147
  if model._id == id
151
148
  del = @model.delete_at(index)
152
- puts "DELETED AT #{index}: #{del.inspect} - #{@model.inspect}"
153
149
  break
154
150
  end
155
151
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Stout