|
| 1 | +# frozen_string_literal: true |
| 2 | + |
1 | 3 | $:.push File.expand_path("lib", __dir__) |
2 | 4 |
|
3 | 5 | # Maintain your gem's version: |
4 | | -require "administrate/materialize/theme/version" |
| 6 | +require "administrate-materialize-theme/version" |
5 | 7 |
|
6 | 8 | # Describe your gem and declare its dependencies: |
7 | 9 | Gem::Specification.new do |spec| |
8 | 10 | spec.name = "administrate-materialize-theme" |
9 | | - spec.version = Administrate::Materialize::Theme::VERSION |
| 11 | + spec.version = AdministrateMaterializeTheme::VERSION |
10 | 12 | spec.authors = ["Mattia Roccoberton"] |
11 | 13 | spec.email = ["mat@blocknot.es"] |
12 | | - spec.homepage = "TODO" |
13 | | - spec.summary = "TODO: Summary of Administrate::Materialize::Theme." |
14 | | - spec.description = "TODO: Description of Administrate::Materialize::Theme." |
| 14 | + spec.homepage = "https://blocknot.es" |
| 15 | + spec.summary = "Administrate Materialize Theme" |
| 16 | + spec.description = "A Material theme for Administrate based on Materialize framework" |
15 | 17 | spec.license = "MIT" |
16 | 18 |
|
17 | 19 | # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' |
18 | 20 | # to allow pushing to a single host or delete this section to allow pushing to any host. |
19 | 21 | if spec.respond_to?(:metadata) |
20 | | - spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'" |
| 22 | + # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'" |
21 | 23 | else |
22 | 24 | raise "RubyGems 2.0 or newer is required to protect against " \ |
23 | 25 | "public gem pushes." |
24 | 26 | end |
25 | 27 |
|
26 | | - spec.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"] |
| 28 | + spec.files = Dir["{app,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"] |
27 | 29 |
|
28 | | - spec.add_dependency "rails", "~> 6.0.3", ">= 6.0.3.2" |
| 30 | + spec.add_dependency 'administrate', '~> 0.14.0' |
29 | 31 |
|
30 | | - spec.add_development_dependency "sqlite3" |
| 32 | + spec.add_dependency 'rubocop', '~> 0.89.1' |
31 | 33 | end |
0 commit comments