admin_tools 0.1.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/admin_tools/version.rb +1 -1
- metadata +6 -7
- data/admin_tools.gemspec +0 -32
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f5a515b0bd896c2e7a2e55c107c98080d6c2cf627f503618a7d8c5873e4b9d9
|
|
4
|
+
data.tar.gz: 268800791a1a3ea72ad67355956fd3f4ab4b86b1e2d86f20e1d9730fec5a9bd5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb80648b475422cd01c39688ab49522e88716f5ee1498c4eaa41850d523bb5ddeb3000e4a704cda13bbabacc83ea8c1bd0508869c9c06f45cec90b06159f8f75
|
|
7
|
+
data.tar.gz: cab42cbe48041584582215773c07f0c535687a3ca79b7c657f163ae2a794ec62d3ebbf7feb97856b780a38a52bfdd33f5e2c08a49f10f238b78466d53b32bb51
|
data/lib/admin_tools/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: admin_tools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jasper Mayone
|
|
@@ -36,7 +36,6 @@ files:
|
|
|
36
36
|
- LICENSE.txt
|
|
37
37
|
- README.md
|
|
38
38
|
- Rakefile
|
|
39
|
-
- admin_tools.gemspec
|
|
40
39
|
- lib/admin_tools.rb
|
|
41
40
|
- lib/admin_tools/configuration.rb
|
|
42
41
|
- lib/admin_tools/helper.rb
|
|
@@ -47,13 +46,13 @@ files:
|
|
|
47
46
|
- lib/generators/admin_tools/install/templates/admin_tools.css
|
|
48
47
|
- lib/generators/admin_tools/install/templates/admin_tools_tailwind.css
|
|
49
48
|
- lib/generators/admin_tools/install/templates/initializer.rb
|
|
50
|
-
homepage: https://github.com/
|
|
49
|
+
homepage: https://github.com/jaspermayone/admin_tools
|
|
51
50
|
licenses:
|
|
52
51
|
- MIT
|
|
53
52
|
metadata:
|
|
54
|
-
homepage_uri: https://github.com/
|
|
55
|
-
source_code_uri: https://github.com/
|
|
56
|
-
changelog_uri: https://github.com/
|
|
53
|
+
homepage_uri: https://github.com/jaspermayone/admin_tools
|
|
54
|
+
source_code_uri: https://github.com/jaspermayone/admin_tools
|
|
55
|
+
changelog_uri: https://github.com/jaspermayone/admin_tools/blob/main/CHANGELOG.md
|
|
57
56
|
rdoc_options: []
|
|
58
57
|
require_paths:
|
|
59
58
|
- lib
|
|
@@ -68,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
68
67
|
- !ruby/object:Gem::Version
|
|
69
68
|
version: '0'
|
|
70
69
|
requirements: []
|
|
71
|
-
rubygems_version: 3.
|
|
70
|
+
rubygems_version: 3.6.9
|
|
72
71
|
specification_version: 4
|
|
73
72
|
summary: Simple admin-only content helpers for Rails views
|
|
74
73
|
test_files: []
|
data/admin_tools.gemspec
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require_relative "lib/admin_tools/version"
|
|
4
|
-
|
|
5
|
-
Gem::Specification.new do |spec|
|
|
6
|
-
spec.name = "admin_tools"
|
|
7
|
-
spec.version = AdminTools::VERSION
|
|
8
|
-
spec.authors = ["Jasper Mayone"]
|
|
9
|
-
spec.email = ["me@jaspermayone.com"]
|
|
10
|
-
|
|
11
|
-
spec.summary = "Simple admin-only content helpers for Rails views"
|
|
12
|
-
spec.description = "A lightweight Rails helper for conditionally rendering admin-only content in views. Wrap any content in an admin_tool block and it only renders for admin users."
|
|
13
|
-
spec.homepage = "https://github.com/jasper/admin_tools"
|
|
14
|
-
spec.license = "MIT"
|
|
15
|
-
spec.required_ruby_version = ">= 3.0.0"
|
|
16
|
-
|
|
17
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
|
18
|
-
spec.metadata["source_code_uri"] = spec.homepage
|
|
19
|
-
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
|
|
20
|
-
|
|
21
|
-
spec.files = Dir.chdir(__dir__) do
|
|
22
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
|
23
|
-
(File.expand_path(f) == __FILE__) ||
|
|
24
|
-
f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile])
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
spec.bindir = "exe"
|
|
28
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
29
|
-
spec.require_paths = ["lib"]
|
|
30
|
-
|
|
31
|
-
spec.add_dependency "rails", ">= 6.1"
|
|
32
|
-
end
|