alpha-simprini-engine 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,9 @@ module "AS", ->
19
19
  if value is undefined
20
20
  AS.All.byCid[@get_attribute(name)]
21
21
  else
22
- if value.cid
22
+ if value is null
23
+ @set_attribute(name, undefined)
24
+ else if value.cid
23
25
  @set_attribute(name, value.cid)
24
26
  else if _.isString(value)
25
27
  @set_attribute(name, value)
@@ -38,7 +40,9 @@ module "AS", ->
38
40
  if value is undefined
39
41
  AS.All.byCid[@get_attribute(name)]
40
42
  else
41
- if value.cid
43
+ if value is null
44
+ @set_attribute(name, undefined)
45
+ else if value.cid
42
46
  @set_attribute(name, value.cid)
43
47
  else if _.isString(value)
44
48
  @set_attribute(name, value)
@@ -58,8 +62,6 @@ module "AS", ->
58
62
  @::[name] = (value) ->
59
63
  if value is undefined
60
64
  @get_attribute(name)
61
- else if value is null
62
- @set_attribute(name, undefined)
63
65
  else
64
66
  @set_attribute(name, value)
65
67
 
@@ -1,3 +1,3 @@
1
1
  module AlphaSimpriniEngine
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alpha-simprini-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-10-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70330849877980 !ruby/object:Gem::Requirement
16
+ requirement: &70336364212240 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70330849877980
24
+ version_requirements: *70336364212240
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: erector
27
- requirement: &70330849877260 !ruby/object:Gem::Requirement
27
+ requirement: &70336364211560 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.9.0.pre1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70330849877260
35
+ version_requirements: *70336364211560
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: inherited_resources
38
- requirement: &70330849852920 !ruby/object:Gem::Requirement
38
+ requirement: &70336364210520 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.2.2
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70330849852920
46
+ version_requirements: *70336364210520
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: sass-rails
49
- requirement: &70330849852180 !ruby/object:Gem::Requirement
49
+ requirement: &70336364209780 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 3.1.0
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70330849852180
57
+ version_requirements: *70336364209780
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: coffee-rails
60
- requirement: &70330849851320 !ruby/object:Gem::Requirement
60
+ requirement: &70336364208100 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 3.1.0
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70330849851320
68
+ version_requirements: *70336364208100
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: msgpack
71
- requirement: &70330849850580 !ruby/object:Gem::Requirement
71
+ requirement: &70336364202080 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70330849850580
79
+ version_requirements: *70336364202080
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: compass
82
- requirement: &70330849849880 !ruby/object:Gem::Requirement
82
+ requirement: &70336364199880 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 0.12.alpha
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *70330849849880
90
+ version_requirements: *70336364199880
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: sqlite3
93
- requirement: &70330849849320 !ruby/object:Gem::Requirement
93
+ requirement: &70336364197680 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,7 +98,7 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70330849849320
101
+ version_requirements: *70336364197680
102
102
  description: Comes with some plugins configured and some coffeescript/css/assets preloaded
103
103
  for JOY
104
104
  email:
@@ -250,7 +250,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
250
250
  version: '0'
251
251
  segments:
252
252
  - 0
253
- hash: 1245504945622828058
253
+ hash: -3071418942361025464
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: 1245504945622828058
262
+ hash: -3071418942361025464
263
263
  requirements: []
264
264
  rubyforge_project:
265
265
  rubygems_version: 1.8.6