admin_data 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. data/History.txt +221 -0
  2. data/README.textile +21 -0
  3. data/Rakefile +46 -0
  4. data/app/controllers/admin_data/base_controller.rb +114 -0
  5. data/app/controllers/admin_data/diagnostic_controller.rb +28 -0
  6. data/app/controllers/admin_data/feed_controller.rb +17 -0
  7. data/app/controllers/admin_data/main_controller.rb +132 -0
  8. data/app/controllers/admin_data/migration_controller.rb +19 -0
  9. data/app/controllers/admin_data/search_controller.rb +125 -0
  10. data/app/controllers/admin_data/validate_model_controller.rb +106 -0
  11. data/app/views/admin_data/diagnostic/index.html.erb +17 -0
  12. data/app/views/admin_data/diagnostic/missing_index.html.erb +26 -0
  13. data/app/views/admin_data/feed/index.rss.builder +24 -0
  14. data/app/views/admin_data/main/all_models.html.erb +22 -0
  15. data/app/views/admin_data/main/association/_association_info.html.erb +10 -0
  16. data/app/views/admin_data/main/association/_belongs_to_info.html.erb +7 -0
  17. data/app/views/admin_data/main/association/_has_many_info.html.erb +7 -0
  18. data/app/views/admin_data/main/association/_has_one_info.html.erb +6 -0
  19. data/app/views/admin_data/main/edit.html.erb +38 -0
  20. data/app/views/admin_data/main/misc/_form.html.erb +25 -0
  21. data/app/views/admin_data/main/misc/_modify_record.html.erb +22 -0
  22. data/app/views/admin_data/main/new.html.erb +23 -0
  23. data/app/views/admin_data/main/show.html.erb +41 -0
  24. data/app/views/admin_data/main/table_structure.html.erb +55 -0
  25. data/app/views/admin_data/migration/index.html.erb +18 -0
  26. data/app/views/admin_data/migration/jstest.html.erb +51 -0
  27. data/app/views/admin_data/search/_search_base.html.erb +34 -0
  28. data/app/views/admin_data/search/advance_search.html.erb +3 -0
  29. data/app/views/admin_data/search/quick_search.html.erb +6 -0
  30. data/app/views/admin_data/search/search/_advance_search_form.html.erb +48 -0
  31. data/app/views/admin_data/search/search/_errors.html.erb +5 -0
  32. data/app/views/admin_data/search/search/_listing.html.erb +40 -0
  33. data/app/views/admin_data/search/search/_search_form.html.erb +28 -0
  34. data/app/views/admin_data/search/search/_sortby.html.erb +18 -0
  35. data/app/views/admin_data/search/search/_title.html.erb +34 -0
  36. data/app/views/admin_data/shared/_breadcrum.html.erb +10 -0
  37. data/app/views/admin_data/shared/_drop_down_klasses.html.erb +4 -0
  38. data/app/views/admin_data/shared/_flash_message.html.erb +13 -0
  39. data/app/views/admin_data/shared/_header.html.erb +23 -0
  40. data/app/views/admin_data/shared/_powered_by.html.erb +23 -0
  41. data/app/views/admin_data/shared/_secondary_navigation.html.erb +28 -0
  42. data/app/views/admin_data/validate_model/_bad.html.erb +1 -0
  43. data/app/views/admin_data/validate_model/tid.html.erb +2 -0
  44. data/app/views/admin_data/validate_model/validate.html.erb +67 -0
  45. data/app/views/layouts/admin_data.html.erb +60 -0
  46. data/config/routes.rb +34 -0
  47. data/init.rb +1 -0
  48. data/lib/admin_data.rb +34 -0
  49. data/lib/admin_data/chelper.rb +37 -0
  50. data/lib/admin_data/compatibility.rb +7 -0
  51. data/lib/admin_data/helpers.rb +222 -0
  52. data/lib/admin_data/railtie.rb +21 -0
  53. data/lib/admin_data/search.rb +186 -0
  54. data/lib/admin_data/settings.rb +72 -0
  55. data/lib/admin_data/util.rb +237 -0
  56. data/lib/admin_data/version.rb +3 -0
  57. data/lib/admin_data_date_validation.rb +79 -0
  58. data/lib/css/app.css +224 -0
  59. data/lib/css/base.css +1071 -0
  60. data/lib/css/header.css +65 -0
  61. data/lib/css/rounded.css +18 -0
  62. data/lib/css/themes/drastic-dark/style.css +374 -0
  63. data/lib/css/umbrella.css +34 -0
  64. data/lib/css/vendor/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  65. data/lib/css/vendor/images/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  66. data/lib/css/vendor/images/ui-bg_flat_0_333333_40x100.png +0 -0
  67. data/lib/css/vendor/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  68. data/lib/css/vendor/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  69. data/lib/css/vendor/images/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  70. data/lib/css/vendor/images/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  71. data/lib/css/vendor/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  72. data/lib/css/vendor/images/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  73. data/lib/css/vendor/images/ui-icons_004276_256x240.png +0 -0
  74. data/lib/css/vendor/images/ui-icons_cc0000_256x240.png +0 -0
  75. data/lib/css/vendor/images/ui-icons_ffffff_256x240.png +0 -0
  76. data/lib/css/vendor/jquery-ui-1.7.2.custom.css +406 -0
  77. data/lib/css/vendor/qunit.css +119 -0
  78. data/lib/js/advance_search/act_on_result.js +47 -0
  79. data/lib/js/advance_search/adv_search.js +46 -0
  80. data/lib/js/advance_search/advance_search.js +60 -0
  81. data/lib/js/advance_search/advance_search_structure.js +79 -0
  82. data/lib/js/advance_search/ajaxify_advance_search.js +28 -0
  83. data/lib/js/advance_search/build_first_row.js +12 -0
  84. data/lib/js/advance_search/event_bindings.js +87 -0
  85. data/lib/js/advance_search/global_ajax_setting.js +10 -0
  86. data/lib/js/advance_search/trigger_submit_on_domready.js +6 -0
  87. data/lib/js/misc/drop_down_change.js +8 -0
  88. data/lib/js/misc/js_util.js +42 -0
  89. data/lib/js/misc/quick_search_input_focus.js +6 -0
  90. data/lib/js/test/act_on_result.js +120 -0
  91. data/lib/js/test/advance_search.js +80 -0
  92. data/lib/js/test/ajaxify_advance_search.js +29 -0
  93. data/lib/js/test/build_first_row.js +10 -0
  94. data/lib/js/test/event_bindings.js +100 -0
  95. data/lib/js/validate_model/ajaxify_form.js +66 -0
  96. data/lib/js/validate_model/select_all.js +15 -0
  97. data/lib/js/vendor/jack.js +903 -0
  98. data/lib/js/vendor/jquery-1.4.1.js +6078 -0
  99. data/lib/js/vendor/jquery-ui-1.7.2.custom.min.js +298 -0
  100. data/lib/js/vendor/jquery.ba-isjquery.js +21 -0
  101. data/lib/js/vendor/jquery.form.js +814 -0
  102. data/lib/js/vendor/jquery.lint.js +604 -0
  103. data/lib/js/vendor/log.js +9 -0
  104. data/lib/js/vendor/qunit.js +1043 -0
  105. data/lib/tasks/admin_data_tasks.rake +7 -0
  106. data/lib/tasks/validate_models_bg.rake +23 -0
  107. data/test/factories/article.rb +9 -0
  108. data/test/factories/car.rb +4 -0
  109. data/test/factories/city.rb +4 -0
  110. data/test/factories/comment.rb +6 -0
  111. data/test/factories/door.rb +4 -0
  112. data/test/factories/engine.rb +4 -0
  113. data/test/functional/base_controller_test.rb +5 -0
  114. data/test/functional/feed_controller_test.rb +34 -0
  115. data/test/functional/main_controller_test.rb +421 -0
  116. data/test/functional/migration_controller_test.rb +30 -0
  117. data/test/functional/routes_test.rb +61 -0
  118. data/test/functional/search_controller_test.rb +814 -0
  119. data/test/helper/view_helper_test.rb +177 -0
  120. data/test/misc_tests/date_validation_test.rb +32 -0
  121. data/test/misc_tests/settings_test.rb +29 -0
  122. data/test/misc_tests/util_test.rb +83 -0
  123. data/test/rails_root/Gemfile +22 -0
  124. data/test/rails_root/Gemfile.lock +101 -0
  125. data/test/rails_root/Rakefile +7 -0
  126. data/test/rails_root/app/controllers/application_controller.rb +3 -0
  127. data/test/rails_root/app/helpers/application_helper.rb +2 -0
  128. data/test/rails_root/app/models/article.rb +25 -0
  129. data/test/rails_root/app/models/city.rb +15 -0
  130. data/test/rails_root/app/models/comment.rb +13 -0
  131. data/test/rails_root/app/models/tech_magazine.rb +2 -0
  132. data/test/rails_root/app/models/vehicle/car.rb +4 -0
  133. data/test/rails_root/app/models/vehicle/door.rb +3 -0
  134. data/test/rails_root/app/models/vehicle/engine.rb +3 -0
  135. data/test/rails_root/app/views/layouts/application.html.erb +14 -0
  136. data/test/rails_root/config.ru +4 -0
  137. data/test/rails_root/config/application.rb +42 -0
  138. data/test/rails_root/config/boot.rb +13 -0
  139. data/test/rails_root/config/database.yml +22 -0
  140. data/test/rails_root/config/environment.rb +5 -0
  141. data/test/rails_root/config/environments/development.rb +22 -0
  142. data/test/rails_root/config/environments/production.rb +49 -0
  143. data/test/rails_root/config/environments/test.rb +35 -0
  144. data/test/rails_root/config/initializers/backtrace_silencers.rb +7 -0
  145. data/test/rails_root/config/initializers/inflections.rb +10 -0
  146. data/test/rails_root/config/initializers/mime_types.rb +5 -0
  147. data/test/rails_root/config/initializers/secret_token.rb +7 -0
  148. data/test/rails_root/config/initializers/session_store.rb +8 -0
  149. data/test/rails_root/config/locales/en.yml +5 -0
  150. data/test/rails_root/config/routes.rb +58 -0
  151. data/test/rails_root/db/migrate/20090809061114_create_tables.rb +70 -0
  152. data/test/rails_root/db/schema.rb +74 -0
  153. data/test/rails_root/db/seeds.rb +7 -0
  154. data/test/rails_root/script/rails +6 -0
  155. data/test/rails_root/test/performance/browsing_test.rb +0 -0
  156. data/test/rails_root/test/test_helper.rb +13 -0
  157. data/test/support/assertions.rb +20 -0
  158. data/test/test_helper.rb +74 -0
  159. metadata +321 -0
@@ -0,0 +1,74 @@
1
+ # This file is auto-generated from the current state of the database. Instead of editing this file,
2
+ # please use the migrations feature of Active Record to incrementally modify your database, and
3
+ # then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your database schema. If you need
6
+ # to create the application database on another system, you should be using db:schema:load, not running
7
+ # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
8
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
9
+ #
10
+ # It's strongly recommended to check this file into your version control system.
11
+
12
+ ActiveRecord::Schema.define(:version => 20090809061114) do
13
+
14
+ create_table "articles", :primary_key => "article_id", :force => true do |t|
15
+ t.string "title", :null => false, :limit => 200
16
+ t.text "body", :null => false
17
+ t.text "body_html", :null => false
18
+ t.text "short_desc"
19
+ t.string "status", :default => "draft", :limit => 50
20
+ t.datetime "published_at"
21
+ t.boolean "approved"
22
+ t.integer "hits_count"
23
+ t.string "magazine_type"
24
+ t.datetime "created_at"
25
+ t.datetime "updated_at"
26
+ t.integer "magazine_id"
27
+ t.text "data"
28
+ end
29
+
30
+ create_table "cars", :force => true do |t|
31
+ t.integer "year"
32
+ t.string "brand"
33
+ t.datetime "created_at"
34
+ t.datetime "updated_at"
35
+ end
36
+
37
+ create_table "cities", :force => true do |t|
38
+ t.string "name"
39
+ t.string "permanent_name"
40
+ t.datetime "created_at"
41
+ t.datetime "updated_at"
42
+ end
43
+
44
+ create_table "comments", :force => true do |t|
45
+ t.integer "article_id", :null => false
46
+ t.text "body", :null => false
47
+ t.text "body_html", :null => false
48
+ t.string "author_name", :null => false
49
+ t.string "author_website"
50
+ t.boolean "posted_by_admin", :default => false
51
+ t.datetime "created_at"
52
+ t.datetime "updated_at"
53
+ end
54
+
55
+ create_table "doors", :force => true do |t|
56
+ t.string "color"
57
+ t.integer "car_id"
58
+ t.datetime "created_at"
59
+ t.datetime "updated_at"
60
+ end
61
+
62
+ create_table "engines", :force => true do |t|
63
+ t.integer "cylinders"
64
+ t.integer "car_id"
65
+ t.datetime "created_at"
66
+ t.datetime "updated_at"
67
+ end
68
+
69
+ create_table "tech_magazines", :force => true do |t|
70
+ t.datetime "created_at"
71
+ t.datetime "updated_at"
72
+ end
73
+
74
+ end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
7
+ # Mayor.create(:name => 'Daley', :city => cities.first)
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
File without changes
@@ -0,0 +1,13 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
7
+ #
8
+ # Note: You'll currently still have to declare fixtures explicitly in integration tests
9
+ # -- they do not yet inherit this setting
10
+ fixtures :all
11
+
12
+ # Add more helper methods to be used by all tests here...
13
+ end
@@ -0,0 +1,20 @@
1
+ require 'active_support/test_case'
2
+
3
+ class ActiveSupport::TestCase
4
+ def assert_not(assertion)
5
+ assert !assertion
6
+ end
7
+
8
+ def assert_blank(assertion)
9
+ assert assertion.blank?
10
+ end
11
+
12
+ def assert_not_blank(assertion)
13
+ assert !assertion.blank?
14
+ end
15
+
16
+ def assert_equal_sql(sql1, sql2)
17
+ assert_equal sql1.squeeze(" ").strip, sql2.squeeze(" ").strip
18
+ end
19
+
20
+ end
@@ -0,0 +1,74 @@
1
+ test_dir = File.dirname(__FILE__)
2
+
3
+ $:.unshift File.expand_path("../..", __FILE__)
4
+ $:.unshift File.expand_path("../../lib", __FILE__)
5
+ $:.unshift File.expand_path("../../app", __FILE__)
6
+ $:.unshift File.expand_path("../../app/controllers", __FILE__)
7
+ $:.unshift File.expand_path("../../app/controllers/admin_data", __FILE__)
8
+
9
+ $:.unshift File.expand_path("../../test/support", __FILE__)
10
+
11
+
12
+ ENV['RAILS_ENV'] = 'test'
13
+
14
+ rails_root = File.join(test_dir , 'rails_root')
15
+
16
+ # start rails
17
+ require "#{rails_root}/config/environment.rb"
18
+
19
+ require 'admin_data'
20
+ AdminData::Config.initialize_defaults
21
+ ActionView::Base.send :include, AdminData::Helpers
22
+
23
+ Dir[File.join(test_dir, '..', 'app', 'controllers', 'admin_data', '*.rb')].each {|f| require f}
24
+ require "#{rails_root}/../../config/routes.rb"
25
+
26
+ require 'test/unit'
27
+ require 'rails/test_help'
28
+ silence_warnings { RAILS_ENV = ENV['RAILS_ENV'] }
29
+
30
+ # Run the migrations
31
+ ActiveRecord::Migration.verbose = false
32
+ ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate")
33
+
34
+ # for helper tests
35
+ require 'action_view/test_case'
36
+
37
+ Dir[File.join(test_dir, 'factories', '*.rb')].each { |f| require File.expand_path(f) }
38
+
39
+ class ActiveSupport::TestCase
40
+
41
+ def revoke_read_only_access_for_feed
42
+ AdminData::Config.set = ({:is_allowed_to_view_feed => Proc.new { |controller| false } })
43
+ end
44
+
45
+ def grant_read_only_access_for_feed
46
+ AdminData::Config.set = ({:is_allowed_to_view_feed => Proc.new { |controller| true } })
47
+ end
48
+
49
+ def revoke_read_only_access
50
+ AdminData::Config.set = ({:is_allowed_to_view => Proc.new { |controller| false } })
51
+ end
52
+
53
+ def grant_read_only_access
54
+ AdminData::Config.set = ({:is_allowed_to_view => Proc.new { |controller| true } })
55
+ end
56
+
57
+ def grant_update_access
58
+ AdminData::Config.set = ({:is_allowed_to_update => Proc.new { |controller| true } })
59
+ end
60
+
61
+ def revoke_update_access
62
+ AdminData::Config.set = ({:is_allowed_to_update => Proc.new { |controller| false } })
63
+ end
64
+
65
+ def show_response
66
+ Dir.mkdir(File.join(Rails.root, 'tmp')) unless File.directory?(File.join(Rails.root, 'tmp'))
67
+ response_html = File.join(Rails.root, 'tmp', 'response.html')
68
+ File.open(response_html, 'w') { |f| f.write(@response.body) }
69
+ system 'open ' + File.expand_path(response_html) rescue nil
70
+ end
71
+
72
+ end
73
+
74
+ require 'assertions'
metadata ADDED
@@ -0,0 +1,321 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: admin_data
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 0
8
+ - 0
9
+ version: 1.0.0
10
+ platform: ruby
11
+ authors:
12
+ - Neeraj Singh
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-08-16 00:00:00 -04:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: will_paginate
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ type: :runtime
31
+ version_requirements: *id001
32
+ - !ruby/object:Gem::Dependency
33
+ name: flexmock
34
+ prerelease: false
35
+ requirement: &id002 !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ segments:
40
+ - 0
41
+ version: "0"
42
+ type: :development
43
+ version_requirements: *id002
44
+ - !ruby/object:Gem::Dependency
45
+ name: shoulda
46
+ prerelease: false
47
+ requirement: &id003 !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ segments:
52
+ - 0
53
+ version: "0"
54
+ type: :development
55
+ version_requirements: *id003
56
+ - !ruby/object:Gem::Dependency
57
+ name: factory_girl
58
+ prerelease: false
59
+ requirement: &id004 !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ segments:
64
+ - 0
65
+ version: "0"
66
+ type: :development
67
+ version_requirements: *id004
68
+ - !ruby/object:Gem::Dependency
69
+ name: nokogiri
70
+ prerelease: false
71
+ requirement: &id005 !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ segments:
76
+ - 0
77
+ version: "0"
78
+ type: :development
79
+ version_requirements: *id005
80
+ description: Manage database using browser
81
+ email: neerajdotname@gmail.com
82
+ executables: []
83
+
84
+ extensions: []
85
+
86
+ extra_rdoc_files:
87
+ - README.textile
88
+ files:
89
+ - History.txt
90
+ - README.textile
91
+ - Rakefile
92
+ - app/controllers/admin_data/base_controller.rb
93
+ - app/controllers/admin_data/diagnostic_controller.rb
94
+ - app/controllers/admin_data/feed_controller.rb
95
+ - app/controllers/admin_data/main_controller.rb
96
+ - app/controllers/admin_data/migration_controller.rb
97
+ - app/controllers/admin_data/search_controller.rb
98
+ - app/controllers/admin_data/validate_model_controller.rb
99
+ - app/views/admin_data/diagnostic/index.html.erb
100
+ - app/views/admin_data/diagnostic/missing_index.html.erb
101
+ - app/views/admin_data/feed/index.rss.builder
102
+ - app/views/admin_data/main/all_models.html.erb
103
+ - app/views/admin_data/main/association/_association_info.html.erb
104
+ - app/views/admin_data/main/association/_belongs_to_info.html.erb
105
+ - app/views/admin_data/main/association/_has_many_info.html.erb
106
+ - app/views/admin_data/main/association/_has_one_info.html.erb
107
+ - app/views/admin_data/main/edit.html.erb
108
+ - app/views/admin_data/main/misc/_form.html.erb
109
+ - app/views/admin_data/main/misc/_modify_record.html.erb
110
+ - app/views/admin_data/main/new.html.erb
111
+ - app/views/admin_data/main/show.html.erb
112
+ - app/views/admin_data/main/table_structure.html.erb
113
+ - app/views/admin_data/migration/index.html.erb
114
+ - app/views/admin_data/migration/jstest.html.erb
115
+ - app/views/admin_data/search/_search_base.html.erb
116
+ - app/views/admin_data/search/advance_search.html.erb
117
+ - app/views/admin_data/search/quick_search.html.erb
118
+ - app/views/admin_data/search/search/_advance_search_form.html.erb
119
+ - app/views/admin_data/search/search/_errors.html.erb
120
+ - app/views/admin_data/search/search/_listing.html.erb
121
+ - app/views/admin_data/search/search/_search_form.html.erb
122
+ - app/views/admin_data/search/search/_sortby.html.erb
123
+ - app/views/admin_data/search/search/_title.html.erb
124
+ - app/views/admin_data/shared/_breadcrum.html.erb
125
+ - app/views/admin_data/shared/_drop_down_klasses.html.erb
126
+ - app/views/admin_data/shared/_flash_message.html.erb
127
+ - app/views/admin_data/shared/_header.html.erb
128
+ - app/views/admin_data/shared/_powered_by.html.erb
129
+ - app/views/admin_data/shared/_secondary_navigation.html.erb
130
+ - app/views/admin_data/validate_model/_bad.html.erb
131
+ - app/views/admin_data/validate_model/tid.html.erb
132
+ - app/views/admin_data/validate_model/validate.html.erb
133
+ - app/views/layouts/admin_data.html.erb
134
+ - config/routes.rb
135
+ - init.rb
136
+ - lib/admin_data.rb
137
+ - lib/admin_data/chelper.rb
138
+ - lib/admin_data/compatibility.rb
139
+ - lib/admin_data/helpers.rb
140
+ - lib/admin_data/railtie.rb
141
+ - lib/admin_data/search.rb
142
+ - lib/admin_data/settings.rb
143
+ - lib/admin_data/util.rb
144
+ - lib/admin_data/version.rb
145
+ - lib/admin_data_date_validation.rb
146
+ - lib/css/app.css
147
+ - lib/css/base.css
148
+ - lib/css/header.css
149
+ - lib/css/rounded.css
150
+ - lib/css/themes/drastic-dark/style.css
151
+ - lib/css/umbrella.css
152
+ - lib/css/vendor/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png
153
+ - lib/css/vendor/images/ui-bg_dots-small_65_a6a6a6_2x2.png
154
+ - lib/css/vendor/images/ui-bg_flat_0_333333_40x100.png
155
+ - lib/css/vendor/images/ui-bg_flat_65_ffffff_40x100.png
156
+ - lib/css/vendor/images/ui-bg_flat_75_ffffff_40x100.png
157
+ - lib/css/vendor/images/ui-bg_glass_55_fbf8ee_1x400.png
158
+ - lib/css/vendor/images/ui-bg_highlight-hard_100_eeeeee_1x100.png
159
+ - lib/css/vendor/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png
160
+ - lib/css/vendor/images/ui-bg_highlight-soft_15_cc0000_1x100.png
161
+ - lib/css/vendor/images/ui-icons_004276_256x240.png
162
+ - lib/css/vendor/images/ui-icons_cc0000_256x240.png
163
+ - lib/css/vendor/images/ui-icons_ffffff_256x240.png
164
+ - lib/css/vendor/jquery-ui-1.7.2.custom.css
165
+ - lib/css/vendor/qunit.css
166
+ - lib/js/advance_search/act_on_result.js
167
+ - lib/js/advance_search/adv_search.js
168
+ - lib/js/advance_search/advance_search.js
169
+ - lib/js/advance_search/advance_search_structure.js
170
+ - lib/js/advance_search/ajaxify_advance_search.js
171
+ - lib/js/advance_search/build_first_row.js
172
+ - lib/js/advance_search/event_bindings.js
173
+ - lib/js/advance_search/global_ajax_setting.js
174
+ - lib/js/advance_search/trigger_submit_on_domready.js
175
+ - lib/js/misc/drop_down_change.js
176
+ - lib/js/misc/js_util.js
177
+ - lib/js/misc/quick_search_input_focus.js
178
+ - lib/js/test/act_on_result.js
179
+ - lib/js/test/advance_search.js
180
+ - lib/js/test/ajaxify_advance_search.js
181
+ - lib/js/test/build_first_row.js
182
+ - lib/js/test/event_bindings.js
183
+ - lib/js/validate_model/ajaxify_form.js
184
+ - lib/js/validate_model/select_all.js
185
+ - lib/js/vendor/jack.js
186
+ - lib/js/vendor/jquery-1.4.1.js
187
+ - lib/js/vendor/jquery-ui-1.7.2.custom.min.js
188
+ - lib/js/vendor/jquery.ba-isjquery.js
189
+ - lib/js/vendor/jquery.form.js
190
+ - lib/js/vendor/jquery.lint.js
191
+ - lib/js/vendor/log.js
192
+ - lib/js/vendor/qunit.js
193
+ - lib/tasks/admin_data_tasks.rake
194
+ - lib/tasks/validate_models_bg.rake
195
+ - test/factories/article.rb
196
+ - test/factories/car.rb
197
+ - test/factories/city.rb
198
+ - test/factories/comment.rb
199
+ - test/factories/door.rb
200
+ - test/factories/engine.rb
201
+ - test/functional/base_controller_test.rb
202
+ - test/functional/feed_controller_test.rb
203
+ - test/functional/main_controller_test.rb
204
+ - test/functional/migration_controller_test.rb
205
+ - test/functional/routes_test.rb
206
+ - test/functional/search_controller_test.rb
207
+ - test/helper/view_helper_test.rb
208
+ - test/misc_tests/date_validation_test.rb
209
+ - test/misc_tests/settings_test.rb
210
+ - test/misc_tests/util_test.rb
211
+ - test/rails_root/Gemfile
212
+ - test/rails_root/Gemfile.lock
213
+ - test/rails_root/Rakefile
214
+ - test/rails_root/app/controllers/application_controller.rb
215
+ - test/rails_root/app/helpers/application_helper.rb
216
+ - test/rails_root/app/models/article.rb
217
+ - test/rails_root/app/models/city.rb
218
+ - test/rails_root/app/models/comment.rb
219
+ - test/rails_root/app/models/tech_magazine.rb
220
+ - test/rails_root/app/models/vehicle/car.rb
221
+ - test/rails_root/app/models/vehicle/door.rb
222
+ - test/rails_root/app/models/vehicle/engine.rb
223
+ - test/rails_root/app/views/layouts/application.html.erb
224
+ - test/rails_root/config.ru
225
+ - test/rails_root/config/application.rb
226
+ - test/rails_root/config/boot.rb
227
+ - test/rails_root/config/database.yml
228
+ - test/rails_root/config/environment.rb
229
+ - test/rails_root/config/environments/development.rb
230
+ - test/rails_root/config/environments/production.rb
231
+ - test/rails_root/config/environments/test.rb
232
+ - test/rails_root/config/initializers/backtrace_silencers.rb
233
+ - test/rails_root/config/initializers/inflections.rb
234
+ - test/rails_root/config/initializers/mime_types.rb
235
+ - test/rails_root/config/initializers/secret_token.rb
236
+ - test/rails_root/config/initializers/session_store.rb
237
+ - test/rails_root/config/locales/en.yml
238
+ - test/rails_root/config/routes.rb
239
+ - test/rails_root/db/migrate/20090809061114_create_tables.rb
240
+ - test/rails_root/db/schema.rb
241
+ - test/rails_root/db/seeds.rb
242
+ - test/rails_root/script/rails
243
+ - test/rails_root/test/performance/browsing_test.rb
244
+ - test/rails_root/test/test_helper.rb
245
+ - test/support/assertions.rb
246
+ - test/test_helper.rb
247
+ has_rdoc: true
248
+ homepage: http://github.com/neerajdotname/admin_data
249
+ licenses: []
250
+
251
+ post_install_message:
252
+ rdoc_options:
253
+ - --charset=UTF-8
254
+ require_paths:
255
+ - lib
256
+ required_ruby_version: !ruby/object:Gem::Requirement
257
+ requirements:
258
+ - - ">="
259
+ - !ruby/object:Gem::Version
260
+ segments:
261
+ - 0
262
+ version: "0"
263
+ required_rubygems_version: !ruby/object:Gem::Requirement
264
+ requirements:
265
+ - - ">="
266
+ - !ruby/object:Gem::Version
267
+ segments:
268
+ - 0
269
+ version: "0"
270
+ requirements: []
271
+
272
+ rubyforge_project:
273
+ rubygems_version: 1.3.6
274
+ signing_key:
275
+ specification_version: 3
276
+ summary: Manage database using browser
277
+ test_files:
278
+ - test/factories/article.rb
279
+ - test/factories/car.rb
280
+ - test/factories/city.rb
281
+ - test/factories/comment.rb
282
+ - test/factories/door.rb
283
+ - test/factories/engine.rb
284
+ - test/functional/base_controller_test.rb
285
+ - test/functional/feed_controller_test.rb
286
+ - test/functional/main_controller_test.rb
287
+ - test/functional/migration_controller_test.rb
288
+ - test/functional/routes_test.rb
289
+ - test/functional/search_controller_test.rb
290
+ - test/helper/view_helper_test.rb
291
+ - test/misc_tests/date_validation_test.rb
292
+ - test/misc_tests/settings_test.rb
293
+ - test/misc_tests/util_test.rb
294
+ - test/rails_root/app/controllers/application_controller.rb
295
+ - test/rails_root/app/helpers/application_helper.rb
296
+ - test/rails_root/app/models/article.rb
297
+ - test/rails_root/app/models/city.rb
298
+ - test/rails_root/app/models/comment.rb
299
+ - test/rails_root/app/models/tech_magazine.rb
300
+ - test/rails_root/app/models/vehicle/car.rb
301
+ - test/rails_root/app/models/vehicle/door.rb
302
+ - test/rails_root/app/models/vehicle/engine.rb
303
+ - test/rails_root/config/application.rb
304
+ - test/rails_root/config/boot.rb
305
+ - test/rails_root/config/environment.rb
306
+ - test/rails_root/config/environments/development.rb
307
+ - test/rails_root/config/environments/production.rb
308
+ - test/rails_root/config/environments/test.rb
309
+ - test/rails_root/config/initializers/backtrace_silencers.rb
310
+ - test/rails_root/config/initializers/inflections.rb
311
+ - test/rails_root/config/initializers/mime_types.rb
312
+ - test/rails_root/config/initializers/secret_token.rb
313
+ - test/rails_root/config/initializers/session_store.rb
314
+ - test/rails_root/config/routes.rb
315
+ - test/rails_root/db/migrate/20090809061114_create_tables.rb
316
+ - test/rails_root/db/schema.rb
317
+ - test/rails_root/db/seeds.rb
318
+ - test/rails_root/test/performance/browsing_test.rb
319
+ - test/rails_root/test/test_helper.rb
320
+ - test/support/assertions.rb
321
+ - test/test_helper.rb