netzke-basepack 0.4.2 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +1 -0
- data/.gitignore +6 -0
- data/{CHANGELOG → CHANGELOG.rdoc} +26 -0
- data/README.rdoc +11 -11
- data/Rakefile +37 -11
- data/TODO.rdoc +8 -0
- data/VERSION +1 -0
- data/javascripts/basepack.js +71 -28
- data/lib/app/models/netzke_auto_column.rb +56 -0
- data/lib/netzke-basepack.rb +5 -3
- data/lib/netzke/accordion_panel.rb +69 -67
- data/lib/netzke/active_record/basepack.rb +104 -0
- data/lib/netzke/active_record/data_accessor.rb +33 -0
- data/lib/netzke/basic_app.rb +233 -124
- data/lib/netzke/border_layout_panel.rb +97 -98
- data/lib/netzke/configuration_panel.rb +24 -0
- data/lib/netzke/data_accessor.rb +71 -0
- data/lib/netzke/ext.rb +6 -0
- data/lib/netzke/field_model.rb +1 -1
- data/lib/netzke/fields_configurator.rb +62 -37
- data/lib/netzke/form_panel.rb +161 -51
- data/lib/netzke/form_panel_api.rb +74 -0
- data/lib/netzke/form_panel_js.rb +129 -0
- data/lib/netzke/grid_panel.rb +385 -80
- data/lib/netzke/grid_panel_api.rb +352 -0
- data/lib/netzke/grid_panel_extras/javascripts/rows-dd.js +280 -0
- data/lib/netzke/grid_panel_js.rb +721 -0
- data/lib/netzke/masquerade_selector.rb +53 -0
- data/lib/netzke/panel.rb +9 -0
- data/lib/netzke/plugins/configuration_tool.rb +121 -0
- data/lib/netzke/property_editor.rb +95 -7
- data/lib/netzke/property_editor_extras/helper_model.rb +55 -34
- data/lib/netzke/search_panel.rb +62 -0
- data/lib/netzke/tab_panel.rb +97 -37
- data/lib/netzke/table_editor.rb +49 -44
- data/lib/netzke/tree_panel.rb +15 -16
- data/lib/netzke/wrapper.rb +29 -5
- data/netzke-basepack.gemspec +151 -19
- data/stylesheets/basepack.css +5 -0
- data/test/app_root/app/models/book.rb +1 -1
- data/test/app_root/db/migrate/20081222035855_create_netzke_preferences.rb +1 -1
- data/test/unit/accordion_panel_test.rb +1 -2
- data/test/unit/active_record_basepack_test.rb +54 -0
- data/test/unit/grid_panel_test.rb +8 -12
- data/test/unit/helper_model_test.rb +30 -0
- metadata +69 -78
- data/Manifest +0 -86
- data/TODO +0 -3
- data/lib/app/models/netzke_hash_record.rb +0 -180
- data/lib/app/models/netzke_layout_item.rb +0 -11
- data/lib/netzke/ar_ext.rb +0 -269
- data/lib/netzke/configuration_tool.rb +0 -80
- data/lib/netzke/container.rb +0 -77
- data/lib/netzke/db_fields.rb +0 -44
- data/lib/netzke/fields_configurator_old.rb +0 -62
- data/lib/netzke/form_panel_extras/interface.rb +0 -56
- data/lib/netzke/form_panel_extras/js_builder.rb +0 -134
- data/lib/netzke/grid_panel_extras/interface.rb +0 -206
- data/lib/netzke/grid_panel_extras/js_builder.rb +0 -352
- data/test/unit/ar_ext_test.rb +0 -53
- data/test/unit/netzke_hash_record_test.rb +0 -52
- data/test/unit/netzke_layout_item_test.rb +0 -28
data/netzke-basepack.gemspec
CHANGED
@@ -1,38 +1,170 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
1
4
|
# -*- encoding: utf-8 -*-
|
2
5
|
|
3
6
|
Gem::Specification.new do |s|
|
4
7
|
s.name = %q{netzke-basepack}
|
5
|
-
s.version = "0.
|
8
|
+
s.version = "0.5.1"
|
6
9
|
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new(">=
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
11
|
s.authors = ["Sergei Kozlov"]
|
9
|
-
s.date = %q{2009-
|
10
|
-
s.description = %q{
|
11
|
-
s.email = %q{sergei@
|
12
|
-
s.extra_rdoc_files = [
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
s.
|
12
|
+
s.date = %q{2009-09-11}
|
13
|
+
s.description = %q{Pre-built Netzke widgets for your RIA}
|
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.rdoc",
|
23
|
+
"LICENSE",
|
24
|
+
"README.rdoc",
|
25
|
+
"Rakefile",
|
26
|
+
"TODO.rdoc",
|
27
|
+
"VERSION",
|
28
|
+
"autotest/discover.rb",
|
29
|
+
"init.rb",
|
30
|
+
"install.rb",
|
31
|
+
"javascripts/basepack.js",
|
32
|
+
"lib/app/models/netzke_auto_column.rb",
|
33
|
+
"lib/netzke-basepack.rb",
|
34
|
+
"lib/netzke/accordion_panel.rb",
|
35
|
+
"lib/netzke/active_record/basepack.rb",
|
36
|
+
"lib/netzke/active_record/data_accessor.rb",
|
37
|
+
"lib/netzke/basic_app.rb",
|
38
|
+
"lib/netzke/border_layout_panel.rb",
|
39
|
+
"lib/netzke/configuration_panel.rb",
|
40
|
+
"lib/netzke/data_accessor.rb",
|
41
|
+
"lib/netzke/ext.rb",
|
42
|
+
"lib/netzke/field_model.rb",
|
43
|
+
"lib/netzke/fields_configurator.rb",
|
44
|
+
"lib/netzke/form_panel.rb",
|
45
|
+
"lib/netzke/form_panel_api.rb",
|
46
|
+
"lib/netzke/form_panel_extras/javascripts/xcheckbox.js",
|
47
|
+
"lib/netzke/form_panel_js.rb",
|
48
|
+
"lib/netzke/grid_panel.rb",
|
49
|
+
"lib/netzke/grid_panel_api.rb",
|
50
|
+
"lib/netzke/grid_panel_extras/javascripts/check-column.js",
|
51
|
+
"lib/netzke/grid_panel_extras/javascripts/filters.js",
|
52
|
+
"lib/netzke/grid_panel_extras/javascripts/rows-dd.js",
|
53
|
+
"lib/netzke/grid_panel_js.rb",
|
54
|
+
"lib/netzke/masquerade_selector.rb",
|
55
|
+
"lib/netzke/panel.rb",
|
56
|
+
"lib/netzke/plugins/configuration_tool.rb",
|
57
|
+
"lib/netzke/property_editor.rb",
|
58
|
+
"lib/netzke/property_editor_extras/helper_model.rb",
|
59
|
+
"lib/netzke/search_panel.rb",
|
60
|
+
"lib/netzke/tab_panel.rb",
|
61
|
+
"lib/netzke/table_editor.rb",
|
62
|
+
"lib/netzke/tree_panel.rb",
|
63
|
+
"lib/netzke/wrapper.rb",
|
64
|
+
"netzke-basepack.gemspec",
|
65
|
+
"stylesheets/basepack.css",
|
66
|
+
"tasks/netzke_basepack_tasks.rake",
|
67
|
+
"test/app_root/app/controllers/application.rb",
|
68
|
+
"test/app_root/app/models/book.rb",
|
69
|
+
"test/app_root/app/models/category.rb",
|
70
|
+
"test/app_root/app/models/city.rb",
|
71
|
+
"test/app_root/app/models/continent.rb",
|
72
|
+
"test/app_root/app/models/country.rb",
|
73
|
+
"test/app_root/app/models/genre.rb",
|
74
|
+
"test/app_root/config/boot.rb",
|
75
|
+
"test/app_root/config/database.yml",
|
76
|
+
"test/app_root/config/environment.rb",
|
77
|
+
"test/app_root/config/environments/in_memory.rb",
|
78
|
+
"test/app_root/config/environments/mysql.rb",
|
79
|
+
"test/app_root/config/environments/postgresql.rb",
|
80
|
+
"test/app_root/config/environments/sqlite.rb",
|
81
|
+
"test/app_root/config/environments/sqlite3.rb",
|
82
|
+
"test/app_root/config/routes.rb",
|
83
|
+
"test/app_root/db/migrate/20081222033343_create_books.rb",
|
84
|
+
"test/app_root/db/migrate/20081222033440_create_genres.rb",
|
85
|
+
"test/app_root/db/migrate/20081222035855_create_netzke_preferences.rb",
|
86
|
+
"test/app_root/db/migrate/20081223024935_create_categories.rb",
|
87
|
+
"test/app_root/db/migrate/20081223025635_create_countries.rb",
|
88
|
+
"test/app_root/db/migrate/20081223025653_create_continents.rb",
|
89
|
+
"test/app_root/db/migrate/20081223025732_create_cities.rb",
|
90
|
+
"test/app_root/db/migrate/20090102223630_create_netzke_layouts.rb",
|
91
|
+
"test/app_root/script/console",
|
92
|
+
"test/app_root/vendor/plugins/acts_as_list/README",
|
93
|
+
"test/app_root/vendor/plugins/acts_as_list/init.rb",
|
94
|
+
"test/app_root/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb",
|
95
|
+
"test/console_with_fixtures.rb",
|
96
|
+
"test/fixtures/books.yml",
|
97
|
+
"test/fixtures/categories.yml",
|
98
|
+
"test/fixtures/cities.yml",
|
99
|
+
"test/fixtures/continents.yml",
|
100
|
+
"test/fixtures/countries.yml",
|
101
|
+
"test/fixtures/genres.yml",
|
102
|
+
"test/schema.rb",
|
103
|
+
"test/test_helper.rb",
|
104
|
+
"test/unit/accordion_panel_test.rb",
|
105
|
+
"test/unit/active_record_basepack_test.rb",
|
106
|
+
"test/unit/grid_panel_test.rb",
|
107
|
+
"test/unit/helper_model_test.rb",
|
108
|
+
"test/unit/netzke_basepack_test.rb",
|
109
|
+
"test/unit/tab_panel_test.rb",
|
110
|
+
"uninstall.rb"
|
111
|
+
]
|
112
|
+
s.homepage = %q{http://github.com/skozlov/netzke-basepack}
|
113
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
17
114
|
s.require_paths = ["lib"]
|
18
115
|
s.rubyforge_project = %q{netzke-basepack}
|
19
|
-
s.rubygems_version = %q{1.3.
|
20
|
-
s.summary = %q{
|
21
|
-
s.test_files = [
|
116
|
+
s.rubygems_version = %q{1.3.4}
|
117
|
+
s.summary = %q{Pre-built Netzke widgets for your RIA}
|
118
|
+
s.test_files = [
|
119
|
+
"test/app_root/app/controllers/application.rb",
|
120
|
+
"test/app_root/app/models/book.rb",
|
121
|
+
"test/app_root/app/models/category.rb",
|
122
|
+
"test/app_root/app/models/city.rb",
|
123
|
+
"test/app_root/app/models/continent.rb",
|
124
|
+
"test/app_root/app/models/country.rb",
|
125
|
+
"test/app_root/app/models/genre.rb",
|
126
|
+
"test/app_root/config/boot.rb",
|
127
|
+
"test/app_root/config/environment.rb",
|
128
|
+
"test/app_root/config/environments/in_memory.rb",
|
129
|
+
"test/app_root/config/environments/mysql.rb",
|
130
|
+
"test/app_root/config/environments/postgresql.rb",
|
131
|
+
"test/app_root/config/environments/sqlite.rb",
|
132
|
+
"test/app_root/config/environments/sqlite3.rb",
|
133
|
+
"test/app_root/config/routes.rb",
|
134
|
+
"test/app_root/db/migrate/20081222033343_create_books.rb",
|
135
|
+
"test/app_root/db/migrate/20081222033440_create_genres.rb",
|
136
|
+
"test/app_root/db/migrate/20081222035855_create_netzke_preferences.rb",
|
137
|
+
"test/app_root/db/migrate/20081223024935_create_categories.rb",
|
138
|
+
"test/app_root/db/migrate/20081223025635_create_countries.rb",
|
139
|
+
"test/app_root/db/migrate/20081223025653_create_continents.rb",
|
140
|
+
"test/app_root/db/migrate/20081223025732_create_cities.rb",
|
141
|
+
"test/app_root/db/migrate/20090102223630_create_netzke_layouts.rb",
|
142
|
+
"test/app_root/vendor/plugins/acts_as_list/init.rb",
|
143
|
+
"test/app_root/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb",
|
144
|
+
"test/console_with_fixtures.rb",
|
145
|
+
"test/schema.rb",
|
146
|
+
"test/test_helper.rb",
|
147
|
+
"test/unit/accordion_panel_test.rb",
|
148
|
+
"test/unit/active_record_basepack_test.rb",
|
149
|
+
"test/unit/grid_panel_test.rb",
|
150
|
+
"test/unit/helper_model_test.rb",
|
151
|
+
"test/unit/netzke_basepack_test.rb",
|
152
|
+
"test/unit/tab_panel_test.rb"
|
153
|
+
]
|
22
154
|
|
23
155
|
if s.respond_to? :specification_version then
|
24
156
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
25
157
|
s.specification_version = 3
|
26
158
|
|
27
159
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
28
|
-
s.add_runtime_dependency(%q<
|
29
|
-
s.add_runtime_dependency(%q<
|
160
|
+
s.add_runtime_dependency(%q<netzke-core>, [">= 0"])
|
161
|
+
s.add_runtime_dependency(%q<searchlogic>, [">= 0"])
|
30
162
|
else
|
31
|
-
s.add_dependency(%q<
|
32
|
-
s.add_dependency(%q<
|
163
|
+
s.add_dependency(%q<netzke-core>, [">= 0"])
|
164
|
+
s.add_dependency(%q<searchlogic>, [">= 0"])
|
33
165
|
end
|
34
166
|
else
|
35
|
-
s.add_dependency(%q<
|
36
|
-
s.add_dependency(%q<
|
167
|
+
s.add_dependency(%q<netzke-core>, [">= 0"])
|
168
|
+
s.add_dependency(%q<searchlogic>, [">= 0"])
|
37
169
|
end
|
38
170
|
end
|
data/stylesheets/basepack.css
CHANGED
@@ -4,7 +4,7 @@ require 'netzke-core'
|
|
4
4
|
|
5
5
|
class AccordionPanelTest < ActiveSupport::TestCase
|
6
6
|
|
7
|
-
test "
|
7
|
+
test "specifying items" do
|
8
8
|
accordion = Netzke::AccordionPanel.new(:items => [{
|
9
9
|
:widget_class_name => "Panel"
|
10
10
|
},{
|
@@ -14,7 +14,6 @@ class AccordionPanelTest < ActiveSupport::TestCase
|
|
14
14
|
assert_equal(2, accordion.initial_aggregatees.keys.size)
|
15
15
|
assert_equal("item0", accordion.aggregatees[:item0][:name])
|
16
16
|
assert_equal("second_panel", accordion.aggregatees[:second_panel][:name])
|
17
|
-
assert_equal("second_panel", accordion.js_config[:expanded_item])
|
18
17
|
assert_equal("Panel", accordion.js_config[:second_panel_config][:widget_class_name])
|
19
18
|
end
|
20
19
|
|
@@ -0,0 +1,54 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
require 'netzke/active_record/basepack'
|
4
|
+
|
5
|
+
class ActiveRecordBasepackTest < ActiveSupport::TestCase
|
6
|
+
fixtures :cities, :countries, :continents
|
7
|
+
|
8
|
+
# test "default column and field configs" do
|
9
|
+
# cc = Book.default_column_config(:title)
|
10
|
+
#
|
11
|
+
# assert_equal("Title", cc[:label])
|
12
|
+
# assert_equal(:textfield, cc[:editor])
|
13
|
+
# assert(!cc[:height])
|
14
|
+
#
|
15
|
+
# cc = Book.default_column_config({:name => :amount, :label => 'AMOUNT'})
|
16
|
+
#
|
17
|
+
# assert_equal("AMOUNT", cc[:label])
|
18
|
+
# assert_equal(:numberfield, cc[:editor])
|
19
|
+
#
|
20
|
+
# cc = Book.default_column_config(:genre_id)
|
21
|
+
# assert_equal("genre__name", cc[:name])
|
22
|
+
# assert_equal(:combobox, cc[:editor])
|
23
|
+
#
|
24
|
+
# cc = Book.default_column_config(:genre__popular)
|
25
|
+
# assert_equal(:checkbox, cc[:editor])
|
26
|
+
# end
|
27
|
+
|
28
|
+
test "choices for column" do
|
29
|
+
cities = City.options_for("name")
|
30
|
+
assert_equal(3, cities.size)
|
31
|
+
assert(cities.include?('Cordoba') && cities.include?('Buenos Aires'))
|
32
|
+
|
33
|
+
countries = City.options_for("country__name")
|
34
|
+
assert_equal(2, countries.size)
|
35
|
+
assert(countries.include?('Spain') && countries.include?('Argentina'))
|
36
|
+
|
37
|
+
continents = City.options_for("country__continent__name")
|
38
|
+
assert_equal(2, continents.size)
|
39
|
+
assert(continents.include?('Europe') && continents.include?('South America'))
|
40
|
+
|
41
|
+
cities = City.options_for("name", "Co")
|
42
|
+
assert_equal(2, cities.size)
|
43
|
+
assert(cities.include?('Cordoba') && cities.include?('Concordia'))
|
44
|
+
end
|
45
|
+
|
46
|
+
test "to array" do
|
47
|
+
Book.send(:include, Netzke::ActiveRecord::DataAccessor)
|
48
|
+
b = Book.create({:title => 'Rayuela', :genre_id => 200, :amount => 1000})
|
49
|
+
columns = [:recent, {:name => :title}, {:name => :amount}, :genre_id]
|
50
|
+
assert_equal(['Yes', 'Rayuela', 1000, 200], b.to_array(columns))
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
54
|
+
|
@@ -3,31 +3,28 @@ require 'netzke-core'
|
|
3
3
|
|
4
4
|
module Netzke::GridPanelExtras; end
|
5
5
|
|
6
|
-
require 'netzke/configuration_tool'
|
7
|
-
# require 'netzke/container'
|
6
|
+
require 'netzke/plugins/configuration_tool'
|
8
7
|
require 'netzke/accordion_panel'
|
9
8
|
|
10
|
-
require 'netzke/
|
11
|
-
require 'netzke/
|
12
|
-
require 'netzke/grid_panel_extras/js_builder'
|
9
|
+
require 'netzke/grid_panel_api'
|
10
|
+
require 'netzke/grid_panel_js'
|
13
11
|
require 'netzke/grid_panel'
|
14
12
|
|
15
|
-
require 'netzke/
|
16
|
-
# require 'netzke/column'
|
13
|
+
require 'netzke/active_record/basepack'
|
17
14
|
|
18
15
|
class GridPanelTest < ActiveSupport::TestCase
|
19
16
|
|
20
|
-
test "
|
17
|
+
test "api" do
|
21
18
|
grid = Netzke::GridPanel.new(:name => 'grid', :data_class_name => 'Book', :layout_manager => false, :columns => [:id, :title, :recent])
|
22
19
|
|
23
20
|
# post
|
24
|
-
grid.post_data(
|
21
|
+
res = grid.post_data("created_records" => [{:title => 'Lord of the Rings'}].to_nifty_json)
|
25
22
|
assert_equal('Lord of the Rings', Book.first.title)
|
26
23
|
|
27
|
-
grid.post_data(
|
24
|
+
grid.post_data("updated_records" => [{:id => Book.first.id, :title => 'Lolita'}].to_json)
|
28
25
|
assert_equal('Lolita', Book.first.title)
|
29
26
|
|
30
|
-
grid.post_data(
|
27
|
+
grid.post_data("created_records" => [{:title => 'Upanishad'}].to_json)
|
31
28
|
|
32
29
|
# get
|
33
30
|
data = grid.get_data
|
@@ -36,7 +33,6 @@ class GridPanelTest < ActiveSupport::TestCase
|
|
36
33
|
|
37
34
|
# delete
|
38
35
|
res = grid.delete_data(:records => [1,2].to_json)
|
39
|
-
assert_equal(true, res[:success])
|
40
36
|
assert_equal(nil, Book.first)
|
41
37
|
|
42
38
|
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require 'rubygems'
|
3
|
+
require 'netzke-core'
|
4
|
+
|
5
|
+
class HelperModelTest < ActiveSupport::TestCase
|
6
|
+
|
7
|
+
test "reading/writing values" do
|
8
|
+
Netzke::FormPanel.config.deep_merge!({
|
9
|
+
:ext_config => {
|
10
|
+
:enable_config_tool => true
|
11
|
+
},
|
12
|
+
:persistent_config => true
|
13
|
+
})
|
14
|
+
form = Netzke::FormPanel.new(:data_class_name => "Book")
|
15
|
+
Netzke::PropertyEditorExtras::HelperModel.widget = form
|
16
|
+
helper_model = Netzke::PropertyEditorExtras::HelperModel.new
|
17
|
+
|
18
|
+
assert(true, helper_model.ext_config__config_tool)
|
19
|
+
|
20
|
+
assert(true, helper_model.persistent_config)
|
21
|
+
|
22
|
+
assert(true, form.ext_config[:enable_config_tool])
|
23
|
+
|
24
|
+
# now try to change the configuration
|
25
|
+
helper_model.ext_config__config_tool = "false"
|
26
|
+
# form = Netzke::FormPanel.new(:data_class_name => "Book")
|
27
|
+
# assert(false, form.ext_config[:enable_config_tool]) # FIXME: make it work
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netzke-basepack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergei Kozlov
|
@@ -9,21 +9,21 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-09-11 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
16
|
+
name: netzke-core
|
17
17
|
type: :runtime
|
18
18
|
version_requirement:
|
19
19
|
version_requirements: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
23
|
+
version: "0"
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
26
|
+
name: searchlogic
|
27
27
|
type: :runtime
|
28
28
|
version_requirement:
|
29
29
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -31,90 +31,62 @@ dependencies:
|
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: "0"
|
34
|
-
- - "="
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 0.3.1
|
37
34
|
version:
|
38
|
-
description:
|
39
|
-
email: sergei@
|
35
|
+
description: Pre-built Netzke widgets for your RIA
|
36
|
+
email: sergei@playcode.nl
|
40
37
|
executables: []
|
41
38
|
|
42
39
|
extensions: []
|
43
40
|
|
44
41
|
extra_rdoc_files:
|
45
|
-
- CHANGELOG
|
46
|
-
- lib/app/models/netzke_hash_record.rb
|
47
|
-
- lib/app/models/netzke_layout_item.rb
|
48
|
-
- lib/netzke/accordion_panel.rb
|
49
|
-
- lib/netzke/ar_ext.rb
|
50
|
-
- lib/netzke/basic_app.rb
|
51
|
-
- lib/netzke/border_layout_panel.rb
|
52
|
-
- lib/netzke/configuration_tool.rb
|
53
|
-
- lib/netzke/container.rb
|
54
|
-
- lib/netzke/db_fields.rb
|
55
|
-
- lib/netzke/field_model.rb
|
56
|
-
- lib/netzke/fields_configurator.rb
|
57
|
-
- lib/netzke/fields_configurator_old.rb
|
58
|
-
- lib/netzke/form_panel.rb
|
59
|
-
- lib/netzke/form_panel_extras/interface.rb
|
60
|
-
- lib/netzke/form_panel_extras/javascripts/xcheckbox.js
|
61
|
-
- lib/netzke/form_panel_extras/js_builder.rb
|
62
|
-
- lib/netzke/grid_panel.rb
|
63
|
-
- lib/netzke/grid_panel_extras/interface.rb
|
64
|
-
- lib/netzke/grid_panel_extras/javascripts/check-column.js
|
65
|
-
- lib/netzke/grid_panel_extras/javascripts/filters.js
|
66
|
-
- lib/netzke/grid_panel_extras/js_builder.rb
|
67
|
-
- lib/netzke/panel.rb
|
68
|
-
- lib/netzke/property_editor.rb
|
69
|
-
- lib/netzke/property_editor_extras/helper_model.rb
|
70
|
-
- lib/netzke/tab_panel.rb
|
71
|
-
- lib/netzke/table_editor.rb
|
72
|
-
- lib/netzke/tree_panel.rb
|
73
|
-
- lib/netzke/wrapper.rb
|
74
|
-
- lib/netzke-basepack.rb
|
75
42
|
- LICENSE
|
76
43
|
- README.rdoc
|
77
|
-
- tasks/netzke_basepack_tasks.rake
|
78
|
-
- TODO
|
79
44
|
files:
|
45
|
+
- .autotest
|
46
|
+
- .gitignore
|
47
|
+
- CHANGELOG.rdoc
|
48
|
+
- LICENSE
|
49
|
+
- README.rdoc
|
50
|
+
- Rakefile
|
51
|
+
- TODO.rdoc
|
52
|
+
- VERSION
|
80
53
|
- autotest/discover.rb
|
81
|
-
- CHANGELOG
|
82
54
|
- init.rb
|
83
55
|
- install.rb
|
84
56
|
- javascripts/basepack.js
|
85
|
-
- lib/app/models/
|
86
|
-
- lib/
|
57
|
+
- lib/app/models/netzke_auto_column.rb
|
58
|
+
- lib/netzke-basepack.rb
|
87
59
|
- lib/netzke/accordion_panel.rb
|
88
|
-
- lib/netzke/
|
60
|
+
- lib/netzke/active_record/basepack.rb
|
61
|
+
- lib/netzke/active_record/data_accessor.rb
|
89
62
|
- lib/netzke/basic_app.rb
|
90
63
|
- lib/netzke/border_layout_panel.rb
|
91
|
-
- lib/netzke/
|
92
|
-
- lib/netzke/
|
93
|
-
- lib/netzke/
|
64
|
+
- lib/netzke/configuration_panel.rb
|
65
|
+
- lib/netzke/data_accessor.rb
|
66
|
+
- lib/netzke/ext.rb
|
94
67
|
- lib/netzke/field_model.rb
|
95
68
|
- lib/netzke/fields_configurator.rb
|
96
|
-
- lib/netzke/fields_configurator_old.rb
|
97
69
|
- lib/netzke/form_panel.rb
|
98
|
-
- lib/netzke/
|
70
|
+
- lib/netzke/form_panel_api.rb
|
99
71
|
- lib/netzke/form_panel_extras/javascripts/xcheckbox.js
|
100
|
-
- lib/netzke/
|
72
|
+
- lib/netzke/form_panel_js.rb
|
101
73
|
- lib/netzke/grid_panel.rb
|
102
|
-
- lib/netzke/
|
74
|
+
- lib/netzke/grid_panel_api.rb
|
103
75
|
- lib/netzke/grid_panel_extras/javascripts/check-column.js
|
104
76
|
- lib/netzke/grid_panel_extras/javascripts/filters.js
|
105
|
-
- lib/netzke/grid_panel_extras/
|
77
|
+
- lib/netzke/grid_panel_extras/javascripts/rows-dd.js
|
78
|
+
- lib/netzke/grid_panel_js.rb
|
79
|
+
- lib/netzke/masquerade_selector.rb
|
106
80
|
- lib/netzke/panel.rb
|
81
|
+
- lib/netzke/plugins/configuration_tool.rb
|
107
82
|
- lib/netzke/property_editor.rb
|
108
83
|
- lib/netzke/property_editor_extras/helper_model.rb
|
84
|
+
- lib/netzke/search_panel.rb
|
109
85
|
- lib/netzke/tab_panel.rb
|
110
86
|
- lib/netzke/table_editor.rb
|
111
87
|
- lib/netzke/tree_panel.rb
|
112
88
|
- lib/netzke/wrapper.rb
|
113
|
-
-
|
114
|
-
- LICENSE
|
115
|
-
- Manifest
|
116
|
-
- Rakefile
|
117
|
-
- README.rdoc
|
89
|
+
- netzke-basepack.gemspec
|
118
90
|
- stylesheets/basepack.css
|
119
91
|
- tasks/netzke_basepack_tasks.rake
|
120
92
|
- test/app_root/app/controllers/application.rb
|
@@ -142,9 +114,9 @@ files:
|
|
142
114
|
- test/app_root/db/migrate/20081223025732_create_cities.rb
|
143
115
|
- test/app_root/db/migrate/20090102223630_create_netzke_layouts.rb
|
144
116
|
- test/app_root/script/console
|
117
|
+
- test/app_root/vendor/plugins/acts_as_list/README
|
145
118
|
- test/app_root/vendor/plugins/acts_as_list/init.rb
|
146
119
|
- test/app_root/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb
|
147
|
-
- test/app_root/vendor/plugins/acts_as_list/README
|
148
120
|
- test/console_with_fixtures.rb
|
149
121
|
- test/fixtures/books.yml
|
150
122
|
- test/fixtures/categories.yml
|
@@ -155,27 +127,19 @@ files:
|
|
155
127
|
- test/schema.rb
|
156
128
|
- test/test_helper.rb
|
157
129
|
- test/unit/accordion_panel_test.rb
|
158
|
-
- test/unit/
|
130
|
+
- test/unit/active_record_basepack_test.rb
|
159
131
|
- test/unit/grid_panel_test.rb
|
132
|
+
- test/unit/helper_model_test.rb
|
160
133
|
- test/unit/netzke_basepack_test.rb
|
161
|
-
- test/unit/netzke_hash_record_test.rb
|
162
|
-
- test/unit/netzke_layout_item_test.rb
|
163
134
|
- test/unit/tab_panel_test.rb
|
164
|
-
- TODO
|
165
135
|
- uninstall.rb
|
166
|
-
- netzke-basepack.gemspec
|
167
136
|
has_rdoc: true
|
168
|
-
homepage: http://
|
137
|
+
homepage: http://github.com/skozlov/netzke-basepack
|
169
138
|
licenses: []
|
170
139
|
|
171
140
|
post_install_message:
|
172
141
|
rdoc_options:
|
173
|
-
- --
|
174
|
-
- --inline-source
|
175
|
-
- --title
|
176
|
-
- Netzke-basepack
|
177
|
-
- --main
|
178
|
-
- README.rdoc
|
142
|
+
- --charset=UTF-8
|
179
143
|
require_paths:
|
180
144
|
- lib
|
181
145
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -188,20 +152,47 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
152
|
requirements:
|
189
153
|
- - ">="
|
190
154
|
- !ruby/object:Gem::Version
|
191
|
-
version: "
|
155
|
+
version: "0"
|
192
156
|
version:
|
193
157
|
requirements: []
|
194
158
|
|
195
159
|
rubyforge_project: netzke-basepack
|
196
|
-
rubygems_version: 1.3.
|
160
|
+
rubygems_version: 1.3.4
|
197
161
|
signing_key:
|
198
162
|
specification_version: 3
|
199
|
-
summary:
|
163
|
+
summary: Pre-built Netzke widgets for your RIA
|
200
164
|
test_files:
|
165
|
+
- test/app_root/app/controllers/application.rb
|
166
|
+
- test/app_root/app/models/book.rb
|
167
|
+
- test/app_root/app/models/category.rb
|
168
|
+
- test/app_root/app/models/city.rb
|
169
|
+
- test/app_root/app/models/continent.rb
|
170
|
+
- test/app_root/app/models/country.rb
|
171
|
+
- test/app_root/app/models/genre.rb
|
172
|
+
- test/app_root/config/boot.rb
|
173
|
+
- test/app_root/config/environment.rb
|
174
|
+
- test/app_root/config/environments/in_memory.rb
|
175
|
+
- test/app_root/config/environments/mysql.rb
|
176
|
+
- test/app_root/config/environments/postgresql.rb
|
177
|
+
- test/app_root/config/environments/sqlite.rb
|
178
|
+
- test/app_root/config/environments/sqlite3.rb
|
179
|
+
- test/app_root/config/routes.rb
|
180
|
+
- test/app_root/db/migrate/20081222033343_create_books.rb
|
181
|
+
- test/app_root/db/migrate/20081222033440_create_genres.rb
|
182
|
+
- test/app_root/db/migrate/20081222035855_create_netzke_preferences.rb
|
183
|
+
- test/app_root/db/migrate/20081223024935_create_categories.rb
|
184
|
+
- test/app_root/db/migrate/20081223025635_create_countries.rb
|
185
|
+
- test/app_root/db/migrate/20081223025653_create_continents.rb
|
186
|
+
- test/app_root/db/migrate/20081223025732_create_cities.rb
|
187
|
+
- test/app_root/db/migrate/20090102223630_create_netzke_layouts.rb
|
188
|
+
- test/app_root/vendor/plugins/acts_as_list/init.rb
|
189
|
+
- test/app_root/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb
|
190
|
+
- test/console_with_fixtures.rb
|
191
|
+
- test/schema.rb
|
192
|
+
- test/test_helper.rb
|
201
193
|
- test/unit/accordion_panel_test.rb
|
202
|
-
- test/unit/
|
194
|
+
- test/unit/active_record_basepack_test.rb
|
203
195
|
- test/unit/grid_panel_test.rb
|
196
|
+
- test/unit/helper_model_test.rb
|
204
197
|
- test/unit/netzke_basepack_test.rb
|
205
|
-
- test/unit/netzke_hash_record_test.rb
|
206
|
-
- test/unit/netzke_layout_item_test.rb
|
207
198
|
- test/unit/tab_panel_test.rb
|