ecm_core 0.2.2 → 0.3.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9079278329a723b021e1586c8f68b4ef19d91b45
4
- data.tar.gz: ae1d6ed0afbb9c091cd24a25035aecaba994d601
3
+ metadata.gz: 83a8e38f28cf4e555d97d5ce79e5445fa93974f1
4
+ data.tar.gz: ed718b4095ae8bd2ae2bfa492bbd6c752ba89994
5
5
  SHA512:
6
- metadata.gz: 1a309448342df98e5231c1399986e9393bec5a4419f87e320f025295c9e55fd92d2c3b37abbd9b9c47a1660a4d19167640d5653829f6faf8daff9e1082bddd2f
7
- data.tar.gz: 195003fd7eed4aa6ebdc30516ba36c4e5c859bb19b5c486eee00735cfc60a59ea937f1f5e29951adf28016bac0e3e20d736deaaf3e1c116957a07a377d847a9d
6
+ metadata.gz: ce3eed1cfed6eb7971e2c37b4978c96c83f67eb283b6fabd5718aefffd2192abf791982518fb463db4cc86a6bca10f668fc7c6d40b163896603076cdf4c695bd
7
+ data.tar.gz: 76f4b5afdd499a2620be9e7eac53abe8fd90a8e6eb2b8406d3abccb68faae2a5b43d0f3a39db911f9b0362a7cc0c3ee2acf5a84690a5a1f1a5f24ada0308d382
@@ -11,5 +11,6 @@
11
11
  * It is generally better to create a new file per style scope.
12
12
  *
13
13
  *= require_tree ./application
14
+ *= require ./bootstrap_extensions
14
15
  *= require_self
15
16
  */
@@ -11,5 +11,6 @@
11
11
  * It is generally better to create a new file per style scope.
12
12
  *
13
13
  *= require_tree ./application
14
+ *= require ../bootstrap_extensions
14
15
  *= require_self
15
16
  */
@@ -0,0 +1,62 @@
1
+ .btn-container-right {
2
+ direction: rtl;
3
+
4
+ * {
5
+ direction: ltr;
6
+ }
7
+ }
8
+
9
+ .table-data-centered {
10
+ text-align: center;
11
+ }
12
+
13
+ .truncate-chars {
14
+ white-space: nowrap;
15
+ overflow: hidden;
16
+ text-overflow: ellipsis;
17
+ }
18
+
19
+ .truncate-chars-10 { max-width: 10ch; }
20
+ .truncate-chars-20 { max-width: 20ch; }
21
+ .truncate-chars-30 { max-width: 30ch; }
22
+ .truncate-chars-40 { max-width: 40ch; }
23
+ .truncate-chars-50 { max-width: 50ch; }
24
+ .truncate-chars-60 { max-width: 60ch; }
25
+ .truncate-chars-70 { max-width: 70ch; }
26
+ .truncate-chars-80 { max-width: 80ch; }
27
+ .truncate-chars-90 { max-width: 90ch; }
28
+
29
+ .indent {}
30
+ .indent-chars-1 { padding-left: 1ch; }
31
+ .indent-chars-2 { padding-left: 2ch; }
32
+ .indent-chars-3 { padding-left: 3ch; }
33
+ .indent-chars-4 { padding-left: 4ch; }
34
+ .indent-chars-5 { padding-left: 5ch; }
35
+ .indent-chars-6 { padding-left: 6ch; }
36
+ .indent-chars-7 { padding-left: 7ch; }
37
+ .indent-chars-8 { padding-left: 8ch; }
38
+ .indent-chars-9 { padding-left: 9ch; }
39
+ .indent-chars-10 { padding-left: 10ch; }
40
+ .indent-chars-11 { padding-left: 11ch; }
41
+ .indent-chars-12 { padding-left: 12ch; }
42
+ .indent-chars-13 { padding-left: 13ch; }
43
+ .indent-chars-14 { padding-left: 14ch; }
44
+ .indent-chars-15 { padding-left: 15ch; }
45
+ .indent-chars-16 { padding-left: 16ch; }
46
+ .indent-chars-17 { padding-left: 17ch; }
47
+ .indent-chars-18 { padding-left: 18ch; }
48
+ .indent-chars-19 { padding-left: 19ch; }
49
+
50
+ .label a, .badge a { color: white; }
51
+
52
+ .p-t-0 { padding-top: 0ch; }
53
+ .p-t-1 { padding-top: 1ch; }
54
+ .p-t-2 { padding-top: 2ch; }
55
+ .p-t-3 { padding-top: 3ch; }
56
+ .p-t-4 { padding-top: 4ch; }
57
+ .p-t-5 { padding-top: 5ch; }
58
+ .p-t-6 { padding-top: 6ch; }
59
+ .p-t-7 { padding-top: 7ch; }
60
+ .p-t-8 { padding-top: 8ch; }
61
+ .p-t-9 { padding-top: 9ch; }
62
+ .p-t-10 { padding-top: 10ch; }
@@ -24,13 +24,13 @@ module Ecm
24
24
  end
25
25
 
26
26
  mattr_accessor(:enable_active_storage_backend) { false }
27
+ mattr_accessor(:enable_delayed_job_backend) { false }
27
28
 
28
29
  def self.registered_controllers
29
- if enable_active_storage_backend
30
- @@registered_controllers
31
- else
32
- -> { @@registered_controllers.call.reject { |c| c.name =~ /.*ActiveStorage.*/ } }
33
- end
30
+ rc = @@registered_controllers.call
31
+ rc.reject! { |c| c.name =~ /.*ActiveStorage.*/ } unless enable_active_storage_backend
32
+ rc.reject! { |c| c.name =~ /.*Delayed.*/ } unless enable_delayed_job_backend
33
+ -> { rc }
34
34
  end
35
35
  end
36
36
  end
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Core
3
- VERSION = '0.2.2'.freeze
3
+ VERSION = '0.3.0'.freeze
4
4
  end
5
5
  end
@@ -26,4 +26,10 @@ Ecm::Core::Backend.configure do |config|
26
26
  # default: config.enable_active_storage_backend = false
27
27
  #
28
28
  config.enable_active_storage_backend = false
29
+
30
+ # Enable support for DelayedJob.
31
+ #
32
+ # default: config.enable_delayed_job_backend = false
33
+ #
34
+ config.enable_delayed_job_backend = false
29
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-10 00:00:00.000000000 Z
11
+ date: 2018-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -284,6 +284,7 @@ files:
284
284
  - app/assets/stylesheets/ecm/core/application/bottom-margin.css
285
285
  - app/assets/stylesheets/ecm/core/backend/application.css
286
286
  - app/assets/stylesheets/ecm/core/backend/application/horizontal_separator.css
287
+ - app/assets/stylesheets/ecm/core/bootstrap_extensions.css
287
288
  - app/assets/stylesheets/ecm_core.css
288
289
  - app/assets/stylesheets/ecm_core_backend.css
289
290
  - app/concerns/controller/store_remote_ip_concern.rb