active_scaffold 3.6.3 → 3.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +10 -1
- data/config/locales/de.yml +1 -0
- data/config/locales/en.yml +1 -0
- data/config/locales/es.yml +1 -0
- data/config/locales/fr.yml +1 -0
- data/config/locales/hu.yml +2 -1
- data/config/locales/ja.yml +2 -1
- data/config/locales/ru.yml +2 -1
- data/lib/active_scaffold/bridges/country_select/country_select_bridge_helper.rb +2 -1
- data/lib/active_scaffold/bridges/date_picker/helper.rb +6 -4
- data/lib/active_scaffold/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9669748f60be5817e4e654db635763351b986b914e85aff89d5b04b3f6ffe848
|
4
|
+
data.tar.gz: 55a24b6c7ef8e4ac5e517db0d559fbdba43ba055c6eaaa5a5c70e73baa935841
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16dddca354bfaf6dcaa405f4dacb89c402563d06df115dc74ffba41d39e9ff8dadebaf4ec9b63a2a2830f1887ad43f640bd0873fede81c392c96fa5e06b128ac
|
7
|
+
data.tar.gz: 0cc2b4014d79082b8d1f704913f1d22c4876072e3608ffef0dd27f38d237021ee607b280142ee0d5c4402020b3a9533eda56f19d6a0788d5ae27c18cc16ea073
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
= 3.6.5
|
2
|
+
- Support timezone in jquery timepicker
|
3
|
+
|
4
|
+
= 3.6.4.1
|
5
|
+
- Actually fix country_select bridge for latest gem version
|
6
|
+
|
7
|
+
= 3.6.4
|
8
|
+
- Fix country_select bridge for latest gem version
|
9
|
+
|
1
10
|
= 3.6.3
|
2
11
|
- Fix search on nested or embedded lists with rails_ujs
|
3
12
|
- Fix inplace edit when collection action link opens a view with table and th
|
@@ -42,7 +51,7 @@
|
|
42
51
|
- Display loading indicator at bottom on auto pagination
|
43
52
|
- List rendering speed up
|
44
53
|
- Remove font family from CSS, it was preventing from changing it easily in body
|
45
|
-
- Fix search for mongoid models
|
54
|
+
- Fix search for mongoid models with threadsafety enabled
|
46
55
|
- Keep nested params after calling render_field for column in subform
|
47
56
|
- Fix nested for controllers without list action (for example, for nested create on singular assocations)
|
48
57
|
- Fix delayed setup issues with threads
|
data/config/locales/de.yml
CHANGED
data/config/locales/en.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/fr.yml
CHANGED
data/config/locales/hu.yml
CHANGED
data/config/locales/ja.yml
CHANGED
data/config/locales/ru.yml
CHANGED
@@ -2,7 +2,8 @@ module ActiveScaffold::Bridges
|
|
2
2
|
class CountrySelect
|
3
3
|
module FormColumnHelpers
|
4
4
|
def active_scaffold_input_country(column, options)
|
5
|
-
select_options = {:prompt => as_(:_select_), :priority_countries => column.options[:priority] || [:us]
|
5
|
+
select_options = {:prompt => as_(:_select_), :priority_countries => column.options[:priority] || [:us]}
|
6
|
+
select_options[:format] = column.options[:format] if column.options[:format]
|
6
7
|
select_options.merge!(options)
|
7
8
|
options.reverse_merge!(column.options).except!(:prompt, :priority, :format)
|
8
9
|
active_scaffold_select_name_with_multiple options
|
@@ -18,7 +18,8 @@ module ActiveScaffold::Bridges
|
|
18
18
|
/%M/ => 'mm',
|
19
19
|
/%p/ => 'tt',
|
20
20
|
/%S/ => 'ss',
|
21
|
-
/%
|
21
|
+
/%z/ => 'Z',
|
22
|
+
/%[cUWwxXZ]/ => ''
|
22
23
|
}.freeze
|
23
24
|
|
24
25
|
def self.date_options_for_locales
|
@@ -82,13 +83,14 @@ module ActiveScaffold::Bridges
|
|
82
83
|
|
83
84
|
def self.to_datepicker_format(rails_format)
|
84
85
|
return nil if rails_format.nil?
|
85
|
-
|
86
|
+
unsupported = DATE_FORMAT_CONVERSION.index ''
|
87
|
+
if rails_format =~ unsupported
|
88
|
+
options = unsupported.to_s.scan(/\[(.*)\]/).dig(0, 0)&.each_char&.map { |c| "%#{c}" }
|
86
89
|
Rails.logger.warn(
|
87
90
|
"AS DatePicker::Helper: rails date format #{rails_format} includes options "\
|
88
91
|
"which can't be converted to jquery datepicker format. "\
|
89
|
-
|
92
|
+
"Options #{options.join(', ')} are not supported by datepicker and will be removed"
|
90
93
|
)
|
91
|
-
nil
|
92
94
|
end
|
93
95
|
js_format = rails_format.dup
|
94
96
|
js_format.gsub!(/([ ]|^)([^% ]\S*)/, " '\\2'")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_scaffold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Many, see README
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -475,7 +475,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
475
475
|
- !ruby/object:Gem::Version
|
476
476
|
version: '0'
|
477
477
|
requirements: []
|
478
|
-
rubygems_version: 3.
|
478
|
+
rubygems_version: 3.3.7
|
479
479
|
signing_key:
|
480
480
|
specification_version: 4
|
481
481
|
summary: Rails 4.x and 5.x versions of ActiveScaffold supporting prototype and jquery
|