active_scaffold 3.3.2 → 3.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG +9 -0
  3. data/app/assets/javascripts/active_scaffold.js.erb +5 -2
  4. data/app/assets/javascripts/jquery/active_scaffold.js +4 -6
  5. data/app/assets/javascripts/jquery/date_picker_bridge.js.erb +16 -14
  6. data/app/assets/javascripts/prototype/active_scaffold.js +0 -5
  7. data/app/assets/stylesheets/active_scaffold.css.scss +1 -1
  8. data/app/assets/stylesheets/active_scaffold_jquery_ui.css.erb +7 -0
  9. data/lib/active_scaffold.rb +1 -1
  10. data/lib/active_scaffold/actions/update.rb +2 -1
  11. data/lib/active_scaffold/attribute_params.rb +2 -2
  12. data/lib/active_scaffold/bridges/date_picker.rb +1 -1
  13. data/lib/active_scaffold/config/core.rb +0 -2
  14. data/lib/active_scaffold/config/nested.rb +6 -3
  15. data/lib/active_scaffold/constraints.rb +2 -2
  16. data/lib/active_scaffold/data_structures/action_columns.rb +68 -72
  17. data/lib/active_scaffold/data_structures/column.rb +7 -3
  18. data/lib/active_scaffold/data_structures/sorting.rb +2 -1
  19. data/lib/active_scaffold/finder.rb +2 -14
  20. data/lib/active_scaffold/helpers/form_column_helpers.rb +1 -0
  21. data/lib/active_scaffold/helpers/list_column_helpers.rb +1 -1
  22. data/lib/active_scaffold/helpers/pagination_helpers.rb +1 -1
  23. data/lib/active_scaffold/helpers/search_column_helpers.rb +2 -2
  24. data/lib/active_scaffold/helpers/view_helpers.rb +7 -5
  25. data/lib/active_scaffold/tableless.rb +2 -2
  26. data/lib/active_scaffold/version.rb +1 -1
  27. data/test/bridges/bridge_test.rb +22 -33
  28. data/test/bridges/date_picker_test.rb +29 -0
  29. data/test/bridges/paperclip_test.rb +10 -11
  30. data/test/bridges/tiny_mce_test.rb +7 -7
  31. data/test/{bridges/company.rb → company.rb} +14 -13
  32. data/test/config/base_test.rb +14 -12
  33. data/test/config/core_test.rb +59 -53
  34. data/test/config/create_test.rb +56 -54
  35. data/test/config/delete_test.rb +31 -29
  36. data/test/config/field_search_test.rb +45 -43
  37. data/test/config/list_test.rb +119 -117
  38. data/test/config/nested_test.rb +50 -58
  39. data/test/config/search_test.rb +58 -56
  40. data/test/config/show_test.rb +42 -40
  41. data/test/config/subform_test.rb +15 -13
  42. data/test/config/update_test.rb +40 -38
  43. data/test/const_mocker.rb +14 -18
  44. data/test/data_structures/action_columns_test.rb +3 -3
  45. data/test/data_structures/action_link_test.rb +1 -1
  46. data/test/data_structures/action_links_test.rb +3 -3
  47. data/test/data_structures/actions_test.rb +2 -2
  48. data/test/data_structures/association_column_test.rb +5 -6
  49. data/test/data_structures/column_test.rb +8 -4
  50. data/test/data_structures/columns_test.rb +2 -3
  51. data/test/data_structures/error_message_test.rb +2 -2
  52. data/test/data_structures/set_test.rb +2 -3
  53. data/test/data_structures/sorting_test.rb +1 -2
  54. data/test/data_structures/standard_column_test.rb +2 -3
  55. data/test/data_structures/validation_reflection_test.rb +51 -0
  56. data/test/data_structures/virtual_column_test.rb +1 -1
  57. data/test/extensions/active_record_test.rb +2 -3
  58. data/test/extensions/array_test.rb +2 -2
  59. data/test/helpers/form_column_helpers_test.rb +6 -6
  60. data/test/helpers/list_column_helpers_test.rb +4 -1
  61. data/test/helpers/pagination_helpers_test.rb +7 -3
  62. data/test/misc/active_record_permissions_test.rb +1 -1
  63. data/test/misc/attribute_params_test.rb +3 -4
  64. data/test/misc/configurable_test.rb +2 -2
  65. data/test/misc/constraints_test.rb +29 -29
  66. data/test/misc/finder_test.rb +13 -10
  67. data/test/misc/lang_test.rb +1 -1
  68. data/test/mock_app/Rakefile +7 -0
  69. data/test/mock_app/config.ru +4 -0
  70. data/test/mock_app/config/application.rb +11 -0
  71. data/test/mock_app/config/boot.rb +6 -109
  72. data/test/mock_app/config/database.yml +2 -2
  73. data/test/mock_app/config/environment.rb +4 -42
  74. data/test/mock_app/config/environments/development.rb +21 -13
  75. data/test/mock_app/config/environments/production.rb +41 -20
  76. data/test/mock_app/config/environments/test.rb +27 -22
  77. data/test/mock_app/config/initializers/backtrace_silencers.rb +2 -2
  78. data/test/mock_app/config/initializers/inflections.rb +1 -1
  79. data/test/mock_app/config/initializers/secret_token.rb +7 -0
  80. data/test/mock_app/config/initializers/session_store.rb +2 -9
  81. data/test/mock_app/config/initializers/wrap_parameters.rb +14 -0
  82. data/test/mock_app/config/routes.rb +2 -42
  83. data/test/model_stub.rb +2 -3
  84. data/test/test_helper.rb +13 -11
  85. data/vendor/assets/stylesheets/jquery-ui-theme.css.erb +47 -0
  86. data/vendor/assets/stylesheets/jquery-ui.css +2 -36
  87. metadata +92 -103
  88. data/test/bridges/active_scaffold_dependent_protect_test.rb +0 -34
  89. data/test/bridges/unobtrusive_date_picker_test.rb +0 -49
  90. data/test/bridges/validation_reflection_test.rb +0 -57
  91. data/test/mock_app/config/initializers/new_rails_defaults.rb +0 -19
@@ -1,6 +1,6 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- # Add new inflection rules using the following format
3
+ # Add new inflection rules using the following format
4
4
  # (all these examples are active by default):
5
5
  # ActiveSupport::Inflector.inflections do |inflect|
6
6
  # inflect.plural /^(ox)$/i, '\1en'
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ RailsApp::Application.config.secret_token = 'e997edf9d7eba5cf89a76a046fa53f5d66261d22cfcf29e3f538c75ad2d175b106bd5d099f44f6ce34ad3b3162d71cfaa37d2d4f4b38645288331427b4c2a607'
@@ -1,15 +1,8 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- # Your secret key for verifying cookie session data integrity.
4
- # If you change this key, all old sessions will become invalid!
5
- # Make sure the secret is at least 30 characters and all random,
6
- # no regular words or you'll be exposed to dictionary attacks.
7
- ActionController::Base.session = {
8
- :key => '_mock_app_session',
9
- :secret => 'ed0122432f6132fc5c99c928dc133a0863df7f24b0f2d53ce9dc2e9885a9b1f944d8ac6390333e2f1a72f902554bdaca75024fb23eb11a4548b0af4731439be2'
10
- }
3
+ RailsApp::Application.config.session_store :cookie_store, :key => '_test_app_session'
11
4
 
12
5
  # Use the database for sessions instead of the cookie-based default,
13
6
  # which shouldn't be used to store highly confidential information
14
7
  # (create the session table with "rake db:sessions:create")
15
- # ActionController::Base.session_store = :active_record_store
8
+ # RailsApp::Application.config.session_store :active_record_store
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters(:format => [:json])
9
+ end
10
+
11
+ # Disable root element in JSON by default.
12
+ ActiveSupport.on_load(:active_record) do
13
+ self.include_root_in_json = false
14
+ end
@@ -1,43 +1,3 @@
1
- ActionController::Routing::Routes.draw do |map|
2
- # The priority is based upon order of creation: first created -> highest priority.
3
-
4
- # Sample of regular route:
5
- # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
6
- # Keep in mind you can assign values other than :controller and :action
7
-
8
- # Sample of named route:
9
- # map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase'
10
- # This route can be invoked with purchase_url(:id => product.id)
11
-
12
- # Sample resource route (maps HTTP verbs to controller actions automatically):
13
- # map.resources :products
14
-
15
- # Sample resource route with options:
16
- # map.resources :products, :member => { :short => :get, :toggle => :post }, :collection => { :sold => :get }
17
-
18
- # Sample resource route with sub-resources:
19
- # map.resources :products, :has_many => [ :comments, :sales ], :has_one => :seller
20
-
21
- # Sample resource route with more complex sub-resources
22
- # map.resources :products do |products|
23
- # products.resources :comments
24
- # products.resources :sales, :collection => { :recent => :get }
25
- # end
26
-
27
- # Sample resource route within a namespace:
28
- # map.namespace :admin do |admin|
29
- # # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb)
30
- # admin.resources :products
31
- # end
32
-
33
- # You can have the root of your site routed with map.root -- just remember to delete public/index.html.
34
- # map.root :controller => "welcome"
35
-
36
- # See how all your routes lay out with "rake routes"
37
-
38
- # Install the default routes as the lowest priority.
39
- # Note: These default routes make all actions in every controller accessible via GET requests. You should
40
- # consider removing or commenting them out if you're using named routes and resources.
41
- map.connect ':controller/:action/:id'
42
- map.connect ':controller/:action/:id.:format'
1
+ RailsApp::Application.routes.draw do
2
+ match ':controller(/:action(/:id))'
43
3
  end
data/test/model_stub.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  class ModelStub < ActiveRecord::Base
2
- abstract_class = true
3
2
  has_one :other_model, :class_name => 'ModelStub'
4
3
  has_many :other_models, :class_name => 'ModelStub'
5
4
 
@@ -10,8 +9,8 @@ class ModelStub < ActiveRecord::Base
10
9
  @@nested_scope_calls = []
11
10
  cattr_accessor :nested_scope_calls
12
11
 
13
- named_scope :a_is_defined, :conditions => "a is not null"
14
- named_scope :b_like, lambda {|pattern| {:conditions => ["b like ?", pattern]}}
12
+ scope :a_is_defined, :conditions => "a is not null"
13
+ scope :b_like, lambda {|pattern| {:conditions => ["b like ?", pattern]}}
15
14
 
16
15
  def self.a_is_defined
17
16
  @@nested_scope_calls << :a_is_defined
data/test/test_helper.rb CHANGED
@@ -1,18 +1,17 @@
1
- require 'test/unit'
2
- require 'rubygems'
3
- require 'action_controller'
4
- require 'action_view/test_case'
5
- require 'mocha'
1
+ require 'simplecov'
2
+ SimpleCov.start { add_filter 'test' }
3
+
4
+ ENV['RAILS_ENV'] = 'test'
5
+ require "mock_app/config/environment"
6
+ require 'rails/test_help'
7
+ require 'active_scaffold'
8
+
9
+ require 'mocha/setup'
6
10
  begin
7
11
  require 'redgreen'
8
12
  rescue LoadError
9
13
  end
10
14
 
11
- ENV['RAILS_ENV'] = 'test'
12
- ENV['RAILS_ROOT'] ||= File.join(File.dirname(__FILE__), 'mock_app')
13
-
14
- require File.expand_path(File.join(ENV['RAILS_ROOT'], 'config', 'environment.rb'))
15
-
16
15
  def load_schema
17
16
  stdout = $stdout
18
17
  $stdout = StringIO.new # suppress output while building the schema
@@ -27,13 +26,16 @@ def silence_stderr(&block)
27
26
  $stderr = stderr
28
27
  end
29
28
 
30
- for file in %w[model_stub const_mocker]
29
+ for file in %w[model_stub const_mocker company]
31
30
  require File.join(File.dirname(__FILE__), file)
32
31
  end
33
32
 
33
+ I18n.backend.store_translations :en, YAML.load_file(File.expand_path('../../config/locales/en.yml', __FILE__))["en"]
34
+
34
35
  class Test::Unit::TestCase
35
36
  protected
36
37
  def config_for(klass, namespace = nil)
37
38
  ActiveScaffold::Config::Core.new("#{namespace}#{klass.to_s.underscore.downcase}")
38
39
  end
39
40
  end
41
+ Object.send :remove_const, :Config
@@ -0,0 +1,47 @@
1
+ /* Component containers
2
+ ----------------------------------*/
3
+ .ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(<%= image_path('ui-bg_highlight-soft_100_eeeeee_1x100.png') %>) 50% top repeat-x; color: #333333; }
4
+ .ui-widget-content a { color: #333333; }
5
+ .ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(<%= image_path('ui-bg_gloss-wave_35_f6a828_500x100.png') %>) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
6
+ .ui-widget-header a { color: #ffffff; }
7
+
8
+ /* Interaction states
9
+ ----------------------------------*/
10
+ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(<%= image_path('ui-bg_glass_100_f6f6f6_1x400.png') %>) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; }
11
+ .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; }
12
+ .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(<%= image_path('ui-bg_glass_100_fdf5ce_1x400.png') %>) 50% 50% repeat-x; font-weight: bold; color: #c77405; }
13
+ .ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; }
14
+ .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(<%= image_path('ui-bg_glass_65_ffffff_1x400.png') %>) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; }
15
+ .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; }
16
+ .ui-widget :active { outline: none; }
17
+
18
+ /* Interaction Cues
19
+ ----------------------------------*/
20
+ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(<%= image_path('ui-bg_highlight-soft_75_ffe45c_1x100.png') %>) 50% top repeat-x; color: #363636; }
21
+ .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
22
+ .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(<%= image_path('ui-bg_diagonals-thick_18_b81900_40x40.png') %>) 50% 50% repeat; color: #ffffff; }
23
+ .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
24
+ .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
25
+ .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
26
+ .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
27
+ .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
28
+
29
+ /* Icons
30
+ ----------------------------------*/
31
+
32
+ /* states and images */
33
+ .ui-icon { background-image: url(<%= image_path('ui-icons_222222_256x240.png') %>); }
34
+ .ui-widget-content .ui-icon {background-image: url(<%= image_path('ui-icons_222222_256x240.png') %>); }
35
+ .ui-widget-header .ui-icon {background-image: url(<%= image_path('ui-icons_ffffff_256x240.png') %>); }
36
+ .ui-state-default .ui-icon { background-image: url(<%= image_path('ui-icons_ef8c08_256x240.png') %>); }
37
+ .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(<%= image_path('ui-icons_ef8c08_256x240.png') %>); }
38
+ .ui-state-active .ui-icon {background-image: url(<%= image_path('ui-icons_ef8c08_256x240.png') %>); }
39
+ .ui-state-highlight .ui-icon {background-image: url(<%= image_path('ui-icons_228ef1_256x240.png') %>); }
40
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(<%= image_path('ui-icons_ffd27a_256x240.png') %>); }
41
+
42
+ /* Misc visuals
43
+ ----------------------------------*/
44
+
45
+ /* Overlays */
46
+ .ui-widget-overlay { background: #666666 url(<%= image_path('ui-bg_diagonals-thick_20_666666_40x40.png') %>) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
47
+ .ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(<%= image_path('ui-bg_flat_10_000000_40x100.png') %>) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
@@ -59,44 +59,12 @@
59
59
  .ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; }
60
60
  .ui-widget .ui-widget { font-size: 1em; }
61
61
  .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
62
- .ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; }
63
- .ui-widget-content a { color: #333333; }
64
- .ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
65
- .ui-widget-header a { color: #ffffff; }
66
-
67
- /* Interaction states
68
- ----------------------------------*/
69
- .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; }
70
- .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; }
71
- .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; }
72
- .ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; }
73
- .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; }
74
- .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; }
75
- .ui-widget :active { outline: none; }
76
-
77
- /* Interaction Cues
78
- ----------------------------------*/
79
- .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; }
80
- .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
81
- .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; }
82
- .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
83
- .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
84
- .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
85
- .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
86
- .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
87
62
 
88
63
  /* Icons
89
64
  ----------------------------------*/
90
65
 
91
66
  /* states and images */
92
- .ui-icon { width: 16px; height: 16px; background-image: url(ui-icons_222222_256x240.png); }
93
- .ui-widget-content .ui-icon {background-image: url(ui-icons_222222_256x240.png); }
94
- .ui-widget-header .ui-icon {background-image: url(ui-icons_ffffff_256x240.png); }
95
- .ui-state-default .ui-icon { background-image: url(ui-icons_ef8c08_256x240.png); }
96
- .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(ui-icons_ef8c08_256x240.png); }
97
- .ui-state-active .ui-icon {background-image: url(ui-icons_ef8c08_256x240.png); }
98
- .ui-state-highlight .ui-icon {background-image: url(ui-icons_228ef1_256x240.png); }
99
- .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(ui-icons_ffd27a_256x240.png); }
67
+ .ui-icon { width: 16px; height: 16px; }
100
68
 
101
69
  /* positioning */
102
70
  .ui-icon-carat-1-n { background-position: 0 0; }
@@ -285,9 +253,7 @@
285
253
  .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
286
254
  .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
287
255
 
288
- /* Overlays */
289
- .ui-widget-overlay { background: #666666 url(ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
290
- .ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/*
256
+ /*
291
257
  * jQuery UI Resizable 1.8.14
292
258
  *
293
259
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
metadata CHANGED
@@ -1,91 +1,81 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold
3
- version: !ruby/object:Gem::Version
4
- hash: 15
5
- prerelease:
6
- segments:
7
- - 3
8
- - 3
9
- - 2
10
- version: 3.3.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.3.3
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Many, see README
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2013-07-04 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- type: :development
22
- requirement: &id001 !ruby/object:Gem::Requirement
23
- none: false
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- hash: 3
28
- segments:
29
- - 0
30
- version: "0"
31
- version_requirements: *id001
32
- prerelease: false
11
+ date: 2013-08-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
33
14
  name: shoulda
34
- - !ruby/object:Gem::Dependency
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
35
20
  type: :development
36
- requirement: &id002 !ruby/object:Gem::Requirement
37
- none: false
38
- requirements:
39
- - - ~>
40
- - !ruby/object:Gem::Version
41
- hash: 23
42
- segments:
43
- - 1
44
- - 0
45
- - 0
46
- version: 1.0.0
47
- version_requirements: *id002
48
21
  prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
49
28
  name: bundler
50
- - !ruby/object:Gem::Dependency
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.0
51
34
  type: :development
52
- requirement: &id003 !ruby/object:Gem::Requirement
53
- none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 3
58
- segments:
59
- - 0
60
- version: "0"
61
- version_requirements: *id003
62
35
  prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.0
41
+ - !ruby/object:Gem::Dependency
63
42
  name: rcov
64
- - !ruby/object:Gem::Dependency
65
- type: :runtime
66
- requirement: &id004 !ruby/object:Gem::Requirement
67
- none: false
68
- requirements:
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
69
59
  - - ~>
70
- - !ruby/object:Gem::Version
71
- hash: 15
72
- segments:
73
- - 3
74
- - 2
75
- - 0
60
+ - !ruby/object:Gem::Version
76
61
  version: 3.2.0
77
- version_requirements: *id004
62
+ type: :runtime
78
63
  prerelease: false
79
- name: rails
80
- 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.
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 3.2.0
69
+ description: Save time and headaches, and create a more easily maintainable set of
70
+ pages, with ActiveScaffold. ActiveScaffold handles all your CRUD (create, read,
71
+ update, delete) user interface needs, leaving you more time to focus on more challenging
72
+ (and interesting!) problems.
81
73
  email: activescaffold@googlegroups.com
82
74
  executables: []
83
-
84
75
  extensions: []
85
-
86
- extra_rdoc_files:
76
+ extra_rdoc_files:
87
77
  - README.md
88
- files:
78
+ files:
89
79
  - app/assets/images/active_scaffold/add.png
90
80
  - app/assets/images/active_scaffold/arrow_down.png
91
81
  - app/assets/images/active_scaffold/arrow_up.png
@@ -115,6 +105,7 @@ files:
115
105
  - app/assets/stylesheets/active_scaffold_colors.css.scss
116
106
  - app/assets/stylesheets/active_scaffold_extensions.css.erb
117
107
  - app/assets/stylesheets/active_scaffold_images.css.scss
108
+ - app/assets/stylesheets/active_scaffold_jquery_ui.css.erb
118
109
  - app/assets/stylesheets/active_scaffold_layout.css
119
110
  - app/assets/stylesheets/blue-theme.css
120
111
  - app/views/active_scaffold_overrides/_add_existing_form.html.erb
@@ -327,17 +318,16 @@ files:
327
318
  - vendor/assets/images/ui-icons_ffffff_256x240.png
328
319
  - vendor/assets/javascripts/getprototypeof.js
329
320
  - vendor/assets/javascripts/jquery-ui-timepicker-addon.js
321
+ - vendor/assets/stylesheets/jquery-ui-theme.css.erb
330
322
  - vendor/assets/stylesheets/jquery-ui.css
331
323
  - MIT-LICENSE
332
324
  - CHANGELOG
333
325
  - README.md
334
- - test/bridges/active_scaffold_dependent_protect_test.rb
335
326
  - test/bridges/bridge_test.rb
336
- - test/bridges/company.rb
327
+ - test/bridges/date_picker_test.rb
337
328
  - test/bridges/paperclip_test.rb
338
329
  - test/bridges/tiny_mce_test.rb
339
- - test/bridges/unobtrusive_date_picker_test.rb
340
- - test/bridges/validation_reflection_test.rb
330
+ - test/company.rb
341
331
  - test/config/base_test.rb
342
332
  - test/config/core_test.rb
343
333
  - test/config/create_test.rb
@@ -361,6 +351,7 @@ files:
361
351
  - test/data_structures/set_test.rb
362
352
  - test/data_structures/sorting_test.rb
363
353
  - test/data_structures/standard_column_test.rb
354
+ - test/data_structures/validation_reflection_test.rb
364
355
  - test/data_structures/virtual_column_test.rb
365
356
  - test/extensions/active_record_test.rb
366
357
  - test/extensions/array_test.rb
@@ -374,8 +365,11 @@ files:
374
365
  - test/misc/finder_test.rb
375
366
  - test/misc/lang_test.rb
376
367
  - test/mock_app/.gitignore
368
+ - test/mock_app/Rakefile
377
369
  - test/mock_app/app/controllers/application_controller.rb
378
370
  - test/mock_app/app/helpers/application_helper.rb
371
+ - test/mock_app/config.ru
372
+ - test/mock_app/config/application.rb
379
373
  - test/mock_app/config/boot.rb
380
374
  - test/mock_app/config/database.yml
381
375
  - test/mock_app/config/environment.rb
@@ -385,8 +379,9 @@ files:
385
379
  - test/mock_app/config/initializers/backtrace_silencers.rb
386
380
  - test/mock_app/config/initializers/inflections.rb
387
381
  - test/mock_app/config/initializers/mime_types.rb
388
- - test/mock_app/config/initializers/new_rails_defaults.rb
382
+ - test/mock_app/config/initializers/secret_token.rb
389
383
  - test/mock_app/config/initializers/session_store.rb
384
+ - test/mock_app/config/initializers/wrap_parameters.rb
390
385
  - test/mock_app/config/locales/en.yml
391
386
  - test/mock_app/config/routes.rb
392
387
  - test/mock_app/db/test.sqlite3
@@ -412,46 +407,35 @@ files:
412
407
  - test/run_all.rb
413
408
  - test/test_helper.rb
414
409
  homepage: http://activescaffold.com
415
- licenses:
410
+ licenses:
416
411
  - MIT
412
+ metadata: {}
417
413
  post_install_message:
418
414
  rdoc_options: []
419
-
420
- require_paths:
415
+ require_paths:
421
416
  - lib
422
- required_ruby_version: !ruby/object:Gem::Requirement
423
- none: false
424
- requirements:
425
- - - ">="
426
- - !ruby/object:Gem::Version
427
- hash: 3
428
- segments:
429
- - 0
430
- version: "0"
431
- required_rubygems_version: !ruby/object:Gem::Requirement
432
- none: false
433
- requirements:
434
- - - ">="
435
- - !ruby/object:Gem::Version
436
- hash: 3
437
- segments:
438
- - 0
439
- version: "0"
417
+ required_ruby_version: !ruby/object:Gem::Requirement
418
+ requirements:
419
+ - - '>='
420
+ - !ruby/object:Gem::Version
421
+ version: '0'
422
+ required_rubygems_version: !ruby/object:Gem::Requirement
423
+ requirements:
424
+ - - '>='
425
+ - !ruby/object:Gem::Version
426
+ version: '0'
440
427
  requirements: []
441
-
442
428
  rubyforge_project:
443
- rubygems_version: 1.8.23
429
+ rubygems_version: 2.0.3
444
430
  signing_key:
445
- specification_version: 3
431
+ specification_version: 4
446
432
  summary: Rails 3.1 Version of activescaffold supporting prototype and jquery
447
- test_files:
448
- - test/bridges/active_scaffold_dependent_protect_test.rb
433
+ test_files:
449
434
  - test/bridges/bridge_test.rb
450
- - test/bridges/company.rb
435
+ - test/bridges/date_picker_test.rb
451
436
  - test/bridges/paperclip_test.rb
452
437
  - test/bridges/tiny_mce_test.rb
453
- - test/bridges/unobtrusive_date_picker_test.rb
454
- - test/bridges/validation_reflection_test.rb
438
+ - test/company.rb
455
439
  - test/config/base_test.rb
456
440
  - test/config/core_test.rb
457
441
  - test/config/create_test.rb
@@ -475,6 +459,7 @@ test_files:
475
459
  - test/data_structures/set_test.rb
476
460
  - test/data_structures/sorting_test.rb
477
461
  - test/data_structures/standard_column_test.rb
462
+ - test/data_structures/validation_reflection_test.rb
478
463
  - test/data_structures/virtual_column_test.rb
479
464
  - test/extensions/active_record_test.rb
480
465
  - test/extensions/array_test.rb
@@ -488,8 +473,11 @@ test_files:
488
473
  - test/misc/finder_test.rb
489
474
  - test/misc/lang_test.rb
490
475
  - test/mock_app/.gitignore
476
+ - test/mock_app/Rakefile
491
477
  - test/mock_app/app/controllers/application_controller.rb
492
478
  - test/mock_app/app/helpers/application_helper.rb
479
+ - test/mock_app/config.ru
480
+ - test/mock_app/config/application.rb
493
481
  - test/mock_app/config/boot.rb
494
482
  - test/mock_app/config/database.yml
495
483
  - test/mock_app/config/environment.rb
@@ -499,8 +487,9 @@ test_files:
499
487
  - test/mock_app/config/initializers/backtrace_silencers.rb
500
488
  - test/mock_app/config/initializers/inflections.rb
501
489
  - test/mock_app/config/initializers/mime_types.rb
502
- - test/mock_app/config/initializers/new_rails_defaults.rb
490
+ - test/mock_app/config/initializers/secret_token.rb
503
491
  - test/mock_app/config/initializers/session_store.rb
492
+ - test/mock_app/config/initializers/wrap_parameters.rb
504
493
  - test/mock_app/config/locales/en.yml
505
494
  - test/mock_app/config/routes.rb
506
495
  - test/mock_app/db/test.sqlite3