rusic 1.8.0 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e03da6c569357e4efee3ef16363c4b2790e90552
4
- data.tar.gz: 337f1739fe071fc84e123e50e83cb0098c408287
3
+ metadata.gz: a20c946f1ad8c4e2a84876cb01bf800dee8a26d5
4
+ data.tar.gz: 14eaaac2208ffc70a9f02a3e1bf643519b4762b6
5
5
  SHA512:
6
- metadata.gz: 2c10cf9ed882d1a839449778bdffa9d5aa7fc3508a348b343e63f4b90072aab1677f75db8020615a7bf54e669d03d8cfd3fb0f38e0cbd3d1f8bc7332d960a642
7
- data.tar.gz: f91f37e0379bd36d3e3fec6f915a55ff37693e0df5eaa0b96381c986b724f045b391937ac59d12a4ad53569e7678a195abada984e1490bea36eef2e51fb1cbeb
6
+ metadata.gz: 7733706435321c440aea48e3d922e364bcfcbdd20ff6e27b68cb82a88791da67dc55917e32473473a219c6da1113fd658ea3a1b04f7fa20bc66bb7367ee68b7f
7
+ data.tar.gz: 979417fc650ccbd04f3113028b85e2f57980f80408056375a677399a386d3babbd02a82e307de043710e4c6335f58f7d523154133a509e7a2af960d56c6a5252
@@ -23,10 +23,13 @@ module Rusic
23
23
  'key' => key,
24
24
  'value' => options.fetch('value'),
25
25
  'help_text' => options.fetch('help_text', ''),
26
- 'input_type' => options.fetch('type', 'text'),
27
- 'select_options' => options.fetch('select_options', nil)
26
+ 'input_type' => options.fetch('type', 'text')
28
27
  }
29
28
 
29
+ if options.fetch('select_options', nil)
30
+ params_hash['theme']['custom_attributes_attributes'][i]['select_options'] = options.fetch('select_options')
31
+ end
32
+
30
33
  if e_attr = existing_attributes[key]
31
34
  params_hash['theme']['custom_attributes_attributes'][i]['id'] = e_attr['id']
32
35
  end
@@ -1,3 +1,3 @@
1
1
  module Rusic
2
- VERSION = "1.8.0"
2
+ VERSION = "1.8.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rusic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Mytton