dm-persevere-adapter 0.35.0 → 0.36.0

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/model_json_support.rb +1 -0
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.35.0
1
+ 0.36.0
@@ -24,6 +24,7 @@ module DataMapper
24
24
  json_hash = { "type" => tm[type][:primitive] }
25
25
  json_hash.merge!( tm[type].reject{ |key,value| key == :primitive } )
26
26
  json_hash.merge!({ "optional" => true }) unless required? == true
27
+ json_hash.merge!({"position" => @position }) unless @position.nil?
27
28
  # MIN
28
29
  # MAX
29
30
  json_hash
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-persevere-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan R. Judson