netzke-core 0.5.3 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ = v0.5.4 - 2010-08-11
2
+ * New: added Netzke.pre name space for pre-built static JS code
3
+
1
4
  = v0.5.3 - 2010-06-14
2
5
  * Fix: Getting rid of deprecation warnings about tasks not sitting in lib.
3
6
 
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  begin
2
2
  require 'jeweler'
3
3
  Jeweler::Tasks.new do |gemspec|
4
- gemspec.version = "0.5.3"
4
+ gemspec.version = "0.5.4"
5
5
  gemspec.name = "netzke-core"
6
6
  gemspec.summary = "Build ExtJS/Rails widgets with minimum effort"
7
7
  gemspec.description = "Allows building ExtJS/Rails reusable code in a DRY way"
data/TODO CHANGED
@@ -1,2 +1,3 @@
1
1
  * Re-factor JS-level inheritance mechanisms (2009-07-5 why?)
2
- * Get rid of the default_config method, because the same functionality maybe achieved by overwriting the initialize method
2
+ * Get rid of the default_config method, because the same functionality maybe achieved by overwriting the initialize method
3
+ * late aggregatees should probably be named lazy aggregatees
data/javascripts/core.js CHANGED
@@ -16,6 +16,8 @@ Ext.BLANK_IMAGE_URL = "/extjs/resources/images/default/s.gif";
16
16
  Ext.ns('Ext.netzke'); // namespace for extensions that depend on Ext
17
17
  Ext.ns('Netzke'); // Netzke namespace
18
18
  Ext.ns('Netzke.page'); // namespace for all widget instantces on the page
19
+ Ext.ns('Netzke.pre'); // namespace for pre-built, static JS classes
20
+ Ext.ns('Netzke.classes'); // namespace for finished netzke widgets
19
21
 
20
22
  Ext.QuickTips.init();
21
23
 
data/lib/netzke/base.rb CHANGED
@@ -78,6 +78,7 @@ module Netzke
78
78
  # E.g. in config/initializers/netzke-config.rb:
79
79
  #
80
80
  # Netzke::GridPanel.configure :default_config => {:persistent_config => true}
81
+ # Netzke::GridPanel.configure :column_filters_available, true
81
82
  def self.configure(*args)
82
83
  if args.first.is_a?(Symbol)
83
84
  config[args.first] = args.last
@@ -269,6 +270,7 @@ module Netzke
269
270
  initial_config[:persistence_key] ? initial_config[:persistence_key] : global_id.to_sym
270
271
  end
271
272
 
273
+ # Update persistent_config[:ext_config] hash
272
274
  def update_persistent_ext_config(hsh)
273
275
  current_config = persistent_config[:ext_config] || {}
274
276
  current_config.deep_merge!(hsh.deep_convert_keys{ |k| k.to_s }) # first, recursively stringify the keys
@@ -342,6 +344,7 @@ module Netzke
342
344
  end
343
345
  memoize :persistent_config_hash
344
346
 
347
+ # Helper to access config[:ext_config]
345
348
  def ext_config
346
349
  config[:ext_config] || {}
347
350
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netzke-core
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 3
10
- version: 0.5.3
9
+ - 4
10
+ version: 0.5.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sergei Kozlov
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-14 00:00:00 +02:00
18
+ date: 2010-08-11 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21