light_admin 1.0.9 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b25c52654dfa6ddc26347cd4b8ac9688b9013e30068ac59cd22bec4c5ff99004
4
- data.tar.gz: 25d846930945761216835c7b30d4e9a173ce201f26b69f6389043442b7360d3c
3
+ metadata.gz: 59222f68842369668e39e3c51ec1676168a6c9a3f00f3ddb925dd7fd8a6c1402
4
+ data.tar.gz: 4207678d090ea138f2214f7aafff365253f59f1e837e78adeb0ac71c3ba52346
5
5
  SHA512:
6
- metadata.gz: 63b1a3c3ac6b5afcb2ce67a9de34f879ac1e37d7549afe8b23b3319ad92b8825e7fc2104c9893673e36524bb3e5bc391d10e9628eec6ac856e493b1639d0a7f7
7
- data.tar.gz: 709ae77289f13f325179916b06229c9c35f3090a7d2ee190dc49942784fce56c4da26e0cf488c99d7be4c6b5bc8f864ea85d036054da3158ae53f92b107b800d
6
+ metadata.gz: afa02afc6daf024b3684716ca78cd793c01703fff51787dd944dd3cfeea1d35dddf4d80d293a80c5dbc1fbf110282eb4d735cf67e29aba5765937d21f953c86e
7
+ data.tar.gz: d4431d5b4c579d256d89b5db3a47603d81c3f57e1ea0b070b4e99daaa4659ac81eed6947e81d61e069566490e938664afe9725f243a97e2677d0726b008c8f77
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.1
4
+
5
+ * Hide `Filters` button if they are disabled.
6
+
7
+ ## 1.1.0
8
+
9
+ * Bump activeadmin max version to < 4.0
10
+
3
11
  ## 1.0.9
4
12
 
5
13
  * Correctly apply styling to action_items dropdown_menu buttons.
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.1.0)
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)
83
99
  minitest (5.20.0)
84
- nokogiri (1.15.4)
85
- mini_portile2 (~> 2.8.2)
100
+ mutex_m (0.2.0)
101
+ nokogiri (1.16.0-arm64-darwin)
86
102
  racc (~> 1.4)
87
- nokogiri (1.15.4-x86_64-darwin)
103
+ nokogiri (1.16.0-x86_64-darwin)
88
104
  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,29 +120,37 @@ 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
122
- ruby
153
+ arm64-darwin-22
123
154
  x86_64-darwin-20
124
155
 
125
156
  DEPENDENCIES
@@ -1,5 +1,7 @@
1
1
  $(document).ready(function () {
2
- $('#active_admin_content .table_tools').append('<a id="toggleFilters" href="#" class=\'epon\'>Filtres</a>');
2
+ if ($("#filters_sidebar_section").length !== 0) {
3
+ $('#active_admin_content .table_tools').append('<a id="toggleFilters" href="#" class=\'epon\'>Filtres</a>');
4
+ };
3
5
 
4
6
  if (!window.location.search.includes('Filter') && $('body').hasClass('index')) {
5
7
  $('div#sidebar').hide();
@@ -1,3 +1,3 @@
1
1
  module LightAdmin
2
- VERSION = "1.0.9"
2
+ VERSION = "1.1.1"
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.1
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-23 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.