administrate 0.20.1 → 1.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +9 -9
  3. data/app/assets/builds/administrate/application.css +1960 -0
  4. data/app/assets/builds/administrate/application.css.map +1 -0
  5. data/app/assets/builds/administrate/application.js +8110 -0
  6. data/app/assets/builds/administrate/application.js.map +7 -0
  7. data/app/assets/builds/administrate-internal/docs.css +89 -0
  8. data/app/assets/builds/administrate-internal/docs.css.map +1 -0
  9. data/app/assets/config/administrate_manifest.js +2 -0
  10. data/app/assets/javascripts/administrate/add_jquery.js +4 -0
  11. data/app/assets/javascripts/administrate/application.js +8 -4
  12. data/app/assets/stylesheets/administrate/application.scss +2 -1
  13. data/app/assets/stylesheets/administrate/base/_forms.scss +4 -4
  14. data/app/assets/stylesheets/administrate/base/_tables.scss +1 -1
  15. data/app/assets/stylesheets/administrate/components/_attributes.scss +1 -0
  16. data/app/assets/stylesheets/administrate/components/_buttons.scss +1 -3
  17. data/app/assets/stylesheets/administrate/components/_cells.scss +19 -19
  18. data/app/assets/stylesheets/administrate/components/_field-unit.scss +1 -0
  19. data/app/assets/stylesheets/administrate/components/_main-content.scss +1 -1
  20. data/app/assets/stylesheets/administrate/components/_navigation.scss +3 -3
  21. data/app/assets/stylesheets/administrate/components/_search.scss +11 -11
  22. data/app/assets/stylesheets/administrate/library/_variables.scss +7 -3
  23. data/app/controllers/administrate/application_controller.rb +19 -19
  24. data/app/controllers/concerns/administrate/punditize.rb +5 -5
  25. data/app/helpers/administrate/application_helper.rb +4 -4
  26. data/lib/administrate/base_dashboard.rb +5 -5
  27. data/lib/administrate/engine.rb +1 -6
  28. data/lib/administrate/field/associative.rb +1 -1
  29. data/lib/administrate/field/base.rb +2 -2
  30. data/lib/administrate/field/belongs_to.rb +1 -1
  31. data/lib/administrate/field/date.rb +1 -1
  32. data/lib/administrate/field/date_time.rb +2 -2
  33. data/lib/administrate/field/deferred.rb +1 -1
  34. data/lib/administrate/field/has_many.rb +5 -5
  35. data/lib/administrate/field/has_one.rb +6 -6
  36. data/lib/administrate/field/number.rb +2 -2
  37. data/lib/administrate/field/polymorphic.rb +3 -3
  38. data/lib/administrate/generator_helpers.rb +1 -1
  39. data/lib/administrate/namespace/resource.rb +1 -1
  40. data/lib/administrate/order.rb +6 -6
  41. data/lib/administrate/page/base.rb +1 -1
  42. data/lib/administrate/page/collection.rb +2 -2
  43. data/lib/administrate/page/form.rb +1 -1
  44. data/lib/administrate/page/show.rb +1 -1
  45. data/lib/administrate/resource_resolver.rb +1 -1
  46. data/lib/administrate/search.rb +6 -7
  47. data/lib/administrate/version.rb +1 -1
  48. data/lib/administrate/view_generator.rb +3 -3
  49. data/lib/administrate.rb +18 -18
  50. data/lib/generators/administrate/dashboard/dashboard_generator.rb +9 -9
  51. data/lib/generators/administrate/field/field_generator.rb +2 -2
  52. data/lib/generators/administrate/install/install_generator.rb +2 -2
  53. data/lib/generators/administrate/routes/routes_generator.rb +5 -5
  54. data/lib/generators/administrate/views/field_generator.rb +2 -2
  55. data/lib/generators/administrate/views/layout_generator.rb +1 -1
  56. metadata +13 -47
  57. /data/app/assets/stylesheets/{docs.scss → administrate-internal/docs.scss} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e5544a7c600e80f4f0059f7b4aea8903e46d926b06dea598660baa758ed67ec
4
- data.tar.gz: b4aefefcdb03dc10c0570e8d6b1a15629c4a3cee9f5ceb46d306e2b3a57e2454
3
+ metadata.gz: 7e1673090cf8650d7c305fc3ea96be1904bdbec462c3bf4de1d5553242528b3b
4
+ data.tar.gz: 47025abcb1bc24c5cd388273e4eda35d8fd99fed2a5afbc17311dd0b7eef2baf
5
5
  SHA512:
6
- metadata.gz: 18ac7ba09f2f7e36d5c86d492fda86cf2f31239146bcac7dacd47eb124fc793e9c425f1646cdcdcce8a672b1666322b6178cf5a602bc358d794e315050f94d02
7
- data.tar.gz: 183d4aafdeeef34031acf4f0fbd29401d39ad368a2b889d509d36560dfcd2b222043ddde8504fddfddcf505017467e6eec74848c422b960233b3492e9198e06d
6
+ metadata.gz: 48a91a213a404eaaa916e8d3d33010c4493e1743ef79de5f30bbcef6ad43d762c8a882bcdb6a64bb7158ce289dd5e9e10d2463a47dac047623975ae7c597590e
7
+ data.tar.gz: af70e362e47f0b882fbf32e20fe69f2b4a87a9a67b959de443fb7ddf23fba7717d6f96d6beb67ba6b8dfc6b67b7ff6ebae32349b5de4e34d3da57eabe5621642
data/Rakefile CHANGED
@@ -1,19 +1,19 @@
1
1
  begin
2
- require 'bundler/setup'
2
+ require "bundler/setup"
3
3
  rescue LoadError
4
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
4
+ puts "You must `gem install bundler` and `bundle install` to run rake tasks"
5
5
  end
6
6
 
7
- require 'rdoc/task'
7
+ require "rdoc/task"
8
8
 
9
- require File.expand_path('../spec/example_app/config/application', __FILE__)
9
+ require File.expand_path("../spec/example_app/config/application", __FILE__)
10
10
 
11
11
  RDoc::Task.new(:rdoc) do |rdoc|
12
- rdoc.rdoc_dir = 'rdoc'
13
- rdoc.title = 'Administrate'
14
- rdoc.options << '--line-numbers'
15
- rdoc.rdoc_files.include('README.rdoc')
16
- rdoc.rdoc_files.include('lib/**/*.rb')
12
+ rdoc.rdoc_dir = "rdoc"
13
+ rdoc.title = "Administrate"
14
+ rdoc.options << "--line-numbers"
15
+ rdoc.rdoc_files.include("README.rdoc")
16
+ rdoc.rdoc_files.include("lib/**/*.rb")
17
17
  end
18
18
 
19
19
  Bundler::GemHelper.install_tasks