light_admin 1.0.8 → 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: 9e17b6013021a1a41aab417b007cdf1be02be25a268c83a54655b2981922b16b
4
- data.tar.gz: da1de7b57a403e392a401a382539706bee166e32ebeddec1622754c62979a302
3
+ metadata.gz: 907cfde1fd60e341b7bc98935f8a05601b9cd9508d35753fb61fa3bcb0aec2e3
4
+ data.tar.gz: bc968e31f7d407f3e317f3c269f5ab8f1428ddfcff3946bc91857d1383954376
5
5
  SHA512:
6
- metadata.gz: 313d67c3c85dbe76c738f25c5b000604c488771becdd341abca1a442dec1cd93ddab5bd810c49a8811884ae158345be21ff5ed3c20f2d08781720b2be43a3658
7
- data.tar.gz: ffd72398196443a79f7e3f0948a6b52913e897027bdf1dd88f52564f548c625795e411eac21a1252de7303abdd84c2aafe3aed815806eeffb3b76780e2052b7d
6
+ metadata.gz: 7e52d74e6bce62f0d2cdab3904ff178f71df03f74802a00905b599aaa193cd74627888b74491d471afa7e0486aa4dd70beda425c2b47e17de3731243cf26bf44
7
+ data.tar.gz: a94b46988b007ea0a626260d33fb62ca94a45e603bb6ea89cff4ddba2611e74702d93ead61657fa765c8d606c36f953f19d17a5048dc2f91e78b263269890dca
data/CHANGELOG.md CHANGED
@@ -1,9 +1,5 @@
1
1
  # Changelog
2
2
 
3
- ## 1.0.8
4
-
5
- * Add a green border to the header so we can know when we are in a safe environment (staging, development).
6
-
7
3
  ## 1.0.6
8
4
 
9
5
  * Replace some `overflow: scroll` by `auto` to avoid useless scroll bar.
data/Gemfile.lock CHANGED
@@ -1,65 +1,83 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- light_admin (1.0.8)
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.5)
11
- actionview (= 7.0.5)
12
- activesupport (= 7.0.5)
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.5)
18
- activesupport (= 7.0.5)
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.13.1)
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.5)
33
- activesupport (= 7.0.5)
34
- activerecord (7.0.5)
35
- activemodel (= 7.0.5)
36
- activesupport (= 7.0.5)
37
- activesupport (7.0.5)
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
- arbre (1.5.0)
43
- activesupport (>= 3.0.0, < 7.1)
44
- ruby2_keywords (>= 0.0.2, < 1.0)
51
+ arbre (1.7.0)
52
+ activesupport (>= 3.0.0)
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
- i18n (1.13.0)
69
+ i18n (1.14.1)
56
70
  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.5.1)
71
+ inherited_resources (1.14.0)
72
+ actionpack (>= 6.0)
73
+ has_scope (>= 0.6)
74
+ railties (>= 6.0)
75
+ responders (>= 2)
76
+ io-console (0.7.1)
77
+ irb (1.11.0)
78
+ rdoc
79
+ reline (>= 0.3.8)
80
+ jquery-rails (4.6.0)
63
81
  rails-dom-testing (>= 1, < 3)
64
82
  railties (>= 4.2.0)
65
83
  thor (>= 0.14, < 2.0)
@@ -75,44 +93,61 @@ GEM
75
93
  activerecord
76
94
  kaminari-core (= 1.2.2)
77
95
  kaminari-core (1.2.2)
78
- loofah (2.21.3)
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.2)
83
- minitest (5.18.0)
84
- nokogiri (1.15.2)
99
+ mini_portile2 (2.8.5)
100
+ minitest (5.20.0)
101
+ mutex_m (0.2.0)
102
+ nokogiri (1.16.0)
85
103
  mini_portile2 (~> 2.8.2)
86
104
  racc (~> 1.4)
87
- racc (1.6.2)
88
- rack (2.2.7)
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)
89
111
  rack-test (2.1.0)
90
112
  rack (>= 1.3)
91
- rails-dom-testing (2.0.3)
92
- activesupport (>= 4.2.0)
113
+ rackup (2.1.0)
114
+ rack (>= 3)
115
+ webrick (~> 1.8)
116
+ rails-dom-testing (2.2.0)
117
+ activesupport (>= 5.0.0)
118
+ minitest
93
119
  nokogiri (>= 1.6)
94
- rails-html-sanitizer (1.5.0)
95
- loofah (~> 2.19, >= 2.19.1)
96
- railties (7.0.5)
97
- actionpack (= 7.0.5)
98
- activesupport (= 7.0.5)
99
- method_source
120
+ rails-html-sanitizer (1.6.0)
121
+ loofah (~> 2.21)
122
+ nokogiri (~> 1.14)
123
+ railties (7.1.2)
124
+ actionpack (= 7.1.2)
125
+ activesupport (= 7.1.2)
126
+ irb
127
+ rackup (>= 1.0.0)
100
128
  rake (>= 12.2)
101
- thor (~> 1.0)
102
- zeitwerk (~> 2.5)
129
+ thor (~> 1.0, >= 1.2.2)
130
+ zeitwerk (~> 2.6)
103
131
  rake (12.3.3)
104
- ransack (3.2.1)
132
+ ransack (4.1.1)
105
133
  activerecord (>= 6.1.5)
106
134
  activesupport (>= 6.1.5)
107
135
  i18n
108
- 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)
109
141
  actionpack (>= 5.2)
110
142
  railties (>= 5.2)
111
143
  ruby2_keywords (0.0.5)
112
- thor (1.2.2)
144
+ stringio (3.1.0)
145
+ thor (1.3.0)
146
+ timeout (0.4.1)
113
147
  tzinfo (2.0.6)
114
148
  concurrent-ruby (~> 1.0)
115
- zeitwerk (2.6.8)
149
+ webrick (1.8.1)
150
+ zeitwerk (2.6.12)
116
151
 
117
152
  PLATFORMS
118
153
  ruby
@@ -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.8"
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.8
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-05-31 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.3.7
114
+ rubygems_version: 3.4.21
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: Simple, minimal theme for activeadmin.