administer 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,6 +1,17 @@
1
1
  = administer
2
- Automatic admin interface generation
2
+ Automatic admin interface generation for Ruby on Rails applications
3
+
4
+ == Install
5
+ === Using Bundler
6
+ Add this to your project's <tt>Gemfile</tt>
7
+ gem 'administer'
8
+
9
+ And install
10
+ $ bundle install
11
+
12
+ == Usage
13
+ Just go to /administer and have fun.
3
14
 
4
15
  == Copyright
5
16
 
6
- Copyright (c) 2010 Piotr Jakubowski, Marcin Baliński.
17
+ Copyright (c) 2010 Piotr Jakubowski, Marcin Baliński.
@@ -0,0 +1,8 @@
1
+ module Administer
2
+ class DashboardController < ApplicationController
3
+ unloadable
4
+
5
+ def index
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,2 @@
1
+ %h1
2
+ Administer Dashboard
data/config/routes.rb ADDED
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do |map|
2
+ resources :administer, :controller => 'administer/dashboard'
3
+ end
data/lib/administer.rb CHANGED
@@ -0,0 +1,3 @@
1
+ module Administer
2
+ require 'administer/engine' if defined?(Rails)
3
+ end
@@ -0,0 +1,9 @@
1
+ #lib/authr/engine.rb
2
+ require "administer"
3
+ require "rails"
4
+
5
+ module Administer
6
+ class Engine < Rails::Engine
7
+ engine_name :administer
8
+ end
9
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 0.1.0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Piotr Jakubowski
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-11-15 00:00:00 +01:00
19
+ date: 2010-11-29 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies: []
22
22
 
@@ -31,11 +31,12 @@ extensions: []
31
31
  extra_rdoc_files:
32
32
  - README.rdoc
33
33
  files:
34
- - .gitignore
35
- - README.rdoc
36
- - Rakefile
37
- - VERSION
34
+ - app/controllers/administer/dashboard_controller.rb
35
+ - app/views/administer/dashboard/index.html.haml
36
+ - config/routes.rb
38
37
  - lib/administer.rb
38
+ - lib/administer/engine.rb
39
+ - README.rdoc
39
40
  has_rdoc: true
40
41
  homepage: http://github.com/piotrj/administer
41
42
  licenses: []
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC
data/Rakefile DELETED
@@ -1,27 +0,0 @@
1
- require 'rubygems'
2
- require 'rake'
3
-
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "administer"
8
- gem.summary = "Automatic admin interface generation"
9
- gem.description = ""
10
- gem.email = ["piotrj@gmail.com", "balinski@gmail.com"]
11
- gem.homepage = "http://github.com/piotrj/administer"
12
- gem.authors = ["Piotr Jakubowski", "Marcin Baliński"]
13
- end
14
- Jeweler::GemcutterTasks.new
15
- rescue LoadError
16
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
17
- end
18
-
19
- require 'rake/rdoctask'
20
- Rake::RDocTask.new do |rdoc|
21
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
22
-
23
- rdoc.rdoc_dir = 'rdoc'
24
- rdoc.title = "administer #{version}"
25
- rdoc.rdoc_files.include('README*')
26
- rdoc.rdoc_files.include('lib/**/*.rb')
27
- end
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.1.0