lipsiadmin 5.1.5 → 5.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ 2011-09-1
2
+ * Fix deprecations
3
+
1
4
  2010-09-3
2
5
  * Fixed haml supports
3
6
  * Fixed Rails 3 compatiblity
@@ -336,4 +339,4 @@
336
339
  * Removed from admin view list to index so we can use cruds
337
340
  * Improve Admin -> Accounts for add project modules
338
341
  * Added new class AccessControl (Documented)
339
- * New config file for roles, modules in initializers/access_rules.rb
342
+ * New config file for roles, modules in initializers/access_rules.rb
@@ -2,8 +2,8 @@ module Lipsiadmin
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 5
4
4
  MINOR = 1
5
- TINY = 5
5
+ TINY = 6
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
9
- end
9
+ end
@@ -182,7 +182,7 @@ module Lipsiadmin#:nodoc:
182
182
  # Component.new("Ext.grid.RowSelectionModel").to_s
183
183
  #
184
184
  def to_s(options={})
185
- script = returning [] do |script|
185
+ script = [].tap do |script|
186
186
  script << @before.uniq.compact.join("\n\n")
187
187
  script << "var #{get_var} = new #{@klass}(#{config.to_s});"
188
188
  script << @after.uniq.compact.join("\n\n")
@@ -216,7 +216,7 @@ module Lipsiadmin#:nodoc:
216
216
  end
217
217
 
218
218
  def build_var
219
- returning "" do |val|
219
+ "".tap do |val|
220
220
  if @prefix.blank?
221
221
  val << @klass.split(".").last.demodulize.slice(0..0).downcase
222
222
  val << @klass.split(".").last.demodulize.slice(1..-1)
@@ -227,4 +227,4 @@ module Lipsiadmin#:nodoc:
227
227
  end
228
228
  end
229
229
  end
230
- end
230
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lipsiadmin
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 63
5
5
  prerelease:
6
6
  segments:
7
7
  - 5
8
8
  - 1
9
- - 5
10
- version: 5.1.5
9
+ - 6
10
+ version: 5.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Davide D'Agostino
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-05 00:00:00 +01:00
18
+ date: 2011-09-01 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -497,7 +497,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
497
497
  requirements:
498
498
  - ImageMagick
499
499
  rubyforge_project: lipsiadmin
500
- rubygems_version: 1.4.2
500
+ rubygems_version: 1.6.2
501
501
  signing_key:
502
502
  specification_version: 3
503
503
  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.