Skip to content

Commit

Permalink
add README, CHANGELOG, TODO
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.esda.local/trunk/esdaweb/vendor/plugins/scaffolding_esda@3444 28bfca7a-c10d-0410-b1fe-ac714baaa4f2
  • Loading branch information
schreiber committed Nov 26, 2009
1 parent 1f7cee6 commit 33a6daa
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 0 deletions.
Empty file added CHANGELOG
Empty file.
20 changes: 20 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
= scaffolding_esda - a more complete scaffolding extension for Ruby on Rails

The purpose of this extension is to provide an almost complete solution for
ordinary tables, for example a managing interface for master data. At Esda we
developed it for our inhouse ERP system.

= Quickstart

* install the gem
* add the gem in config/environment.rb to your application:

config.gems "scaffolding_esda"

* use the scaffold method in your controller:

class MyVeryOwnController
scaffold :my_very_own_model
end

* run the
46 changes: 46 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/packagetask'
require 'rake/gempackagetask'
PKG_NAME="scaffolding_esda"
PKG_VERSION="0.9"
dist_dirs = [ "tools", "lib", "rails", "scaffolds_tng", "test", "public" ]
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = PKG_NAME
s.version = PKG_VERSION
s.summary = "A scaffolding extension for Ruby on Rails"
s.description = %q{}

s.files = [ "Rakefile", "README", "CHANGELOG", "TODO" ]
dist_dirs.each do |dir|
s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
end

s.add_dependency('rails', '= 2.3.4')

s.require_path = 'lib'
#s.autorequire = 'active_record'

s.has_rdoc = true
s.extra_rdoc_files = %w( README )
s.rdoc_options.concat ['--main', 'README']

s.author = "Daniel Schreiber"
s.email = "[email protected]"
#s.homepage = "http://www.rubyonrails.org"
#s.rubyforge_project = "scaffolding_esda"
end
Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
p.need_tar = true
p.need_zip = true
end

namespace :scaffolding_esda do
task :install_assets do
puts RAILS_ROOT
end
end
4 changes: 4 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
There are some issues with this plugin that can quite easily be fixed:
* use i18n for templates
* make livegrid compatible with other browsers than Firefox

File renamed without changes.
11 changes: 11 additions & 0 deletions rails/init.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Include hook code here
require 'esda/scaffolding/model_extension'
require 'esda/scaffolding/helper/scaffold_helper'
require 'esda/scaffolding/helper/legacy_helper'
require 'esda/scaffolding/helper/table_indexed_position_helper'
require 'esda/scaffolding/browse.rb'
require 'esda/scaffolding/edit.rb'
require 'esda/scaffolding/new.rb'
require 'esda/scaffolding/show.rb'
require 'esda/scaffolding/destroy.rb'
require 'scaffolding_esda'

0 comments on commit 33a6daa

Please sign in to comment.