spud_banners 0.9.0.1 → 0.9.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. data/{Readme.markdown → README.markdown} +3 -3
  2. data/Rakefile +1 -1
  3. data/app/assets/javascripts/spud/admin/banners/banners.js +1 -1
  4. data/app/controllers/spud/admin/banner_sets_controller.rb +1 -4
  5. data/app/helpers/spud_banners_helper.rb +3 -2
  6. data/db/migrate/20121116195139_create_spud_banners.rb +1 -1
  7. data/lib/spud_banners/version.rb +1 -1
  8. data/spec/controllers/spud/admin/banner_sets_controller_spec.rb +100 -0
  9. data/{test → spec}/dummy/README.rdoc +0 -0
  10. data/{test → spec}/dummy/Rakefile +0 -0
  11. data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -0
  12. data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
  13. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  14. data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
  15. data/{test → spec}/dummy/app/views/layouts/application.html.erb +0 -0
  16. data/{test → spec}/dummy/config.ru +0 -0
  17. data/{test → spec}/dummy/config/application.rb +0 -0
  18. data/{test → spec}/dummy/config/boot.rb +0 -0
  19. data/spec/dummy/config/database.yml +14 -0
  20. data/{test → spec}/dummy/config/environment.rb +0 -0
  21. data/{test → spec}/dummy/config/environments/development.rb +0 -0
  22. data/{test → spec}/dummy/config/environments/production.rb +0 -0
  23. data/{test → spec}/dummy/config/environments/test.rb +0 -0
  24. data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
  25. data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
  26. data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
  27. data/{test → spec}/dummy/config/initializers/secret_token.rb +0 -0
  28. data/{test → spec}/dummy/config/initializers/session_store.rb +0 -0
  29. data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
  30. data/{test → spec}/dummy/config/locales/en.yml +0 -0
  31. data/spec/dummy/config/routes.rb +3 -0
  32. data/spec/dummy/db/migrate/20121127192246_create_spud_admin_permissions.spud_core.rb +12 -0
  33. data/spec/dummy/db/migrate/20121127192247_create_spud_users.spud_core.rb +30 -0
  34. data/spec/dummy/db/migrate/20121127192248_add_time_zone_to_spud_user.spud_core.rb +7 -0
  35. data/spec/dummy/db/migrate/20121127192249_add_scope_to_spud_admin_permissions.spud_core.rb +7 -0
  36. data/spec/dummy/db/migrate/20121127192250_create_spud_user_settings.spud_core.rb +12 -0
  37. data/spec/dummy/db/schema.rb +87 -0
  38. data/spec/dummy/log/development.log +72 -0
  39. data/spec/dummy/log/test.log +8512 -0
  40. data/{test → spec}/dummy/public/404.html +0 -0
  41. data/{test → spec}/dummy/public/422.html +0 -0
  42. data/{test → spec}/dummy/public/500.html +0 -0
  43. data/{test → spec}/dummy/public/favicon.ico +0 -0
  44. data/{test → spec}/dummy/script/rails +0 -0
  45. data/spec/spec_helper.rb +40 -0
  46. data/spec/support/authlogic_helper.rb +2 -0
  47. metadata +211 -83
  48. data/test/dummy/app/controllers/application_controller.rb +0 -3
  49. data/test/dummy/config/database.yml +0 -25
  50. data/test/dummy/config/routes.rb +0 -4
  51. data/test/fixtures/spud_banner_sets.yml +0 -15
  52. data/test/fixtures/spud_banners.yml +0 -15
  53. data/test/functional/spud/admin/banner_sets_controller_test.rb +0 -7
  54. data/test/functional/spud/admin/banners_controller_test.rb +0 -7
  55. data/test/integration/navigation_test.rb +0 -10
  56. data/test/spud_banners_test.rb +0 -7
  57. data/test/test_helper.rb +0 -15
  58. data/test/unit/helpers/spud/admin/banner_sets_helper_test.rb +0 -4
  59. data/test/unit/helpers/spud/admin/banners_helper_test.rb +0 -4
  60. data/test/unit/spud_banner_set_test.rb +0 -7
  61. data/test/unit/spud_banner_test.rb +0 -7
@@ -1,15 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
-
3
- one:
4
- spud_banner_set_id: 1
5
- link_to: MyString
6
- link_to_class: MyString
7
- target: MyString
8
- order: 1
9
-
10
- two:
11
- spud_banner_set_id: 1
12
- link_to: MyString
13
- link_to_class: MyString
14
- target: MyString
15
- order: 1
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class Spud::Admin::BannerSetsControllerTest < ActionController::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class Spud::Admin::BannersControllerTest < ActionController::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,10 +0,0 @@
1
- require 'test_helper'
2
-
3
- class NavigationTest < ActionDispatch::IntegrationTest
4
- fixtures :all
5
-
6
- # test "the truth" do
7
- # assert true
8
- # end
9
- end
10
-
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class SpudBannersTest < ActiveSupport::TestCase
4
- test "truth" do
5
- assert_kind_of Module, SpudBanners
6
- end
7
- end
data/test/test_helper.rb DELETED
@@ -1,15 +0,0 @@
1
- # Configure Rails Environment
2
- ENV["RAILS_ENV"] = "test"
3
-
4
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
- require "rails/test_help"
6
-
7
- Rails.backtrace_cleaner.remove_silencers!
8
-
9
- # Load support files
10
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
-
12
- # Load fixtures from the engine
13
- if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
- ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
- end
@@ -1,4 +0,0 @@
1
- require 'test_helper'
2
-
3
- class Spud::Admin::BannerSetsHelperTest < ActionView::TestCase
4
- end
@@ -1,4 +0,0 @@
1
- require 'test_helper'
2
-
3
- class Spud::Admin::BannersHelperTest < ActionView::TestCase
4
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class SpudBannerSetTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class SpudBannerTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end