it-logica-application-backbone 1.4.11 → 1.4.12
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.
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.12
|
@@ -5,13 +5,13 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "it-logica-application-backbone"
|
8
|
-
s.version = "1.4.
|
8
|
+
s.version = "1.4.12"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ladas"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2016-02-09"
|
13
13
|
s.description = "longer description of your gem"
|
14
|
-
s.email = "
|
14
|
+
s.email = "ladasa@post.cz"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.md",
|
@@ -11,10 +11,10 @@ require 'model_mixins/tree_node_instance_methods'
|
|
11
11
|
|
12
12
|
require 'model_mixins/table_settings_interface'
|
13
13
|
|
14
|
-
require
|
15
|
-
require
|
14
|
+
require 'model_mixins/ladas_string_extensions'
|
15
|
+
require 'model_mixins/ladas_html_entities'
|
16
16
|
|
17
|
-
require
|
17
|
+
require 'model_mixins/import_csv_class_methods'
|
18
18
|
|
19
19
|
|
20
20
|
require 'controller_mixins/renderer_instance_methods'
|
@@ -559,11 +559,13 @@ module ModelMixins
|
|
559
559
|
having_cond_str += "#{i} >= :#{cond_id}" #OR guest_email LIKE :find"
|
560
560
|
having_cond_hash.merge!({cond_id.to_sym => "#{v}"})
|
561
561
|
else
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
562
|
+
v = Time.parse(v) rescue nil # queries to database has to be in utc date
|
563
|
+
unless v.nil?
|
564
|
+
cond_str += " AND " unless cond_str.blank?
|
565
|
+
cond_id = "date_from_#{i.gsub(/\./, '_')}"
|
566
|
+
cond_str += "#{i} >= :#{cond_id}" #OR guest_email LIKE :find"
|
567
|
+
cond_hash.merge!({cond_id.to_sym => "#{v.utc}"})
|
568
|
+
end
|
567
569
|
end
|
568
570
|
end
|
569
571
|
end
|
@@ -584,11 +586,13 @@ module ModelMixins
|
|
584
586
|
having_cond_str += "#{i} <= :#{cond_id}" #OR guest_email LIKE :find"
|
585
587
|
having_cond_hash.merge!({cond_id.to_sym => "#{v}"})
|
586
588
|
else
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
589
|
+
v = Time.parse(v) rescue nil # queries to database has to be in utc date
|
590
|
+
unless v.nil?
|
591
|
+
cond_str += " AND " unless cond_str.blank?
|
592
|
+
cond_id = "date_to_#{i.gsub(/\./, '_')}"
|
593
|
+
cond_str += "#{i} <= :#{cond_id}" #OR guest_email LIKE :find"
|
594
|
+
cond_hash.merge!({cond_id.to_sym => "#{v.utc}"})
|
595
|
+
end
|
592
596
|
end
|
593
597
|
end
|
594
598
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: it-logica-application-backbone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.12
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-02-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: htmlentities
|
@@ -422,9 +422,9 @@ files:
|
|
422
422
|
- app/views/helpers/editable_table/_build_table_pager.html.erb
|
423
423
|
- app/views/helpers/editable_table/_build_table_text_description.html.erb
|
424
424
|
- app/views/helpers/editable_table/_build_table_wrapper.html.erb
|
425
|
+
- application-backbone.gemspec
|
425
426
|
- config/locales/gem_translations.cs.yml
|
426
427
|
- config/locales/gem_translations.sk.yml
|
427
|
-
- it-logica-application-backbone.gemspec
|
428
428
|
- lib/backbone_css/engine.rb
|
429
429
|
- lib/backbone_images/engine.rb
|
430
430
|
- lib/backbone_js/engine.rb
|
@@ -467,7 +467,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
467
467
|
version: '0'
|
468
468
|
segments:
|
469
469
|
- 0
|
470
|
-
hash: -
|
470
|
+
hash: -1511758900623173120
|
471
471
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
472
472
|
none: false
|
473
473
|
requirements:
|