administration-zero 0.0.2 → 0.0.3
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/.documentation/screenshot.png +0 -0
- data/Gemfile.lock +1 -1
- data/README.md +4 -2
- data/lib/administration_zero/version.rb +1 -1
- data/lib/generators/admin/install/install_generator.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8ced2b5acfeea830c1631ce927abdba66f839c3e4d901b6d1dbc12a4130a303f
|
|
4
|
+
data.tar.gz: 3a12d5ea1d9c4d8ba9282726cb2a5a7cb5e97780a3f76b4d6581f9b1f772e644
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 21e58f742c079e26353179e09476adbbef36a7129b3582700e1d541b84fb715bf636979469df8e9cce07e6e989251502bef510481d9c16a673365c19d8788a1e
|
|
7
|
+
data.tar.gz: 7f8af40208b5ad78a084418c39a852af112575707c36c64a6eb0cef0da7bbf94fff1bae01fa85c684f815917ddce9bef051ff3f65529ae16f15d1ff388c7caea
|
|
Binary file
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The purpose of administration zero is to generate a pre-built administration panel into a rails application.
|
|
4
4
|
|
|
5
|
+
<img src=".documentation/screenshot.png" alt="Demo" style="max-width: 100%;">
|
|
6
|
+
|
|
5
7
|
## Features
|
|
6
8
|
|
|
7
9
|
- [Beautiful interface](https://github.com/tabler/tabler)
|
|
@@ -16,7 +18,7 @@ The purpose of administration zero is to generate a pre-built administration pan
|
|
|
16
18
|
Add this line to your application's Gemfile:
|
|
17
19
|
|
|
18
20
|
```ruby
|
|
19
|
-
gem "
|
|
21
|
+
gem "administration-zero"
|
|
20
22
|
```
|
|
21
23
|
|
|
22
24
|
Then run `bundle install`
|
|
@@ -48,7 +50,7 @@ $ rails generate admin:scaffold posts title:string body:text published:boolean
|
|
|
48
50
|
|
|
49
51
|
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
50
52
|
|
|
51
|
-
To
|
|
53
|
+
To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
52
54
|
|
|
53
55
|
## Contributing
|
|
54
56
|
|
|
@@ -15,7 +15,7 @@ module Admin
|
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
def create_db_files
|
|
18
|
-
copy_file "
|
|
18
|
+
copy_file "seeds.rb", "db/seeds.rb", force: true
|
|
19
19
|
migration_template "migrations/create_admin_users.rb", "#{db_migrate_path}/create_admin_users.rb"
|
|
20
20
|
end
|
|
21
21
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: administration-zero
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nixon
|
|
@@ -17,6 +17,7 @@ executables: []
|
|
|
17
17
|
extensions: []
|
|
18
18
|
extra_rdoc_files: []
|
|
19
19
|
files:
|
|
20
|
+
- ".documentation/screenshot.png"
|
|
20
21
|
- ".gitignore"
|
|
21
22
|
- CHANGELOG.md
|
|
22
23
|
- CODE_OF_CONDUCT.md
|