activeadmin_blaze_theme 0.7.4 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -2
- data/app/assets/stylesheets/activeadmin_blaze_theme/_form.scss +3 -0
- data/lib/activeadmin/views/activeadmin_form.rb +1 -1
- data/lib/activeadmin_blaze_theme/version.rb +1 -1
- data/package.json +2 -2
- metadata +18 -175
- data/.github/workflows/specs.yml +0 -26
- data/.gitignore +0 -13
- data/.rspec +0 -2
- data/.rubocop.yml +0 -27
- data/Gemfile +0 -18
- data/Rakefile +0 -16
- data/activeadmin_blaze_theme.gemspec +0 -23
- data/bin/rails +0 -29
- data/bin/rake +0 -29
- data/bin/rspec +0 -29
- data/bin/rubocop +0 -29
- data/extra/edit.png +0 -0
- data/extra/index.png +0 -0
- data/spec/dummy/.ruby-version +0 -1
- data/spec/dummy/.tool-versions +0 -1
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/admin/authors.rb +0 -57
- data/spec/dummy/app/admin/dashboard.rb +0 -32
- data/spec/dummy/app/admin/posts.rb +0 -50
- data/spec/dummy/app/admin/tags.rb +0 -4
- data/spec/dummy/app/assets/config/manifest.js +0 -3
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/active_admin.js +0 -1
- data/spec/dummy/app/assets/stylesheets/active_admin.scss +0 -4
- data/spec/dummy/app/assets/stylesheets/application.css +0 -15
- data/spec/dummy/app/channels/application_cable/channel.rb +0 -4
- data/spec/dummy/app/channels/application_cable/connection.rb +0 -4
- data/spec/dummy/app/controllers/application_controller.rb +0 -2
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/javascript/packs/application.js +0 -15
- data/spec/dummy/app/jobs/application_job.rb +0 -7
- data/spec/dummy/app/mailers/application_mailer.rb +0 -4
- data/spec/dummy/app/models/application_record.rb +0 -7
- data/spec/dummy/app/models/author.rb +0 -26
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/models/post.rb +0 -25
- data/spec/dummy/app/models/post_tag.rb +0 -9
- data/spec/dummy/app/models/profile.rb +0 -9
- data/spec/dummy/app/models/tag.rb +0 -6
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
- data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/bin/setup +0 -33
- data/spec/dummy/config.ru +0 -5
- data/spec/dummy/config/application.rb +0 -18
- data/spec/dummy/config/boot.rb +0 -5
- data/spec/dummy/config/cable.yml +0 -10
- data/spec/dummy/config/database.yml +0 -8
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -62
- data/spec/dummy/config/environments/production.rb +0 -112
- data/spec/dummy/config/environments/test.rb +0 -49
- data/spec/dummy/config/initializers/active_admin.rb +0 -335
- data/spec/dummy/config/initializers/application_controller_renderer.rb +0 -8
- data/spec/dummy/config/initializers/assets.rb +0 -12
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/content_security_policy.rb +0 -28
- data/spec/dummy/config/initializers/cookies_serializer.rb +0 -5
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -4
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -33
- data/spec/dummy/config/puma.rb +0 -38
- data/spec/dummy/config/routes.rb +0 -3
- data/spec/dummy/config/spring.rb +0 -6
- data/spec/dummy/config/storage.yml +0 -7
- data/spec/dummy/db/migrate/20170806125915_create_active_storage_tables.active_storage.rb +0 -27
- data/spec/dummy/db/migrate/20180101010101_create_active_admin_comments.rb +0 -16
- data/spec/dummy/db/migrate/20180607053251_create_authors.rb +0 -13
- data/spec/dummy/db/migrate/20180607053254_create_profiles.rb +0 -12
- data/spec/dummy/db/migrate/20180607053255_create_tags.rb +0 -11
- data/spec/dummy/db/migrate/20180607053257_create_post_tags.rb +0 -12
- data/spec/dummy/db/migrate/20180607053739_create_posts.rb +0 -17
- data/spec/dummy/db/schema.rb +0 -99
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/public/404.html +0 -67
- data/spec/dummy/public/422.html +0 -67
- data/spec/dummy/public/500.html +0 -66
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/rails_helper.rb +0 -36
- data/spec/spec_helper.rb +0 -20
- data/spec/support/capybara.rb +0 -3
- data/spec/support/drivers.rb +0 -7
- data/spec/system/theme_spec.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23b73dccd520bea5c06eae163694ef16f3fbbbc6833ca83174212b5f5134d092
|
4
|
+
data.tar.gz: 8f1d6ae7ede072fa6300c2d01598ab2857d6af94a48f83ff8b2445929292ced3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3522b5c31e56cd92ff1c9715a212a31f7342f1cb7d4de81248aabd098447b39b4e6ca5e34e23a90b21cd62a02acd4636fddb0ccc912b5653560c67518cdcc761
|
7
|
+
data.tar.gz: c9faf4f11d4f43d6a9a342c44f38431c76b9bec35d4c5e8eb9d90c1f904a4ca314bdeb2853fd8f54a6d0747b411b4591880fd239556123e683e6922d77da775f
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
# Active Admin Blaze Theme
|
1
|
+
# Active Admin Blaze Theme
|
2
|
+
[![gem version](https://badge.fury.io/rb/activeadmin_blaze_theme.svg)](https://badge.fury.io/rb/activeadmin_blaze_theme) [![gem downloads](https://badgen.net/rubygems/dt/activeadmin_blaze_theme)](https://rubygems.org/gems/activeadmin_blaze_theme) [![linters](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/linters.yml/badge.svg)](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/linters.yml) [![specs](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/specs.yml/badge.svg)](https://github.com/blocknotes/activeadmin_blaze_theme/actions/workflows/specs.yml)
|
2
3
|
|
3
|
-
A theme for Active Admin
|
4
|
+
A theme for Active Admin based on [Blaze CSS](http://blazecss.com) 3.x
|
4
5
|
|
5
6
|
Features:
|
6
7
|
|
@@ -12,6 +13,8 @@ Features:
|
|
12
13
|
|
13
14
|
See some [screenshots](#screenshots).
|
14
15
|
|
16
|
+
Please :star: if you like it.
|
17
|
+
|
15
18
|
## Install
|
16
19
|
|
17
20
|
First, add to your Gemfile: `gem 'activeadmin_blaze_theme'` (and execute `bundle`)
|
@@ -252,6 +255,7 @@ Or consider offering me a coffee, it's a small thing but it is greatly appreciat
|
|
252
255
|
## Contributors
|
253
256
|
|
254
257
|
- [Mattia Roccoberton](http://blocknot.es): author
|
258
|
+
- The good guys that opened issues and pull requests from time to time
|
255
259
|
|
256
260
|
## License
|
257
261
|
|
@@ -47,6 +47,7 @@ body.active_admin {
|
|
47
47
|
}
|
48
48
|
|
49
49
|
// buttons
|
50
|
+
a.button.has_many_add,
|
50
51
|
button,
|
51
52
|
input[type='button'],
|
52
53
|
input[type='submit'],
|
@@ -66,6 +67,7 @@ body.active_admin {
|
|
66
67
|
}
|
67
68
|
}
|
68
69
|
|
70
|
+
a.button.has_many_add:hover,
|
69
71
|
button:hover,
|
70
72
|
input[type='button']:hover,
|
71
73
|
input[type='submit']:hover,
|
@@ -75,6 +77,7 @@ body.active_admin {
|
|
75
77
|
background-color: #aaa;
|
76
78
|
background-image: none;
|
77
79
|
}
|
80
|
+
|
78
81
|
> .actions {
|
79
82
|
margin: 5px 0 0 0;
|
80
83
|
}
|
@@ -22,7 +22,7 @@ ActiveAdmin::Views::ActiveAdminForm.class_eval do
|
|
22
22
|
cl = 'readonly-field'
|
23
23
|
cl += " #{options[:class]}" if options[:class]
|
24
24
|
li class: cl do
|
25
|
-
if
|
25
|
+
if field.present?
|
26
26
|
label field, for: nil, class: 'field_label'
|
27
27
|
else
|
28
28
|
span ' '.html_safe, class: 'field_label'
|
data/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "activeadmin_blaze_theme",
|
3
|
-
"version": "0.7.
|
4
|
-
"description": "A theme for Active Admin
|
3
|
+
"version": "0.7.6",
|
4
|
+
"description": "A theme for Active Admin based on Blaze CSS 3.x",
|
5
5
|
"author": "Mattia Roccoberton <mat@blocknot.es>",
|
6
6
|
"license": "MIT",
|
7
7
|
"homepage": "https://github.com/blocknotes/activeadmin_blaze_theme",
|
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.7.
|
4
|
+
version: 0.7.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattia Roccoberton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeadmin
|
@@ -24,26 +24,29 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sassc
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.4'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.4'
|
27
41
|
description: An ActiveAdmin theme based on Blaze CSS UI toolkit
|
28
42
|
email:
|
29
43
|
- mat@blocknot.es
|
30
|
-
executables:
|
31
|
-
- rails
|
32
|
-
- rake
|
33
|
-
- rspec
|
34
|
-
- rubocop
|
44
|
+
executables: []
|
35
45
|
extensions: []
|
36
46
|
extra_rdoc_files: []
|
37
47
|
files:
|
38
|
-
- ".github/workflows/specs.yml"
|
39
|
-
- ".gitignore"
|
40
|
-
- ".rspec"
|
41
|
-
- ".rubocop.yml"
|
42
|
-
- Gemfile
|
43
48
|
- LICENSE.txt
|
44
49
|
- README.md
|
45
|
-
- Rakefile
|
46
|
-
- activeadmin_blaze_theme.gemspec
|
47
50
|
- app/assets/fonts/icomoon.eot
|
48
51
|
- app/assets/fonts/icomoon.svg
|
49
52
|
- app/assets/fonts/icomoon.ttf
|
@@ -122,95 +125,12 @@ files:
|
|
122
125
|
- app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.visibility.scss
|
123
126
|
- app/assets/stylesheets/activeadmin_blaze_theme/icomoon.scss
|
124
127
|
- app/assets/stylesheets/activeadmin_blaze_theme/theme.scss
|
125
|
-
- bin/rails
|
126
|
-
- bin/rake
|
127
|
-
- bin/rspec
|
128
|
-
- bin/rubocop
|
129
|
-
- extra/edit.png
|
130
|
-
- extra/index.png
|
131
128
|
- index.js
|
132
129
|
- lib/activeadmin/views/activeadmin_form.rb
|
133
130
|
- lib/activeadmin_blaze_theme.rb
|
134
131
|
- lib/activeadmin_blaze_theme/version.rb
|
135
132
|
- lib/formtastic/inputs/blaze_toggle_input.rb
|
136
133
|
- package.json
|
137
|
-
- spec/dummy/.ruby-version
|
138
|
-
- spec/dummy/.tool-versions
|
139
|
-
- spec/dummy/Rakefile
|
140
|
-
- spec/dummy/app/admin/authors.rb
|
141
|
-
- spec/dummy/app/admin/dashboard.rb
|
142
|
-
- spec/dummy/app/admin/posts.rb
|
143
|
-
- spec/dummy/app/admin/tags.rb
|
144
|
-
- spec/dummy/app/assets/config/manifest.js
|
145
|
-
- spec/dummy/app/assets/images/.keep
|
146
|
-
- spec/dummy/app/assets/javascripts/active_admin.js
|
147
|
-
- spec/dummy/app/assets/stylesheets/active_admin.scss
|
148
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
149
|
-
- spec/dummy/app/channels/application_cable/channel.rb
|
150
|
-
- spec/dummy/app/channels/application_cable/connection.rb
|
151
|
-
- spec/dummy/app/controllers/application_controller.rb
|
152
|
-
- spec/dummy/app/controllers/concerns/.keep
|
153
|
-
- spec/dummy/app/helpers/application_helper.rb
|
154
|
-
- spec/dummy/app/javascript/packs/application.js
|
155
|
-
- spec/dummy/app/jobs/application_job.rb
|
156
|
-
- spec/dummy/app/mailers/application_mailer.rb
|
157
|
-
- spec/dummy/app/models/application_record.rb
|
158
|
-
- spec/dummy/app/models/author.rb
|
159
|
-
- spec/dummy/app/models/concerns/.keep
|
160
|
-
- spec/dummy/app/models/post.rb
|
161
|
-
- spec/dummy/app/models/post_tag.rb
|
162
|
-
- spec/dummy/app/models/profile.rb
|
163
|
-
- spec/dummy/app/models/tag.rb
|
164
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
165
|
-
- spec/dummy/app/views/layouts/mailer.html.erb
|
166
|
-
- spec/dummy/app/views/layouts/mailer.text.erb
|
167
|
-
- spec/dummy/bin/rails
|
168
|
-
- spec/dummy/bin/rake
|
169
|
-
- spec/dummy/bin/setup
|
170
|
-
- spec/dummy/config.ru
|
171
|
-
- spec/dummy/config/application.rb
|
172
|
-
- spec/dummy/config/boot.rb
|
173
|
-
- spec/dummy/config/cable.yml
|
174
|
-
- spec/dummy/config/database.yml
|
175
|
-
- spec/dummy/config/environment.rb
|
176
|
-
- spec/dummy/config/environments/development.rb
|
177
|
-
- spec/dummy/config/environments/production.rb
|
178
|
-
- spec/dummy/config/environments/test.rb
|
179
|
-
- spec/dummy/config/initializers/active_admin.rb
|
180
|
-
- spec/dummy/config/initializers/application_controller_renderer.rb
|
181
|
-
- spec/dummy/config/initializers/assets.rb
|
182
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
183
|
-
- spec/dummy/config/initializers/content_security_policy.rb
|
184
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
185
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
186
|
-
- spec/dummy/config/initializers/inflections.rb
|
187
|
-
- spec/dummy/config/initializers/mime_types.rb
|
188
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
189
|
-
- spec/dummy/config/locales/en.yml
|
190
|
-
- spec/dummy/config/puma.rb
|
191
|
-
- spec/dummy/config/routes.rb
|
192
|
-
- spec/dummy/config/spring.rb
|
193
|
-
- spec/dummy/config/storage.yml
|
194
|
-
- spec/dummy/db/migrate/20170806125915_create_active_storage_tables.active_storage.rb
|
195
|
-
- spec/dummy/db/migrate/20180101010101_create_active_admin_comments.rb
|
196
|
-
- spec/dummy/db/migrate/20180607053251_create_authors.rb
|
197
|
-
- spec/dummy/db/migrate/20180607053254_create_profiles.rb
|
198
|
-
- spec/dummy/db/migrate/20180607053255_create_tags.rb
|
199
|
-
- spec/dummy/db/migrate/20180607053257_create_post_tags.rb
|
200
|
-
- spec/dummy/db/migrate/20180607053739_create_posts.rb
|
201
|
-
- spec/dummy/db/schema.rb
|
202
|
-
- spec/dummy/lib/assets/.keep
|
203
|
-
- spec/dummy/public/404.html
|
204
|
-
- spec/dummy/public/422.html
|
205
|
-
- spec/dummy/public/500.html
|
206
|
-
- spec/dummy/public/apple-touch-icon-precomposed.png
|
207
|
-
- spec/dummy/public/apple-touch-icon.png
|
208
|
-
- spec/dummy/public/favicon.ico
|
209
|
-
- spec/rails_helper.rb
|
210
|
-
- spec/spec_helper.rb
|
211
|
-
- spec/support/capybara.rb
|
212
|
-
- spec/support/drivers.rb
|
213
|
-
- spec/system/theme_spec.rb
|
214
134
|
homepage: https://github.com/blocknotes/activeadmin_blaze_theme
|
215
135
|
licenses:
|
216
136
|
- MIT
|
@@ -234,81 +154,4 @@ rubygems_version: 3.1.4
|
|
234
154
|
signing_key:
|
235
155
|
specification_version: 4
|
236
156
|
summary: ActiveAdmin Blaze Theme
|
237
|
-
test_files:
|
238
|
-
- spec/dummy/.ruby-version
|
239
|
-
- spec/dummy/.tool-versions
|
240
|
-
- spec/dummy/Rakefile
|
241
|
-
- spec/dummy/app/admin/authors.rb
|
242
|
-
- spec/dummy/app/admin/dashboard.rb
|
243
|
-
- spec/dummy/app/admin/posts.rb
|
244
|
-
- spec/dummy/app/admin/tags.rb
|
245
|
-
- spec/dummy/app/assets/config/manifest.js
|
246
|
-
- spec/dummy/app/assets/images/.keep
|
247
|
-
- spec/dummy/app/assets/javascripts/active_admin.js
|
248
|
-
- spec/dummy/app/assets/stylesheets/active_admin.scss
|
249
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
250
|
-
- spec/dummy/app/channels/application_cable/channel.rb
|
251
|
-
- spec/dummy/app/channels/application_cable/connection.rb
|
252
|
-
- spec/dummy/app/controllers/application_controller.rb
|
253
|
-
- spec/dummy/app/controllers/concerns/.keep
|
254
|
-
- spec/dummy/app/helpers/application_helper.rb
|
255
|
-
- spec/dummy/app/javascript/packs/application.js
|
256
|
-
- spec/dummy/app/jobs/application_job.rb
|
257
|
-
- spec/dummy/app/mailers/application_mailer.rb
|
258
|
-
- spec/dummy/app/models/application_record.rb
|
259
|
-
- spec/dummy/app/models/author.rb
|
260
|
-
- spec/dummy/app/models/concerns/.keep
|
261
|
-
- spec/dummy/app/models/post.rb
|
262
|
-
- spec/dummy/app/models/post_tag.rb
|
263
|
-
- spec/dummy/app/models/profile.rb
|
264
|
-
- spec/dummy/app/models/tag.rb
|
265
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
266
|
-
- spec/dummy/app/views/layouts/mailer.html.erb
|
267
|
-
- spec/dummy/app/views/layouts/mailer.text.erb
|
268
|
-
- spec/dummy/bin/rails
|
269
|
-
- spec/dummy/bin/rake
|
270
|
-
- spec/dummy/bin/setup
|
271
|
-
- spec/dummy/config.ru
|
272
|
-
- spec/dummy/config/application.rb
|
273
|
-
- spec/dummy/config/boot.rb
|
274
|
-
- spec/dummy/config/cable.yml
|
275
|
-
- spec/dummy/config/database.yml
|
276
|
-
- spec/dummy/config/environment.rb
|
277
|
-
- spec/dummy/config/environments/development.rb
|
278
|
-
- spec/dummy/config/environments/production.rb
|
279
|
-
- spec/dummy/config/environments/test.rb
|
280
|
-
- spec/dummy/config/initializers/active_admin.rb
|
281
|
-
- spec/dummy/config/initializers/application_controller_renderer.rb
|
282
|
-
- spec/dummy/config/initializers/assets.rb
|
283
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
284
|
-
- spec/dummy/config/initializers/content_security_policy.rb
|
285
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
286
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
287
|
-
- spec/dummy/config/initializers/inflections.rb
|
288
|
-
- spec/dummy/config/initializers/mime_types.rb
|
289
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
290
|
-
- spec/dummy/config/locales/en.yml
|
291
|
-
- spec/dummy/config/puma.rb
|
292
|
-
- spec/dummy/config/routes.rb
|
293
|
-
- spec/dummy/config/spring.rb
|
294
|
-
- spec/dummy/config/storage.yml
|
295
|
-
- spec/dummy/db/migrate/20170806125915_create_active_storage_tables.active_storage.rb
|
296
|
-
- spec/dummy/db/migrate/20180101010101_create_active_admin_comments.rb
|
297
|
-
- spec/dummy/db/migrate/20180607053251_create_authors.rb
|
298
|
-
- spec/dummy/db/migrate/20180607053254_create_profiles.rb
|
299
|
-
- spec/dummy/db/migrate/20180607053255_create_tags.rb
|
300
|
-
- spec/dummy/db/migrate/20180607053257_create_post_tags.rb
|
301
|
-
- spec/dummy/db/migrate/20180607053739_create_posts.rb
|
302
|
-
- spec/dummy/db/schema.rb
|
303
|
-
- spec/dummy/lib/assets/.keep
|
304
|
-
- spec/dummy/public/404.html
|
305
|
-
- spec/dummy/public/422.html
|
306
|
-
- spec/dummy/public/500.html
|
307
|
-
- spec/dummy/public/apple-touch-icon-precomposed.png
|
308
|
-
- spec/dummy/public/apple-touch-icon.png
|
309
|
-
- spec/dummy/public/favicon.ico
|
310
|
-
- spec/rails_helper.rb
|
311
|
-
- spec/spec_helper.rb
|
312
|
-
- spec/support/capybara.rb
|
313
|
-
- spec/support/drivers.rb
|
314
|
-
- spec/system/theme_spec.rb
|
157
|
+
test_files: []
|
data/.github/workflows/specs.yml
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
name: Specs
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches: [master]
|
6
|
-
pull_request:
|
7
|
-
branches: [master]
|
8
|
-
|
9
|
-
jobs:
|
10
|
-
test:
|
11
|
-
runs-on: ubuntu-latest
|
12
|
-
|
13
|
-
strategy:
|
14
|
-
matrix:
|
15
|
-
ruby: ['2.5', '2.6', '2.7']
|
16
|
-
|
17
|
-
steps:
|
18
|
-
- name: Checkout
|
19
|
-
uses: actions/checkout@v2
|
20
|
-
- name: Set up Ruby
|
21
|
-
uses: ruby/setup-ruby@v1
|
22
|
-
with:
|
23
|
-
ruby-version: ${{ matrix.ruby }}
|
24
|
-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
25
|
-
- name: Run tests
|
26
|
-
run: bundle exec rake
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
inherit_from:
|
2
|
-
- https://relaxed.ruby.style/rubocop.yml
|
3
|
-
|
4
|
-
AllCops:
|
5
|
-
Exclude:
|
6
|
-
- bin/*
|
7
|
-
- spec/dummy/**/*
|
8
|
-
NewCops: enable
|
9
|
-
|
10
|
-
Gemspec/RequiredRubyVersion:
|
11
|
-
Enabled: false
|
12
|
-
|
13
|
-
Naming/FileName:
|
14
|
-
Enabled: false
|
15
|
-
|
16
|
-
Layout/LineLength:
|
17
|
-
Enabled: true
|
18
|
-
Max: 120
|
19
|
-
|
20
|
-
Style/HashEachMethods:
|
21
|
-
Enabled: true
|
22
|
-
|
23
|
-
Style/HashTransformKeys:
|
24
|
-
Enabled: true
|
25
|
-
|
26
|
-
Style/HashTransformValues:
|
27
|
-
Enabled: true
|
data/Gemfile
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
source 'https://rubygems.org'
|
4
|
-
|
5
|
-
gemspec
|
6
|
-
|
7
|
-
gem 'pry-rails'
|
8
|
-
|
9
|
-
gem 'activestorage', '~> 6.0'
|
10
|
-
gem 'capybara', '~> 3.33'
|
11
|
-
gem 'puma', '~> 4.3'
|
12
|
-
gem 'rspec-rails'
|
13
|
-
gem 'rspec_junit_formatter', '~> 0.4'
|
14
|
-
gem 'rubocop', '~> 1.0'
|
15
|
-
gem 'sassc', '~> 2.4'
|
16
|
-
gem 'selenium-webdriver', '~> 3.142'
|
17
|
-
gem 'sprockets-rails', '~> 3.2'
|
18
|
-
gem 'sqlite3', '~> 1.4'
|
data/Rakefile
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
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
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
lib = File.expand_path('lib', __dir__)
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require 'activeadmin_blaze_theme/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |spec|
|
8
|
-
spec.name = 'activeadmin_blaze_theme'
|
9
|
-
spec.version = ActiveAdminBlazeTheme::VERSION
|
10
|
-
spec.authors = ['Mattia Roccoberton']
|
11
|
-
spec.email = ['mat@blocknot.es']
|
12
|
-
spec.summary = 'ActiveAdmin Blaze Theme'
|
13
|
-
spec.description = 'An ActiveAdmin theme based on Blaze CSS UI toolkit'
|
14
|
-
spec.homepage = 'https://github.com/blocknotes/activeadmin_blaze_theme'
|
15
|
-
spec.license = 'MIT'
|
16
|
-
|
17
|
-
spec.files = `git ls-files -z`.split("\x0")
|
18
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
|
-
spec.require_paths = ['lib']
|
21
|
-
|
22
|
-
spec.add_runtime_dependency 'activeadmin', '~> 2.0'
|
23
|
-
end
|