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 CHANGED
@@ -1,3 +1,7 @@
1
+ 2009-05-18
2
+ * Small fix in generation of account access
3
+ * Fix an issue in backend_page generator
4
+
1
5
  2009-05-15
2
6
  * Bumped version to 4.1.0
3
7
  * Now admin can be completly translated in any languages
@@ -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
- Api Documentation:: http://api.lipsiasoft.com
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 # Generate the base admin
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 # Create a "scaffold" for store extjs grid settings in db
55
- $ script/generate loops # Generate background workers
56
- $ script/generate frontend # Generate the base frontend
57
- $ script/generate attachment # Generate the an attachments
58
- $ script/generate pdf PdfName # Generate a new pdf document
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@server1.lipsiasoft.com", "/var/www/apps/lipsiadmin/rdoc", "doc").upload
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
@@ -2,7 +2,7 @@ module Lipsiadmin
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 4
4
4
  MINOR = 1
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -17,7 +17,7 @@ class ScaffoldingSandbox
17
17
  def default_input_block
18
18
  Proc.new do |record, column|
19
19
  " %tr
20
- %td #{model_instance.class.human_attribute_name(column.name)}
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 "#{model_instance.class.human_name}" do |project|
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.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-15 00:00:00 +02:00
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