activeadmin_blaze_theme 0.6.0 → 0.6.2

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: 669d8d39060600b62b49f9a05191dfab077d2fbeb774d631163f77e69de6da2e
4
- data.tar.gz: eb2b16bb751d50904f1259e2a2d5db5aaa59f2561b31351815e013dc8963bdd1
3
+ metadata.gz: 518aa0e49e4ebfa6b2718b497a6683990494c424adaf549e1156944c052be689
4
+ data.tar.gz: 350b4867688dc482374c10553de9ea6fb72edab920fa5e081e9f3a2f7bc12632
5
5
  SHA512:
6
- metadata.gz: 1db5ac163642c0607ead2f855d76b099a3054cfabe4f610c687b1d96f2b00c33494937964aff4bfb1153c933701ac85c7fed2606d068048f178b61d227216a39
7
- data.tar.gz: cec47d8ccfdd80c3f2a7531beb53aa2c820062c76b28fa9bc66595beac941b37f2a31ebdc72c2a7626390cf4340f468445944749024ccfecae002665c25cdf6c
6
+ metadata.gz: b3927501b67e3a8c570f4c3ee9f388df1976c4d7bfb3ae8363679f2a22b9ea0278cbac26ef37863cfc55e069d46ed5bda70673948b60add087de73e78dfb00ad
7
+ data.tar.gz: e7b31d8a52188434a1612f4554da805b91d52f7cd2506443c456470434de55a0878524c050bc3f1741055309c76d1589c74ba6a1e06acf79d07655d0309d9e62
data/.rspec CHANGED
@@ -1,3 +1,2 @@
1
1
  --require rails_helper
2
2
  --format documentation
3
- --profile
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Active Admin Blaze Theme
2
2
  [![Gem Version](https://badge.fury.io/rb/activeadmin_blaze_theme.svg)](https://badge.fury.io/rb/activeadmin_blaze_theme) [![CircleCI](https://circleci.com/gh/blocknotes/activeadmin_blaze_theme.svg?style=svg)](https://circleci.com/gh/blocknotes/activeadmin_blaze_theme)
3
3
 
4
- A theme for Active Admin using [Blaze CSS](http://blazecss.com/).
4
+ A theme for Active Admin using [Blaze CSS](http://blazecss.com/) 9.x.
5
5
 
6
6
  Features:
7
7
  - CSS only theme with clean UI
@@ -10,6 +10,8 @@ Features:
10
10
  - custom controls / components: [toggle](#toggle), [Sidebar menu](#sidebar-menu), [Accordion](#accordion), [Readonly field](#readonly-field), [Styled table](#styled-table)
11
11
  - Blaze CSS [widgets](#blaze-widgets)
12
12
 
13
+ See some [screenshots](#screenshots).
14
+
13
15
  ## Install
14
16
  - Add to your Gemfile: `gem 'activeadmin_blaze_theme'`
15
17
  - Execute bundle
@@ -128,8 +130,6 @@ sidebar :help, priority: 0 do
128
130
  end
129
131
  ```
130
132
 
131
- ![menu](extra/screenshot4.jpg)
132
-
133
133
  ### Accordion
134
134
  An accordion group in a form:
135
135
 
@@ -206,18 +206,15 @@ end
206
206
 
207
207
  ## Screenshots
208
208
  Index:
209
- ![index](extra/screenshot1.jpg)
209
+ ![index](extra/index.png)
210
210
 
211
211
  Edit:
212
- ![edit](extra/screenshot2.jpg)
213
-
214
- Show - sidebar on the left:
215
- ![edit](extra/screenshot3.jpg)
212
+ ![edit](extra/edit.png)
216
213
 
217
214
  ## Do you like it? Star it!
218
- If you use this component just star it. A developer is more motivated to improve a project when there is some interest.
215
+ If you use this component just star it. A developer is more motivated to improve a project when there is some interest. My other [Active Admin components](https://github.com/blocknotes?utf8=✓&tab=repositories&q=activeadmin&type=source).
219
216
 
220
- Take a look at [other Active Admin components](https://github.com/blocknotes?utf8=✓&tab=repositories&q=activeadmin&type=source) if you are curious.
217
+ Or consider offering me a coffee, it's a small thing but it is greatly appreciated: [about me](https://www.blocknot.es/about-me).
221
218
 
222
219
  ## Contributors
223
220
  - [Mattia Roccoberton](http://blocknot.es): author
data/Rakefile CHANGED
@@ -1,3 +1,16 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'bundler/gem_tasks'
4
+
5
+ begin
6
+ require 'rspec/core/rake_task'
7
+
8
+ RSpec::Core::RakeTask.new(:spec) do |t|
9
+ # t.ruby_opts = %w[-w]
10
+ t.rspec_opts = ['--color', '--format documentation']
11
+ end
12
+
13
+ task default: :spec
14
+ rescue LoadError
15
+ puts '! LoadError: no RSpec available'
16
+ end
@@ -21,13 +21,15 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_runtime_dependency 'activeadmin', '~> 2.0'
23
23
 
24
- spec.add_development_dependency 'activestorage', '~> 6.0.3.2'
25
- spec.add_development_dependency 'capybara', '~> 3.33.0'
26
- spec.add_development_dependency 'pry', '~> 0.13.1'
27
- spec.add_development_dependency 'puma', '~> 4.3.5'
28
- spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4.1'
29
- spec.add_development_dependency 'rspec-rails', '~> 4.0.1'
30
- spec.add_development_dependency 'rubocop', '~> 0.90.0'
31
- spec.add_development_dependency 'selenium-webdriver', '~> 3.142.7'
32
- spec.add_development_dependency 'sqlite3', '~> 1.4.2'
24
+ spec.add_development_dependency 'activestorage', '~> 6.0'
25
+ spec.add_development_dependency 'capybara', '~> 3.33'
26
+ spec.add_development_dependency 'pry', '~> 0.13'
27
+ spec.add_development_dependency 'puma', '~> 4.3'
28
+ spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4'
29
+ spec.add_development_dependency 'rspec-rails', '~> 4.0'
30
+ spec.add_development_dependency 'rubocop', '~> 0.90'
31
+ spec.add_development_dependency 'sassc', '~> 2.4'
32
+ spec.add_development_dependency 'selenium-webdriver', '~> 3.142'
33
+ spec.add_development_dependency 'sprockets-rails', '~> 3.2'
34
+ spec.add_development_dependency 'sqlite3', '~> 1.4'
33
35
  end
data/extra/edit.png ADDED
Binary file
data/extra/index.png ADDED
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveAdminBlazeTheme
4
- VERSION = '0.6.0'
4
+ VERSION = '0.6.2'
5
5
  end
@@ -49,7 +49,7 @@ module Formtastic
49
49
  def toggle_html
50
50
  template.content_tag(
51
51
  :div,
52
- Formtastic::Util.html_safe(template.content_tag(:div, '', class: 'c-toggle__handle')),
52
+ template.content_tag(:div, '', class: 'c-toggle__handle'),
53
53
  class: 'c-toggle__track'
54
54
  )
55
55
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_blaze_theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattia Roccoberton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-18 00:00:00.000000000 Z
11
+ date: 2021-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin
@@ -30,126 +30,154 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 6.0.3.2
33
+ version: '6.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 6.0.3.2
40
+ version: '6.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: capybara
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 3.33.0
47
+ version: '3.33'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 3.33.0
54
+ version: '3.33'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pry
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.13.1
61
+ version: '0.13'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.13.1
68
+ version: '0.13'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: puma
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 4.3.5
75
+ version: '4.3'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 4.3.5
82
+ version: '4.3'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec_junit_formatter
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.4.1
89
+ version: '0.4'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.4.1
96
+ version: '0.4'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec-rails
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 4.0.1
103
+ version: '4.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 4.0.1
110
+ version: '4.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rubocop
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.90.0
117
+ version: '0.90'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 0.90.0
124
+ version: '0.90'
125
+ - !ruby/object:Gem::Dependency
126
+ name: sassc
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '2.4'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '2.4'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: selenium-webdriver
127
141
  requirement: !ruby/object:Gem::Requirement
128
142
  requirements:
129
143
  - - "~>"
130
144
  - !ruby/object:Gem::Version
131
- version: 3.142.7
145
+ version: '3.142'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '3.142'
153
+ - !ruby/object:Gem::Dependency
154
+ name: sprockets-rails
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '3.2'
132
160
  type: :development
133
161
  prerelease: false
134
162
  version_requirements: !ruby/object:Gem::Requirement
135
163
  requirements:
136
164
  - - "~>"
137
165
  - !ruby/object:Gem::Version
138
- version: 3.142.7
166
+ version: '3.2'
139
167
  - !ruby/object:Gem::Dependency
140
168
  name: sqlite3
141
169
  requirement: !ruby/object:Gem::Requirement
142
170
  requirements:
143
171
  - - "~>"
144
172
  - !ruby/object:Gem::Version
145
- version: 1.4.2
173
+ version: '1.4'
146
174
  type: :development
147
175
  prerelease: false
148
176
  version_requirements: !ruby/object:Gem::Requirement
149
177
  requirements:
150
178
  - - "~>"
151
179
  - !ruby/object:Gem::Version
152
- version: 1.4.2
180
+ version: '1.4'
153
181
  description: An ActiveAdmin theme which use Blaze CSS UI toolkit
154
182
  email:
155
183
  - mat@blocknot.es
@@ -245,10 +273,8 @@ files:
245
273
  - bin/rake
246
274
  - bin/rspec
247
275
  - bin/rubocop
248
- - extra/screenshot1.jpg
249
- - extra/screenshot2.jpg
250
- - extra/screenshot3.jpg
251
- - extra/screenshot4.jpg
276
+ - extra/edit.png
277
+ - extra/index.png
252
278
  - lib/activeadmin/views/activeadmin_form.rb
253
279
  - lib/activeadmin_blaze_theme.rb
254
280
  - lib/activeadmin_blaze_theme/version.rb
Binary file
Binary file
Binary file
Binary file