active_scaffold_batch 3.3.2 → 3.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Yzg5MDMwN2IxZGQ5NjRjMzZkOGY0NzdmODYxNjYyNWEwOWQwM2FmMg==
4
+ NWUzOTlhODJiNzVmMmMzMjkzZTM0Yjk0ZDA1Mjg5YTU5MTYyNjU4ZQ==
5
5
  data.tar.gz: !binary |-
6
- OTE1M2JmNTlhMmZmNDg3MDNjOWQ2Yzc5MWI1ZjgwZGY0NWE4MWIxOA==
6
+ YjQwZDExNjM2YjhmZDZkMjM0Y2Q2ZDdkNzdiMTc5YzQ0ZDU2MGVjMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDEzNDUzYTk5ZWIxMWQxNDU5OTFhN2RmM2UzOTJiNzgyNTNkNTllYTdlNGU2
10
- ODg3NzA4NTA3OTY4M2JlNjkxNjVmMWNlMmQ3ZDVmMTQ3YmI3YzMzMWEzNmQz
11
- OTJiOWU4N2Y3YzM0OThmYWRjN2Q4OWI3NjBlMDVjMDNmZmQ4ZDQ=
9
+ YWNkOGRmNzMxNDQ2MTMyOTQ4MjU5OTRlMzU1MTFiZDJkOWY2ZDRlMDk0ZmMw
10
+ MzZmNTY1Y2RlZTg2MDAyMjBjODQ1ZWQ5OTlmZDU2MzU5NzE4MzQxZjEzNDNj
11
+ YzZlMThiNDk0YjUzNzQzYzI2NTA1MGEzNTdlNzFmZDY4ZGM1ZjM=
12
12
  data.tar.gz: !binary |-
13
- MTk1YjRkMTBjMTU0YTU1OTgyNjEzNDY4NmNkNGEzYzU3YjMwZDk4OGNjYmUw
14
- MjJkOWIzZWQyZjkzOGRkMDcxNTI1MjliYzUxMDFhMzllYTBhOGEzMmU2N2U4
15
- NDJjN2JjMGFmNjMwNWFmY2VlMGQxZDJmNDY4NmI5YWM2NWU5YTg=
13
+ ZjEzNDU2NTAwMWEwODQxZGUzZjMzZWI1ODM4NTZmM2UyZDBkNjQxNGQyYTk1
14
+ ZTE3MzYxZDc4Mjc2ODc3ODJjZmRiYmFmMDY2ODhmNjRmMjZmYTc4MDA4MGVk
15
+ NDk0MTQ5ZmJjMWE0OTY4ZmE4YzNhYzI3MDNiMTUyMDkzZmFiY2I=
@@ -19,7 +19,7 @@ module ActiveScaffold
19
19
 
20
20
  def active_scaffold_batch_create_singular_association(column, html_options)
21
21
  associated_options = batch_create_by_records.collect {|r| r.id}
22
- select_options = options_for_association(column.association)
22
+ select_options = sorted_association_options_find(column.association, nil, html_options.delete(:record))
23
23
  html_options.update(column.options[:html_options] || {})
24
24
  options = {}
25
25
  options.update(column.options)
@@ -2,7 +2,7 @@ module ActiveScaffoldBatch
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 3
5
- PATCH = 2
5
+ PATCH = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold_batch
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.2
4
+ version: 3.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Cambra
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-11-17 00:00:00.000000000 Z
12
+ date: 2015-11-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: active_scaffold