lipsiadmin 4.1.1 → 4.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/{README → README.rdoc} +13 -9
- data/Rakefile +3 -3
- data/lib/version.rb +1 -1
- data/lipsiadmin_generators/backend_page/backend_page_generator.rb +2 -2
- metadata +3 -3
data/CHANGELOG
CHANGED
data/{README → README.rdoc}
RENAMED
@@ -14,8 +14,10 @@ for example ext manage the layout of page, grids, tree and errors, but form are
|
|
14
14
|
Author:: Davide D'Agostino
|
15
15
|
Copyright:: Copyright (c) 2009 Lipsiasoft s.r.l. (http://www.lipsiasoft.com)
|
16
16
|
License:: MIT License (http://www.opensource.org/licenses/mit-license.php)
|
17
|
-
|
17
|
+
WebSite:: http://www.lipsiadmin.com
|
18
|
+
Api Documentation:: http://api.lipsiadmin.com
|
18
19
|
Community:: http://groups.google.com/group/lipsiadmin
|
20
|
+
Twitter:: http://twitter.com/daddye
|
19
21
|
|
20
22
|
==Requirements
|
21
23
|
|
@@ -49,17 +51,19 @@ now run script/generate and you can see some like:
|
|
49
51
|
|
50
52
|
So you can do:
|
51
53
|
|
52
|
-
$ script/generate backend
|
54
|
+
$ script/generate backend # Generate the base admin
|
53
55
|
$ script/generate backend_page yourmodel # Generate a "scaffold" for your model
|
54
|
-
$ script/generate state_session
|
55
|
-
$ script/generate loops
|
56
|
-
$ script/generate frontend
|
57
|
-
$ script/generate attachment
|
58
|
-
$ script/generate pdf PdfName
|
56
|
+
$ script/generate state_session # Create a "scaffold" for store extjs grid settings in db
|
57
|
+
$ script/generate loops # Generate background workers
|
58
|
+
$ script/generate frontend # Generate the base frontend
|
59
|
+
$ script/generate attachment # Generate the an attachments
|
60
|
+
$ script/generate pdf PdfName # Generate a new pdf document
|
59
61
|
|
60
62
|
==Contribute
|
61
63
|
|
62
|
-
Please contribute in coding, patch, and submitting translation api documentation etc...
|
64
|
+
Please contribute in coding, patch, and submitting translation api documentation, suggestion etc...
|
63
65
|
|
66
|
+
Official Site can be found here:: http://www.lipsiadmin.com
|
64
67
|
Community can be found here:: http://groups.google.com/group/lipsiadmin
|
65
|
-
Api documentation can be found here:: http://api.lipsiasoft.com
|
68
|
+
Api documentation can be found here:: http://api.lipsiasoft.com
|
69
|
+
Follow us on twitter:: http://twitter.com/daddye
|
data/Rakefile
CHANGED
@@ -23,7 +23,7 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
|
|
23
23
|
rdoc.options << '--line-numbers' << '--inline-source' << '--accessor' << 'cattr_accessor=object'
|
24
24
|
rdoc.options << '--charset' << 'utf-8'
|
25
25
|
rdoc.template = 'resources/rdoc/horo'
|
26
|
-
rdoc.rdoc_files.include('README', 'CHANGELOG')
|
26
|
+
rdoc.rdoc_files.include('README.rdoc', 'CHANGELOG')
|
27
27
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
28
28
|
end
|
29
29
|
|
@@ -43,7 +43,7 @@ spec = Gem::Specification.new do |s|
|
|
43
43
|
s.rubyforge_project = "lipsiadmin"
|
44
44
|
s.platform = Gem::Platform::RUBY
|
45
45
|
s.summary = "Lipsiadmin is a new revolutionary admin for your projects.Lipsiadmin is based on Ext Js 2.0. framework (with prototype adapter) and is ready for Rails 2.0. This admin is for newbie developper but also for experts, is not entirely written in javascript because the aim of developper wose build in a agile way web/site apps so we use extjs in a new intelligent way a mixin of 'old' html and new ajax functions, for example ext manage the layout of page, grids, tree and errors, but form are in html code."
|
46
|
-
s.files = FileList["CHANGELOG", "README", "MIT-LICENSE", "Rakefile", "init.rb", "{lipsiadmin_generators,lib,resources,tasks}/**/*"].to_a
|
46
|
+
s.files = FileList["CHANGELOG", "README.rdoc", "MIT-LICENSE", "Rakefile", "init.rb", "{lipsiadmin_generators,lib,resources,tasks}/**/*"].to_a
|
47
47
|
s.has_rdoc = true
|
48
48
|
s.add_dependency('haml')
|
49
49
|
s.add_dependency('rails', '>= 2.2.1')
|
@@ -74,7 +74,7 @@ end
|
|
74
74
|
|
75
75
|
desc "Publish the API documentation"
|
76
76
|
task :pdoc => [:rdoc] do
|
77
|
-
Rake::SshDirPublisher.new("root@
|
77
|
+
Rake::SshDirPublisher.new("root@lipsiasoft.net", "/mnt/www/apps/lipsiadmin/doc", "doc").upload
|
78
78
|
end
|
79
79
|
|
80
80
|
desc "Publish the release files to RubyForge."
|
data/lib/version.rb
CHANGED
@@ -17,7 +17,7 @@ class ScaffoldingSandbox
|
|
17
17
|
def default_input_block
|
18
18
|
Proc.new do |record, column|
|
19
19
|
" %tr
|
20
|
-
%td
|
20
|
+
%td=human_name_for :#{record}, :#{column.name}
|
21
21
|
%td#{input(record, column.name)}"
|
22
22
|
end
|
23
23
|
end
|
@@ -102,7 +102,7 @@ class BackendPageGenerator < Rails::Generator::NamedBase
|
|
102
102
|
|
103
103
|
# Adding new permissions
|
104
104
|
permissions = <<-CODE
|
105
|
-
role.project_module
|
105
|
+
role.project_module :#{model_instance.class.table_name} do |project|
|
106
106
|
project.menu :list, "/backend/#{@controller_name}.js" do |submenu|
|
107
107
|
submenu.add :new, "/backend/#{@controller_name}/new"
|
108
108
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lipsiadmin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Davide D'Agostino
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05-
|
12
|
+
date: 2009-05-19 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -42,7 +42,7 @@ extra_rdoc_files: []
|
|
42
42
|
|
43
43
|
files:
|
44
44
|
- CHANGELOG
|
45
|
-
- README
|
45
|
+
- README.rdoc
|
46
46
|
- MIT-LICENSE
|
47
47
|
- Rakefile
|
48
48
|
- init.rb
|