Skip to content

Loading…

RailsAdmin #18

Merged
merged 4 commits into from

3 participants

@sferik

Added an official RailsAdmin scroll. :memo:

Also, cleaned up appscrolls.gemspec in separate commits, in case you want to cherry-pick.

@drnic
Owner

Thanks for the clean up.

I'll test out the rails_admin scroll soon. I can't remember why it wasn't in the original release.

Is there a password/protection that could be generated for it? E.g. resque scroll?

@drnic
Owner

Why do you want users to use your git repo instead of gem releases? This will make bundler slower for ever and ever as it checks the git repo for commits, I think.

@sferik

Rails Admin has not yet been released as a gem. It's high on the priority list, but there are a few things I'd like to clean up first. If using the git repo is a deal breaker, I can move it even higher.

@sferik

For password protection, we recommend Devise. Is there a scroll for that yet?

@drnic
Owner

No, I haven't pushed out an auth solution yet.

I just checked active_admin and it doesn't auto-setup protection either. So two things:

  1. I suck.
  2. Let's do the auto-authentication for these two admin dashboards later.

Need to educate people well that they need to protect these dashboards from people who might guess the endpoints and have admin access :)

@drnic drnic merged commit e723ba8 into drnic:master
@drnic
Owner

Thanks to @heliostatic for also creating a version of this Scroll

@heliostatic

Happy to be a dupe of @sferik on this one. Thanks to @drnic for AppScrolls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Showing with 24 additions and 33 deletions.
  1. +1 −1 README.md
  2. +8 −10 appscrolls.gemspec
  3. +15 −0 scrolls/rails_admin.rb
  4. +0 −22 scrolls/zzz/rails_admin.rb
View
2 README.md
@@ -36,7 +36,7 @@ To transform an existing Rails app, you ... wait, that's not implemented yet. Bu
The current available scrolls grouped by category:
-* administration: active_admin
+* administration: active_admin, rails_admin
* assets: jquery, prototype
* deployment: eycloud, eycloud_recipes_on_deploy, git, github, passenger, thin, unicorn
* persistence: mysql, postgresql, redis, sqlite3
View
18 appscrolls.gemspec
@@ -9,25 +9,23 @@ Gem::Specification.new do |s|
s.authors = ["Michael Bleigh", "Dr Nic Williams"]
s.email = ["michael@intridea.com", "drnicwilliams@gmail.com"]
s.homepage = "http://appscrolls.org/"
- s.summary = %q{The App Scrolls is a magical tool to generate new Rails and modify existing Rails applications (coming) to include your favourite, powerful magic. }
- s.description = %q{The App Scrolls is a magical tool to generate new Rails and modify existing Rails applications (coming) to include your favourite, powerful magic. }
+ s.summary = %q{The App Scrolls is a magical tool to generate new Rails and modify existing Rails applications (coming) to include your favourite, powerful magic.}
+ s.description = s.summary
- s.add_dependency "rails", "~> 3.2.2"
+ s.add_dependency "activesupport", "~> 3.0"
s.add_dependency "i18n"
s.add_dependency "json", "1.6.5"
- s.add_dependency "activesupport", "~> 3.0"
+ s.add_dependency "rails", "~> 3.2.2"
s.add_dependency "thor"
- s.add_development_dependency "rspec", "~> 2.5.0"
- s.add_development_dependency "guard-rspec"
- s.add_development_dependency "cucumber"
- s.add_development_dependency "guard-cucumber"
s.add_development_dependency "bundler", "~> 1.1.0"
+ s.add_development_dependency "cucumber"
s.add_development_dependency "guard-bundler"
- s.add_development_dependency "rails", "~> 3.0"
+ s.add_development_dependency "guard-cucumber"
+ s.add_development_dependency "guard-rspec"
+ s.add_development_dependency "rspec"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end
-
View
15 scrolls/rails_admin.rb
@@ -0,0 +1,15 @@
+gem 'rails_admin', :git => 'git://github.com/sferik/rails_admin.git'
+
+after_bundler do
+ generate "rails_admin:install"
+end
+
+__END__
+
+name: RailsAdmin
+description: "An engine that provides an easy-to-use interface for managing your data"
+website: https://github.com/sferik/rails_admin
+author: sferik
+exclusive: administration
+category: administration
+tags: [administration]
View
22 scrolls/zzz/rails_admin.rb
@@ -1,22 +0,0 @@
-gem 'rails_admin', :git => 'git://github.com/sferik/rails_admin.git'
-
-after_bundler do
- generate 'rails_admin:install_admin'
- rake 'admin:copy_assets'
- rake 'admin:ckeditor_download' if config['ckeditor']
-end
-
-__END__
-
-name: RailsAdmin
-description: "Install RailsAdmin to manage data in your application"
-author: alno
-website: https://github.com/sferik/rails_admin
-
-category: other
-
-config:
- - ckeditor:
- type: boolean
- prompt: Install CKEditor?
-
Something went wrong with that request. Please try again.