lipsiadmin 3.4.1 → 3.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +10 -0
- data/Rakefile +1 -1
- data/lib/data_base/without_table.rb +0 -6
- data/lib/version.rb +1 -1
- data/lib/view/helpers/ext/grid.rb +1 -1
- data/lipsiadmin_generators/backend/backend_generator.rb +9 -3
- data/lipsiadmin_generators/backend/templates/config/locales/models/en.yml +0 -15
- data/lipsiadmin_generators/backend/templates/config/locales/models/it.yml +12 -20
- metadata +4 -4
data/CHANGELOG
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
2009-05-07
|
2
|
+
* Fixed a problem with WithoutTable
|
3
|
+
* Removed unusued routes
|
4
|
+
* Fix few typos
|
5
|
+
* Require at least Rails 2.2.x
|
6
|
+
|
7
|
+
2009-04-30
|
8
|
+
* Fix a small typo in extgrid
|
9
|
+
* Fix a dependency problem in lipsiadmin rake tasks
|
10
|
+
|
1
11
|
2009-04-29
|
2
12
|
* Added :displayInfo => true in generators of grids
|
3
13
|
* Fixed a problem with dependencies
|
data/Rakefile
CHANGED
@@ -46,7 +46,7 @@ spec = Gem::Specification.new do |s|
|
|
46
46
|
s.files = FileList["CHANGELOG", "README", "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
|
-
s.add_dependency('rails', '>= 2.
|
49
|
+
s.add_dependency('rails', '>= 2.2.1')
|
50
50
|
end
|
51
51
|
|
52
52
|
Rake::GemPackageTask.new(spec) do |p|
|
@@ -34,12 +34,6 @@ module Lipsiadmin
|
|
34
34
|
end
|
35
35
|
|
36
36
|
class << self
|
37
|
-
def inherited(klass)#:nodoc:
|
38
|
-
columns_hash.each do |name, column|
|
39
|
-
klass.columns << column unless klass.column_names.include(name)
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
37
|
# Returns columns for this *fake* table
|
44
38
|
def columns()
|
45
39
|
@columns ||= []
|
data/lib/version.rb
CHANGED
@@ -9,17 +9,23 @@ class BackendGenerator < Rails::Generator::Base
|
|
9
9
|
end
|
10
10
|
|
11
11
|
map.backend '/backend', :controller => 'backend/base', :action => 'index'
|
12
|
-
map.activation '/backend/accounts/activate/:activation_code', :controller => 'backend/accounts', :action=>'activate'
|
13
|
-
map.refresh_project_modules '/backend/accounts/refresh_project_modules', :controller => 'backend/accounts', :action=>'refresh_project_modules'
|
14
12
|
map.connect '/javascripts/:action.:format', :controller => 'javascripts'
|
15
13
|
ROUTES
|
14
|
+
|
15
|
+
lipsiadmin_task = <<-EOF
|
16
|
+
begin
|
17
|
+
gem 'lipsiadmin'
|
18
|
+
require 'lipsiadmin_tasks'
|
19
|
+
rescue Gem::LoadError
|
20
|
+
end
|
21
|
+
EOF
|
16
22
|
|
17
23
|
record do |m|
|
18
24
|
m.directory("app/views/exceptions")
|
19
25
|
|
20
26
|
m.append("config/routes.rb", routes, "ActionController::Routing::Routes.draw do |map|")
|
21
27
|
m.append("public/robots.txt", "User-agent: *\nDisallow: /backend")
|
22
|
-
m.append("RakeFile",
|
28
|
+
m.append("RakeFile", lipsiadmin_task)
|
23
29
|
|
24
30
|
m.create_all("controllers", "app/controllers")
|
25
31
|
m.create_all("helpers", "app/helpers")
|
@@ -1,21 +1,6 @@
|
|
1
1
|
# This file is used for translate Model/Table an their Attributes/Columns
|
2
2
|
en:
|
3
3
|
activerecord:
|
4
|
-
errors:
|
5
|
-
# You can define own errors for models or model attributes.
|
6
|
-
# The values :model, :attribute and :value are always available for interpolation.
|
7
|
-
#
|
8
|
-
# For example,
|
9
|
-
# models:
|
10
|
-
# user:
|
11
|
-
# blank: "This is a custom blank message for {{model}}: {{attribute}}"
|
12
|
-
# attributes:
|
13
|
-
# login:
|
14
|
-
# blank: "This is a custom blank message for User login"
|
15
|
-
# Will define custom blank validation message for User model and
|
16
|
-
# custom blank validation message for login attribute of User model.
|
17
|
-
models:
|
18
|
-
|
19
4
|
# Translate model names. Used in Model.human_name().
|
20
5
|
#models:
|
21
6
|
# For example,
|
@@ -1,23 +1,15 @@
|
|
1
1
|
# Questo file è utizzato per tradurre il nome dei modell/tabelle e dei suoi attributi/colonne
|
2
2
|
it:
|
3
3
|
activerecord:
|
4
|
-
#
|
5
|
-
#
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
#
|
11
|
-
#
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
# recovery_commission: "Recupero Commissione"
|
17
|
-
# subscription: "Abbonamento"
|
18
|
-
# attributes:
|
19
|
-
# account:
|
20
|
-
# company: "Azienda"
|
21
|
-
# password_confirmation: "Conferma Password"
|
22
|
-
# debtor:
|
23
|
-
# company: "Azienda"
|
4
|
+
# Translate model names. Used in Model.human_name().
|
5
|
+
#models:
|
6
|
+
# For example,
|
7
|
+
# user: "Dude"
|
8
|
+
# will translate User model name to "Dude"
|
9
|
+
|
10
|
+
# Translate model attribute names. Used in Model.human_attribute_name(attribute).
|
11
|
+
#attributes:
|
12
|
+
# For example,
|
13
|
+
# user:
|
14
|
+
# login: "Handle"
|
15
|
+
# will translate User attribute "login" as "Handle"
|
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: 3.4.
|
4
|
+
version: 3.4.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-
|
12
|
+
date: 2009-05-07 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 2.2.1
|
34
34
|
version:
|
35
35
|
description:
|
36
36
|
email: d.dagostino@lipsiasoft.com
|
@@ -559,7 +559,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
559
559
|
requirements: []
|
560
560
|
|
561
561
|
rubyforge_project: lipsiadmin
|
562
|
-
rubygems_version: 1.3.
|
562
|
+
rubygems_version: 1.3.3
|
563
563
|
signing_key:
|
564
564
|
specification_version: 3
|
565
565
|
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.
|