spree_simple_product_translations 0.0.7.beta2 → 0.0.7.beta3

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,10 +28,12 @@ module SpreeSimpleProductTranslations
28
28
 
29
29
  ::OptionType.class_eval do
30
30
  accepts_nested_attributes_for :translations
31
+ accepts_nested_attributes_for :option_values, :allow_destroy => true
31
32
  end
32
33
 
33
34
  ::OptionValue.class_eval do
34
35
  accepts_nested_attributes_for :translations
36
+ validates_presence_of :name, :presentation
35
37
  end
36
38
  end
37
39
 
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_simple_product_translations
3
3
  version: !ruby/object:Gem::Version
4
- hash: 62196383
4
+ hash: 62196381
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
9
  - 7
10
10
  - beta
11
- - 2
12
- version: 0.0.7.beta2
11
+ - 3
12
+ version: 0.0.7.beta3
13
13
  platform: ruby
14
14
  authors:
15
15
  - Jeroen Jacobs