king_views 1.1.6 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +23 -0
- data/Gemfile +19 -0
- data/Rakefile +5 -28
- data/king_form/lib/king_form/builder/base.rb +23 -9
- data/king_form/lib/king_form/builder/definition_list.rb +8 -4
- data/king_form/lib/king_form/builder/form_fields.rb +3 -2
- data/king_form/lib/king_form/builder/form_fields_overrides.rb +5 -5
- data/king_form/lib/king_form/builder/labeled.rb +3 -3
- data/king_form/lib/king_form/helper.rb +21 -4
- data/king_form/lib/king_form/nested_form_helper.rb +9 -9
- data/king_form/lib/king_form/overrides.rb +13 -13
- data/king_format/lib/helpers/formatting_helper.rb +21 -16
- data/king_format/lib/helpers/money_helper.rb +6 -6
- data/king_format/lib/king_format.rb +2 -0
- data/king_format/lib/model_mixins/has_date_fields.rb +6 -2
- data/king_format/lib/model_mixins/has_money_fields.rb +6 -2
- data/king_format/lib/model_mixins/has_percent_fields.rb +5 -1
- data/king_list/Rakefile +2 -13
- data/king_list/lib/king_list/builder/show.rb +9 -6
- data/king_list/lib/king_list/builder/table.rb +29 -72
- data/king_list/lib/king_list/list_helper.rb +60 -63
- data/king_views.gemspec +24 -71
- data/spec/king_list_spec.rb +19 -0
- data/spec/rails_app/Rakefile +7 -0
- data/spec/rails_app/app/controllers/application_controller.rb +4 -0
- data/spec/rails_app/app/controllers/posts_controller.rb +6 -0
- data/spec/rails_app/app/helpers/application_helper.rb +2 -0
- data/spec/rails_app/app/models/comment.rb +3 -0
- data/spec/rails_app/app/models/person.rb +3 -0
- data/spec/rails_app/app/models/post.rb +4 -0
- data/spec/rails_app/app/views/layouts/application.html.erb +14 -0
- data/spec/rails_app/app/views/posts/index.haml +23 -0
- data/spec/rails_app/config.ru +4 -0
- data/spec/rails_app/config/application.rb +44 -0
- data/spec/rails_app/config/boot.rb +10 -0
- data/spec/rails_app/config/database.yml +22 -0
- data/spec/rails_app/config/environment.rb +5 -0
- data/spec/rails_app/config/environments/development.rb +26 -0
- data/spec/rails_app/config/environments/production.rb +49 -0
- data/spec/rails_app/config/environments/test.rb +35 -0
- data/spec/rails_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/rails_app/config/initializers/inflections.rb +10 -0
- data/spec/rails_app/config/initializers/mime_types.rb +5 -0
- data/spec/rails_app/config/initializers/secret_token.rb +7 -0
- data/spec/rails_app/config/initializers/session_store.rb +8 -0
- data/spec/rails_app/config/locales/en.yml +5 -0
- data/spec/rails_app/config/routes.rb +60 -0
- data/spec/rails_app/db/migrate/20110306212208_create_posts.rb +14 -0
- data/spec/rails_app/db/migrate/20110306212250_create_comments.rb +15 -0
- data/spec/rails_app/db/migrate/20110420222224_create_people.rb +15 -0
- data/spec/rails_app/db/schema.rb +30 -0
- data/spec/rails_app/public/404.html +26 -0
- data/spec/rails_app/public/422.html +26 -0
- data/spec/rails_app/public/500.html +26 -0
- data/spec/rails_app/public/favicon.ico +0 -0
- data/spec/rails_app/script/rails +6 -0
- data/spec/spec_helper.rb +65 -0
- metadata +238 -47
- data/king_list/test/king_list_test.rb +0 -9
- data/king_list/test/test_helper.rb +0 -3
@@ -1,9 +0,0 @@
|
|
1
|
-
require 'test_helper'
|
2
|
-
# yes i know ... big TODO, currently implicitly tested at salesking.eu which
|
3
|
-
# makes pretty heavy use of it
|
4
|
-
class KingListTest < ActiveSupport::TestCase
|
5
|
-
# Replace this with your real tests.
|
6
|
-
test "the truth" do
|
7
|
-
assert true
|
8
|
-
end
|
9
|
-
end
|