netzke-core 0.6.5 → 0.6.6
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 +7 -0
- data/TODO +2 -0
- data/app/controllers/netzke_controller.rb +72 -20
- data/features/actions.feature +1 -1
- data/features/component_loader.feature +13 -1
- data/features/ext.direct.feature +32 -0
- data/features/i18n.feature +32 -0
- data/features/inheritance.feature +2 -2
- data/features/step_definitions/generic_steps.rb +21 -5
- data/features/step_definitions/touch_steps.rb +3 -0
- data/features/support/env.rb +4 -0
- data/features/support/paths.rb +6 -0
- data/features/touch.feature +10 -0
- data/javascripts/core.js +10 -15
- data/javascripts/ext.js +92 -1
- data/javascripts/touch.js +11 -0
- data/lib/netzke/actions.rb +13 -8
- data/lib/netzke/base.rb +32 -45
- data/lib/netzke/configuration.rb +53 -0
- data/lib/netzke/core/options_hash.rb +27 -0
- data/lib/netzke/core/version.rb +1 -1
- data/lib/netzke/core.rb +15 -5
- data/lib/netzke/core_ext/hash.rb +10 -8
- data/lib/netzke/inheritance.rb +31 -0
- data/lib/netzke/javascript.rb +45 -2
- data/lib/netzke/railz/action_view_ext.rb +8 -0
- data/lib/netzke/railz/controller_extensions.rb +1 -1
- data/lib/netzke/railz/engine.rb +27 -0
- data/lib/netzke/railz.rb +1 -0
- data/lib/netzke/session.rb +4 -0
- data/lib/netzke/state.rb +6 -6
- data/lib/netzke-core.rb +0 -23
- data/netzke-core.gemspec +27 -4
- data/spec/component/actions_spec.rb +2 -2
- data/spec/component/configuration_spec.rb +61 -0
- data/test/rails_app/Gemfile +1 -1
- data/test/rails_app/Gemfile.lock +48 -46
- data/test/rails_app/app/components/component_loader.rb +34 -1
- data/test/rails_app/app/components/ext_direct/composite.rb +48 -0
- data/test/rails_app/app/components/ext_direct/details.rb +13 -0
- data/test/rails_app/app/components/ext_direct/selector.rb +31 -0
- data/test/rails_app/app/components/ext_direct/statistics.rb +13 -0
- data/test/rails_app/app/components/extended_localized_panel.rb +2 -0
- data/test/rails_app/app/components/extended_server_caller.rb +0 -1
- data/test/rails_app/app/components/localized_panel.rb +28 -0
- data/test/rails_app/app/components/server_caller.rb +1 -0
- data/test/rails_app/app/components/server_counter.rb +123 -0
- data/test/rails_app/app/controllers/application_controller.rb +7 -0
- data/test/rails_app/config/initializers/backtrace_silencers.rb +1 -1
- data/test/rails_app/config/initializers/netzke.rb +1 -1
- data/test/rails_app/config/locales/en.yml +9 -2
- data/test/rails_app/config/locales/es.yml +11 -0
- data/test/rails_app/config/routes.rb +2 -2
- metadata +28 -16
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netzke-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 6
|
8
|
-
- 5
|
9
|
-
version: 0.6.5
|
4
|
+
prerelease:
|
5
|
+
version: 0.6.6
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Sergei Kozlov
|
@@ -14,7 +10,7 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date: 2011-
|
13
|
+
date: 2011-02-26 00:00:00 +01:00
|
18
14
|
default_executable:
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
@@ -25,10 +21,6 @@ dependencies:
|
|
25
21
|
requirements:
|
26
22
|
- - ">="
|
27
23
|
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 3
|
30
|
-
- 0
|
31
|
-
- 1
|
32
24
|
version: 3.0.1
|
33
25
|
type: :runtime
|
34
26
|
version_requirements: *id001
|
@@ -62,7 +54,9 @@ files:
|
|
62
54
|
- features/component_loader.feature
|
63
55
|
- features/composition.feature
|
64
56
|
- features/custom_css.feature
|
57
|
+
- features/ext.direct.feature
|
65
58
|
- features/file_inclusion.feature
|
59
|
+
- features/i18n.feature
|
66
60
|
- features/inheritance.feature
|
67
61
|
- features/js_include.feature
|
68
62
|
- features/nested_views.feature
|
@@ -70,9 +64,11 @@ files:
|
|
70
64
|
- features/scopes.feature
|
71
65
|
- features/step_definitions/custom_css_steps.rb
|
72
66
|
- features/step_definitions/generic_steps.rb
|
67
|
+
- features/step_definitions/touch_steps.rb
|
73
68
|
- features/step_definitions/web_steps.rb
|
74
69
|
- features/support/env.rb
|
75
70
|
- features/support/paths.rb
|
71
|
+
- features/touch.feature
|
76
72
|
- init.rb
|
77
73
|
- install.rb
|
78
74
|
- javascripts/core.js
|
@@ -85,6 +81,7 @@ files:
|
|
85
81
|
- lib/netzke/configuration.rb
|
86
82
|
- lib/netzke/core.rb
|
87
83
|
- lib/netzke/core/masquerading.rb
|
84
|
+
- lib/netzke/core/options_hash.rb
|
88
85
|
- lib/netzke/core/session.rb
|
89
86
|
- lib/netzke/core/version.rb
|
90
87
|
- lib/netzke/core_ext.rb
|
@@ -95,6 +92,7 @@ files:
|
|
95
92
|
- lib/netzke/core_ext/time_with_zone.rb
|
96
93
|
- lib/netzke/embedding.rb
|
97
94
|
- lib/netzke/ext_component.rb
|
95
|
+
- lib/netzke/inheritance.rb
|
98
96
|
- lib/netzke/javascript.rb
|
99
97
|
- lib/netzke/javascript/scopes.rb
|
100
98
|
- lib/netzke/railz.rb
|
@@ -102,6 +100,7 @@ files:
|
|
102
100
|
- lib/netzke/railz/action_view_ext/ext.rb
|
103
101
|
- lib/netzke/railz/action_view_ext/touch.rb
|
104
102
|
- lib/netzke/railz/controller_extensions.rb
|
103
|
+
- lib/netzke/railz/engine.rb
|
105
104
|
- lib/netzke/railz/routes.rb
|
106
105
|
- lib/netzke/services.rb
|
107
106
|
- lib/netzke/session.rb
|
@@ -112,6 +111,7 @@ files:
|
|
112
111
|
- spec/component/actions_spec.rb
|
113
112
|
- spec/component/base_spec.rb
|
114
113
|
- spec/component/composition_spec.rb
|
114
|
+
- spec/component/configuration_spec.rb
|
115
115
|
- spec/component/javascript_spec.rb
|
116
116
|
- spec/component/state_spec.rb
|
117
117
|
- spec/core_ext_spec.rb
|
@@ -138,9 +138,14 @@ files:
|
|
138
138
|
- test/rails_app/app/components/component_with_js_mixin/javascripts/method_set_two.js
|
139
139
|
- test/rails_app/app/components/component_with_session_persistence.rb
|
140
140
|
- test/rails_app/app/components/deprecated/server_caller.rb
|
141
|
+
- test/rails_app/app/components/ext_direct/composite.rb
|
142
|
+
- test/rails_app/app/components/ext_direct/details.rb
|
143
|
+
- test/rails_app/app/components/ext_direct/selector.rb
|
144
|
+
- test/rails_app/app/components/ext_direct/statistics.rb
|
141
145
|
- test/rails_app/app/components/extended_component_with_actions.rb
|
142
146
|
- test/rails_app/app/components/extended_component_with_js_mixin.rb
|
143
147
|
- test/rails_app/app/components/extended_component_with_js_mixin/javascripts/some_method_set.js
|
148
|
+
- test/rails_app/app/components/extended_localized_panel.rb
|
144
149
|
- test/rails_app/app/components/extended_server_caller.rb
|
145
150
|
- test/rails_app/app/components/hello_world_component.rb
|
146
151
|
- test/rails_app/app/components/included.js
|
@@ -148,10 +153,12 @@ files:
|
|
148
153
|
- test/rails_app/app/components/kinda_complex_component/basic_stuff.rb
|
149
154
|
- test/rails_app/app/components/kinda_complex_component/extra_stuff.rb
|
150
155
|
- test/rails_app/app/components/loader_of_component_with_custom_css.rb
|
156
|
+
- test/rails_app/app/components/localized_panel.rb
|
151
157
|
- test/rails_app/app/components/scoped_components/deep_scoped_components/some_deep_scoped_component.rb
|
152
158
|
- test/rails_app/app/components/scoped_components/extended_scoped_component.rb
|
153
159
|
- test/rails_app/app/components/scoped_components/some_scoped_component.rb
|
154
160
|
- test/rails_app/app/components/server_caller.rb
|
161
|
+
- test/rails_app/app/components/server_counter.rb
|
155
162
|
- test/rails_app/app/components/simple_component.rb
|
156
163
|
- test/rails_app/app/components/simple_panel.rb
|
157
164
|
- test/rails_app/app/components/simple_tab_panel.rb
|
@@ -189,6 +196,7 @@ files:
|
|
189
196
|
- test/rails_app/config/initializers/secret_token.rb
|
190
197
|
- test/rails_app/config/initializers/session_store.rb
|
191
198
|
- test/rails_app/config/locales/en.yml
|
199
|
+
- test/rails_app/config/locales/es.yml
|
192
200
|
- test/rails_app/config/routes.rb
|
193
201
|
- test/rails_app/db/development_structure.sql
|
194
202
|
- test/rails_app/db/migrate/20110110132720_create_netzke_component_states.rb
|
@@ -226,21 +234,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
226
234
|
requirements:
|
227
235
|
- - ">="
|
228
236
|
- !ruby/object:Gem::Version
|
229
|
-
segments:
|
230
|
-
- 0
|
231
237
|
version: "0"
|
232
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
233
239
|
none: false
|
234
240
|
requirements:
|
235
241
|
- - ">="
|
236
242
|
- !ruby/object:Gem::Version
|
237
|
-
segments:
|
238
|
-
- 0
|
239
243
|
version: "0"
|
240
244
|
requirements: []
|
241
245
|
|
242
246
|
rubyforge_project:
|
243
|
-
rubygems_version: 1.
|
247
|
+
rubygems_version: 1.5.2
|
244
248
|
signing_key:
|
245
249
|
specification_version: 3
|
246
250
|
summary: Build ExtJS/Rails components with minimum effort
|
@@ -248,6 +252,7 @@ test_files:
|
|
248
252
|
- spec/component/actions_spec.rb
|
249
253
|
- spec/component/base_spec.rb
|
250
254
|
- spec/component/composition_spec.rb
|
255
|
+
- spec/component/configuration_spec.rb
|
251
256
|
- spec/component/javascript_spec.rb
|
252
257
|
- spec/component/state_spec.rb
|
253
258
|
- spec/core_ext_spec.rb
|
@@ -260,18 +265,25 @@ test_files:
|
|
260
265
|
- test/rails_app/app/components/component_with_js_mixin.rb
|
261
266
|
- test/rails_app/app/components/component_with_session_persistence.rb
|
262
267
|
- test/rails_app/app/components/deprecated/server_caller.rb
|
268
|
+
- test/rails_app/app/components/ext_direct/composite.rb
|
269
|
+
- test/rails_app/app/components/ext_direct/details.rb
|
270
|
+
- test/rails_app/app/components/ext_direct/selector.rb
|
271
|
+
- test/rails_app/app/components/ext_direct/statistics.rb
|
263
272
|
- test/rails_app/app/components/extended_component_with_actions.rb
|
264
273
|
- test/rails_app/app/components/extended_component_with_js_mixin.rb
|
274
|
+
- test/rails_app/app/components/extended_localized_panel.rb
|
265
275
|
- test/rails_app/app/components/extended_server_caller.rb
|
266
276
|
- test/rails_app/app/components/hello_world_component.rb
|
267
277
|
- test/rails_app/app/components/kinda_complex_component.rb
|
268
278
|
- test/rails_app/app/components/kinda_complex_component/basic_stuff.rb
|
269
279
|
- test/rails_app/app/components/kinda_complex_component/extra_stuff.rb
|
270
280
|
- test/rails_app/app/components/loader_of_component_with_custom_css.rb
|
281
|
+
- test/rails_app/app/components/localized_panel.rb
|
271
282
|
- test/rails_app/app/components/scoped_components/deep_scoped_components/some_deep_scoped_component.rb
|
272
283
|
- test/rails_app/app/components/scoped_components/extended_scoped_component.rb
|
273
284
|
- test/rails_app/app/components/scoped_components/some_scoped_component.rb
|
274
285
|
- test/rails_app/app/components/server_caller.rb
|
286
|
+
- test/rails_app/app/components/server_counter.rb
|
275
287
|
- test/rails_app/app/components/simple_component.rb
|
276
288
|
- test/rails_app/app/components/simple_panel.rb
|
277
289
|
- test/rails_app/app/components/simple_tab_panel.rb
|