netzke-core 0.4.3 → 0.4.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/.gitignore CHANGED
@@ -2,4 +2,6 @@
2
2
  pkg
3
3
  doc
4
4
  Manifest
5
- .DS_Store
5
+ .DS_Store
6
+ rdoc
7
+ netzke-core.gemspec
data/CHANGELOG.rdoc ADDED
@@ -0,0 +1,128 @@
1
+ = v0.4.4 - 2009-10-12
2
+ * API change: default handlers for actions and tools are now supposed to be prefixed with "on". E.g.: if you declare an action named <tt>clear_table</tt>, the handler must be called (in Ruby) <tt>on_clear_table</tt> (mapped to <tt>onClearTable</tt> in JavaScript).
3
+ * Internal: the JavaScript instance now knows if persistent config is enabled (by checking this.persistentConfig).
4
+ * Fix: solving the "Node cannot be inserted at the specified point in the hierarchy" problem by being more strict with duplicated IDs for elements on the same page.
5
+ * Fix: Ext 3.0 compatibility.
6
+ * Impr: <tt>getChildWidget</tt> now allows referring to a widget like this: "parent__parent__some_widget__some_nested_widget"
7
+
8
+ = v0.4.3
9
+ * Fix: reworking loadAggregatee()-related code, closing a security flaw when a malicious browser could send any configuration options to instantiate the widget being loaded.
10
+
11
+ = v0.4.2 - 2009-09-11
12
+ * Fix: the API call (at the JavaScript side) was ignoring the callback parameter.
13
+ * Impr: if the array of API points is empty, it's not added into js_config anymore.
14
+ * New: new testing widgets in netzke_controller.
15
+ * Fix: extra CSS includes now take effect.
16
+ * New: Support for masquerading as "World". In this mode all the "touched" persistent preferences will be overwritten for all roles and users.
17
+
18
+ = v0.4.1 - 2009-09-06
19
+ * Version bumb to force github rebuild the gem (Manifest is now included)
20
+
21
+ = v0.4.0 - 2009-09-05
22
+ * Major refactoring.
23
+
24
+ = v0.3.2 - 2009-06-05
25
+ * Netzke doesn't overwrite session[:user] anymore to not cause authentication-related problems.
26
+
27
+ = v0.3.1 - 2009-05-07
28
+ * Fix: persistent_config_manager can now be set to nil, and it will work fine
29
+
30
+ = v0.3.0 - 2009-05-07
31
+ * Refactor: got rid of NetzkeLayout model, now all layouts are stored in netzke_preferences
32
+ * New: persistent_config now has a method for_widget that accepts a block
33
+ * autotest compatibility
34
+ * New: String#to_b converts a string to true/false
35
+ * New: Netzke::Base.session introduced for session data
36
+ * New: weak_children_config and strong_children_config can now be declared by a widget, which specifies weak and strong configuration that every child of this widget will receive (e.g. display/hide configuration tool)
37
+ * Fix: (degradation) flash message is now shown again in case of erroneous attempt to load a widget
38
+ * New: widgets now can check session[:netzke_just_logged_in] and session[:netzke_just_logged_out] automatically set by Netzke after login/logout
39
+
40
+ = v0.2.11
41
+ * Introduction of getOwnerWidget()-method to Ext.Component. It provides the Netzke widget this Component belongs to.
42
+
43
+ = v0.2.10
44
+ * Removed dependency on 'json' gem.
45
+ * Rails v2.3.2 compatibility.
46
+
47
+ = v0.2.9
48
+ * Actions, toolbars and tools reworked for easier configuration.
49
+ * Menus introduced (based on actions).
50
+ * Significant code clean-up.
51
+ * Bug fix (nasty one): Ext.widgetMixIn was getting messed up along with dynamic widget loading.
52
+ * Must work in IE now.
53
+
54
+ = v0.2.8
55
+ * Support for extra javascripts and stylesheets per widget.
56
+
57
+ = v0.2.7
58
+ * QuickTips get initialized now, as otherwise Ext 2.2.1 doesn't properly destroy() BoxComponents for me.
59
+
60
+ = v0.2.6
61
+ * FeedackGhost is now capable of displaying multiple flash messages.
62
+ * Dependencies slightly refactored.
63
+ * An informative exception added to Base#aggregatee_instance.
64
+ * JS-level inheritance enabled.
65
+ * Work-around for the problem with Ext 2.2.1 in loadWidget.
66
+ * Events "<action_id>click" added to the widgets along with the actions.
67
+ * aggregatee_missing method added to Netzke::Base - called when a non-existing aggregate of a widget is tried to be invoked
68
+ * Code readability improvements.
69
+
70
+ = v0.2.5
71
+ * Minor code restructuring.
72
+
73
+ = v0.2.4
74
+ * Some minor improvements.
75
+
76
+ = v0.2.3
77
+ * FeedbackGhost will show the feedback on the top of the screen independent of the page scrolling.
78
+ * Ext.Panel#loadWidget will accept null as url to delete the currently loaded widget
79
+ * Bug fix: persistent_config works again
80
+
81
+ = v0.2.2
82
+ * js_ext_config instance method added for overwriting
83
+ * Multiuser support
84
+ * Using Rails.logger for logging
85
+ * "config"-class method for every class inheriting Netzke::Base - for class-level configurations
86
+
87
+ = v0.2.1
88
+ * Fixed the path to ext-base-min.js for production mode.
89
+ * Also works in Safari now.
90
+
91
+ = v0.2.0
92
+ * Some re-factoring and redesign. Now simple compound widgets can be created on the fly in the controller
93
+ * Added ext_widget[:quiet] configuration option to suppress widget's feedback
94
+ * Support for extra CSS sources, similar to JS
95
+ * NETZKE_BOOT_CONFIG introduced to specify which Netzke functionality should be disabled to reduce the size of /netzke/netzke.[js|css]
96
+ * FeedbackGhost widget added - invisible widget providing feedback to the user
97
+ * netzke_widget controller class-method renamed into netzke
98
+ * JS-comments now get stripped also from the extra files that get included in the netzke-* gems.
99
+ * Permissions joined js_config
100
+ * Bug fixes
101
+
102
+ = v0.1.4
103
+ * Helpers added to facilitate ExtJS/netzke.js inclusion
104
+ * The route defined for netzke_controller
105
+ * netzke.html.erb-layout is not needed anymore, so not produced by the generator
106
+ * Now compliant with Rails' forgery protection
107
+
108
+ = v0.1.3
109
+ * Generators fixed
110
+
111
+ = v0.1.2
112
+ * Fixed the bug with <widget>_class_definition returning empty string on sequential loading.
113
+
114
+ = v0.1.1.1
115
+ * Meta: moving from GitHub to RubyForge
116
+
117
+ = v0.1.1
118
+ * Inter-widget dependencies code reworked
119
+ * JS-class code generation code slightly reworked
120
+
121
+ = v0.1.0.2
122
+ * Meta: fix outdated Manifest
123
+
124
+ = v0.1.0.1
125
+ * Meta work: replacing underscore with dash in the name
126
+
127
+ = v0.1.0 - 2008-12-11
128
+ * Initial release
data/LICENSE CHANGED
@@ -1,3 +1 @@
1
- Copyright (c) 2008-2009 Sergei Kozlov
2
-
3
- GNU GPL license v3
1
+ Copyright (c) 2009 Sergei Kozlov, released under the MIT license
data/README.rdoc CHANGED
@@ -6,14 +6,9 @@ This is the bare bones of the Netzke framework. Use it to build your own widgets
6
6
  The idea behind the Netzke framework is that it allows you write reusable client/server code. Create a widget, and then embed it (or load it dynamically) into your Ext-based applications or HTML pages. For more info, see the links below.
7
7
 
8
8
  == Instalation
9
- From RubyForge:
10
9
 
11
10
  sudo gem install netzke-core
12
11
 
13
- From github:
14
-
15
- sudo gem install skozlov-netzke-core
16
-
17
12
  If you want the most recent changes, install this as a plugin:
18
13
 
19
14
  script/plugin install git://github.com/skozlov/netzke-core.git
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.3
1
+ 0.4.4
data/javascripts/core.js CHANGED
@@ -23,7 +23,7 @@ Netzke.isObject = function(o) {
23
23
  // from http://code.google.com/p/inflection-js/
24
24
  String.prototype.camelize=function(lowFirstLetter)
25
25
  {
26
- var str=this.toLowerCase();
26
+ var str=this; //.toLowerCase();
27
27
  var str_path=str.split('/');
28
28
  for(var i=0;i<str_path.length;i++)
29
29
  {
@@ -86,7 +86,7 @@ Ext.data.ArrayReader = Ext.extend(Ext.data.JsonReader, {
86
86
  // Properties/methods common to all widget classes
87
87
  Ext.widgetMixIn = {
88
88
  height: 400,
89
- width: 800,
89
+ // width: 800,
90
90
  border: false,
91
91
  is_netzke: true, // to distinguish Netzke components from regular Ext components
92
92
 
@@ -240,7 +240,7 @@ Ext.widgetMixIn = {
240
240
  if (childWidget) {
241
241
  childWidget.bulkExecute(instructions[instr]);
242
242
  } else {
243
- throw "Unknown method or child widget '" + instr +"' in widget '" + this.id + "'"
243
+ throw "Netzke: Unknown method or child widget '" + instr +"' in widget '" + this.id + "'"
244
244
  }
245
245
  }
246
246
  }
@@ -249,14 +249,25 @@ Ext.widgetMixIn = {
249
249
 
250
250
  // Get the child widget
251
251
  getChildWidget : function(id){
252
- return id === 'parent' ? this.getParent() : Ext.getCmp(this.id+"__"+id);
252
+ if (id === "") {return this};
253
+
254
+ var split = id.split("__");
255
+ if (split[0] === 'parent') {
256
+ split.shift();
257
+ var childInParentScope = split.join("__");
258
+ return this.getParent().getChildWidget(childInParentScope);
259
+ } else {
260
+ return Ext.getCmp(this.id+"__"+id);
261
+ }
253
262
  },
254
263
 
255
264
  // Common handler for actions
256
265
  actionHandler : function(action){
257
266
  // If firing corresponding event doesn't return false, call the handler
258
267
  if (this.fireEvent(action.name+'click', action)) {
259
- this[(action.fn || action.name)](action);
268
+ var methodName = action.fn || "on"+action.name.camelize();
269
+ if (!this[methodName]) {throw "Netzke: handler for action '" + action.name + "' is undefined"}
270
+ this[methodName](action);
260
271
  }
261
272
  },
262
273
 
@@ -264,7 +275,9 @@ Ext.widgetMixIn = {
264
275
  toolActionHandler : function(tool){
265
276
  // If firing corresponding event doesn't return false, call the handler
266
277
  if (this.fireEvent(tool.id+'click')) {
267
- this[tool]();
278
+ var methodName = "on"+tool.camelize();
279
+ if (!this[methodName]) {throw "Netzke: handler for tool '"+tool+"' is undefined"}
280
+ this[methodName]();
268
281
  }
269
282
  },
270
283
 
@@ -28,7 +28,7 @@ class NetzkeController < ActionController::Base
28
28
  end
29
29
 
30
30
  #
31
- # Primitive tests to quickly test the widgets
31
+ # Primitive tests to quickly test the widgets (TODO: move to the basepack)
32
32
  #
33
33
 
34
34
  # FormPanel
data/lib/netzke/base.rb CHANGED
@@ -18,7 +18,7 @@ module Netzke
18
18
  # In this case <tt>:widget_class_name</tt> is assumed to be "GridPanel"
19
19
  #
20
20
  # * <tt>:ext_config</tt> - a config hash that is used to create a javascript instance of the widget. Every
21
- # configuration that comes here will be available inside the javascript instance of the widget.
21
+ # configuration that comes here will be available inside the javascript instance of the widget.
22
22
  # * <tt>:persistent_config</tt> - if set to <tt>true</tt>, the widget will use persistent storage to store its state;
23
23
  # for instance, Netzke::GridPanel stores there its columns state (width, visibility, order, headers, etc).
24
24
  # A widget may or may not provide interface to its persistent settings. GridPanel and FormPanel from netzke-basepack
@@ -29,6 +29,7 @@ module Netzke
29
29
  # netzke :books,
30
30
  # :widget_class_name => "GridPanel",
31
31
  # :data_class_name => "Book", # GridPanel specific option
32
+ # :persistent_config => false, # don't use persistent config for this instance
32
33
  # :ext_config => {
33
34
  # :icon_cls => 'icon-grid',
34
35
  # :title => "My books"
@@ -50,8 +51,7 @@ module Netzke
50
51
  :persistent_config_manager => "NetzkePreference",
51
52
  :ext_location => defined?(RAILS_ROOT) && "#{RAILS_ROOT}/public/extjs",
52
53
  :default_config => {
53
- :persistent_config => true,
54
- :ext_config => {}
54
+ :persistent_config => true
55
55
  }
56
56
  })
57
57
  end
@@ -161,6 +161,11 @@ module Netzke
161
161
  end
162
162
  extend ClassMethods
163
163
 
164
+ # If the widget has persistent config in its disposal
165
+ def persistent_config_enabled?
166
+ !persistent_config_manager_class.nil? && config[:persistent_config]
167
+ end
168
+
164
169
  attr_accessor :parent, :name, :id_name, :permissions, :session
165
170
 
166
171
  api :load_aggregatee_with_cache # every widget gets this api
@@ -453,7 +458,8 @@ module Netzke
453
458
  widget_session.clear
454
459
  end
455
460
 
456
- # API
461
+ # API: provides all that is necessary for the browser to render a widget.
462
+ # <tt>params</tt>
457
463
  def load_aggregatee_with_cache(params)
458
464
  cache = ActiveSupport::JSON.decode(params.delete(:cache))
459
465
  relative_widget_id = params.delete(:id).underscore
@@ -52,9 +52,13 @@ module Netzke
52
52
  actions && res.merge!(:actions => actions)
53
53
  menu && res.merge!(:menu => menu)
54
54
 
55
+ # Inform the JavaScript side if persistent_config is enabled
56
+ res[:persistent_config] = persistent_config_enabled?
57
+
55
58
  # Merge with all config options passed as hash to config[:ext_config]
56
59
  res.merge!(ext_config)
57
60
 
61
+
58
62
  res
59
63
  end
60
64
 
@@ -85,12 +89,12 @@ module Netzke
85
89
 
86
90
  # rendering
87
91
  def js_widget_render
88
- %Q{#{name.jsonify}.render("#{name.to_s.split('_').join('-')}");}
92
+ %Q{#{name.jsonify}.render("#{name.to_s.split('_').join('-')}-div");}
89
93
  end
90
94
 
91
95
  # container for rendering
92
96
  def js_widget_html
93
- %Q{<div id="#{name.to_s.split('_').join('-')}"></div>}
97
+ %Q{<div id="#{name.to_s.split('_').join('-')}-div" style="width:800px;"></div>}
94
98
  end
95
99
 
96
100
  #
@@ -9,7 +9,7 @@ module Netzke
9
9
  Netzke::Base.session = session
10
10
  session[:netzke_user_id] = defined?(current_user) ? current_user.try(:id) : nil
11
11
 
12
- Netzke::Base.user = current_user # for backward compatibility (TODO: eliminate the need for this)
12
+ Netzke::Base.user = defined?(current_user) ? current_user : nil # for backward compatibility (TODO: eliminate the need for this)
13
13
 
14
14
  # set netzke_just_logged_in and netzke_just_logged_out states (may be used by Netzke widgets)
15
15
  if session[:_netzke_next_request_is_first_after_login]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netzke-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergei Kozlov
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-24 00:00:00 -05:00
12
+ date: 2009-10-12 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -25,7 +25,7 @@ extra_rdoc_files:
25
25
  files:
26
26
  - .autotest
27
27
  - .gitignore
28
- - CHANGELOG
28
+ - CHANGELOG.rdoc
29
29
  - LICENSE
30
30
  - Manifest
31
31
  - README.rdoc
@@ -49,7 +49,6 @@ files:
49
49
  - lib/netzke/core_ext.rb
50
50
  - lib/netzke/feedback_ghost.rb
51
51
  - lib/netzke/routing.rb
52
- - netzke-core.gemspec
53
52
  - stylesheets/core.css
54
53
  - tasks/netzke_core_tasks.rake
55
54
  - test/app_root/app/controllers/application_controller.rb
data/CHANGELOG DELETED
@@ -1,125 +0,0 @@
1
- v0.4.3
2
- Fix: reworking loadAggregatee()-related code, closing a security flaw when a malicious browser could send any configuration options to instantiate the widget being loaded.
3
-
4
- v0.4.2
5
- 2009-09-11
6
- Fix: the API call (at the JavaScript side) was ignoring the callback parameter.
7
- Impr: if the array of API points is empty, it's not added into js_config anymore.
8
- New: new testing widgets in netzke_controller.
9
- Fix: extra CSS includes now take effect.
10
- New: Support for masquerading as "World". In this mode all the "touched" persistent preferences will be overwritten for all roles and users.
11
-
12
- v0.4.1
13
- 2009-09-06
14
- Version bumb to force github rebuild the gem (Manifest is now included)
15
-
16
- v0.4.0
17
- 2009-09-05
18
- Major refactoring.
19
-
20
- v0.3.2
21
- 2009-06-05
22
- Netzke doesn't overwrite session[:user] anymore to not cause authentication-related problems.
23
-
24
- v0.3.1
25
- 2009-05-07
26
- Fix: persistent_config_manager can now be set to nil, and it will work fine
27
-
28
- v0.3.0
29
- 2009-05-07
30
- Refactor: got rid of NetzkeLayout model, now all layouts are stored in netzke_preferences
31
- New: persistent_config now has a method for_widget that accepts a block
32
- autotest compatibility
33
- New: String#to_b converts a string to true/false
34
- New: Netzke::Base.session introduced for session data
35
- New: weak_children_config and strong_children_config can now be declared by a widget, which specifies weak and strong configuration that every child of this widget will receive (e.g. display/hide configuration tool)
36
- Fix: (degradation) flash message is now shown again in case of erroneous attempt to load a widget
37
- New: widgets now can check session[:netzke_just_logged_in] and session[:netzke_just_logged_out] automatically set by Netzke after login/logout
38
-
39
- v0.2.11
40
- Introduction of getOwnerWidget()-method to Ext.Component. It provides the Netzke widget this Component belongs to.
41
-
42
- v0.2.10
43
- Removed dependency on 'json' gem.
44
- Rails v2.3.2 compatibility.
45
-
46
- v0.2.9
47
- Actions, toolbars and tools reworked for easier configuration.
48
- Menus introduced (based on actions).
49
- Significant code clean-up.
50
- Bug fix (nasty one): Ext.widgetMixIn was getting messed up along with dynamic widget loading.
51
- Must work in IE now.
52
-
53
- v0.2.8
54
- Support for extra javascripts and stylesheets per widget.
55
-
56
- v0.2.7
57
- QuickTips get initialized now, as otherwise Ext 2.2.1 doesn't properly destroy() BoxComponents for me.
58
-
59
- v0.2.6
60
- FeedackGhost is now capable of displaying multiple flash messages.
61
- Dependencies slightly refactored.
62
- An informative exception added to Base#aggregatee_instance.
63
- JS-level inheritance enabled.
64
- Work-around for the problem with Ext 2.2.1 in loadWidget.
65
- Events "<action_id>click" added to the widgets along with the actions.
66
- aggregatee_missing method added to Netzke::Base - called when a non-existing aggregate of a widget is tried to be invoked
67
- Code readability improvements.
68
-
69
- v0.2.5
70
- Minor code restructuring.
71
-
72
- v0.2.4
73
- Some minor improvements.
74
-
75
- v0.2.3
76
- FeedbackGhost will show the feedback on the top of the screen independent of the page scrolling.
77
- Ext.Panel#loadWidget will accept null as url to delete the currently loaded widget
78
- Bug fix: persistent_config works again
79
-
80
- v0.2.2
81
- js_ext_config instance method added for overwriting
82
- Multiuser support
83
- Using Rails.logger for logging
84
- "config"-class method for every class inheriting Netzke::Base - for class-level configurations
85
-
86
- v0.2.1
87
- Fixed the path to ext-base-min.js for production mode.
88
- Also works in Safari now.
89
-
90
- v0.2.0
91
- * Some re-factoring and redesign. Now simple compound widgets can be created on the fly in the controller
92
- * Added ext_widget[:quiet] configuration option to suppress widget's feedback
93
- * Support for extra CSS sources, similar to JS
94
- * NETZKE_BOOT_CONFIG introduced to specify which Netzke functionality should be disabled to reduce the size of /netzke/netzke.[js|css]
95
- * FeedbackGhost widget added - invisible widget providing feedback to the user
96
- * netzke_widget controller class-method renamed into netzke
97
- * JS-comments now get stripped also from the extra files that get included in the netzke-* gems.
98
- * Permissions joined js_config
99
- * Bug fixes
100
-
101
- v0.1.4
102
- Helpers added to facilitate ExtJS/netzke.js inclusion
103
- The route defined for netzke_controller
104
- netzke.html.erb-layout is not needed anymore, so not produced by the generator
105
- Now compliant with Rails' forgery protection
106
-
107
- v0.1.3
108
- Generators fixed
109
-
110
- v0.1.2
111
- Fixed the bug with <widget>_class_definition returning empty string on sequential loading.
112
-
113
- v0.1.1.1
114
- Meta: moving from GitHub to RubyForge
115
-
116
- v0.1.1
117
- Inter-widget dependencies code reworked
118
- JS-class code generation code slightly reworked
119
-
120
- v0.1.0.2
121
- Meta: fix outdated Manifest
122
-
123
- v0.1.0.1 Meta work: replacing underscore with dash in the name
124
-
125
- v0.1.0 Initial release
data/netzke-core.gemspec DELETED
@@ -1,111 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{netzke-core}
8
- s.version = "0.4.3"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Sergei Kozlov"]
12
- s.date = %q{2009-09-24}
13
- s.description = %q{Build ExtJS/Rails widgets with minimum effort}
14
- s.email = %q{sergei@playcode.nl}
15
- s.extra_rdoc_files = [
16
- "LICENSE",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".autotest",
21
- ".gitignore",
22
- "CHANGELOG",
23
- "LICENSE",
24
- "Manifest",
25
- "README.rdoc",
26
- "Rakefile",
27
- "TODO",
28
- "VERSION",
29
- "autotest/discover.rb",
30
- "generators/netzke_core/USAGE",
31
- "generators/netzke_core/netzke_core_generator.rb",
32
- "generators/netzke_core/templates/create_netzke_preferences.rb",
33
- "init.rb",
34
- "install.rb",
35
- "javascripts/core.js",
36
- "lib/app/controllers/netzke_controller.rb",
37
- "lib/app/models/netzke_preference.rb",
38
- "lib/netzke-core.rb",
39
- "lib/netzke/action_view_ext.rb",
40
- "lib/netzke/base.rb",
41
- "lib/netzke/base_js.rb",
42
- "lib/netzke/controller_extensions.rb",
43
- "lib/netzke/core_ext.rb",
44
- "lib/netzke/feedback_ghost.rb",
45
- "lib/netzke/routing.rb",
46
- "netzke-core.gemspec",
47
- "stylesheets/core.css",
48
- "tasks/netzke_core_tasks.rake",
49
- "test/app_root/app/controllers/application_controller.rb",
50
- "test/app_root/app/models/role.rb",
51
- "test/app_root/app/models/user.rb",
52
- "test/app_root/config/boot.rb",
53
- "test/app_root/config/database.yml",
54
- "test/app_root/config/environment.rb",
55
- "test/app_root/config/environments/in_memory.rb",
56
- "test/app_root/config/environments/mysql.rb",
57
- "test/app_root/config/environments/postgresql.rb",
58
- "test/app_root/config/environments/sqlite.rb",
59
- "test/app_root/config/environments/sqlite3.rb",
60
- "test/app_root/config/routes.rb",
61
- "test/app_root/db/migrate/20081222035855_create_netzke_preferences.rb",
62
- "test/app_root/db/migrate/20090423214303_create_roles.rb",
63
- "test/app_root/db/migrate/20090423222114_create_users.rb",
64
- "test/app_root/lib/console_with_fixtures.rb",
65
- "test/app_root/script/console",
66
- "test/fixtures/roles.yml",
67
- "test/fixtures/users.yml",
68
- "test/test_helper.rb",
69
- "test/unit/core_ext_test.rb",
70
- "test/unit/netzke_core_test.rb",
71
- "test/unit/netzke_preference_test.rb",
72
- "uninstall.rb"
73
- ]
74
- s.homepage = %q{http://github.com/skozlov/netzke-core}
75
- s.rdoc_options = ["--charset=UTF-8"]
76
- s.require_paths = ["lib"]
77
- s.rubyforge_project = %q{netzke-core}
78
- s.rubygems_version = %q{1.3.5}
79
- s.summary = %q{Build ExtJS/Rails widgets with minimum effort}
80
- s.test_files = [
81
- "test/app_root/app/controllers/application_controller.rb",
82
- "test/app_root/app/models/role.rb",
83
- "test/app_root/app/models/user.rb",
84
- "test/app_root/config/boot.rb",
85
- "test/app_root/config/environment.rb",
86
- "test/app_root/config/environments/in_memory.rb",
87
- "test/app_root/config/environments/mysql.rb",
88
- "test/app_root/config/environments/postgresql.rb",
89
- "test/app_root/config/environments/sqlite.rb",
90
- "test/app_root/config/environments/sqlite3.rb",
91
- "test/app_root/config/routes.rb",
92
- "test/app_root/db/migrate/20081222035855_create_netzke_preferences.rb",
93
- "test/app_root/db/migrate/20090423214303_create_roles.rb",
94
- "test/app_root/db/migrate/20090423222114_create_users.rb",
95
- "test/app_root/lib/console_with_fixtures.rb",
96
- "test/test_helper.rb",
97
- "test/unit/core_ext_test.rb",
98
- "test/unit/netzke_core_test.rb",
99
- "test/unit/netzke_preference_test.rb"
100
- ]
101
-
102
- if s.respond_to? :specification_version then
103
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
104
- s.specification_version = 3
105
-
106
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
107
- else
108
- end
109
- else
110
- end
111
- end