light_admin 1.0.7 → 1.0.9

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
  SHA256:
3
- metadata.gz: c8be03ffa763a72b30d42c93c07d71ce105e3bc4d38c2ae04d86f0c9dd054c94
4
- data.tar.gz: 8eef2d4ebbe06530e2cc15b375ea15fc7c06ba42b2de56ee9bc19728a91b3f26
3
+ metadata.gz: b25c52654dfa6ddc26347cd4b8ac9688b9013e30068ac59cd22bec4c5ff99004
4
+ data.tar.gz: 25d846930945761216835c7b30d4e9a173ce201f26b69f6389043442b7360d3c
5
5
  SHA512:
6
- metadata.gz: 31c1068d2b49676b9eb0290fc79581b7b14ed3fe6eadb991ed397f9d1681ff3be59e47aa4c8ad2171bdbeaa815f22ee9a303524ba740559457a2521e69c458a0
7
- data.tar.gz: e3b9bcb6b142dc58c2d1d455d3fd2571bcb596b0f681f83c9470e1f27f60810670653b430242573dd6ec4326bcdae2c62b18b325d0af3f9c08ecc3aa141253df
6
+ metadata.gz: 63b1a3c3ac6b5afcb2ce67a9de34f879ac1e37d7549afe8b23b3319ad92b8825e7fc2104c9893673e36524bb3e5bc391d10e9628eec6ac856e493b1639d0a7f7
7
+ data.tar.gz: 709ae77289f13f325179916b06229c9c35f3090a7d2ee190dc49942784fce56c4da26e0cf488c99d7be4c6b5bc8f864ea85d036054da3158ae53f92b107b800d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.9
4
+
5
+ * Correctly apply styling to action_items dropdown_menu buttons.
6
+
7
+ ## 1.0.8
8
+
9
+ * Add a green border to the header so we can know when we are in a safe environment (staging, development).
10
+
3
11
  ## 1.0.6
4
12
 
5
13
  * Replace some `overflow: scroll` by `auto` to avoid useless scroll bar.
data/Gemfile.lock CHANGED
@@ -1,65 +1,65 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- light_admin (1.0.6)
4
+ light_admin (1.0.9)
5
5
  activeadmin (>= 1.1.0, < 3.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (7.0.2.4)
11
- actionview (= 7.0.2.4)
12
- activesupport (= 7.0.2.4)
13
- rack (~> 2.0, >= 2.2.0)
10
+ actionpack (7.0.8)
11
+ actionview (= 7.0.8)
12
+ activesupport (= 7.0.8)
13
+ rack (~> 2.0, >= 2.2.4)
14
14
  rack-test (>= 0.6.3)
15
15
  rails-dom-testing (~> 2.0)
16
16
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
17
- actionview (7.0.2.4)
18
- activesupport (= 7.0.2.4)
17
+ actionview (7.0.8)
18
+ activesupport (= 7.0.8)
19
19
  builder (~> 3.1)
20
20
  erubi (~> 1.4)
21
21
  rails-dom-testing (~> 2.0)
22
22
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
23
- activeadmin (2.12.0)
23
+ activeadmin (2.14.0)
24
24
  arbre (~> 1.2, >= 1.2.1)
25
25
  formtastic (>= 3.1, < 5.0)
26
26
  formtastic_i18n (~> 0.4)
27
27
  inherited_resources (~> 1.7)
28
28
  jquery-rails (~> 4.2)
29
29
  kaminari (~> 1.0, >= 1.2.1)
30
- railties (>= 6.0, < 7.1)
30
+ railties (>= 6.1, < 7.1)
31
31
  ransack (>= 2.1.1, < 4)
32
- activemodel (7.0.2.4)
33
- activesupport (= 7.0.2.4)
34
- activerecord (7.0.2.4)
35
- activemodel (= 7.0.2.4)
36
- activesupport (= 7.0.2.4)
37
- activesupport (7.0.2.4)
32
+ activemodel (7.0.8)
33
+ activesupport (= 7.0.8)
34
+ activerecord (7.0.8)
35
+ activemodel (= 7.0.8)
36
+ activesupport (= 7.0.8)
37
+ activesupport (7.0.8)
38
38
  concurrent-ruby (~> 1.0, >= 1.0.2)
39
39
  i18n (>= 1.6, < 2)
40
40
  minitest (>= 5.1)
41
41
  tzinfo (~> 2.0)
42
- arbre (1.5.0)
43
- activesupport (>= 3.0.0, < 7.1)
44
- ruby2_keywords (>= 0.0.2, < 1.0)
42
+ arbre (1.7.0)
43
+ activesupport (>= 3.0.0)
44
+ ruby2_keywords (>= 0.0.2)
45
45
  builder (3.2.4)
46
- concurrent-ruby (1.1.10)
46
+ concurrent-ruby (1.2.2)
47
47
  crass (1.0.6)
48
- erubi (1.10.0)
48
+ erubi (1.12.0)
49
49
  formtastic (4.0.0)
50
50
  actionpack (>= 5.2.0)
51
51
  formtastic_i18n (0.7.0)
52
- has_scope (0.8.0)
52
+ has_scope (0.8.1)
53
53
  actionpack (>= 5.2)
54
54
  activesupport (>= 5.2)
55
- i18n (1.10.0)
55
+ i18n (1.14.1)
56
56
  concurrent-ruby (~> 1.0)
57
- inherited_resources (1.13.1)
58
- actionpack (>= 5.2, < 7.1)
59
- has_scope (~> 0.6)
60
- railties (>= 5.2, < 7.1)
61
- responders (>= 2, < 4)
62
- jquery-rails (4.4.0)
57
+ inherited_resources (1.14.0)
58
+ actionpack (>= 6.0)
59
+ has_scope (>= 0.6)
60
+ railties (>= 6.0)
61
+ responders (>= 2)
62
+ jquery-rails (4.6.0)
63
63
  rails-dom-testing (>= 1, < 3)
64
64
  railties (>= 4.2.0)
65
65
  thor (>= 0.14, < 2.0)
@@ -75,46 +75,48 @@ GEM
75
75
  activerecord
76
76
  kaminari-core (= 1.2.2)
77
77
  kaminari-core (1.2.2)
78
- loofah (2.16.0)
78
+ loofah (2.21.4)
79
79
  crass (~> 1.0.2)
80
- nokogiri (>= 1.5.9)
80
+ nokogiri (>= 1.12.0)
81
81
  method_source (1.0.0)
82
- mini_portile2 (2.8.0)
83
- minitest (5.15.0)
84
- nokogiri (1.13.4)
85
- mini_portile2 (~> 2.8.0)
82
+ mini_portile2 (2.8.4)
83
+ minitest (5.20.0)
84
+ nokogiri (1.15.4)
85
+ mini_portile2 (~> 2.8.2)
86
86
  racc (~> 1.4)
87
- nokogiri (1.13.4-x86_64-darwin)
87
+ nokogiri (1.15.4-x86_64-darwin)
88
88
  racc (~> 1.4)
89
- racc (1.6.0)
90
- rack (2.2.3)
91
- rack-test (1.1.0)
92
- rack (>= 1.0, < 3)
93
- rails-dom-testing (2.0.3)
94
- activesupport (>= 4.2.0)
89
+ racc (1.7.1)
90
+ rack (2.2.8)
91
+ rack-test (2.1.0)
92
+ rack (>= 1.3)
93
+ rails-dom-testing (2.2.0)
94
+ activesupport (>= 5.0.0)
95
+ minitest
95
96
  nokogiri (>= 1.6)
96
- rails-html-sanitizer (1.4.2)
97
- loofah (~> 2.3)
98
- railties (7.0.2.4)
99
- actionpack (= 7.0.2.4)
100
- activesupport (= 7.0.2.4)
97
+ rails-html-sanitizer (1.6.0)
98
+ loofah (~> 2.21)
99
+ nokogiri (~> 1.14)
100
+ railties (7.0.8)
101
+ actionpack (= 7.0.8)
102
+ activesupport (= 7.0.8)
101
103
  method_source
102
104
  rake (>= 12.2)
103
105
  thor (~> 1.0)
104
106
  zeitwerk (~> 2.5)
105
107
  rake (12.3.3)
106
- ransack (3.1.0)
107
- activerecord (>= 6.0.4)
108
- activesupport (>= 6.0.4)
108
+ ransack (3.2.1)
109
+ activerecord (>= 6.1.5)
110
+ activesupport (>= 6.1.5)
109
111
  i18n
110
- responders (3.0.1)
111
- actionpack (>= 5.0)
112
- railties (>= 5.0)
112
+ responders (3.1.0)
113
+ actionpack (>= 5.2)
114
+ railties (>= 5.2)
113
115
  ruby2_keywords (0.0.5)
114
- thor (1.2.1)
115
- tzinfo (2.0.4)
116
+ thor (1.2.2)
117
+ tzinfo (2.0.6)
116
118
  concurrent-ruby (~> 1.0)
117
- zeitwerk (2.5.4)
119
+ zeitwerk (2.6.12)
118
120
 
119
121
  PLATFORMS
120
122
  ruby
@@ -125,4 +127,4 @@ DEPENDENCIES
125
127
  rake (~> 12.0)
126
128
 
127
129
  BUNDLED WITH
128
- 2.1.4
130
+ 2.4.15
@@ -91,7 +91,7 @@
91
91
  }
92
92
 
93
93
  /* GROUPED ACTIONS BUTTON */
94
- a.table_tools_button, .table_tools .dropdown_menu_button {
94
+ a.table_tools_button, .table_tools .dropdown_menu_button, #title_bar div.action_items span.action_item .dropdown_menu a.dropdown_menu_button {
95
95
  box-shadow: none;
96
96
  text-shadow: none;
97
97
  border: none;
@@ -107,7 +107,7 @@ a.table_tools_button, .table_tools .dropdown_menu_button {
107
107
  color: $text-buttons;
108
108
  }
109
109
 
110
- .dropdown_menu {
110
+ .dropdown_menu, #title_bar div.action_items span.action_item .dropdown_menu {
111
111
  .dropdown_menu_button {
112
112
  &:not(.disabled) {
113
113
  &:hover {
@@ -14,6 +14,10 @@
14
14
  z-index: unset;
15
15
  backdrop-filter: unset;
16
16
 
17
+ &[data-env="development"], &[data-env="staging"] {
18
+ border: 10px solid $success;
19
+ }
20
+
17
21
  h1 {
18
22
  img {
19
23
  top: 0;
@@ -1,6 +1,6 @@
1
1
  ActiveAdmin::Views::Header.class_eval do
2
2
  def build(namespace, menu)
3
- super(id: 'header')
3
+ super(id: 'header', 'data-env': Rails.env)
4
4
 
5
5
  @namespace = namespace
6
6
  @menu = menu
@@ -1,3 +1,3 @@
1
1
  module LightAdmin
2
- VERSION = "1.0.7"
2
+ VERSION = "1.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: light_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marie Ishihara
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2022-10-17 00:00:00.000000000 Z
13
+ date: 2023-10-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activeadmin
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  requirements: []
114
- rubygems_version: 3.3.7
114
+ rubygems_version: 3.4.10
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: Simple, minimal theme for activeadmin.