medea 0.5.0 → 0.5.1

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.
@@ -199,6 +199,7 @@ module Medea
199
199
 
200
200
  def update_attributes attributes
201
201
  @__jason_data = sanitize attributes
202
+ @__jason_state = :dirty unless @__jason_state == :new
202
203
  save
203
204
  end
204
205
 
data/lib/medea/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Medea
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
 
4
4
  #When the templates are changed, this version should be incremented
5
5
  #This version is used when uploading/updating the templates
@@ -0,0 +1,10 @@
1
+ require "spec_helper"
2
+
3
+ describe "Deferred Query" do
4
+
5
+ it "should be enumerable" do
6
+ for u in User.all
7
+
8
+ end
9
+ end
10
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 0
9
- version: 0.5.0
8
+ - 1
9
+ version: 0.5.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Jensen
@@ -95,6 +95,7 @@ files:
95
95
  - lib/medea/meta_properties.rb
96
96
  - lib/medea/version.rb
97
97
  - medea.gemspec
98
+ - spec/deferred_query_spec.rb
98
99
  - spec/jason_object_spec.rb
99
100
  - spec/list_properties_spec.rb
100
101
  - spec/medea_spec.rb