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.
Files changed (119) hide show
  1. data/Gemfile +9 -1
  2. data/Gemfile.lock +8 -79
  3. data/Rakefile +17 -20
  4. data/active_scaffold_vho.gemspec +374 -15
  5. data/{frontends/default → app/assets}/images/add.gif +0 -0
  6. data/{frontends/default → app/assets}/images/arrow_down.gif +0 -0
  7. data/{frontends/default → app/assets}/images/arrow_up.gif +0 -0
  8. data/{frontends/default → app/assets}/images/close.gif +0 -0
  9. data/{frontends/default → app/assets}/images/close_touch.png +0 -0
  10. data/{frontends/default → app/assets}/images/config.png +0 -0
  11. data/{frontends/default → app/assets}/images/cross.png +0 -0
  12. data/{frontends/default → app/assets}/images/gears.png +0 -0
  13. data/{frontends/default → app/assets}/images/indicator-small.gif +0 -0
  14. data/{frontends/default → app/assets}/images/indicator.gif +0 -0
  15. data/{frontends/default → app/assets}/images/magnifier.png +0 -0
  16. data/app/assets/javascripts/active_scaffold.js.erb +12 -0
  17. data/{frontends/default → app/assets}/javascripts/jquery/active_scaffold.js +73 -245
  18. data/app/assets/javascripts/jquery/date_picker_bridge.js.erb +24 -0
  19. data/app/assets/javascripts/jquery/jquery-ui-timepicker-addon.js +1060 -0
  20. data/{frontends/default → app/assets}/javascripts/jquery/jquery.editinplace.js +1 -1
  21. data/{lib/active_scaffold/bridges/tiny_mce/public → app/assets}/javascripts/jquery/tiny_mce_bridge.js +4 -3
  22. data/{frontends/default → app/assets}/javascripts/prototype/active_scaffold.js +36 -122
  23. data/{frontends/default → app/assets}/javascripts/prototype/dhtml_history.js +0 -0
  24. data/{frontends/default → app/assets}/javascripts/prototype/form_enhancements.js +0 -0
  25. data/{frontends/default → app/assets}/javascripts/prototype/rico_corner.js +0 -0
  26. data/{frontends/default/stylesheets/stylesheet-ie.css → app/assets/stylesheets/active_scaffold-ie.css} +0 -0
  27. data/{frontends/default/stylesheets/stylesheet.css → app/assets/stylesheets/active_scaffold.css.erb} +24 -22
  28. data/app/assets/stylesheets/jquery-ui-timepicker-addon.css +6 -0
  29. data/frontends/default/views/_action_group.html.erb +1 -1
  30. data/frontends/default/views/_base_form.html.erb +1 -1
  31. data/frontends/default/views/_form_association_footer.html.erb +11 -7
  32. data/frontends/default/views/_horizontal_subform_record.html.erb +5 -9
  33. data/frontends/default/views/_list.html.erb +1 -2
  34. data/frontends/default/views/_list_inline_adapter.html.erb +10 -0
  35. data/frontends/default/views/_list_messages.html.erb +2 -2
  36. data/frontends/default/views/_list_pagination.html.erb +6 -3
  37. data/frontends/default/views/_list_pagination_links.html.erb +9 -0
  38. data/frontends/default/views/_list_record.html.erb +2 -1
  39. data/frontends/default/views/_list_record_columns.html.erb +2 -1
  40. data/frontends/default/views/_list_with_header.html.erb +1 -1
  41. data/frontends/default/views/_messages.html.erb +0 -1
  42. data/frontends/default/views/_render_field.js.erb +13 -0
  43. data/frontends/default/views/_vertical_subform_record.html.erb +5 -9
  44. data/frontends/default/views/add_existing.js.erb +20 -0
  45. data/frontends/default/views/destroy.js.erb +24 -0
  46. data/frontends/default/views/{edit_associated.js.rjs → edit_associated.js.erb} +3 -2
  47. data/frontends/default/views/form_messages.js.erb +1 -0
  48. data/frontends/default/views/list.js.erb +1 -0
  49. data/frontends/default/views/on_action_update.js.erb +13 -0
  50. data/frontends/default/views/on_create.js.erb +45 -0
  51. data/frontends/default/views/on_mark_all.js.erb +12 -0
  52. data/frontends/default/views/on_update.js.erb +31 -0
  53. data/frontends/default/views/update_column.js.erb +16 -0
  54. data/frontends/default/views/update_row.js.erb +1 -0
  55. data/init.rb +1 -7
  56. data/lib/active_scaffold/actions/delete.rb +3 -5
  57. data/lib/active_scaffold/actions/field_search.rb +2 -6
  58. data/lib/active_scaffold/actions/list.rb +16 -14
  59. data/lib/active_scaffold/actions/search.rb +3 -3
  60. data/lib/active_scaffold/active_record_permissions.rb +2 -25
  61. data/lib/active_scaffold/attribute_params.rb +21 -44
  62. data/lib/active_scaffold/bridges/calendar_date_select/bridge.rb +1 -1
  63. data/lib/active_scaffold/bridges/date_picker/bridge.rb +2 -16
  64. data/lib/active_scaffold/bridges/date_picker/lib/datepicker_bridge.rb +86 -56
  65. data/lib/active_scaffold/bridges/file_column/bridge.rb +1 -1
  66. data/lib/active_scaffold/bridges/file_column/lib/as_file_column_bridge.rb +1 -1
  67. data/lib/active_scaffold/bridges/file_column/lib/file_column_helpers.rb +1 -1
  68. data/lib/active_scaffold/bridges/paperclip/bridge.rb +1 -1
  69. data/lib/active_scaffold/bridges/paperclip/lib/paperclip_bridge_helpers.rb +2 -2
  70. data/lib/active_scaffold/bridges/shared/date_bridge.rb +3 -3
  71. data/lib/active_scaffold/bridges/tiny_mce/bridge.rb +0 -12
  72. data/lib/active_scaffold/bridges/validation_reflection/lib/validation_reflection_bridge.rb +1 -1
  73. data/lib/active_scaffold/config/base.rb +1 -1
  74. data/lib/active_scaffold/config/core.rb +1 -8
  75. data/lib/active_scaffold/config/delete.rb +1 -1
  76. data/lib/active_scaffold/config/field_search.rb +1 -22
  77. data/lib/active_scaffold/config/list.rb +10 -18
  78. data/lib/active_scaffold/data_structures/action_link.rb +9 -0
  79. data/lib/active_scaffold/data_structures/action_links.rb +1 -1
  80. data/lib/active_scaffold/data_structures/column.rb +4 -30
  81. data/lib/active_scaffold/data_structures/nested_info.rb +3 -3
  82. data/lib/active_scaffold/data_structures/sorting.rb +1 -1
  83. data/lib/active_scaffold/engine.rb +8 -0
  84. data/lib/active_scaffold/extensions/action_controller_rendering.rb +22 -0
  85. data/lib/active_scaffold/extensions/action_view_rendering.rb +79 -59
  86. data/lib/active_scaffold/extensions/action_view_resolver.rb +4 -2
  87. data/lib/active_scaffold/extensions/active_association_reflection.rb +3 -3
  88. data/lib/active_scaffold/extensions/reverse_associations.rb +3 -3
  89. data/lib/active_scaffold/finder.rb +27 -39
  90. data/lib/active_scaffold/helpers/association_helpers.rb +3 -3
  91. data/lib/active_scaffold/helpers/form_column_helpers.rb +3 -3
  92. data/lib/active_scaffold/helpers/human_condition_helpers.rb +2 -4
  93. data/lib/active_scaffold/helpers/list_column_helpers.rb +16 -22
  94. data/lib/active_scaffold/helpers/search_column_helpers.rb +1 -1
  95. data/lib/active_scaffold/helpers/view_helpers.rb +35 -13
  96. data/lib/active_scaffold/locale/de.rb +120 -0
  97. data/lib/active_scaffold/locale/en.rb +119 -0
  98. data/lib/active_scaffold/version.rb +2 -2
  99. data/lib/active_scaffold.rb +12 -27
  100. data/lib/active_scaffold_env.rb +3 -3
  101. data/test/mock_app/public/stylesheets/active_scaffold/default/stylesheet.css +1 -1
  102. metadata +84 -86
  103. data/.gitignore +0 -42
  104. data/frontends/default/views/_render_field.js.rjs +0 -10
  105. data/frontends/default/views/add_existing.js.rjs +0 -17
  106. data/frontends/default/views/destroy.js.rjs +0 -23
  107. data/frontends/default/views/form_messages.js.rjs +0 -1
  108. data/frontends/default/views/list.js.rjs +0 -1
  109. data/frontends/default/views/on_action_update.js.rjs +0 -10
  110. data/frontends/default/views/on_create.js.rjs +0 -41
  111. data/frontends/default/views/on_mark_all.js.rjs +0 -12
  112. data/frontends/default/views/on_update.js.rjs +0 -28
  113. data/frontends/default/views/update_column.js.rjs +0 -13
  114. data/frontends/default/views/update_row.js.rjs +0 -1
  115. data/lib/active_scaffold/bridges/date_picker/public/javascripts/date_picker_bridge.js +0 -36
  116. data/lib/active_scaffold/bridges/tiny_mce/public/javascripts/prototype/tiny_mce_bridge.js +0 -21
  117. data/lib/active_scaffold/locale/de.yml +0 -120
  118. data/lib/active_scaffold/locale/en.yml +0 -115
  119. data/lib/active_scaffold_assets.rb +0 -45
@@ -0,0 +1,120 @@
1
+ {
2
+ :'de' => {
3
+ :active_scaffold => {
4
+ :add => 'Hinzufügen',
5
+ :add_existing => 'Existierenden Eintrag hinzufügen',
6
+ :add_existing_model => 'Existierende %{model} hinzufügen',
7
+ :are_you_sure_to_delete => 'Sind Sie sicher?',
8
+ :cancel => 'Abbrechen',
9
+ :click_to_edit => 'Zum Editieren anklicken',
10
+ :click_to_reset => 'Reset',
11
+ :close => 'Schliessen',
12
+ :config_list => 'Konfigurieren',
13
+ :config_list_model => 'Konfiguriere Spalten für %{model}',
14
+ :create => 'Anlegen',
15
+ :create_model => 'Lege %{model} an',
16
+ :create_another => 'Weitere anlegen',
17
+ :created_model => '%{model} angelegt',
18
+ :create_new => 'Neu anlegen',
19
+ :customize => 'Anpassen',
20
+ :delete => 'Löschen',
21
+ :deleted_model => '%{model} gelöscht',
22
+ :delimiter => 'Trennzeichen',
23
+ :download => 'Download',
24
+ :edit => 'Bearbeiten',
25
+ :export => 'Exportieren',
26
+ :nested_for_model => '%{nested_model} für %{parent_model}',
27
+ :nested_of_model => '%{nested_model} von %{parent_model}',
28
+ :filtered => '(Gefiltert)',
29
+ :found => 'Gefunden',
30
+ :hide => 'Verstecken',
31
+ :live_search => 'Live-Suche',
32
+ :loading => 'Lade…',
33
+ :next => 'Vor',
34
+ :no_entries => 'Keine Einträge',
35
+ :no_options => 'Keine Optionen',
36
+ :omit_header => 'Lasse Header weg',
37
+ :options => 'Optionen',
38
+ :pdf => 'PDF',
39
+ :previous => 'Zurück',
40
+ :print => 'Drucken',
41
+ :refresh => 'Neu laden',
42
+ :remove => 'Entfernen',
43
+ :remove_file => 'Entferne oder Ersetze Datei',
44
+ :replace_with_new => 'Mit Neuer ersetzen',
45
+ :revisions_for_model => 'Revisionen für %{model}',
46
+ :reset => 'Zurücksetzen',
47
+ :saving => 'Speichern…',
48
+ :search => 'Suche',
49
+ :search_terms => 'Suchbegriffe',
50
+ :_select_ => '- Auswählen -',
51
+ :show => 'Anzeigen',
52
+ :show_model => 'Zeige %{model} an',
53
+ :_to_ => ' zu ',
54
+ :update => 'Speichern',
55
+ :update_model => 'Editiere %{model}',
56
+ :updated_model => '%{model} aktualisiert',
57
+ :'=' => '=',
58
+ :'>=' => '>=',
59
+ :'<=' => '<=',
60
+ :'>' => '>',
61
+ :'<' => '<',
62
+ :'!=' => '!=',
63
+ :between => 'Zwischen',
64
+ :contains => 'Enthält',
65
+ :begins_with => 'Beginnt',
66
+ :ends_with => 'Ended',
67
+ :today => 'Heute',
68
+ :yesterday => 'Gestern',
69
+ :tomorrow => 'Morgen',
70
+ :this_week => 'Diese Woche',
71
+ :prev_week => 'Letzte Woche',
72
+ :next_week => 'Nächste Woche',
73
+ :this_month => 'Diesen Monat',
74
+ :prev_month => 'Letzten Monat',
75
+ :next_month => 'Nächsten Monat',
76
+ :this_year => 'Dieses Jahr',
77
+ :prev_year => 'Letztes Jahr',
78
+ :next_year => 'Nächstes Jahr',
79
+ :past => 'Letzten',
80
+ :future => 'Nächsten',
81
+ :range => 'Zeitraum',
82
+ :seconds => 'Sekunden',
83
+ :minutes => 'Minuten',
84
+ :hours => 'Stunden',
85
+ :days => 'Tage',
86
+ :weeks => 'Wochen',
87
+ :months => 'Monate',
88
+ :years => 'Jahre',
89
+ :optional_attributes => 'Weitere',
90
+ :null => 'Null',
91
+ :not_null => 'Nicht Null',
92
+ :date_picker_options => {
93
+ :weekHeader => 'Wo',
94
+ :firstDay => 1,
95
+ :isRTL => false,
96
+ :showMonthAfterYear => false
97
+ },
98
+ :datetime_picker_options => {
99
+ :timeText => 'Uhrzeit',
100
+ :currentText => 'Jetzt',
101
+ :closeText => 'Schließen'
102
+ },
103
+ :errors => {
104
+ :template => {
105
+ :header => {
106
+ :one => "Konnte %{model} nicht speichern: ein Fehler.",
107
+ :other => "Konnte %{model} nicht speichern: %{count} Fehler."
108
+ },
109
+ :body => "Bitte überprüfen Sie die folgenden Felder:"
110
+ }
111
+ },
112
+ # error_messages
113
+ :cant_destroy_record => "%{record} kann nicht gelöscht werden",
114
+ :internal_error => 'Fehler bei der Verarbeitung (code 500, Interner Fehler)',
115
+ :version_inconsistency => 'Inkonsistente Versionen - dieser Eintrag wurde verändert nachdem Sie mit der Bearbeitung begonnen haben.',
116
+ :record_not_saved => 'Eintrag kann nicht gespeichert werden. Ursache unbekannt.',
117
+ :no_authorization_for_action => "Keine Berechtigung für Aktion %{action}"
118
+ }
119
+ }
120
+ }
@@ -0,0 +1,119 @@
1
+ {
2
+ :'en' => {
3
+ :active_scaffold => {
4
+ :add => 'Add',
5
+ :add_existing => 'Add Existing',
6
+ :add_existing_model => 'Add Existing %{model}',
7
+ :are_you_sure_to_delete => 'Are you sure you want to delete %{label}?',
8
+ :cancel => 'Cancel',
9
+ :click_to_edit => 'Click to edit',
10
+ :click_to_reset => 'Click to reset',
11
+ :close => 'Close',
12
+ :config_list => 'Configure',
13
+ :config_list_model => 'Configure Columns for %{model}',
14
+ :create => 'Create',
15
+ :create_model => 'Create %{model}',
16
+ :create_another => 'Create Another %{model}',
17
+ :created_model => 'Created %{model}',
18
+ :create_new => 'Create New',
19
+ :customize => 'Customize',
20
+ :delete => 'Delete',
21
+ :deleted_model => 'Deleted %{model}',
22
+ :delimiter => 'Delimiter',
23
+ :download => 'Download',
24
+ :edit => 'Edit',
25
+ :export => 'Export',
26
+ :nested_for_model => '%{nested_model} for %{parent_model}',
27
+ :nested_of_model => '%{nested_model} of %{parent_model}',
28
+ :false => 'False',
29
+ :filtered => '(Filtered)',
30
+ :found => 'Found',
31
+ :hide => 'Hide',
32
+ :live_search => 'Live Search',
33
+ :loading => 'Loading…',
34
+ :next => 'Next',
35
+ :no_entries => 'No Entries',
36
+ :no_options => 'no options',
37
+ :omit_header => 'Omit Header',
38
+ :options => 'Options',
39
+ :pdf => 'PDF',
40
+ :previous => 'Previous',
41
+ :print => 'Print',
42
+ :refresh => 'Refresh',
43
+ :remove => 'Remove',
44
+ :remove_file => 'Remove or Replace file',
45
+ :replace_with_new => 'Replace With New',
46
+ :revisions_for_model => 'Revisions for %{model}',
47
+ :reset => 'Reset',
48
+ :saving => 'Saving…',
49
+ :search => 'Search',
50
+ :search_terms => 'Search Terms',
51
+ :_select_ => '- select -',
52
+ :show => 'Show',
53
+ :show_model => 'Show %{model}',
54
+ :_to_ => ' to ',
55
+ :true => 'True',
56
+ :update => 'Update',
57
+ :update_model => 'Update %{model}',
58
+ :updated_model => 'Updated %{model}',
59
+ :'=' => '=',
60
+ :'>=' => '>=',
61
+ :'<=' => '<=',
62
+ :'>' => '>',
63
+ :'<' => '<',
64
+ :'!=' => '!=',
65
+ :between => 'Between',
66
+ :contains => 'Contains',
67
+ :begins_with => 'Begins with',
68
+ :ends_with => 'Ends with',
69
+ :today => 'Today',
70
+ :yesterday => 'Yesterday',
71
+ :tomorrow => 'Tommorrow',
72
+ :this_week => 'This Week',
73
+ :prev_week => 'Last Week',
74
+ :next_week => 'Next Week',
75
+ :this_month => 'This Month',
76
+ :prev_month => 'Last Month',
77
+ :next_month => 'Next Month',
78
+ :this_year => 'This Year',
79
+ :prev_year => 'Last Year',
80
+ :next_year => 'Next Year',
81
+ :past => 'Past',
82
+ :future => 'Future',
83
+ :range => 'Range',
84
+ :seconds => 'Seconds',
85
+ :minutes => 'Minutes',
86
+ :hours => 'Hours',
87
+ :days => 'Days',
88
+ :weeks => 'Weeks',
89
+ :months => 'Months',
90
+ :years => 'Years',
91
+ :optional_attributes => 'Further Options',
92
+ :null => 'Null',
93
+ :not_null => 'Not Null',
94
+ :date_picker_options => {
95
+ :weekHeader => 'Wk',
96
+ :firstDay => 0,
97
+ :isRTL => false,
98
+ :showMonthAfterYear => false
99
+ },
100
+ :datetime_picker_options => {
101
+ },
102
+ :errors => {
103
+ :template => {
104
+ :header => {
105
+ :one => "1 error prohibited this %{model} from being saved.",
106
+ :other => "%{count} errors prohibited this %{model} from being saved"
107
+ },
108
+ :body => "There were problems with the following fields:"
109
+ }
110
+ },
111
+ # error_messages
112
+ :cant_destroy_record => "%{record} can't be destroyed",
113
+ :internal_error => 'Request Failed (code 500, Internal Error)',
114
+ :version_inconsistency => 'Version inconsistency - this record has been modified since you started editing it.',
115
+ :record_not_saved => 'Failed to save record cause of an unknown error',
116
+ :no_authorization_for_action => "No Authorization for action %{action}"
117
+ }
118
+ }
119
+ }
@@ -1,8 +1,8 @@
1
1
  module ActiveScaffold
2
2
  module Version
3
3
  MAJOR = 3
4
- MINOR = 0
5
- PATCH = 31
4
+ MINOR = 1
5
+ PATCH = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
@@ -11,11 +11,12 @@ begin
11
11
  rescue LoadError
12
12
  end
13
13
 
14
- require 'active_scaffold_assets'
15
14
  require 'active_scaffold/active_record_permissions'
15
+ require 'active_scaffold/paginator'
16
16
  require 'active_scaffold/responds_to_parent'
17
17
 
18
18
  require 'active_scaffold/version'
19
+ require 'active_scaffold/engine'
19
20
 
20
21
  module ActiveScaffold
21
22
  autoload :AttributeParams, 'active_scaffold/attribute_params'
@@ -103,16 +104,14 @@ module ActiveScaffold
103
104
  end
104
105
 
105
106
  def check_input_device
106
- if self.class.uses_active_scaffold?
107
- if request.env["HTTP_USER_AGENT"] && request.env["HTTP_USER_AGENT"][/(iPhone|iPod|iPad)/i]
108
- session[:input_device_type] = 'TOUCH'
109
- session[:hover_supported] = false
110
- else
111
- session[:input_device_type] = 'MOUSE'
112
- session[:hover_supported] = true
113
- end if session[:input_device_type].nil?
114
- end
115
- end
107
+ if request.env["HTTP_USER_AGENT"] && request.env["HTTP_USER_AGENT"][/(iPhone|iPod|iPad)/i]
108
+ session[:input_device_type] = 'TOUCH'
109
+ session[:hover_supported] = false
110
+ else
111
+ session[:input_device_type] = 'MOUSE'
112
+ session[:hover_supported] = true
113
+ end if session[:input_device_type].nil?
114
+ end
116
115
 
117
116
  def touch_device?
118
117
  session[:input_device_type] == 'TOUCH'
@@ -127,7 +126,7 @@ module ActiveScaffold
127
126
  end
128
127
 
129
128
  def self.js_framework
130
- @@js_framework ||= :prototype
129
+ @@js_framework ||= :jquery
131
130
  end
132
131
 
133
132
  # exclude bridges you do not need
@@ -369,18 +368,4 @@ module ActiveScaffold
369
368
  end
370
369
  end
371
370
 
372
- require 'active_scaffold_env'
373
-
374
- ##
375
- ## Run the install assets script, too, just to make sure
376
- ## But at least rescue the action in production
377
- ##
378
-
379
- Rails::Application.initializer("active_scaffold.install_assets") do
380
- begin
381
- ActiveScaffoldAssets.copy_to_public(ActiveScaffold.root, {:clean_up_destination => true})
382
- rescue
383
- raise $! unless Rails.env == 'production'
384
- end
385
- end if defined?(ACTIVE_SCAFFOLD_GEM)
386
-
371
+ require 'active_scaffold_env'
@@ -7,8 +7,8 @@ ActionController::Base.send(:include, ActiveScaffold::Helpers::ControllerHelpers
7
7
  ActionView::Base.send(:include, ActiveScaffold::Helpers::ViewHelpers)
8
8
 
9
9
  ActionController::Base.class_eval {include ActiveRecordPermissions::ModelUserAccess::Controller}
10
- ActiveRecord::Base.class_eval {include ActiveRecordPermissions::ModelUserAccess::Model}
11
- ActiveRecord::Base.class_eval {include ActiveRecordPermissions::Permissions}
10
+ ActiveRecord::Base.class_eval {include ActiveRecordPermissions::ModelUserAccess::Model}
11
+ ActiveRecord::Base.class_eval {include ActiveRecordPermissions::Permissions}
12
12
 
13
13
  I18n.load_path += Dir[File.join(File.dirname(__FILE__), 'active_scaffold', 'locale', '*.{rb,yml}')]
14
- #ActiveScaffold.js_framework = :jquery
14
+ #ActiveScaffold.js_framework = :prototype
@@ -377,7 +377,7 @@ background-color: #005CB8;
377
377
  color: #ccc;
378
378
  }
379
379
 
380
- .active-scaffold-footer .pagination {
380
+ .active-scaffold-footer .active-scaffold-pagination {
381
381
  float: right;
382
382
  white-space: nowrap;
383
383
  margin-right: 5px;
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold_vho
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 3
8
+ - 1
8
9
  - 0
9
- - 31
10
- version: 3.0.31
10
+ version: 3.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Many, see README
@@ -15,12 +15,10 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2014-01-25 00:00:00 +01:00
18
+ date: 2011-11-05 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: shoulda
23
- prerelease: false
24
22
  requirement: &id001 !ruby/object:Gem::Requirement
25
23
  none: false
26
24
  requirements:
@@ -31,14 +29,14 @@ dependencies:
31
29
  - 0
32
30
  version: "0"
33
31
  type: :development
32
+ name: shoulda
33
+ prerelease: false
34
34
  version_requirements: *id001
35
35
  - !ruby/object:Gem::Dependency
36
- name: bundler
37
- prerelease: false
38
36
  requirement: &id002 !ruby/object:Gem::Requirement
39
37
  none: false
40
38
  requirements:
41
- - - ">="
39
+ - - ~>
42
40
  - !ruby/object:Gem::Version
43
41
  hash: 23
44
42
  segments:
@@ -47,40 +45,40 @@ dependencies:
47
45
  - 0
48
46
  version: 1.0.0
49
47
  type: :development
48
+ name: bundler
49
+ prerelease: false
50
50
  version_requirements: *id002
51
51
  - !ruby/object:Gem::Dependency
52
- name: rcov
53
- prerelease: false
54
52
  requirement: &id003 !ruby/object:Gem::Requirement
55
53
  none: false
56
54
  requirements:
57
- - - ">="
55
+ - - ~>
58
56
  - !ruby/object:Gem::Version
59
- hash: 3
57
+ hash: 7
60
58
  segments:
61
- - 0
62
- version: "0"
59
+ - 1
60
+ - 5
61
+ - 2
62
+ version: 1.5.2
63
63
  type: :development
64
+ name: jeweler
65
+ prerelease: false
64
66
  version_requirements: *id003
65
67
  - !ruby/object:Gem::Dependency
66
- name: rails
67
- prerelease: false
68
68
  requirement: &id004 !ruby/object:Gem::Requirement
69
69
  none: false
70
70
  requirements:
71
- - - ~>
71
+ - - ">="
72
72
  - !ruby/object:Gem::Version
73
- hash: 7
73
+ hash: 3
74
74
  segments:
75
- - 3
76
75
  - 0
77
- - 0
78
- version: 3.0.0
79
- type: :runtime
76
+ version: "0"
77
+ type: :development
78
+ name: rcov
79
+ prerelease: false
80
80
  version_requirements: *id004
81
81
  - !ruby/object:Gem::Dependency
82
- name: kaminari
83
- prerelease: false
84
82
  requirement: &id005 !ruby/object:Gem::Requirement
85
83
  none: false
86
84
  requirements:
@@ -91,7 +89,25 @@ dependencies:
91
89
  - 0
92
90
  version: "0"
93
91
  type: :runtime
92
+ name: render_component_vho
93
+ prerelease: false
94
94
  version_requirements: *id005
95
+ - !ruby/object:Gem::Dependency
96
+ requirement: &id006 !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ hash: 3
102
+ segments:
103
+ - 3
104
+ - 1
105
+ - 0
106
+ version: 3.1.0
107
+ type: :runtime
108
+ name: rails
109
+ prerelease: false
110
+ version_requirements: *id006
95
111
  description: 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.
96
112
  email: activescaffold@googlegroups.com
97
113
  executables: []
@@ -103,7 +119,6 @@ extra_rdoc_files:
103
119
  files:
104
120
  - .autotest
105
121
  - .document
106
- - .gitignore
107
122
  - CHANGELOG
108
123
  - Gemfile
109
124
  - Gemfile.lock
@@ -111,25 +126,30 @@ files:
111
126
  - README
112
127
  - Rakefile
113
128
  - active_scaffold_vho.gemspec
114
- - frontends/default/images/add.gif
115
- - frontends/default/images/arrow_down.gif
116
- - frontends/default/images/arrow_up.gif
117
- - frontends/default/images/close.gif
118
- - frontends/default/images/close_touch.png
119
- - frontends/default/images/config.png
120
- - frontends/default/images/cross.png
121
- - frontends/default/images/gears.png
122
- - frontends/default/images/indicator-small.gif
123
- - frontends/default/images/indicator.gif
124
- - frontends/default/images/magnifier.png
125
- - frontends/default/javascripts/jquery/active_scaffold.js
126
- - frontends/default/javascripts/jquery/jquery.editinplace.js
127
- - frontends/default/javascripts/prototype/active_scaffold.js
128
- - frontends/default/javascripts/prototype/dhtml_history.js
129
- - frontends/default/javascripts/prototype/form_enhancements.js
130
- - frontends/default/javascripts/prototype/rico_corner.js
131
- - frontends/default/stylesheets/stylesheet-ie.css
132
- - frontends/default/stylesheets/stylesheet.css
129
+ - app/assets/images/add.gif
130
+ - app/assets/images/arrow_down.gif
131
+ - app/assets/images/arrow_up.gif
132
+ - app/assets/images/close.gif
133
+ - app/assets/images/close_touch.png
134
+ - app/assets/images/config.png
135
+ - app/assets/images/cross.png
136
+ - app/assets/images/gears.png
137
+ - app/assets/images/indicator-small.gif
138
+ - app/assets/images/indicator.gif
139
+ - app/assets/images/magnifier.png
140
+ - app/assets/javascripts/active_scaffold.js.erb
141
+ - app/assets/javascripts/jquery/active_scaffold.js
142
+ - app/assets/javascripts/jquery/date_picker_bridge.js.erb
143
+ - app/assets/javascripts/jquery/jquery-ui-timepicker-addon.js
144
+ - app/assets/javascripts/jquery/jquery.editinplace.js
145
+ - app/assets/javascripts/jquery/tiny_mce_bridge.js
146
+ - app/assets/javascripts/prototype/active_scaffold.js
147
+ - app/assets/javascripts/prototype/dhtml_history.js
148
+ - app/assets/javascripts/prototype/form_enhancements.js
149
+ - app/assets/javascripts/prototype/rico_corner.js
150
+ - app/assets/stylesheets/active_scaffold-ie.css
151
+ - app/assets/stylesheets/active_scaffold.css.erb
152
+ - app/assets/stylesheets/jquery-ui-timepicker-addon.css
133
153
  - frontends/default/views/_action_group.html.erb
134
154
  - frontends/default/views/_add_existing_form.html.erb
135
155
  - frontends/default/views/_base_form.html.erb
@@ -151,13 +171,15 @@ files:
151
171
  - frontends/default/views/_list_calculations.html.erb
152
172
  - frontends/default/views/_list_column_headings.html.erb
153
173
  - frontends/default/views/_list_header.html.erb
174
+ - frontends/default/views/_list_inline_adapter.html.erb
154
175
  - frontends/default/views/_list_messages.html.erb
155
176
  - frontends/default/views/_list_pagination.html.erb
177
+ - frontends/default/views/_list_pagination_links.html.erb
156
178
  - frontends/default/views/_list_record.html.erb
157
179
  - frontends/default/views/_list_record_columns.html.erb
158
180
  - frontends/default/views/_list_with_header.html.erb
159
181
  - frontends/default/views/_messages.html.erb
160
- - frontends/default/views/_render_field.js.rjs
182
+ - frontends/default/views/_render_field.js.erb
161
183
  - frontends/default/views/_row.html.erb
162
184
  - frontends/default/views/_search.html.erb
163
185
  - frontends/default/views/_search_attribute.html.erb
@@ -168,25 +190,25 @@ files:
168
190
  - frontends/default/views/_vertical_subform.html.erb
169
191
  - frontends/default/views/_vertical_subform_record.html.erb
170
192
  - frontends/default/views/action_confirmation.html.erb
171
- - frontends/default/views/add_existing.js.rjs
193
+ - frontends/default/views/add_existing.js.erb
172
194
  - frontends/default/views/add_existing_form.html.erb
173
195
  - frontends/default/views/create.html.erb
174
196
  - frontends/default/views/delete.html.erb
175
- - frontends/default/views/destroy.js.rjs
176
- - frontends/default/views/edit_associated.js.rjs
197
+ - frontends/default/views/destroy.js.erb
198
+ - frontends/default/views/edit_associated.js.erb
177
199
  - frontends/default/views/field_search.html.erb
178
- - frontends/default/views/form_messages.js.rjs
200
+ - frontends/default/views/form_messages.js.erb
179
201
  - frontends/default/views/list.html.erb
180
- - frontends/default/views/list.js.rjs
181
- - frontends/default/views/on_action_update.js.rjs
182
- - frontends/default/views/on_create.js.rjs
183
- - frontends/default/views/on_mark_all.js.rjs
184
- - frontends/default/views/on_update.js.rjs
202
+ - frontends/default/views/list.js.erb
203
+ - frontends/default/views/on_action_update.js.erb
204
+ - frontends/default/views/on_create.js.erb
205
+ - frontends/default/views/on_mark_all.js.erb
206
+ - frontends/default/views/on_update.js.erb
185
207
  - frontends/default/views/search.html.erb
186
208
  - frontends/default/views/show.html.erb
187
209
  - frontends/default/views/update.html.erb
188
- - frontends/default/views/update_column.js.rjs
189
- - frontends/default/views/update_row.js.rjs
210
+ - frontends/default/views/update_column.js.erb
211
+ - frontends/default/views/update_row.js.erb
190
212
  - init.rb
191
213
  - lib/active_scaffold.rb
192
214
  - lib/active_scaffold/actions/common_search.rb
@@ -219,7 +241,6 @@ files:
219
241
  - lib/active_scaffold/bridges/country_helper/lib/country_helper_bridge.rb
220
242
  - lib/active_scaffold/bridges/date_picker/bridge.rb
221
243
  - lib/active_scaffold/bridges/date_picker/lib/datepicker_bridge.rb
222
- - lib/active_scaffold/bridges/date_picker/public/javascripts/date_picker_bridge.js
223
244
  - lib/active_scaffold/bridges/file_column/bridge.rb
224
245
  - lib/active_scaffold/bridges/file_column/lib/as_file_column_bridge.rb
225
246
  - lib/active_scaffold/bridges/file_column/lib/file_column_helpers.rb
@@ -238,8 +259,6 @@ files:
238
259
  - lib/active_scaffold/bridges/shared/date_bridge.rb
239
260
  - lib/active_scaffold/bridges/tiny_mce/bridge.rb
240
261
  - lib/active_scaffold/bridges/tiny_mce/lib/tiny_mce_bridge.rb
241
- - lib/active_scaffold/bridges/tiny_mce/public/javascripts/jquery/tiny_mce_bridge.js
242
- - lib/active_scaffold/bridges/tiny_mce/public/javascripts/prototype/tiny_mce_bridge.js
243
262
  - lib/active_scaffold/bridges/validation_reflection/bridge.rb
244
263
  - lib/active_scaffold/bridges/validation_reflection/lib/validation_reflection_bridge.rb
245
264
  - lib/active_scaffold/config/base.rb
@@ -267,6 +286,8 @@ files:
267
286
  - lib/active_scaffold/data_structures/nested_info.rb
268
287
  - lib/active_scaffold/data_structures/set.rb
269
288
  - lib/active_scaffold/data_structures/sorting.rb
289
+ - lib/active_scaffold/engine.rb
290
+ - lib/active_scaffold/extensions/action_controller_rendering.rb
270
291
  - lib/active_scaffold/extensions/action_view_rendering.rb
271
292
  - lib/active_scaffold/extensions/action_view_resolver.rb
272
293
  - lib/active_scaffold/extensions/active_association_reflection.rb
@@ -293,8 +314,8 @@ files:
293
314
  - lib/active_scaffold/helpers/search_column_helpers.rb
294
315
  - lib/active_scaffold/helpers/show_column_helpers.rb
295
316
  - lib/active_scaffold/helpers/view_helpers.rb
296
- - lib/active_scaffold/locale/de.yml
297
- - lib/active_scaffold/locale/en.yml
317
+ - lib/active_scaffold/locale/de.rb
318
+ - lib/active_scaffold/locale/en.rb
298
319
  - lib/active_scaffold/locale/es.yml
299
320
  - lib/active_scaffold/locale/fr.rb
300
321
  - lib/active_scaffold/locale/hu.yml
@@ -304,7 +325,6 @@ files:
304
325
  - lib/active_scaffold/paginator.rb
305
326
  - lib/active_scaffold/responds_to_parent.rb
306
327
  - lib/active_scaffold/version.rb
307
- - lib/active_scaffold_assets.rb
308
328
  - lib/active_scaffold_env.rb
309
329
  - lib/active_scaffold_vho.rb
310
330
  - lib/generators/active_scaffold/USAGE
@@ -419,7 +439,7 @@ rubyforge_project:
419
439
  rubygems_version: 1.3.7
420
440
  signing_key:
421
441
  specification_version: 3
422
- summary: Rails 3 Version of activescaffold supporting prototype and jquery
442
+ summary: Rails 3.1 Version of activescaffold supporting prototype and jquery
423
443
  test_files:
424
444
  - test/bridges/bridge_test.rb
425
445
  - test/config/base_test.rb
@@ -451,11 +471,9 @@ test_files:
451
471
  - test/misc/constraints_test.rb
452
472
  - test/misc/finder_test.rb
453
473
  - test/misc/lang_test.rb
454
- - test/mock_app/.gitignore
455
474
  - test/mock_app/app/controllers/application_controller.rb
456
475
  - test/mock_app/app/helpers/application_helper.rb
457
476
  - test/mock_app/config/boot.rb
458
- - test/mock_app/config/database.yml
459
477
  - test/mock_app/config/environment.rb
460
478
  - test/mock_app/config/environments/development.rb
461
479
  - test/mock_app/config/environments/production.rb
@@ -465,27 +483,7 @@ test_files:
465
483
  - test/mock_app/config/initializers/mime_types.rb
466
484
  - test/mock_app/config/initializers/new_rails_defaults.rb
467
485
  - test/mock_app/config/initializers/session_store.rb
468
- - test/mock_app/config/locales/en.yml
469
486
  - test/mock_app/config/routes.rb
470
- - test/mock_app/db/test.sqlite3
471
- - test/mock_app/public/blank.html
472
- - test/mock_app/public/images/active_scaffold/DO_NOT_EDIT
473
- - test/mock_app/public/images/active_scaffold/default/add.gif
474
- - test/mock_app/public/images/active_scaffold/default/arrow_down.gif
475
- - test/mock_app/public/images/active_scaffold/default/arrow_up.gif
476
- - test/mock_app/public/images/active_scaffold/default/close.gif
477
- - test/mock_app/public/images/active_scaffold/default/cross.png
478
- - test/mock_app/public/images/active_scaffold/default/indicator-small.gif
479
- - test/mock_app/public/images/active_scaffold/default/indicator.gif
480
- - test/mock_app/public/images/active_scaffold/default/magnifier.png
481
- - test/mock_app/public/javascripts/active_scaffold/DO_NOT_EDIT
482
- - test/mock_app/public/javascripts/active_scaffold/default/active_scaffold.js
483
- - test/mock_app/public/javascripts/active_scaffold/default/dhtml_history.js
484
- - test/mock_app/public/javascripts/active_scaffold/default/form_enhancements.js
485
- - test/mock_app/public/javascripts/active_scaffold/default/rico_corner.js
486
- - test/mock_app/public/stylesheets/active_scaffold/DO_NOT_EDIT
487
- - test/mock_app/public/stylesheets/active_scaffold/default/stylesheet-ie.css
488
- - test/mock_app/public/stylesheets/active_scaffold/default/stylesheet.css
489
487
  - test/model_stub.rb
490
488
  - test/run_all.rb
491
489
  - test/test_helper.rb