netzke-core 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ = v0.6.2 - EDGE
2
+ * Introduced the Symbol#component method to declare components in the config (instead of now deprecated js_component).
3
+
1
4
  = v0.6.1 - 2010-10-26
2
5
  * Disabled buggy implementation of rendering on-page JS classes in netzke.js instead of main page.
3
6
 
data/Manifest ADDED
@@ -0,0 +1,50 @@
1
+ CHANGELOG
2
+ LICENSE
3
+ Manifest
4
+ README.rdoc
5
+ Rakefile
6
+ TODO
7
+ autotest/discover.rb
8
+ generators/netzke_core/USAGE
9
+ generators/netzke_core/netzke_core_generator.rb
10
+ generators/netzke_core/templates/create_netzke_preferences.rb
11
+ init.rb
12
+ install.rb
13
+ javascripts/core.js
14
+ lib/app/controllers/netzke_controller.rb
15
+ lib/app/models/netzke_preference.rb
16
+ lib/netzke-core.rb
17
+ lib/netzke/action_view_ext.rb
18
+ lib/netzke/base.rb
19
+ lib/netzke/base_js.rb
20
+ lib/netzke/controller_extensions.rb
21
+ lib/netzke/core_ext.rb
22
+ lib/netzke/feedback_ghost.rb
23
+ lib/netzke/routing.rb
24
+ netzke-core.gemspec
25
+ stylesheets/core.css
26
+ tasks/netzke_core_tasks.rake
27
+ test/app_root/app/controllers/application_controller.rb
28
+ test/app_root/app/models/role.rb
29
+ test/app_root/app/models/user.rb
30
+ test/app_root/config/boot.rb
31
+ test/app_root/config/database.yml
32
+ test/app_root/config/environment.rb
33
+ test/app_root/config/environments/in_memory.rb
34
+ test/app_root/config/environments/mysql.rb
35
+ test/app_root/config/environments/postgresql.rb
36
+ test/app_root/config/environments/sqlite.rb
37
+ test/app_root/config/environments/sqlite3.rb
38
+ test/app_root/config/routes.rb
39
+ test/app_root/db/migrate/20081222035855_create_netzke_preferences.rb
40
+ test/app_root/db/migrate/20090423214303_create_roles.rb
41
+ test/app_root/db/migrate/20090423222114_create_users.rb
42
+ test/app_root/lib/console_with_fixtures.rb
43
+ test/app_root/script/console
44
+ test/fixtures/roles.yml
45
+ test/fixtures/users.yml
46
+ test/test_helper.rb
47
+ test/unit/core_ext_test.rb
48
+ test/unit/netzke_core_test.rb
49
+ test/unit/netzke_preference_test.rb
50
+ uninstall.rb
@@ -63,6 +63,7 @@ module Netzke
63
63
  # Component's js config used when embedding components as Container's items
64
64
  # (see some_composite.rb for an example)
65
65
  def js_component(name, config = {})
66
+ ::ActiveSupport::Deprecation.warn("Using js_component is deprecated. Use Symbol#component instead", caller)
66
67
  config.merge(:component => name)
67
68
  end
68
69
 
@@ -229,7 +230,7 @@ module Netzke
229
230
  component_name = item[:name] || :"#{item[:class_name].underscore.split("/").last}#{@component_index}"
230
231
  @component_index += 1
231
232
  self.class.component(component_name.to_sym, item)
232
- js_component(component_name) # replace current item with a reference to component
233
+ component_name.to_sym.component # replace current item with a reference to component
233
234
  elsif item.is_a?(Hash)
234
235
  item[:items].is_a?(Array) ? item.merge(:items => normalize_components(item[:items])) : item
235
236
  else
@@ -3,7 +3,7 @@ module Netzke
3
3
  module Version
4
4
  MAJOR = 0
5
5
  MINOR = 6
6
- PATCH = 1
6
+ PATCH = 2
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
9
9
  end
@@ -10,4 +10,8 @@ class Symbol
10
10
  def action(config = {})
11
11
  config.merge(:action => self.to_s)
12
12
  end
13
+
14
+ def component(config = {})
15
+ config.merge(:component => self.to_s)
16
+ end
13
17
  end
data/netzke-core.gemspec CHANGED
@@ -5,163 +5,162 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{netzke-core}
8
- s.version = "0.6.1"
8
+ s.version = "0.6.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sergei Kozlov"]
12
- s.date = %q{2010-10-26}
12
+ s.date = %q{2010-10-27}
13
13
  s.description = %q{Allows building ExtJS/Rails reusable code in a DRY way}
14
14
  s.email = %q{sergei@playcode.nl}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
- "README.rdoc",
18
- "TODO"
17
+ "README.rdoc",
18
+ "TODO"
19
19
  ]
20
20
  s.files = [
21
21
  ".autotest",
22
- ".gitignore",
23
- "CHANGELOG.rdoc",
24
- "LICENSE",
25
- "Manifest",
26
- "README.rdoc",
27
- "Rakefile",
28
- "TODO",
29
- "app/controllers/netzke_controller.rb",
30
- "app/models/netzke_preference.rb",
31
- "autotest/discover.rb",
32
- "features/actions.feature",
33
- "features/basic.feature",
34
- "features/client-server.feature",
35
- "features/complex_component.feature",
36
- "features/component.feature",
37
- "features/component_loader.feature",
38
- "features/composition.feature",
39
- "features/custom_css.feature",
40
- "features/file_inclusion.feature",
41
- "features/inheritance.feature",
42
- "features/persistence.feature",
43
- "features/scopes.feature",
44
- "features/step_definitions/custom_css_steps.rb",
45
- "features/step_definitions/generic_steps.rb",
46
- "features/step_definitions/web_steps.rb",
47
- "features/support/env.rb",
48
- "features/support/paths.rb",
49
- "generators/netzke_core/USAGE",
50
- "generators/netzke_core/netzke_core_generator.rb",
51
- "init.rb",
52
- "install.rb",
53
- "javascripts/core.js",
54
- "lib/generators/migration_helper.rb",
55
- "lib/generators/netzke/USAGE",
56
- "lib/generators/netzke/core_generator.rb",
57
- "lib/netzke-core.rb",
58
- "lib/netzke/actions.rb",
59
- "lib/netzke/base.rb",
60
- "lib/netzke/composition.rb",
61
- "lib/netzke/configuration.rb",
62
- "lib/netzke/core.rb",
63
- "lib/netzke/core/masquerading.rb",
64
- "lib/netzke/core/session.rb",
65
- "lib/netzke/core/version.rb",
66
- "lib/netzke/core_ext.rb",
67
- "lib/netzke/core_ext/array.rb",
68
- "lib/netzke/core_ext/hash.rb",
69
- "lib/netzke/core_ext/string.rb",
70
- "lib/netzke/core_ext/symbol.rb",
71
- "lib/netzke/core_ext/time_with_zone.rb",
72
- "lib/netzke/embedding.rb",
73
- "lib/netzke/ext_component.rb",
74
- "lib/netzke/javascript.rb",
75
- "lib/netzke/persistence.rb",
76
- "lib/netzke/rails/action_view_ext.rb",
77
- "lib/netzke/rails/controller_extensions.rb",
78
- "lib/netzke/rails/routes.rb",
79
- "lib/netzke/services.rb",
80
- "lib/netzke/session.rb",
81
- "lib/netzke/stylesheets.rb",
82
- "lib/tasks/netzke_core_tasks.rake",
83
- "netzke-core.gemspec",
84
- "spec/component/actions_spec.rb",
85
- "spec/component/base_spec.rb",
86
- "spec/component/composition_spec.rb",
87
- "spec/component/javascript_spec.rb",
88
- "spec/core_ext_spec.rb",
89
- "spec/spec.opt",
90
- "spec/spec_helper.rb",
91
- "stylesheets/core.css",
92
- "templates/core/create_netzke_preferences.rb",
93
- "test/fixtures/roles.yml",
94
- "test/fixtures/users.yml",
95
- "test/rails_app/.gitignore",
96
- "test/rails_app/Gemfile",
97
- "test/rails_app/Gemfile.lock",
98
- "test/rails_app/README",
99
- "test/rails_app/Rakefile",
100
- "test/rails_app/app/components/border_layout_panel.rb",
101
- "test/rails_app/app/components/component_loader.rb",
102
- "test/rails_app/app/components/component_with_actions.rb",
103
- "test/rails_app/app/components/component_with_custom_css.rb",
104
- "test/rails_app/app/components/component_with_included_js.rb",
105
- "test/rails_app/app/components/component_with_session_persistence.rb",
106
- "test/rails_app/app/components/custom.css",
107
- "test/rails_app/app/components/deprecated/server_caller.rb",
108
- "test/rails_app/app/components/extended_component_with_actions.rb",
109
- "test/rails_app/app/components/extended_server_caller.rb",
110
- "test/rails_app/app/components/included.js",
111
- "test/rails_app/app/components/kinda_complex_component.rb",
112
- "test/rails_app/app/components/kinda_complex_component/basic_stuff.rb",
113
- "test/rails_app/app/components/kinda_complex_component/extra_stuff.rb",
114
- "test/rails_app/app/components/loader_of_component_with_custom_css.rb",
115
- "test/rails_app/app/components/scoped_components/deep_scoped_components/some_deep_scoped_component.rb",
116
- "test/rails_app/app/components/scoped_components/extended_scoped_component.rb",
117
- "test/rails_app/app/components/scoped_components/some_scoped_component.rb",
118
- "test/rails_app/app/components/server_caller.rb",
119
- "test/rails_app/app/components/simple_component.rb",
120
- "test/rails_app/app/components/simple_tab_panel.rb",
121
- "test/rails_app/app/components/simple_window.rb",
122
- "test/rails_app/app/components/some_composite.rb",
123
- "test/rails_app/app/components/some_ext_component.rb",
124
- "test/rails_app/app/controllers/application_controller.rb",
125
- "test/rails_app/app/controllers/components_controller.rb",
126
- "test/rails_app/app/controllers/multiple_components_controller.rb",
127
- "test/rails_app/app/controllers/welcome_controller.rb",
128
- "test/rails_app/app/helpers/application_helper.rb",
129
- "test/rails_app/app/views/layouts/application.html.erb",
130
- "test/rails_app/app/views/multiple_components/set_one.html.erb",
131
- "test/rails_app/config.ru",
132
- "test/rails_app/config/application.rb",
133
- "test/rails_app/config/boot.rb",
134
- "test/rails_app/config/database.yml",
135
- "test/rails_app/config/environment.rb",
136
- "test/rails_app/config/environments/development.rb",
137
- "test/rails_app/config/environments/production.rb",
138
- "test/rails_app/config/environments/test.rb",
139
- "test/rails_app/config/initializers/backtrace_silencers.rb",
140
- "test/rails_app/config/initializers/inflections.rb",
141
- "test/rails_app/config/initializers/mime_types.rb",
142
- "test/rails_app/config/initializers/netzke.rb",
143
- "test/rails_app/config/initializers/secret_token.rb",
144
- "test/rails_app/config/initializers/session_store.rb",
145
- "test/rails_app/config/locales/en.yml",
146
- "test/rails_app/config/routes.rb",
147
- "test/rails_app/db/development_structure.sql",
148
- "test/rails_app/db/migrate/20100905214933_create_netzke_preferences.rb",
149
- "test/rails_app/db/schema.rb",
150
- "test/rails_app/db/seeds.rb",
151
- "test/rails_app/lib/tasks/.gitkeep",
152
- "test/rails_app/public/404.html",
153
- "test/rails_app/public/422.html",
154
- "test/rails_app/public/500.html",
155
- "test/rails_app/public/favicon.ico",
156
- "test/rails_app/public/images/rails.png",
157
- "test/rails_app/public/robots.txt",
158
- "test/rails_app/script/rails",
159
- "test/rails_app/vendor/plugins/.gitkeep",
160
- "test/test_helper.rb",
161
- "test/unit/core_ext_test.rb",
162
- "test/unit/netzke_core_test.rb",
163
- "test/unit/netzke_preference_test.rb",
164
- "uninstall.rb"
22
+ "CHANGELOG.rdoc",
23
+ "LICENSE",
24
+ "Manifest",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "TODO",
28
+ "app/controllers/netzke_controller.rb",
29
+ "app/models/netzke_preference.rb",
30
+ "autotest/discover.rb",
31
+ "features/actions.feature",
32
+ "features/basic.feature",
33
+ "features/client-server.feature",
34
+ "features/complex_component.feature",
35
+ "features/component.feature",
36
+ "features/component_loader.feature",
37
+ "features/composition.feature",
38
+ "features/custom_css.feature",
39
+ "features/file_inclusion.feature",
40
+ "features/inheritance.feature",
41
+ "features/persistence.feature",
42
+ "features/scopes.feature",
43
+ "features/step_definitions/custom_css_steps.rb",
44
+ "features/step_definitions/generic_steps.rb",
45
+ "features/step_definitions/web_steps.rb",
46
+ "features/support/env.rb",
47
+ "features/support/paths.rb",
48
+ "generators/netzke_core/USAGE",
49
+ "generators/netzke_core/netzke_core_generator.rb",
50
+ "init.rb",
51
+ "install.rb",
52
+ "javascripts/core.js",
53
+ "lib/generators/migration_helper.rb",
54
+ "lib/generators/netzke/USAGE",
55
+ "lib/generators/netzke/core_generator.rb",
56
+ "lib/netzke-core.rb",
57
+ "lib/netzke/actions.rb",
58
+ "lib/netzke/base.rb",
59
+ "lib/netzke/composition.rb",
60
+ "lib/netzke/configuration.rb",
61
+ "lib/netzke/core.rb",
62
+ "lib/netzke/core/masquerading.rb",
63
+ "lib/netzke/core/session.rb",
64
+ "lib/netzke/core/version.rb",
65
+ "lib/netzke/core_ext.rb",
66
+ "lib/netzke/core_ext/array.rb",
67
+ "lib/netzke/core_ext/hash.rb",
68
+ "lib/netzke/core_ext/string.rb",
69
+ "lib/netzke/core_ext/symbol.rb",
70
+ "lib/netzke/core_ext/time_with_zone.rb",
71
+ "lib/netzke/embedding.rb",
72
+ "lib/netzke/ext_component.rb",
73
+ "lib/netzke/javascript.rb",
74
+ "lib/netzke/persistence.rb",
75
+ "lib/netzke/rails/action_view_ext.rb",
76
+ "lib/netzke/rails/controller_extensions.rb",
77
+ "lib/netzke/rails/routes.rb",
78
+ "lib/netzke/services.rb",
79
+ "lib/netzke/session.rb",
80
+ "lib/netzke/stylesheets.rb",
81
+ "lib/tasks/netzke_core_tasks.rake",
82
+ "netzke-core.gemspec",
83
+ "spec/component/actions_spec.rb",
84
+ "spec/component/base_spec.rb",
85
+ "spec/component/composition_spec.rb",
86
+ "spec/component/javascript_spec.rb",
87
+ "spec/core_ext_spec.rb",
88
+ "spec/spec.opt",
89
+ "spec/spec_helper.rb",
90
+ "stylesheets/core.css",
91
+ "templates/core/create_netzke_preferences.rb",
92
+ "test/fixtures/roles.yml",
93
+ "test/fixtures/users.yml",
94
+ "test/rails_app/.gitignore",
95
+ "test/rails_app/Gemfile",
96
+ "test/rails_app/Gemfile.lock",
97
+ "test/rails_app/README",
98
+ "test/rails_app/Rakefile",
99
+ "test/rails_app/app/components/border_layout_panel.rb",
100
+ "test/rails_app/app/components/component_loader.rb",
101
+ "test/rails_app/app/components/component_with_actions.rb",
102
+ "test/rails_app/app/components/component_with_custom_css.rb",
103
+ "test/rails_app/app/components/component_with_included_js.rb",
104
+ "test/rails_app/app/components/component_with_session_persistence.rb",
105
+ "test/rails_app/app/components/custom.css",
106
+ "test/rails_app/app/components/deprecated/server_caller.rb",
107
+ "test/rails_app/app/components/extended_component_with_actions.rb",
108
+ "test/rails_app/app/components/extended_server_caller.rb",
109
+ "test/rails_app/app/components/included.js",
110
+ "test/rails_app/app/components/kinda_complex_component.rb",
111
+ "test/rails_app/app/components/kinda_complex_component/basic_stuff.rb",
112
+ "test/rails_app/app/components/kinda_complex_component/extra_stuff.rb",
113
+ "test/rails_app/app/components/loader_of_component_with_custom_css.rb",
114
+ "test/rails_app/app/components/scoped_components/deep_scoped_components/some_deep_scoped_component.rb",
115
+ "test/rails_app/app/components/scoped_components/extended_scoped_component.rb",
116
+ "test/rails_app/app/components/scoped_components/some_scoped_component.rb",
117
+ "test/rails_app/app/components/server_caller.rb",
118
+ "test/rails_app/app/components/simple_component.rb",
119
+ "test/rails_app/app/components/simple_tab_panel.rb",
120
+ "test/rails_app/app/components/simple_window.rb",
121
+ "test/rails_app/app/components/some_composite.rb",
122
+ "test/rails_app/app/components/some_ext_component.rb",
123
+ "test/rails_app/app/controllers/application_controller.rb",
124
+ "test/rails_app/app/controllers/components_controller.rb",
125
+ "test/rails_app/app/controllers/multiple_components_controller.rb",
126
+ "test/rails_app/app/controllers/welcome_controller.rb",
127
+ "test/rails_app/app/helpers/application_helper.rb",
128
+ "test/rails_app/app/views/layouts/application.html.erb",
129
+ "test/rails_app/app/views/multiple_components/set_one.html.erb",
130
+ "test/rails_app/config.ru",
131
+ "test/rails_app/config/application.rb",
132
+ "test/rails_app/config/boot.rb",
133
+ "test/rails_app/config/database.yml",
134
+ "test/rails_app/config/environment.rb",
135
+ "test/rails_app/config/environments/development.rb",
136
+ "test/rails_app/config/environments/production.rb",
137
+ "test/rails_app/config/environments/test.rb",
138
+ "test/rails_app/config/initializers/backtrace_silencers.rb",
139
+ "test/rails_app/config/initializers/inflections.rb",
140
+ "test/rails_app/config/initializers/mime_types.rb",
141
+ "test/rails_app/config/initializers/netzke.rb",
142
+ "test/rails_app/config/initializers/secret_token.rb",
143
+ "test/rails_app/config/initializers/session_store.rb",
144
+ "test/rails_app/config/locales/en.yml",
145
+ "test/rails_app/config/routes.rb",
146
+ "test/rails_app/db/development_structure.sql",
147
+ "test/rails_app/db/migrate/20100905214933_create_netzke_preferences.rb",
148
+ "test/rails_app/db/schema.rb",
149
+ "test/rails_app/db/seeds.rb",
150
+ "test/rails_app/lib/tasks/.gitkeep",
151
+ "test/rails_app/public/404.html",
152
+ "test/rails_app/public/422.html",
153
+ "test/rails_app/public/500.html",
154
+ "test/rails_app/public/favicon.ico",
155
+ "test/rails_app/public/images/rails.png",
156
+ "test/rails_app/public/robots.txt",
157
+ "test/rails_app/script/rails",
158
+ "test/rails_app/vendor/plugins/.gitkeep",
159
+ "test/test_helper.rb",
160
+ "test/unit/core_ext_test.rb",
161
+ "test/unit/netzke_core_test.rb",
162
+ "test/unit/netzke_preference_test.rb",
163
+ "uninstall.rb"
165
164
  ]
166
165
  s.homepage = %q{http://github.com/skozlov/netzke-core}
167
166
  s.post_install_message = %q{
@@ -176,65 +175,64 @@ Gem::Specification.new do |s|
176
175
  ========================================================================
177
176
 
178
177
  }
179
- s.rdoc_options = ["--charset=UTF-8"]
180
178
  s.require_paths = ["lib"]
181
179
  s.rubyforge_project = %q{netzke-core}
182
180
  s.rubygems_version = %q{1.3.7}
183
181
  s.summary = %q{Build ExtJS/Rails components with minimum effort}
184
182
  s.test_files = [
185
183
  "spec/component/actions_spec.rb",
186
- "spec/component/base_spec.rb",
187
- "spec/component/composition_spec.rb",
188
- "spec/component/javascript_spec.rb",
189
- "spec/core_ext_spec.rb",
190
- "spec/spec_helper.rb",
191
- "test/rails_app/app/components/border_layout_panel.rb",
192
- "test/rails_app/app/components/component_loader.rb",
193
- "test/rails_app/app/components/component_with_actions.rb",
194
- "test/rails_app/app/components/component_with_custom_css.rb",
195
- "test/rails_app/app/components/component_with_included_js.rb",
196
- "test/rails_app/app/components/component_with_session_persistence.rb",
197
- "test/rails_app/app/components/deprecated/server_caller.rb",
198
- "test/rails_app/app/components/extended_component_with_actions.rb",
199
- "test/rails_app/app/components/extended_server_caller.rb",
200
- "test/rails_app/app/components/kinda_complex_component/basic_stuff.rb",
201
- "test/rails_app/app/components/kinda_complex_component/extra_stuff.rb",
202
- "test/rails_app/app/components/kinda_complex_component.rb",
203
- "test/rails_app/app/components/loader_of_component_with_custom_css.rb",
204
- "test/rails_app/app/components/scoped_components/deep_scoped_components/some_deep_scoped_component.rb",
205
- "test/rails_app/app/components/scoped_components/extended_scoped_component.rb",
206
- "test/rails_app/app/components/scoped_components/some_scoped_component.rb",
207
- "test/rails_app/app/components/server_caller.rb",
208
- "test/rails_app/app/components/simple_component.rb",
209
- "test/rails_app/app/components/simple_tab_panel.rb",
210
- "test/rails_app/app/components/simple_window.rb",
211
- "test/rails_app/app/components/some_composite.rb",
212
- "test/rails_app/app/components/some_ext_component.rb",
213
- "test/rails_app/app/controllers/application_controller.rb",
214
- "test/rails_app/app/controllers/components_controller.rb",
215
- "test/rails_app/app/controllers/multiple_components_controller.rb",
216
- "test/rails_app/app/controllers/welcome_controller.rb",
217
- "test/rails_app/app/helpers/application_helper.rb",
218
- "test/rails_app/config/application.rb",
219
- "test/rails_app/config/boot.rb",
220
- "test/rails_app/config/environment.rb",
221
- "test/rails_app/config/environments/development.rb",
222
- "test/rails_app/config/environments/production.rb",
223
- "test/rails_app/config/environments/test.rb",
224
- "test/rails_app/config/initializers/backtrace_silencers.rb",
225
- "test/rails_app/config/initializers/inflections.rb",
226
- "test/rails_app/config/initializers/mime_types.rb",
227
- "test/rails_app/config/initializers/netzke.rb",
228
- "test/rails_app/config/initializers/secret_token.rb",
229
- "test/rails_app/config/initializers/session_store.rb",
230
- "test/rails_app/config/routes.rb",
231
- "test/rails_app/db/migrate/20100905214933_create_netzke_preferences.rb",
232
- "test/rails_app/db/schema.rb",
233
- "test/rails_app/db/seeds.rb",
234
- "test/test_helper.rb",
235
- "test/unit/core_ext_test.rb",
236
- "test/unit/netzke_core_test.rb",
237
- "test/unit/netzke_preference_test.rb"
184
+ "spec/component/base_spec.rb",
185
+ "spec/component/composition_spec.rb",
186
+ "spec/component/javascript_spec.rb",
187
+ "spec/core_ext_spec.rb",
188
+ "spec/spec_helper.rb",
189
+ "test/rails_app/app/components/border_layout_panel.rb",
190
+ "test/rails_app/app/components/component_loader.rb",
191
+ "test/rails_app/app/components/component_with_actions.rb",
192
+ "test/rails_app/app/components/component_with_custom_css.rb",
193
+ "test/rails_app/app/components/component_with_included_js.rb",
194
+ "test/rails_app/app/components/component_with_session_persistence.rb",
195
+ "test/rails_app/app/components/deprecated/server_caller.rb",
196
+ "test/rails_app/app/components/extended_component_with_actions.rb",
197
+ "test/rails_app/app/components/extended_server_caller.rb",
198
+ "test/rails_app/app/components/kinda_complex_component.rb",
199
+ "test/rails_app/app/components/kinda_complex_component/basic_stuff.rb",
200
+ "test/rails_app/app/components/kinda_complex_component/extra_stuff.rb",
201
+ "test/rails_app/app/components/loader_of_component_with_custom_css.rb",
202
+ "test/rails_app/app/components/scoped_components/deep_scoped_components/some_deep_scoped_component.rb",
203
+ "test/rails_app/app/components/scoped_components/extended_scoped_component.rb",
204
+ "test/rails_app/app/components/scoped_components/some_scoped_component.rb",
205
+ "test/rails_app/app/components/server_caller.rb",
206
+ "test/rails_app/app/components/simple_component.rb",
207
+ "test/rails_app/app/components/simple_tab_panel.rb",
208
+ "test/rails_app/app/components/simple_window.rb",
209
+ "test/rails_app/app/components/some_composite.rb",
210
+ "test/rails_app/app/components/some_ext_component.rb",
211
+ "test/rails_app/app/controllers/application_controller.rb",
212
+ "test/rails_app/app/controllers/components_controller.rb",
213
+ "test/rails_app/app/controllers/multiple_components_controller.rb",
214
+ "test/rails_app/app/controllers/welcome_controller.rb",
215
+ "test/rails_app/app/helpers/application_helper.rb",
216
+ "test/rails_app/config/application.rb",
217
+ "test/rails_app/config/boot.rb",
218
+ "test/rails_app/config/environment.rb",
219
+ "test/rails_app/config/environments/development.rb",
220
+ "test/rails_app/config/environments/production.rb",
221
+ "test/rails_app/config/environments/test.rb",
222
+ "test/rails_app/config/initializers/backtrace_silencers.rb",
223
+ "test/rails_app/config/initializers/inflections.rb",
224
+ "test/rails_app/config/initializers/mime_types.rb",
225
+ "test/rails_app/config/initializers/netzke.rb",
226
+ "test/rails_app/config/initializers/secret_token.rb",
227
+ "test/rails_app/config/initializers/session_store.rb",
228
+ "test/rails_app/config/routes.rb",
229
+ "test/rails_app/db/migrate/20100905214933_create_netzke_preferences.rb",
230
+ "test/rails_app/db/schema.rb",
231
+ "test/rails_app/db/seeds.rb",
232
+ "test/test_helper.rb",
233
+ "test/unit/core_ext_test.rb",
234
+ "test/unit/netzke_core_test.rb",
235
+ "test/unit/netzke_preference_test.rb"
238
236
  ]
239
237
 
240
238
  if s.respond_to? :specification_version then
@@ -9,7 +9,7 @@ class KindaComplexComponent < Netzke::Base
9
9
  # Let's add another tab with a Netzke component in it
10
10
  def final_config
11
11
  orig = super
12
- orig[:items] << js_component(:server_caller)
12
+ orig[:items] << :server_caller.component
13
13
  orig
14
14
  end
15
15
  end
@@ -14,11 +14,11 @@ class SomeComposite < Netzke::Base
14
14
  action :update_east_south_from_server
15
15
 
16
16
  config :items => [
17
- js_component(:center_panel, :region => 'center'),
18
- js_component(:west_panel, :region => 'west', :width => 300, :split => true),
17
+ :center_panel.component(:region => 'center'),
18
+ :west_panel.component(:region => 'west', :width => 300, :split => true),
19
19
  {:layout => 'border', :region => :east, :width => 500, :split => true, :items => [
20
- js_component(:east_center_panel, :region => :center),
21
- js_component(:east_south_panel, :region => :south, :height => 200, :split => true)
20
+ :east_center_panel.component(:region => :center),
21
+ :east_south_panel.component(:region => :south, :height => 200, :split => true)
22
22
  ]},
23
23
  ]
24
24
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 1
9
- version: 0.6.1
8
+ - 2
9
+ version: 0.6.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sergei Kozlov
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-26 00:00:00 +02:00
17
+ date: 2010-10-27 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -44,7 +44,6 @@ extra_rdoc_files:
44
44
  - TODO
45
45
  files:
46
46
  - .autotest
47
- - .gitignore
48
47
  - CHANGELOG.rdoc
49
48
  - LICENSE
50
49
  - Manifest
@@ -194,8 +193,8 @@ licenses: []
194
193
  post_install_message: "\n\
195
194
  ========================================================================\n\n Thanks for installing Netzke Core!\n \n Netzke home page: http://netzke.org\n Netzke Google Groups: http://groups.google.com/group/netzke\n Netzke tutorials: http://blog.writelesscode.com\n\n\
196
195
  ========================================================================\n\n"
197
- rdoc_options:
198
- - --charset=UTF-8
196
+ rdoc_options: []
197
+
199
198
  require_paths:
200
199
  - lib
201
200
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -237,9 +236,9 @@ test_files:
237
236
  - test/rails_app/app/components/deprecated/server_caller.rb
238
237
  - test/rails_app/app/components/extended_component_with_actions.rb
239
238
  - test/rails_app/app/components/extended_server_caller.rb
239
+ - test/rails_app/app/components/kinda_complex_component.rb
240
240
  - test/rails_app/app/components/kinda_complex_component/basic_stuff.rb
241
241
  - test/rails_app/app/components/kinda_complex_component/extra_stuff.rb
242
- - test/rails_app/app/components/kinda_complex_component.rb
243
242
  - test/rails_app/app/components/loader_of_component_with_custom_css.rb
244
243
  - test/rails_app/app/components/scoped_components/deep_scoped_components/some_deep_scoped_component.rb
245
244
  - test/rails_app/app/components/scoped_components/extended_scoped_component.rb
data/.gitignore DELETED
@@ -1,10 +0,0 @@
1
- *.log
2
- pkg
3
- doc
4
- Manifest
5
- .DS_Store
6
- rdoc
7
- test/rails_app/tmp/
8
- test/rails_app/public/extjs
9
- test/rails_app/public/images/icons
10
- *.gem