active_scaffold_vho 3.0.31 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +9 -1
- data/Gemfile.lock +8 -79
- data/Rakefile +17 -20
- data/active_scaffold_vho.gemspec +374 -15
- data/{frontends/default → app/assets}/images/add.gif +0 -0
- data/{frontends/default → app/assets}/images/arrow_down.gif +0 -0
- data/{frontends/default → app/assets}/images/arrow_up.gif +0 -0
- data/{frontends/default → app/assets}/images/close.gif +0 -0
- data/{frontends/default → app/assets}/images/close_touch.png +0 -0
- data/{frontends/default → app/assets}/images/config.png +0 -0
- data/{frontends/default → app/assets}/images/cross.png +0 -0
- data/{frontends/default → app/assets}/images/gears.png +0 -0
- data/{frontends/default → app/assets}/images/indicator-small.gif +0 -0
- data/{frontends/default → app/assets}/images/indicator.gif +0 -0
- data/{frontends/default → app/assets}/images/magnifier.png +0 -0
- data/app/assets/javascripts/active_scaffold.js.erb +12 -0
- data/{frontends/default → app/assets}/javascripts/jquery/active_scaffold.js +73 -245
- data/app/assets/javascripts/jquery/date_picker_bridge.js.erb +24 -0
- data/app/assets/javascripts/jquery/jquery-ui-timepicker-addon.js +1060 -0
- data/{frontends/default → app/assets}/javascripts/jquery/jquery.editinplace.js +1 -1
- data/{lib/active_scaffold/bridges/tiny_mce/public → app/assets}/javascripts/jquery/tiny_mce_bridge.js +4 -3
- data/{frontends/default → app/assets}/javascripts/prototype/active_scaffold.js +36 -122
- data/{frontends/default → app/assets}/javascripts/prototype/dhtml_history.js +0 -0
- data/{frontends/default → app/assets}/javascripts/prototype/form_enhancements.js +0 -0
- data/{frontends/default → app/assets}/javascripts/prototype/rico_corner.js +0 -0
- data/{frontends/default/stylesheets/stylesheet-ie.css → app/assets/stylesheets/active_scaffold-ie.css} +0 -0
- data/{frontends/default/stylesheets/stylesheet.css → app/assets/stylesheets/active_scaffold.css.erb} +24 -22
- data/app/assets/stylesheets/jquery-ui-timepicker-addon.css +6 -0
- data/frontends/default/views/_action_group.html.erb +1 -1
- data/frontends/default/views/_base_form.html.erb +1 -1
- data/frontends/default/views/_form_association_footer.html.erb +11 -7
- data/frontends/default/views/_horizontal_subform_record.html.erb +5 -9
- data/frontends/default/views/_list.html.erb +1 -2
- data/frontends/default/views/_list_inline_adapter.html.erb +10 -0
- data/frontends/default/views/_list_messages.html.erb +2 -2
- data/frontends/default/views/_list_pagination.html.erb +6 -3
- data/frontends/default/views/_list_pagination_links.html.erb +9 -0
- data/frontends/default/views/_list_record.html.erb +2 -1
- data/frontends/default/views/_list_record_columns.html.erb +2 -1
- data/frontends/default/views/_list_with_header.html.erb +1 -1
- data/frontends/default/views/_messages.html.erb +0 -1
- data/frontends/default/views/_render_field.js.erb +13 -0
- data/frontends/default/views/_vertical_subform_record.html.erb +5 -9
- data/frontends/default/views/add_existing.js.erb +20 -0
- data/frontends/default/views/destroy.js.erb +24 -0
- data/frontends/default/views/{edit_associated.js.rjs → edit_associated.js.erb} +3 -2
- data/frontends/default/views/form_messages.js.erb +1 -0
- data/frontends/default/views/list.js.erb +1 -0
- data/frontends/default/views/on_action_update.js.erb +13 -0
- data/frontends/default/views/on_create.js.erb +45 -0
- data/frontends/default/views/on_mark_all.js.erb +12 -0
- data/frontends/default/views/on_update.js.erb +31 -0
- data/frontends/default/views/update_column.js.erb +16 -0
- data/frontends/default/views/update_row.js.erb +1 -0
- data/init.rb +1 -7
- data/lib/active_scaffold/actions/delete.rb +3 -5
- data/lib/active_scaffold/actions/field_search.rb +2 -6
- data/lib/active_scaffold/actions/list.rb +16 -14
- data/lib/active_scaffold/actions/search.rb +3 -3
- data/lib/active_scaffold/active_record_permissions.rb +2 -25
- data/lib/active_scaffold/attribute_params.rb +21 -44
- data/lib/active_scaffold/bridges/calendar_date_select/bridge.rb +1 -1
- data/lib/active_scaffold/bridges/date_picker/bridge.rb +2 -16
- data/lib/active_scaffold/bridges/date_picker/lib/datepicker_bridge.rb +86 -56
- data/lib/active_scaffold/bridges/file_column/bridge.rb +1 -1
- data/lib/active_scaffold/bridges/file_column/lib/as_file_column_bridge.rb +1 -1
- data/lib/active_scaffold/bridges/file_column/lib/file_column_helpers.rb +1 -1
- data/lib/active_scaffold/bridges/paperclip/bridge.rb +1 -1
- data/lib/active_scaffold/bridges/paperclip/lib/paperclip_bridge_helpers.rb +2 -2
- data/lib/active_scaffold/bridges/shared/date_bridge.rb +3 -3
- data/lib/active_scaffold/bridges/tiny_mce/bridge.rb +0 -12
- data/lib/active_scaffold/bridges/validation_reflection/lib/validation_reflection_bridge.rb +1 -1
- data/lib/active_scaffold/config/base.rb +1 -1
- data/lib/active_scaffold/config/core.rb +1 -8
- data/lib/active_scaffold/config/delete.rb +1 -1
- data/lib/active_scaffold/config/field_search.rb +1 -22
- data/lib/active_scaffold/config/list.rb +10 -18
- data/lib/active_scaffold/data_structures/action_link.rb +9 -0
- data/lib/active_scaffold/data_structures/action_links.rb +1 -1
- data/lib/active_scaffold/data_structures/column.rb +4 -30
- data/lib/active_scaffold/data_structures/nested_info.rb +3 -3
- data/lib/active_scaffold/data_structures/sorting.rb +1 -1
- data/lib/active_scaffold/engine.rb +8 -0
- data/lib/active_scaffold/extensions/action_controller_rendering.rb +22 -0
- data/lib/active_scaffold/extensions/action_view_rendering.rb +79 -59
- data/lib/active_scaffold/extensions/action_view_resolver.rb +4 -2
- data/lib/active_scaffold/extensions/active_association_reflection.rb +3 -3
- data/lib/active_scaffold/extensions/reverse_associations.rb +3 -3
- data/lib/active_scaffold/finder.rb +27 -39
- data/lib/active_scaffold/helpers/association_helpers.rb +3 -3
- data/lib/active_scaffold/helpers/form_column_helpers.rb +3 -3
- data/lib/active_scaffold/helpers/human_condition_helpers.rb +2 -4
- data/lib/active_scaffold/helpers/list_column_helpers.rb +16 -22
- data/lib/active_scaffold/helpers/search_column_helpers.rb +1 -1
- data/lib/active_scaffold/helpers/view_helpers.rb +35 -13
- data/lib/active_scaffold/locale/de.rb +120 -0
- data/lib/active_scaffold/locale/en.rb +119 -0
- data/lib/active_scaffold/version.rb +2 -2
- data/lib/active_scaffold.rb +12 -27
- data/lib/active_scaffold_env.rb +3 -3
- data/test/mock_app/public/stylesheets/active_scaffold/default/stylesheet.css +1 -1
- metadata +84 -86
- data/.gitignore +0 -42
- data/frontends/default/views/_render_field.js.rjs +0 -10
- data/frontends/default/views/add_existing.js.rjs +0 -17
- data/frontends/default/views/destroy.js.rjs +0 -23
- data/frontends/default/views/form_messages.js.rjs +0 -1
- data/frontends/default/views/list.js.rjs +0 -1
- data/frontends/default/views/on_action_update.js.rjs +0 -10
- data/frontends/default/views/on_create.js.rjs +0 -41
- data/frontends/default/views/on_mark_all.js.rjs +0 -12
- data/frontends/default/views/on_update.js.rjs +0 -28
- data/frontends/default/views/update_column.js.rjs +0 -13
- data/frontends/default/views/update_row.js.rjs +0 -1
- data/lib/active_scaffold/bridges/date_picker/public/javascripts/date_picker_bridge.js +0 -36
- data/lib/active_scaffold/bridges/tiny_mce/public/javascripts/prototype/tiny_mce_bridge.js +0 -21
- data/lib/active_scaffold/locale/de.yml +0 -120
- data/lib/active_scaffold/locale/en.yml +0 -115
- data/lib/active_scaffold_assets.rb +0 -45
data/Gemfile
CHANGED
@@ -2,4 +2,12 @@ source "http://rubygems.org"
|
|
2
2
|
# Add dependencies required to use your gem here.
|
3
3
|
# Example:
|
4
4
|
# gem "activesupport", ">= 2.3.5"
|
5
|
-
|
5
|
+
|
6
|
+
# Add dependencies to develop your gem here.
|
7
|
+
# Include everything needed to run rake, tests, features, etc.
|
8
|
+
group :development do
|
9
|
+
gem "shoulda", ">= 0"
|
10
|
+
gem "bundler", "~> 1.0.0"
|
11
|
+
gem "jeweler", "~> 1.5.2"
|
12
|
+
gem "rcov", ">= 0"
|
13
|
+
end
|
data/Gemfile.lock
CHANGED
@@ -1,91 +1,20 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
active_scaffold_vho (3.0.28)
|
5
|
-
kaminari
|
6
|
-
rails (~> 3.0.0)
|
7
|
-
|
8
1
|
GEM
|
9
2
|
remote: http://rubygems.org/
|
10
3
|
specs:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
activesupport (= 3.0.9)
|
18
|
-
builder (~> 2.1.2)
|
19
|
-
erubis (~> 2.6.6)
|
20
|
-
i18n (~> 0.5.0)
|
21
|
-
rack (~> 1.2.1)
|
22
|
-
rack-mount (~> 0.6.14)
|
23
|
-
rack-test (~> 0.5.7)
|
24
|
-
tzinfo (~> 0.3.23)
|
25
|
-
activemodel (3.0.9)
|
26
|
-
activesupport (= 3.0.9)
|
27
|
-
builder (~> 2.1.2)
|
28
|
-
i18n (~> 0.5.0)
|
29
|
-
activerecord (3.0.9)
|
30
|
-
activemodel (= 3.0.9)
|
31
|
-
activesupport (= 3.0.9)
|
32
|
-
arel (~> 2.0.10)
|
33
|
-
tzinfo (~> 0.3.23)
|
34
|
-
activeresource (3.0.9)
|
35
|
-
activemodel (= 3.0.9)
|
36
|
-
activesupport (= 3.0.9)
|
37
|
-
activesupport (3.0.9)
|
38
|
-
arel (2.0.10)
|
39
|
-
builder (2.1.2)
|
40
|
-
erubis (2.6.6)
|
41
|
-
abstract (>= 1.0.0)
|
42
|
-
i18n (0.5.0)
|
43
|
-
json (1.7.6)
|
44
|
-
kaminari (0.14.1)
|
45
|
-
actionpack (>= 3.0.0)
|
46
|
-
activesupport (>= 3.0.0)
|
47
|
-
mail (2.2.19)
|
48
|
-
activesupport (>= 2.3.6)
|
49
|
-
i18n (>= 0.4.0)
|
50
|
-
mime-types (~> 1.16)
|
51
|
-
treetop (~> 1.4.8)
|
52
|
-
mime-types (1.19)
|
53
|
-
polyglot (0.3.3)
|
54
|
-
rack (1.2.7)
|
55
|
-
rack-mount (0.6.14)
|
56
|
-
rack (>= 1.0.0)
|
57
|
-
rack-test (0.5.7)
|
58
|
-
rack (>= 1.0)
|
59
|
-
rails (3.0.9)
|
60
|
-
actionmailer (= 3.0.9)
|
61
|
-
actionpack (= 3.0.9)
|
62
|
-
activerecord (= 3.0.9)
|
63
|
-
activeresource (= 3.0.9)
|
64
|
-
activesupport (= 3.0.9)
|
65
|
-
bundler (~> 1.0)
|
66
|
-
railties (= 3.0.9)
|
67
|
-
railties (3.0.9)
|
68
|
-
actionpack (= 3.0.9)
|
69
|
-
activesupport (= 3.0.9)
|
70
|
-
rake (>= 0.8.7)
|
71
|
-
rdoc (~> 3.4)
|
72
|
-
thor (~> 0.14.4)
|
73
|
-
rake (10.0.3)
|
4
|
+
git (1.2.5)
|
5
|
+
jeweler (1.5.2)
|
6
|
+
bundler (~> 1.0.0)
|
7
|
+
git (>= 1.2.5)
|
8
|
+
rake
|
9
|
+
rake (0.8.7)
|
74
10
|
rcov (0.9.9)
|
75
|
-
rdoc (3.12)
|
76
|
-
json (~> 1.4)
|
77
11
|
shoulda (2.11.3)
|
78
|
-
thor (0.14.6)
|
79
|
-
treetop (1.4.12)
|
80
|
-
polyglot
|
81
|
-
polyglot (>= 0.3.1)
|
82
|
-
tzinfo (0.3.35)
|
83
12
|
|
84
13
|
PLATFORMS
|
85
14
|
ruby
|
86
15
|
|
87
16
|
DEPENDENCIES
|
88
|
-
|
89
|
-
|
17
|
+
bundler (~> 1.0.0)
|
18
|
+
jeweler (~> 1.5.2)
|
90
19
|
rcov
|
91
20
|
shoulda
|
data/Rakefile
CHANGED
@@ -7,36 +7,33 @@ rescue Bundler::BundlerError => e
|
|
7
7
|
$stderr.puts "Run `bundle install` to install missing gems"
|
8
8
|
exit e.status_code
|
9
9
|
end
|
10
|
-
Bundler::GemHelper.install_tasks
|
11
10
|
require 'rake'
|
12
11
|
require 'rake/testtask'
|
13
|
-
require '
|
12
|
+
require 'rake/packagetask'
|
13
|
+
require 'rake/rdoctask'
|
14
14
|
require 'find'
|
15
15
|
|
16
|
+
require 'jeweler'
|
16
17
|
require './lib/active_scaffold/version.rb'
|
17
18
|
|
18
|
-
|
19
|
-
#Jeweler::Tasks.new do |gem|
|
19
|
+
Jeweler::Tasks.new do |gem|
|
20
20
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
# gem.add_runtime_dependency 'rails', '~> 3.0.0'
|
21
|
+
gem.name = "active_scaffold_vho"
|
22
|
+
gem.version = ActiveScaffold::Version::STRING
|
23
|
+
gem.homepage = "http://github.com/vhochstein/active_scaffold"
|
24
|
+
gem.license = "MIT"
|
25
|
+
gem.summary = %Q{Rails 3.1 Version of activescaffold supporting prototype and jquery}
|
26
|
+
gem.description = %Q{Save time and headaches, and create a more easily maintainable set of pages, with ActiveScaffold. ActiveScaffold handles all your CRUD (create, read, update, delete) user interface needs, leaving you more time to focus on more challenging (and interesting!) problems.}
|
27
|
+
gem.email = "activescaffold@googlegroups.com"
|
28
|
+
gem.authors = ["Many, see README"]
|
29
|
+
gem.add_runtime_dependency 'render_component_vho'
|
30
|
+
gem.add_runtime_dependency 'rails', '~> 3.1.0'
|
32
31
|
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
33
32
|
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
|
34
33
|
# gem.add_runtime_dependency 'jabber4r', '> 0.1'
|
35
34
|
# gem.add_development_dependency 'rspec', '> 1.2.3'
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
35
|
+
end
|
36
|
+
Jeweler::RubygemsDotOrgTasks.new
|
40
37
|
|
41
38
|
desc 'Test ActiveScaffold.'
|
42
39
|
Rake::TestTask.new(:test) do |t|
|
@@ -52,4 +49,4 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
|
|
52
49
|
rdoc.options << '--line-numbers' << '--inline-source'
|
53
50
|
rdoc.rdoc_files.include('README*')
|
54
51
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
55
|
-
end
|
52
|
+
end
|
data/active_scaffold_vho.gemspec
CHANGED
@@ -1,32 +1,391 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
1
4
|
# -*- encoding: utf-8 -*-
|
2
|
-
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
3
|
-
require 'active_scaffold/version'
|
4
5
|
|
5
6
|
Gem::Specification.new do |s|
|
6
7
|
s.name = %q{active_scaffold_vho}
|
7
|
-
s.version =
|
8
|
-
|
8
|
+
s.version = "3.1.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
11
|
s.authors = ["Many, see README"]
|
12
|
+
s.date = %q{2011-11-05}
|
10
13
|
s.description = %q{Save time and headaches, and create a more easily maintainable set of pages, with ActiveScaffold. ActiveScaffold handles all your CRUD (create, read, update, delete) user interface needs, leaving you more time to focus on more challenging (and interesting!) problems.}
|
11
14
|
s.email = %q{activescaffold@googlegroups.com}
|
12
15
|
s.extra_rdoc_files = [
|
13
16
|
"README"
|
14
17
|
]
|
15
|
-
s.files =
|
16
|
-
|
17
|
-
|
18
|
+
s.files = [
|
19
|
+
".autotest",
|
20
|
+
".document",
|
21
|
+
"CHANGELOG",
|
22
|
+
"Gemfile",
|
23
|
+
"Gemfile.lock",
|
24
|
+
"MIT-LICENSE",
|
25
|
+
"README",
|
26
|
+
"Rakefile",
|
27
|
+
"active_scaffold_vho.gemspec",
|
28
|
+
"app/assets/images/add.gif",
|
29
|
+
"app/assets/images/arrow_down.gif",
|
30
|
+
"app/assets/images/arrow_up.gif",
|
31
|
+
"app/assets/images/close.gif",
|
32
|
+
"app/assets/images/close_touch.png",
|
33
|
+
"app/assets/images/config.png",
|
34
|
+
"app/assets/images/cross.png",
|
35
|
+
"app/assets/images/gears.png",
|
36
|
+
"app/assets/images/indicator-small.gif",
|
37
|
+
"app/assets/images/indicator.gif",
|
38
|
+
"app/assets/images/magnifier.png",
|
39
|
+
"app/assets/javascripts/active_scaffold.js.erb",
|
40
|
+
"app/assets/javascripts/jquery/active_scaffold.js",
|
41
|
+
"app/assets/javascripts/jquery/date_picker_bridge.js.erb",
|
42
|
+
"app/assets/javascripts/jquery/jquery-ui-timepicker-addon.js",
|
43
|
+
"app/assets/javascripts/jquery/jquery.editinplace.js",
|
44
|
+
"app/assets/javascripts/jquery/tiny_mce_bridge.js",
|
45
|
+
"app/assets/javascripts/prototype/active_scaffold.js",
|
46
|
+
"app/assets/javascripts/prototype/dhtml_history.js",
|
47
|
+
"app/assets/javascripts/prototype/form_enhancements.js",
|
48
|
+
"app/assets/javascripts/prototype/rico_corner.js",
|
49
|
+
"app/assets/stylesheets/active_scaffold-ie.css",
|
50
|
+
"app/assets/stylesheets/active_scaffold.css.erb",
|
51
|
+
"app/assets/stylesheets/jquery-ui-timepicker-addon.css",
|
52
|
+
"frontends/default/views/_action_group.html.erb",
|
53
|
+
"frontends/default/views/_add_existing_form.html.erb",
|
54
|
+
"frontends/default/views/_base_form.html.erb",
|
55
|
+
"frontends/default/views/_create_form.html.erb",
|
56
|
+
"frontends/default/views/_create_form_on_list.html.erb",
|
57
|
+
"frontends/default/views/_field_search.html.erb",
|
58
|
+
"frontends/default/views/_form.html.erb",
|
59
|
+
"frontends/default/views/_form_association.html.erb",
|
60
|
+
"frontends/default/views/_form_association_footer.html.erb",
|
61
|
+
"frontends/default/views/_form_attribute.html.erb",
|
62
|
+
"frontends/default/views/_form_hidden_attribute.html.erb",
|
63
|
+
"frontends/default/views/_form_messages.html.erb",
|
64
|
+
"frontends/default/views/_horizontal_subform.html.erb",
|
65
|
+
"frontends/default/views/_horizontal_subform_header.html.erb",
|
66
|
+
"frontends/default/views/_horizontal_subform_record.html.erb",
|
67
|
+
"frontends/default/views/_human_conditions.html.erb",
|
68
|
+
"frontends/default/views/_list.html.erb",
|
69
|
+
"frontends/default/views/_list_actions.html.erb",
|
70
|
+
"frontends/default/views/_list_calculations.html.erb",
|
71
|
+
"frontends/default/views/_list_column_headings.html.erb",
|
72
|
+
"frontends/default/views/_list_header.html.erb",
|
73
|
+
"frontends/default/views/_list_inline_adapter.html.erb",
|
74
|
+
"frontends/default/views/_list_messages.html.erb",
|
75
|
+
"frontends/default/views/_list_pagination.html.erb",
|
76
|
+
"frontends/default/views/_list_pagination_links.html.erb",
|
77
|
+
"frontends/default/views/_list_record.html.erb",
|
78
|
+
"frontends/default/views/_list_record_columns.html.erb",
|
79
|
+
"frontends/default/views/_list_with_header.html.erb",
|
80
|
+
"frontends/default/views/_messages.html.erb",
|
81
|
+
"frontends/default/views/_render_field.js.erb",
|
82
|
+
"frontends/default/views/_row.html.erb",
|
83
|
+
"frontends/default/views/_search.html.erb",
|
84
|
+
"frontends/default/views/_search_attribute.html.erb",
|
85
|
+
"frontends/default/views/_show.html.erb",
|
86
|
+
"frontends/default/views/_show_columns.html.erb",
|
87
|
+
"frontends/default/views/_update_actions.html.erb",
|
88
|
+
"frontends/default/views/_update_form.html.erb",
|
89
|
+
"frontends/default/views/_vertical_subform.html.erb",
|
90
|
+
"frontends/default/views/_vertical_subform_record.html.erb",
|
91
|
+
"frontends/default/views/action_confirmation.html.erb",
|
92
|
+
"frontends/default/views/add_existing.js.erb",
|
93
|
+
"frontends/default/views/add_existing_form.html.erb",
|
94
|
+
"frontends/default/views/create.html.erb",
|
95
|
+
"frontends/default/views/delete.html.erb",
|
96
|
+
"frontends/default/views/destroy.js.erb",
|
97
|
+
"frontends/default/views/edit_associated.js.erb",
|
98
|
+
"frontends/default/views/field_search.html.erb",
|
99
|
+
"frontends/default/views/form_messages.js.erb",
|
100
|
+
"frontends/default/views/list.html.erb",
|
101
|
+
"frontends/default/views/list.js.erb",
|
102
|
+
"frontends/default/views/on_action_update.js.erb",
|
103
|
+
"frontends/default/views/on_create.js.erb",
|
104
|
+
"frontends/default/views/on_mark_all.js.erb",
|
105
|
+
"frontends/default/views/on_update.js.erb",
|
106
|
+
"frontends/default/views/search.html.erb",
|
107
|
+
"frontends/default/views/show.html.erb",
|
108
|
+
"frontends/default/views/update.html.erb",
|
109
|
+
"frontends/default/views/update_column.js.erb",
|
110
|
+
"frontends/default/views/update_row.js.erb",
|
111
|
+
"init.rb",
|
112
|
+
"lib/active_scaffold.rb",
|
113
|
+
"lib/active_scaffold/actions/common_search.rb",
|
114
|
+
"lib/active_scaffold/actions/core.rb",
|
115
|
+
"lib/active_scaffold/actions/create.rb",
|
116
|
+
"lib/active_scaffold/actions/delete.rb",
|
117
|
+
"lib/active_scaffold/actions/field_search.rb",
|
118
|
+
"lib/active_scaffold/actions/list.rb",
|
119
|
+
"lib/active_scaffold/actions/mark.rb",
|
120
|
+
"lib/active_scaffold/actions/nested.rb",
|
121
|
+
"lib/active_scaffold/actions/search.rb",
|
122
|
+
"lib/active_scaffold/actions/show.rb",
|
123
|
+
"lib/active_scaffold/actions/subform.rb",
|
124
|
+
"lib/active_scaffold/actions/update.rb",
|
125
|
+
"lib/active_scaffold/active_record_permissions.rb",
|
126
|
+
"lib/active_scaffold/attribute_params.rb",
|
127
|
+
"lib/active_scaffold/bridges/ancestry/bridge.rb",
|
128
|
+
"lib/active_scaffold/bridges/ancestry/lib/ancestry_bridge.rb",
|
129
|
+
"lib/active_scaffold/bridges/bridge.rb",
|
130
|
+
"lib/active_scaffold/bridges/calendar_date_select/bridge.rb",
|
131
|
+
"lib/active_scaffold/bridges/calendar_date_select/lib/as_cds_bridge.rb",
|
132
|
+
"lib/active_scaffold/bridges/cancan/bridge.rb",
|
133
|
+
"lib/active_scaffold/bridges/cancan/lib/cancan_bridge.rb",
|
134
|
+
"lib/active_scaffold/bridges/carrierwave/bridge.rb",
|
135
|
+
"lib/active_scaffold/bridges/carrierwave/lib/carrierwave_bridge.rb",
|
136
|
+
"lib/active_scaffold/bridges/carrierwave/lib/carrierwave_bridge_helpers.rb",
|
137
|
+
"lib/active_scaffold/bridges/carrierwave/lib/form_ui.rb",
|
138
|
+
"lib/active_scaffold/bridges/carrierwave/lib/list_ui.rb",
|
139
|
+
"lib/active_scaffold/bridges/country_helper/bridge.rb",
|
140
|
+
"lib/active_scaffold/bridges/country_helper/lib/country_helper_bridge.rb",
|
141
|
+
"lib/active_scaffold/bridges/date_picker/bridge.rb",
|
142
|
+
"lib/active_scaffold/bridges/date_picker/lib/datepicker_bridge.rb",
|
143
|
+
"lib/active_scaffold/bridges/file_column/bridge.rb",
|
144
|
+
"lib/active_scaffold/bridges/file_column/lib/as_file_column_bridge.rb",
|
145
|
+
"lib/active_scaffold/bridges/file_column/lib/file_column_helpers.rb",
|
146
|
+
"lib/active_scaffold/bridges/file_column/lib/form_ui.rb",
|
147
|
+
"lib/active_scaffold/bridges/file_column/lib/list_ui.rb",
|
148
|
+
"lib/active_scaffold/bridges/file_column/test/functional/file_column_keep_test.rb",
|
149
|
+
"lib/active_scaffold/bridges/file_column/test/mock_model.rb",
|
150
|
+
"lib/active_scaffold/bridges/file_column/test/test_helper.rb",
|
151
|
+
"lib/active_scaffold/bridges/paperclip/bridge.rb",
|
152
|
+
"lib/active_scaffold/bridges/paperclip/lib/form_ui.rb",
|
153
|
+
"lib/active_scaffold/bridges/paperclip/lib/list_ui.rb",
|
154
|
+
"lib/active_scaffold/bridges/paperclip/lib/paperclip_bridge.rb",
|
155
|
+
"lib/active_scaffold/bridges/paperclip/lib/paperclip_bridge_helpers.rb",
|
156
|
+
"lib/active_scaffold/bridges/semantic_attributes/bridge.rb",
|
157
|
+
"lib/active_scaffold/bridges/semantic_attributes/lib/semantic_attributes_bridge.rb",
|
158
|
+
"lib/active_scaffold/bridges/shared/date_bridge.rb",
|
159
|
+
"lib/active_scaffold/bridges/tiny_mce/bridge.rb",
|
160
|
+
"lib/active_scaffold/bridges/tiny_mce/lib/tiny_mce_bridge.rb",
|
161
|
+
"lib/active_scaffold/bridges/validation_reflection/bridge.rb",
|
162
|
+
"lib/active_scaffold/bridges/validation_reflection/lib/validation_reflection_bridge.rb",
|
163
|
+
"lib/active_scaffold/config/base.rb",
|
164
|
+
"lib/active_scaffold/config/core.rb",
|
165
|
+
"lib/active_scaffold/config/create.rb",
|
166
|
+
"lib/active_scaffold/config/delete.rb",
|
167
|
+
"lib/active_scaffold/config/field_search.rb",
|
168
|
+
"lib/active_scaffold/config/form.rb",
|
169
|
+
"lib/active_scaffold/config/list.rb",
|
170
|
+
"lib/active_scaffold/config/mark.rb",
|
171
|
+
"lib/active_scaffold/config/nested.rb",
|
172
|
+
"lib/active_scaffold/config/search.rb",
|
173
|
+
"lib/active_scaffold/config/show.rb",
|
174
|
+
"lib/active_scaffold/config/subform.rb",
|
175
|
+
"lib/active_scaffold/config/update.rb",
|
176
|
+
"lib/active_scaffold/configurable.rb",
|
177
|
+
"lib/active_scaffold/constraints.rb",
|
178
|
+
"lib/active_scaffold/data_structures/action_columns.rb",
|
179
|
+
"lib/active_scaffold/data_structures/action_link.rb",
|
180
|
+
"lib/active_scaffold/data_structures/action_links.rb",
|
181
|
+
"lib/active_scaffold/data_structures/actions.rb",
|
182
|
+
"lib/active_scaffold/data_structures/column.rb",
|
183
|
+
"lib/active_scaffold/data_structures/columns.rb",
|
184
|
+
"lib/active_scaffold/data_structures/error_message.rb",
|
185
|
+
"lib/active_scaffold/data_structures/nested_info.rb",
|
186
|
+
"lib/active_scaffold/data_structures/set.rb",
|
187
|
+
"lib/active_scaffold/data_structures/sorting.rb",
|
188
|
+
"lib/active_scaffold/engine.rb",
|
189
|
+
"lib/active_scaffold/extensions/action_controller_rendering.rb",
|
190
|
+
"lib/active_scaffold/extensions/action_view_rendering.rb",
|
191
|
+
"lib/active_scaffold/extensions/action_view_resolver.rb",
|
192
|
+
"lib/active_scaffold/extensions/active_association_reflection.rb",
|
193
|
+
"lib/active_scaffold/extensions/active_record_offset.rb",
|
194
|
+
"lib/active_scaffold/extensions/array.rb",
|
195
|
+
"lib/active_scaffold/extensions/localize.rb",
|
196
|
+
"lib/active_scaffold/extensions/name_option_for_datetime.rb",
|
197
|
+
"lib/active_scaffold/extensions/nil_id_in_url_params.rb",
|
198
|
+
"lib/active_scaffold/extensions/paginator_extensions.rb",
|
199
|
+
"lib/active_scaffold/extensions/reverse_associations.rb",
|
200
|
+
"lib/active_scaffold/extensions/routing_mapper.rb",
|
201
|
+
"lib/active_scaffold/extensions/to_label.rb",
|
202
|
+
"lib/active_scaffold/extensions/unsaved_associated.rb",
|
203
|
+
"lib/active_scaffold/extensions/unsaved_record.rb",
|
204
|
+
"lib/active_scaffold/extensions/usa_state.rb",
|
205
|
+
"lib/active_scaffold/finder.rb",
|
206
|
+
"lib/active_scaffold/helpers/association_helpers.rb",
|
207
|
+
"lib/active_scaffold/helpers/controller_helpers.rb",
|
208
|
+
"lib/active_scaffold/helpers/form_column_helpers.rb",
|
209
|
+
"lib/active_scaffold/helpers/human_condition_helpers.rb",
|
210
|
+
"lib/active_scaffold/helpers/id_helpers.rb",
|
211
|
+
"lib/active_scaffold/helpers/list_column_helpers.rb",
|
212
|
+
"lib/active_scaffold/helpers/pagination_helpers.rb",
|
213
|
+
"lib/active_scaffold/helpers/search_column_helpers.rb",
|
214
|
+
"lib/active_scaffold/helpers/show_column_helpers.rb",
|
215
|
+
"lib/active_scaffold/helpers/view_helpers.rb",
|
216
|
+
"lib/active_scaffold/locale/de.rb",
|
217
|
+
"lib/active_scaffold/locale/en.rb",
|
218
|
+
"lib/active_scaffold/locale/es.yml",
|
219
|
+
"lib/active_scaffold/locale/fr.rb",
|
220
|
+
"lib/active_scaffold/locale/hu.yml",
|
221
|
+
"lib/active_scaffold/locale/ja.yml",
|
222
|
+
"lib/active_scaffold/locale/ru.yml",
|
223
|
+
"lib/active_scaffold/marked_model.rb",
|
224
|
+
"lib/active_scaffold/paginator.rb",
|
225
|
+
"lib/active_scaffold/responds_to_parent.rb",
|
226
|
+
"lib/active_scaffold/version.rb",
|
227
|
+
"lib/active_scaffold_env.rb",
|
228
|
+
"lib/active_scaffold_vho.rb",
|
229
|
+
"lib/generators/active_scaffold/USAGE",
|
230
|
+
"lib/generators/active_scaffold/active_scaffold_generator.rb",
|
231
|
+
"lib/generators/active_scaffold_controller/USAGE",
|
232
|
+
"lib/generators/active_scaffold_controller/active_scaffold_controller_generator.rb",
|
233
|
+
"lib/generators/active_scaffold_controller/templates/controller.rb",
|
234
|
+
"lib/generators/active_scaffold_controller/templates/helper.rb",
|
235
|
+
"lib/generators/active_scaffold_setup/USAGE",
|
236
|
+
"lib/generators/active_scaffold_setup/active_scaffold_setup_generator.rb",
|
237
|
+
"public/blank.html",
|
238
|
+
"shoulda_macros/macros.rb",
|
239
|
+
"test/bridges/bridge_test.rb",
|
240
|
+
"test/config/base_test.rb",
|
241
|
+
"test/config/create_test.rb",
|
242
|
+
"test/config/list_test.rb",
|
243
|
+
"test/config/show_test.rb",
|
244
|
+
"test/config/update_test.rb",
|
245
|
+
"test/const_mocker.rb",
|
246
|
+
"test/data_structures/action_columns_test.rb",
|
247
|
+
"test/data_structures/action_link_test.rb",
|
248
|
+
"test/data_structures/action_links_test.rb",
|
249
|
+
"test/data_structures/actions_test.rb",
|
250
|
+
"test/data_structures/association_column_test.rb",
|
251
|
+
"test/data_structures/column_test.rb",
|
252
|
+
"test/data_structures/columns_test.rb",
|
253
|
+
"test/data_structures/error_message_test.rb",
|
254
|
+
"test/data_structures/set_test.rb",
|
255
|
+
"test/data_structures/sorting_test.rb",
|
256
|
+
"test/data_structures/standard_column_test.rb",
|
257
|
+
"test/data_structures/virtual_column_test.rb",
|
258
|
+
"test/extensions/active_record_test.rb",
|
259
|
+
"test/extensions/array_test.rb",
|
260
|
+
"test/helpers/form_column_helpers_test.rb",
|
261
|
+
"test/helpers/list_column_helpers_test.rb",
|
262
|
+
"test/helpers/pagination_helpers_test.rb",
|
263
|
+
"test/misc/active_record_permissions_test.rb",
|
264
|
+
"test/misc/attribute_params_test.rb",
|
265
|
+
"test/misc/configurable_test.rb",
|
266
|
+
"test/misc/constraints_test.rb",
|
267
|
+
"test/misc/finder_test.rb",
|
268
|
+
"test/misc/lang_test.rb",
|
269
|
+
"test/mock_app/.gitignore",
|
270
|
+
"test/mock_app/app/controllers/application_controller.rb",
|
271
|
+
"test/mock_app/app/helpers/application_helper.rb",
|
272
|
+
"test/mock_app/config/boot.rb",
|
273
|
+
"test/mock_app/config/database.yml",
|
274
|
+
"test/mock_app/config/environment.rb",
|
275
|
+
"test/mock_app/config/environments/development.rb",
|
276
|
+
"test/mock_app/config/environments/production.rb",
|
277
|
+
"test/mock_app/config/environments/test.rb",
|
278
|
+
"test/mock_app/config/initializers/backtrace_silencers.rb",
|
279
|
+
"test/mock_app/config/initializers/inflections.rb",
|
280
|
+
"test/mock_app/config/initializers/mime_types.rb",
|
281
|
+
"test/mock_app/config/initializers/new_rails_defaults.rb",
|
282
|
+
"test/mock_app/config/initializers/session_store.rb",
|
283
|
+
"test/mock_app/config/locales/en.yml",
|
284
|
+
"test/mock_app/config/routes.rb",
|
285
|
+
"test/mock_app/db/test.sqlite3",
|
286
|
+
"test/mock_app/public/blank.html",
|
287
|
+
"test/mock_app/public/images/active_scaffold/DO_NOT_EDIT",
|
288
|
+
"test/mock_app/public/images/active_scaffold/default/add.gif",
|
289
|
+
"test/mock_app/public/images/active_scaffold/default/arrow_down.gif",
|
290
|
+
"test/mock_app/public/images/active_scaffold/default/arrow_up.gif",
|
291
|
+
"test/mock_app/public/images/active_scaffold/default/close.gif",
|
292
|
+
"test/mock_app/public/images/active_scaffold/default/cross.png",
|
293
|
+
"test/mock_app/public/images/active_scaffold/default/indicator-small.gif",
|
294
|
+
"test/mock_app/public/images/active_scaffold/default/indicator.gif",
|
295
|
+
"test/mock_app/public/images/active_scaffold/default/magnifier.png",
|
296
|
+
"test/mock_app/public/javascripts/active_scaffold/DO_NOT_EDIT",
|
297
|
+
"test/mock_app/public/javascripts/active_scaffold/default/active_scaffold.js",
|
298
|
+
"test/mock_app/public/javascripts/active_scaffold/default/dhtml_history.js",
|
299
|
+
"test/mock_app/public/javascripts/active_scaffold/default/form_enhancements.js",
|
300
|
+
"test/mock_app/public/javascripts/active_scaffold/default/rico_corner.js",
|
301
|
+
"test/mock_app/public/stylesheets/active_scaffold/DO_NOT_EDIT",
|
302
|
+
"test/mock_app/public/stylesheets/active_scaffold/default/stylesheet-ie.css",
|
303
|
+
"test/mock_app/public/stylesheets/active_scaffold/default/stylesheet.css",
|
304
|
+
"test/model_stub.rb",
|
305
|
+
"test/run_all.rb",
|
306
|
+
"test/test_helper.rb",
|
307
|
+
"uninstall.rb"
|
308
|
+
]
|
18
309
|
s.homepage = %q{http://github.com/vhochstein/active_scaffold}
|
19
310
|
s.licenses = ["MIT"]
|
20
311
|
s.require_paths = ["lib"]
|
21
|
-
s.
|
22
|
-
|
23
|
-
s.
|
312
|
+
s.rubygems_version = %q{1.3.7}
|
313
|
+
s.summary = %q{Rails 3.1 Version of activescaffold supporting prototype and jquery}
|
314
|
+
s.test_files = [
|
315
|
+
"test/bridges/bridge_test.rb",
|
316
|
+
"test/config/base_test.rb",
|
317
|
+
"test/config/create_test.rb",
|
318
|
+
"test/config/list_test.rb",
|
319
|
+
"test/config/show_test.rb",
|
320
|
+
"test/config/update_test.rb",
|
321
|
+
"test/const_mocker.rb",
|
322
|
+
"test/data_structures/action_columns_test.rb",
|
323
|
+
"test/data_structures/action_link_test.rb",
|
324
|
+
"test/data_structures/action_links_test.rb",
|
325
|
+
"test/data_structures/actions_test.rb",
|
326
|
+
"test/data_structures/association_column_test.rb",
|
327
|
+
"test/data_structures/column_test.rb",
|
328
|
+
"test/data_structures/columns_test.rb",
|
329
|
+
"test/data_structures/error_message_test.rb",
|
330
|
+
"test/data_structures/set_test.rb",
|
331
|
+
"test/data_structures/sorting_test.rb",
|
332
|
+
"test/data_structures/standard_column_test.rb",
|
333
|
+
"test/data_structures/virtual_column_test.rb",
|
334
|
+
"test/extensions/active_record_test.rb",
|
335
|
+
"test/extensions/array_test.rb",
|
336
|
+
"test/helpers/form_column_helpers_test.rb",
|
337
|
+
"test/helpers/list_column_helpers_test.rb",
|
338
|
+
"test/helpers/pagination_helpers_test.rb",
|
339
|
+
"test/misc/active_record_permissions_test.rb",
|
340
|
+
"test/misc/attribute_params_test.rb",
|
341
|
+
"test/misc/configurable_test.rb",
|
342
|
+
"test/misc/constraints_test.rb",
|
343
|
+
"test/misc/finder_test.rb",
|
344
|
+
"test/misc/lang_test.rb",
|
345
|
+
"test/mock_app/app/controllers/application_controller.rb",
|
346
|
+
"test/mock_app/app/helpers/application_helper.rb",
|
347
|
+
"test/mock_app/config/boot.rb",
|
348
|
+
"test/mock_app/config/environment.rb",
|
349
|
+
"test/mock_app/config/environments/development.rb",
|
350
|
+
"test/mock_app/config/environments/production.rb",
|
351
|
+
"test/mock_app/config/environments/test.rb",
|
352
|
+
"test/mock_app/config/initializers/backtrace_silencers.rb",
|
353
|
+
"test/mock_app/config/initializers/inflections.rb",
|
354
|
+
"test/mock_app/config/initializers/mime_types.rb",
|
355
|
+
"test/mock_app/config/initializers/new_rails_defaults.rb",
|
356
|
+
"test/mock_app/config/initializers/session_store.rb",
|
357
|
+
"test/mock_app/config/routes.rb",
|
358
|
+
"test/model_stub.rb",
|
359
|
+
"test/run_all.rb",
|
360
|
+
"test/test_helper.rb"
|
361
|
+
]
|
24
362
|
|
25
|
-
s.
|
26
|
-
|
27
|
-
|
363
|
+
if s.respond_to? :specification_version then
|
364
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
365
|
+
s.specification_version = 3
|
28
366
|
|
29
|
-
|
30
|
-
|
367
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
368
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
369
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
370
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
371
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
372
|
+
s.add_runtime_dependency(%q<render_component_vho>, [">= 0"])
|
373
|
+
s.add_runtime_dependency(%q<rails>, ["~> 3.1.0"])
|
374
|
+
else
|
375
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
376
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
377
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
378
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
379
|
+
s.add_dependency(%q<render_component_vho>, [">= 0"])
|
380
|
+
s.add_dependency(%q<rails>, ["~> 3.1.0"])
|
381
|
+
end
|
382
|
+
else
|
383
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
384
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
385
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
386
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
387
|
+
s.add_dependency(%q<render_component_vho>, [">= 0"])
|
388
|
+
s.add_dependency(%q<rails>, ["~> 3.1.0"])
|
389
|
+
end
|
31
390
|
end
|
32
391
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<% if ActiveScaffold.js_framework == :jquery %>
|
2
|
+
<% require_asset "jquery/active_scaffold" %>
|
3
|
+
<% require_asset "jquery/jquery.editinplace" %>
|
4
|
+
<% require_asset "jquery/jquery-ui-timepicker-addon.js" %>
|
5
|
+
<% require_asset "jquery/date_picker_bridge" %>
|
6
|
+
<% require_asset "jquery/tiny_mce_bridge" %>
|
7
|
+
<% else %>
|
8
|
+
<% require_asset "prototype/active_scaffold" %>
|
9
|
+
<% require_asset "prototype/dhtml_history" %>
|
10
|
+
<% require_asset "prototype/form_enhancements" %>
|
11
|
+
<% require_asset "prototype/rico_corner" %>
|
12
|
+
<% end %>
|