light_admin 1.0.9 → 1.1.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
  SHA256:
3
- metadata.gz: b25c52654dfa6ddc26347cd4b8ac9688b9013e30068ac59cd22bec4c5ff99004
4
- data.tar.gz: 25d846930945761216835c7b30d4e9a173ce201f26b69f6389043442b7360d3c
3
+ metadata.gz: 907cfde1fd60e341b7bc98935f8a05601b9cd9508d35753fb61fa3bcb0aec2e3
4
+ data.tar.gz: bc968e31f7d407f3e317f3c269f5ab8f1428ddfcff3946bc91857d1383954376
5
5
  SHA512:
6
- metadata.gz: 63b1a3c3ac6b5afcb2ce67a9de34f879ac1e37d7549afe8b23b3319ad92b8825e7fc2104c9893673e36524bb3e5bc391d10e9628eec6ac856e493b1639d0a7f7
7
- data.tar.gz: 709ae77289f13f325179916b06229c9c35f3090a7d2ee190dc49942784fce56c4da26e0cf488c99d7be4c6b5bc8f864ea85d036054da3158ae53f92b107b800d
6
+ metadata.gz: 7e52d74e6bce62f0d2cdab3904ff178f71df03f74802a00905b599aaa193cd74627888b74491d471afa7e0486aa4dd70beda425c2b47e17de3731243cf26bf44
7
+ data.tar.gz: a94b46988b007ea0a626260d33fb62ca94a45e603bb6ea89cff4ddba2611e74702d93ead61657fa765c8d606c36f953f19d17a5048dc2f91e78b263269890dca
data/CHANGELOG.md CHANGED
@@ -1,13 +1,5 @@
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
-
11
3
  ## 1.0.6
12
4
 
13
5
  * Replace some `overflow: scroll` by `auto` to avoid useless scroll bar.
data/Gemfile.lock CHANGED
@@ -1,55 +1,69 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- light_admin (1.0.9)
5
- activeadmin (>= 1.1.0, < 3.0)
4
+ light_admin (1.0.7)
5
+ activeadmin (>= 1.1.0, < 4.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (7.0.8)
11
- actionview (= 7.0.8)
12
- activesupport (= 7.0.8)
13
- rack (~> 2.0, >= 2.2.4)
10
+ actionpack (7.1.2)
11
+ actionview (= 7.1.2)
12
+ activesupport (= 7.1.2)
13
+ nokogiri (>= 1.8.5)
14
+ racc
15
+ rack (>= 2.2.4)
16
+ rack-session (>= 1.0.1)
14
17
  rack-test (>= 0.6.3)
15
- rails-dom-testing (~> 2.0)
16
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
17
- actionview (7.0.8)
18
- activesupport (= 7.0.8)
18
+ rails-dom-testing (~> 2.2)
19
+ rails-html-sanitizer (~> 1.6)
20
+ actionview (7.1.2)
21
+ activesupport (= 7.1.2)
19
22
  builder (~> 3.1)
20
- erubi (~> 1.4)
21
- rails-dom-testing (~> 2.0)
22
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
23
- activeadmin (2.14.0)
23
+ erubi (~> 1.11)
24
+ rails-dom-testing (~> 2.2)
25
+ rails-html-sanitizer (~> 1.6)
26
+ activeadmin (3.2.0)
24
27
  arbre (~> 1.2, >= 1.2.1)
25
- formtastic (>= 3.1, < 5.0)
26
- formtastic_i18n (~> 0.4)
28
+ formtastic (>= 3.1)
29
+ formtastic_i18n (>= 0.4)
27
30
  inherited_resources (~> 1.7)
28
- jquery-rails (~> 4.2)
29
- kaminari (~> 1.0, >= 1.2.1)
30
- railties (>= 6.1, < 7.1)
31
- ransack (>= 2.1.1, < 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)
31
+ jquery-rails (>= 4.2)
32
+ kaminari (>= 1.2.1)
33
+ railties (>= 6.1)
34
+ ransack (>= 4.0)
35
+ activemodel (7.1.2)
36
+ activesupport (= 7.1.2)
37
+ activerecord (7.1.2)
38
+ activemodel (= 7.1.2)
39
+ activesupport (= 7.1.2)
40
+ timeout (>= 0.4.0)
41
+ activesupport (7.1.2)
42
+ base64
43
+ bigdecimal
38
44
  concurrent-ruby (~> 1.0, >= 1.0.2)
45
+ connection_pool (>= 2.2.5)
46
+ drb
39
47
  i18n (>= 1.6, < 2)
40
48
  minitest (>= 5.1)
49
+ mutex_m
41
50
  tzinfo (~> 2.0)
42
51
  arbre (1.7.0)
43
52
  activesupport (>= 3.0.0)
44
53
  ruby2_keywords (>= 0.0.2)
54
+ base64 (0.2.0)
55
+ bigdecimal (3.1.5)
45
56
  builder (3.2.4)
46
57
  concurrent-ruby (1.2.2)
58
+ connection_pool (2.4.1)
47
59
  crass (1.0.6)
60
+ drb (2.2.0)
61
+ ruby2_keywords
48
62
  erubi (1.12.0)
49
- formtastic (4.0.0)
50
- actionpack (>= 5.2.0)
63
+ formtastic (5.0.0)
64
+ actionpack (>= 6.0.0)
51
65
  formtastic_i18n (0.7.0)
52
- has_scope (0.8.1)
66
+ has_scope (0.8.2)
53
67
  actionpack (>= 5.2)
54
68
  activesupport (>= 5.2)
55
69
  i18n (1.14.1)
@@ -59,6 +73,10 @@ GEM
59
73
  has_scope (>= 0.6)
60
74
  railties (>= 6.0)
61
75
  responders (>= 2)
76
+ io-console (0.7.1)
77
+ irb (1.11.0)
78
+ rdoc
79
+ reline (>= 0.3.8)
62
80
  jquery-rails (4.6.0)
63
81
  rails-dom-testing (>= 1, < 3)
64
82
  railties (>= 4.2.0)
@@ -75,21 +93,26 @@ GEM
75
93
  activerecord
76
94
  kaminari-core (= 1.2.2)
77
95
  kaminari-core (1.2.2)
78
- loofah (2.21.4)
96
+ loofah (2.22.0)
79
97
  crass (~> 1.0.2)
80
98
  nokogiri (>= 1.12.0)
81
- method_source (1.0.0)
82
- mini_portile2 (2.8.4)
99
+ mini_portile2 (2.8.5)
83
100
  minitest (5.20.0)
84
- nokogiri (1.15.4)
101
+ mutex_m (0.2.0)
102
+ nokogiri (1.16.0)
85
103
  mini_portile2 (~> 2.8.2)
86
104
  racc (~> 1.4)
87
- nokogiri (1.15.4-x86_64-darwin)
88
- racc (~> 1.4)
89
- racc (1.7.1)
90
- rack (2.2.8)
105
+ psych (5.1.2)
106
+ stringio
107
+ racc (1.7.3)
108
+ rack (3.0.8)
109
+ rack-session (2.0.0)
110
+ rack (>= 3.0.0)
91
111
  rack-test (2.1.0)
92
112
  rack (>= 1.3)
113
+ rackup (2.1.0)
114
+ rack (>= 3)
115
+ webrick (~> 1.8)
93
116
  rails-dom-testing (2.2.0)
94
117
  activesupport (>= 5.0.0)
95
118
  minitest
@@ -97,25 +120,33 @@ GEM
97
120
  rails-html-sanitizer (1.6.0)
98
121
  loofah (~> 2.21)
99
122
  nokogiri (~> 1.14)
100
- railties (7.0.8)
101
- actionpack (= 7.0.8)
102
- activesupport (= 7.0.8)
103
- method_source
123
+ railties (7.1.2)
124
+ actionpack (= 7.1.2)
125
+ activesupport (= 7.1.2)
126
+ irb
127
+ rackup (>= 1.0.0)
104
128
  rake (>= 12.2)
105
- thor (~> 1.0)
106
- zeitwerk (~> 2.5)
129
+ thor (~> 1.0, >= 1.2.2)
130
+ zeitwerk (~> 2.6)
107
131
  rake (12.3.3)
108
- ransack (3.2.1)
132
+ ransack (4.1.1)
109
133
  activerecord (>= 6.1.5)
110
134
  activesupport (>= 6.1.5)
111
135
  i18n
112
- responders (3.1.0)
136
+ rdoc (6.6.2)
137
+ psych (>= 4.0.0)
138
+ reline (0.4.2)
139
+ io-console (~> 0.5)
140
+ responders (3.1.1)
113
141
  actionpack (>= 5.2)
114
142
  railties (>= 5.2)
115
143
  ruby2_keywords (0.0.5)
116
- thor (1.2.2)
144
+ stringio (3.1.0)
145
+ thor (1.3.0)
146
+ timeout (0.4.1)
117
147
  tzinfo (2.0.6)
118
148
  concurrent-ruby (~> 1.0)
149
+ webrick (1.8.1)
119
150
  zeitwerk (2.6.12)
120
151
 
121
152
  PLATFORMS
@@ -127,4 +158,4 @@ DEPENDENCIES
127
158
  rake (~> 12.0)
128
159
 
129
160
  BUNDLED WITH
130
- 2.4.15
161
+ 2.1.4
@@ -91,7 +91,7 @@
91
91
  }
92
92
 
93
93
  /* GROUPED ACTIONS 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 {
94
+ a.table_tools_button, .table_tools .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, #title_bar div.action_
107
107
  color: $text-buttons;
108
108
  }
109
109
 
110
- .dropdown_menu, #title_bar div.action_items span.action_item .dropdown_menu {
110
+ .dropdown_menu {
111
111
  .dropdown_menu_button {
112
112
  &:not(.disabled) {
113
113
  &:hover {
@@ -14,10 +14,6 @@
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
-
21
17
  h1 {
22
18
  img {
23
19
  top: 0;
@@ -1,6 +1,6 @@
1
1
  ActiveAdmin::Views::Header.class_eval do
2
2
  def build(namespace, menu)
3
- super(id: 'header', 'data-env': Rails.env)
3
+ super(id: 'header')
4
4
 
5
5
  @namespace = namespace
6
6
  @menu = menu
@@ -1,3 +1,3 @@
1
1
  module LightAdmin
2
- VERSION = "1.0.9"
2
+ VERSION = "1.1.0"
3
3
  end
data/light_admin.gemspec CHANGED
@@ -15,5 +15,5 @@ Gem::Specification.new do |spec|
15
15
  spec.bindir = "exe"
16
16
  spec.require_paths = ["lib"]
17
17
 
18
- spec.add_dependency 'activeadmin', ['>= 1.1.0', '< 3.0']
18
+ spec.add_dependency 'activeadmin', ['>= 1.1.0', '< 4.0']
19
19
  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.9
4
+ version: 1.1.0
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: 2023-10-11 00:00:00.000000000 Z
13
+ date: 2024-01-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activeadmin
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 1.1.0
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
- version: '3.0'
24
+ version: '4.0'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,7 +31,7 @@ dependencies:
31
31
  version: 1.1.0
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
- version: '3.0'
34
+ version: '4.0'
35
35
  description: At CapSens - Paris-based RoR agency - we like ActiveAdmin very much.
36
36
  So we made this theme.
37
37
  email:
@@ -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.4.10
114
+ rubygems_version: 3.4.21
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: Simple, minimal theme for activeadmin.