administrate-materialize-theme 0.2.4 → 1.0.0

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: 3014622735f37c90bb08e071e477f92ee6f4b1d762e029dd085e35ee5ff292a6
4
- data.tar.gz: f51b20002ba34b65b5c7a6f998a43e4c2c19eaa89e123fde9f16faea3b81a500
3
+ metadata.gz: 050c2d5a8d08959c9399acbc98b39d263805ceced55674f409a3c756ac85da2e
4
+ data.tar.gz: 2c072d4b8fd729ee34eced7b7ecbb042688d77e153a0a30ddb9622241bd8cba2
5
5
  SHA512:
6
- metadata.gz: 5e94ec7b8a530905e8a302a148743b7ee36cde4c1af5f3c24314f4244d5caa8ff6ade704eab0e690bde5926e4a32fcfb5ae7172b677731f133830ae651c037ab
7
- data.tar.gz: e7af5ef2e185c8d5195378296b93ecedb69a727f7998ca001f1c4b55988902a20e51fee25a908c9eb52a7ce4888357788f4e03ec364ddf683e31beedec334924
6
+ metadata.gz: d06d3e6444a3014e85f27021b4a9f9a04bcd239244ac6e781a2daf2f23a239972995ebd612c4cf1ce83a1cbb14e17d51d550db42a362c070b46ba9e883219531
7
+ data.tar.gz: 75a39c8930ae8e18c31102383a03bdf4287c268bc9b47b3cafabda29a5e30accadc480797aa86c7784a333c8c4dc98abfb4d8922b6919d4f0e14b7ec4f489d03
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2020 Mattia Roccoberton
1
+ Copyright 2022 Mattia Roccoberton
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,17 +1,25 @@
1
1
  # Administrate Materialize Theme
2
- [![Gem Version](https://badge.fury.io/rb/administrate-materialize-theme.svg)](https://badge.fury.io/rb/administrate-materialize-theme) [![CircleCI](https://circleci.com/gh/blocknotes/administrate-materialize-theme.svg?style=svg)](https://circleci.com/gh/blocknotes/administrate-materialize-theme)
2
+ [![gem version](https://badge.fury.io/rb/administrate-materialize-theme.svg)](https://badge.fury.io/rb/administrate-materialize-theme)
3
+ [![gem downloads](https://badgen.net/rubygems/dt/administrate-materialize-theme)](https://rubygems.org/gems/administrate-materialize-theme)
4
+ [![linters](https://github.com/blocknotes/administrate-materialize-theme/actions/workflows/linters.yml/badge.svg)](https://github.com/blocknotes/administrate-materialize-theme/actions/workflows/linters.yml)
5
+ [![specs](https://github.com/blocknotes/administrate-materialize-theme/actions/workflows/specs.yml/badge.svg)](https://github.com/blocknotes/administrate-materialize-theme/actions/workflows/specs.yml)
3
6
 
4
- A Material theme form [Administrate](https://github.com/thoughtbot/administrate), based on [Materialize](https://materializecss.com) framework.
7
+ A Material theme for [Administrate](https://github.com/thoughtbot/administrate), based on [Materialize](https://materializecss.com) framework.
5
8
 
6
9
  Features:
7
- - easy to install, just include CSS/JS to apply the theme;
10
+
11
+ - easy to install, just include CSS/JS to apply the theme to a default Administrate structure;
8
12
  - Material Design responsive theme;
9
13
  - customizable via SASS variables;
10
14
  - allow to use *Materialize* components in the admin.
11
15
 
12
- ![screenshot](screenshot.png)
16
+ ![screenshot](extra/screenshot.png)
17
+
18
+ Please :star: if you like it.
13
19
 
14
20
  ## Installation
21
+
22
+ - Add a SASS/SCSS gem to your Gemfile (ex. `gem 'sassc'`)
15
23
  - After installing Administrate, add to *Gemfile*: `gem 'administrate-materialize-theme'` (and execute `bundle`)
16
24
  - Edit *app/assets/config/manifest.js*, adding at the end:
17
25
 
@@ -28,6 +36,7 @@ Features:
28
36
  ```
29
37
 
30
38
  ## Customizations
39
+
31
40
  To change Materialize variables it's necessary to create a new *.scss* (or *.sass*) file like this one (ex. *admin.scss*):
32
41
 
33
42
  ```scss
@@ -41,6 +50,7 @@ And replace the link tag in the *application.html.erb* with: `<%= stylesheet_lin
41
50
  For the complete list of options take a look [here](app/assets/stylesheets/administrate-materialize-theme/components/_variables.scss).
42
51
 
43
52
  ## Extra features
53
+
44
54
  - Sidebar example:
45
55
 
46
56
  ```html
@@ -60,12 +70,15 @@ For the complete list of options take a look [here](app/assets/stylesheets/admin
60
70
  ```
61
71
 
62
72
  ## Do you like it? Star it!
73
+
63
74
  If you use this component just star it. A developer is more motivated to improve a project when there is some interest.
64
75
 
65
76
  Or consider offering me a coffee, it's a small thing but it is greatly appreciated: [about me](https://www.blocknot.es/about-me).
66
77
 
67
78
  ## Contributors
79
+
68
80
  - [Mattia Roccoberton](https://blocknot.es/): author
69
81
 
70
82
  ## License
83
+
71
84
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AdministrateMaterializeTheme
4
- VERSION = '0.2.4'
4
+ VERSION = '1.0.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-materialize-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 1.0.0
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-03-21 00:00:00.000000000 Z
11
+ date: 2022-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: administrate
@@ -16,114 +16,16 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: '0.16'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.14.0
26
+ version: '0.16'
27
27
  - !ruby/object:Gem::Dependency
28
- name: activestorage
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '6.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '6.0'
41
- - !ruby/object:Gem::Dependency
42
- name: capybara
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '3.33'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '3.33'
55
- - !ruby/object:Gem::Dependency
56
- name: pry
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '0.13'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '0.13'
69
- - !ruby/object:Gem::Dependency
70
- name: puma
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '4.3'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '4.3'
83
- - !ruby/object:Gem::Dependency
84
- name: rspec_junit_formatter
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '0.4'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '0.4'
97
- - !ruby/object:Gem::Dependency
98
- name: rspec-rails
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '4.0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '4.0'
111
- - !ruby/object:Gem::Dependency
112
- name: rubocop
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '0.90'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '0.90'
125
- - !ruby/object:Gem::Dependency
126
- name: sassc
28
+ name: appraisal
127
29
  requirement: !ruby/object:Gem::Requirement
128
30
  requirements:
129
31
  - - "~>"
@@ -136,48 +38,6 @@ dependencies:
136
38
  - - "~>"
137
39
  - !ruby/object:Gem::Version
138
40
  version: '2.4'
139
- - !ruby/object:Gem::Dependency
140
- name: selenium-webdriver
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
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'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '3.2'
167
- - !ruby/object:Gem::Dependency
168
- name: sqlite3
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '1.4'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: '1.4'
181
41
  description: A Material Design theme for Administrate using Materialize framework
182
42
  email:
183
43
  - mat@blocknot.es
@@ -272,7 +132,10 @@ files:
272
132
  homepage: https://github.com/blocknotes/administrate-materialize-theme
273
133
  licenses:
274
134
  - MIT
275
- metadata: {}
135
+ metadata:
136
+ homepage_uri: https://github.com/blocknotes/administrate-materialize-theme
137
+ source_code_uri: https://github.com/blocknotes/administrate-materialize-theme
138
+ rubygems_mfa_required: 'true'
276
139
  post_install_message:
277
140
  rdoc_options: []
278
141
  require_paths:
@@ -281,14 +144,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
281
144
  requirements:
282
145
  - - ">="
283
146
  - !ruby/object:Gem::Version
284
- version: '0'
147
+ version: 2.6.0
285
148
  required_rubygems_version: !ruby/object:Gem::Requirement
286
149
  requirements:
287
150
  - - ">="
288
151
  - !ruby/object:Gem::Version
289
152
  version: '0'
290
153
  requirements: []
291
- rubygems_version: 3.0.3
154
+ rubygems_version: 3.1.6
292
155
  signing_key:
293
156
  specification_version: 4
294
157
  summary: Administrate Materialize Theme