rules 0.0.1
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.
- data/MIT-LICENSE +20 -0
- data/README.md +79 -0
- data/Rakefile +38 -0
- data/db/migrate/20120831163952_create_rules.rb +11 -0
- data/db/migrate/20120831173835_create_rule_sets.rb +10 -0
- data/lib/rules.rb +18 -0
- data/lib/rules/engine.rb +11 -0
- data/lib/rules/evaluators.rb +18 -0
- data/lib/rules/evaluators/definitions.rb +73 -0
- data/lib/rules/evaluators/evaluator.rb +25 -0
- data/lib/rules/extensions/active_admin/dsl.rb +31 -0
- data/lib/rules/has_rules.rb +24 -0
- data/lib/rules/parameters.rb +20 -0
- data/lib/rules/parameters/attribute.rb +16 -0
- data/lib/rules/parameters/constant.rb +25 -0
- data/lib/rules/parameters/constant_definitions.rb +15 -0
- data/lib/rules/parameters/parameter.rb +13 -0
- data/lib/rules/rule.rb +52 -0
- data/lib/rules/rule_set.rb +50 -0
- data/lib/rules/version.rb +3 -0
- data/lib/tasks/rules_tasks.rake +4 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/admin/dashboards.rb +33 -0
- data/spec/dummy/app/admin/orders.rb +30 -0
- data/spec/dummy/app/assets/images/edit_example.png +0 -0
- data/spec/dummy/app/assets/javascripts/active_admin.js +1 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/active_admin.css.scss +29 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/orders_controller.rb +8 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/admin_user.rb +11 -0
- data/spec/dummy/app/models/order.rb +20 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/orders/show.html.haml +2 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +65 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/active_admin.rb +149 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/devise.rb +232 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/devise.en.yml +58 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +9 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20120821181654_create_orders.rb +13 -0
- data/spec/dummy/db/migrate/20120831163952_create_rules.rb +11 -0
- data/spec/dummy/db/migrate/20120831173835_create_rule_sets.rb +10 -0
- data/spec/dummy/db/migrate/20120901044842_devise_create_admin_users.rb +52 -0
- data/spec/dummy/db/migrate/20120901044906_create_admin_notes.rb +17 -0
- data/spec/dummy/db/migrate/20120901044907_move_admin_notes_to_comments.rb +25 -0
- data/spec/dummy/db/production.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +75 -0
- data/spec/dummy/db/seeds.rb +1 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +8764 -0
- data/spec/dummy/log/production.log +74 -0
- data/spec/dummy/log/test.log +1573 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/tmp/cache/assets/C58/950/sprockets%2F615625588c137a1529206d80ee81fe93 +0 -0
- data/spec/dummy/tmp/cache/assets/C83/FF0/sprockets%2F75b536e9b6927c15b60310fa867e3613 +0 -0
- data/spec/dummy/tmp/cache/assets/C88/FD0/sprockets%2F6c558405457e9b59062515dc86bfa252 +0 -0
- data/spec/dummy/tmp/cache/assets/C99/A50/sprockets%2Ffd135176f584f5f5658ef48f41187352 +0 -0
- data/spec/dummy/tmp/cache/assets/C9B/B40/sprockets%2F29dc70cbda38311141464e041655de41 +0 -0
- data/spec/dummy/tmp/cache/assets/C9F/2F0/sprockets%2Faf814c1513450b5466432d2a565ca5c6 +0 -0
- data/spec/dummy/tmp/cache/assets/CA2/8F0/sprockets%2Fa283030e028b24b4ba4084e067888c3e +0 -0
- data/spec/dummy/tmp/cache/assets/CA7/860/sprockets%2F0b1c90a9344b3c3989fc2153d0d63193 +0 -0
- data/spec/dummy/tmp/cache/assets/CAC/4A0/sprockets%2F3d00565c9e04f1bd481d33b4f1985706 +0 -0
- data/spec/dummy/tmp/cache/assets/CAD/F70/sprockets%2F5a1855f4cda19a255ffc802226735517 +0 -0
- data/spec/dummy/tmp/cache/assets/CAE/DA0/sprockets%2F9a133e6ab132f569c40b5e82188f4290 +0 -0
- data/spec/dummy/tmp/cache/assets/CB2/140/sprockets%2F035ac84d6c64495d0067b926533f8bc3 +0 -0
- data/spec/dummy/tmp/cache/assets/CB2/920/sprockets%2F2db5288c0689b237264d0fb22b74d981 +0 -0
- data/spec/dummy/tmp/cache/assets/CB8/A30/sprockets%2Ff35759652c08bb7b3921c434d9ee1654 +0 -0
- data/spec/dummy/tmp/cache/assets/CCA/AE0/sprockets%2Ff80b892078268a51ddf973986035bf9d +0 -0
- data/spec/dummy/tmp/cache/assets/CD0/AC0/sprockets%2F6f2c1b921c2b86e16aee3245772240c1 +0 -0
- data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/CDB/040/sprockets%2Fc732474e67003a4eb840eb44c5ca9385 +0 -0
- data/spec/dummy/tmp/cache/assets/CE0/300/sprockets%2F79b0286bc0a316d639ed5f83b1d33763 +0 -0
- data/spec/dummy/tmp/cache/assets/CE4/D80/sprockets%2Fd7f4b155b13ea1d8578693e62b0e6463 +0 -0
- data/spec/dummy/tmp/cache/assets/CF9/580/sprockets%2F9b6f302133d13906b7d823b4ae14f0aa +0 -0
- data/spec/dummy/tmp/cache/assets/CFD/B50/sprockets%2Fb21fb4d7213b3bf64d6317b3f22584b1 +0 -0
- data/spec/dummy/tmp/cache/assets/CFE/450/sprockets%2F088e843f7fffd845821822c7668a4d7e +0 -0
- data/spec/dummy/tmp/cache/assets/CFE/5D0/sprockets%2F5e63c7f47b86e8916fe1b8f88f470370 +0 -0
- data/spec/dummy/tmp/cache/assets/CFE/D50/sprockets%2Fc912074248a7b0bdc219a5eac3c52348 +0 -0
- data/spec/dummy/tmp/cache/assets/D0B/650/sprockets%2Fb66b60c6b42330849f5b7449bbe108bd +0 -0
- data/spec/dummy/tmp/cache/assets/D0B/EB0/sprockets%2Fa18a9144dadd3f628d2f061f91190d65 +0 -0
- data/spec/dummy/tmp/cache/assets/D0E/820/sprockets%2F1611a9cc354f4e02c97d26b3c6ce7466 +0 -0
- data/spec/dummy/tmp/cache/assets/D11/FD0/sprockets%2Ff7129bbf85d84e8bc056543e20281e3b +0 -0
- data/spec/dummy/tmp/cache/assets/D24/B00/sprockets%2F671d6f261d89a29e918b1ec7818db6a9 +0 -0
- data/spec/dummy/tmp/cache/assets/D29/AE0/sprockets%2Fb62ea1b010afb027501b4f18b8dd3689 +0 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D38/540/sprockets%2F86e1ad844bc9df4491a2a52b870421db +0 -0
- data/spec/dummy/tmp/cache/assets/D38/5F0/sprockets%2F0c09a45e38408ec6e0e9caf206d5028d +0 -0
- data/spec/dummy/tmp/cache/assets/D3A/CE0/sprockets%2F238bf80bfbe1e2a5bb9280e62162584f +0 -0
- data/spec/dummy/tmp/cache/assets/D3B/000/sprockets%2F961758db39c6223d18ea6b7aeac400d5 +0 -0
- data/spec/dummy/tmp/cache/assets/D3B/F60/sprockets%2Ffd56cbfde039018718a0933340af6ef2 +0 -0
- data/spec/dummy/tmp/cache/assets/D41/AB0/sprockets%2Fd112ea59edbe4b7335549d814cb1d848 +0 -0
- data/spec/dummy/tmp/cache/assets/D47/050/sprockets%2F237eeefd847c43be2e7810a77e80841b +0 -0
- data/spec/dummy/tmp/cache/assets/D48/0D0/sprockets%2F1ef4ab19f690478ac62ad77fcb284447 +0 -0
- data/spec/dummy/tmp/cache/assets/D48/640/sprockets%2F9f4f18d910b678b1d0777e04cdaf6f24 +0 -0
- data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/D59/D70/sprockets%2Fed9f0de1b65ae8d7ef89087c83728461 +0 -0
- data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/D60/6C0/sprockets%2Fd7ef2595e5c50eb96e9d3c3d8698f481 +0 -0
- data/spec/dummy/tmp/cache/assets/D65/B10/sprockets%2Fca02dba972b587d3a69b8c32c7200fc6 +0 -0
- data/spec/dummy/tmp/cache/assets/D65/EE0/sprockets%2Fd9062d87143bb5c1d9d73c3ea02d7eb1 +0 -0
- data/spec/dummy/tmp/cache/assets/D66/2A0/sprockets%2F7b7cb56109acc9205fbbb792187ad04b +0 -0
- data/spec/dummy/tmp/cache/assets/D72/9E0/sprockets%2Fdf58dccde6a5e1266ba5c386149108c6 +0 -0
- data/spec/dummy/tmp/cache/assets/D84/0C0/sprockets%2Fe48907efa9d3370f9a2f687a1a7b8d8d +0 -0
- data/spec/dummy/tmp/cache/assets/D93/4C0/sprockets%2F857ecd2092cee11f740b3cf2e373ad2a +0 -0
- data/spec/dummy/tmp/cache/assets/D94/FA0/sprockets%2F8b190b3f72af75f09bfab1f354a0c37b +0 -0
- data/spec/dummy/tmp/cache/assets/D98/550/sprockets%2F69a91a7b4aca241c17daf6a78ac6845a +0 -0
- data/spec/dummy/tmp/cache/assets/D9E/530/sprockets%2F8dbb0027bd9ce6b96c81b82bdec17814 +0 -0
- data/spec/dummy/tmp/cache/assets/DAA/990/sprockets%2F8e0ca45c660183bfe809afc1f69bf9a9 +0 -0
- data/spec/dummy/tmp/cache/assets/DC1/C40/sprockets%2Fa8cbeabf3ef2d34b43be61671536f2a2 +0 -0
- data/spec/dummy/tmp/cache/assets/DC7/8B0/sprockets%2Ffad93382facdc50f097e26ebf19010ea +0 -0
- data/spec/dummy/tmp/cache/assets/DCE/350/sprockets%2F812b6c1998c5ad61096ae7b16cdaeeea +0 -0
- data/spec/dummy/tmp/cache/assets/DD3/370/sprockets%2Ff23609d51b09058fdd08daeecfd7e5e3 +0 -0
- data/spec/dummy/tmp/cache/assets/DD7/6A0/sprockets%2Fd5b1cca8d0835fbe9957aa4ee5f8333e +0 -0
- data/spec/dummy/tmp/cache/assets/DD8/440/sprockets%2F7edf42cfb3ac43c7cd4f63c3980d7c86 +0 -0
- data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/DDE/420/sprockets%2Ffb8b186d5bf0307f86f65fc787d2adeb +0 -0
- data/spec/dummy/tmp/cache/assets/DF5/270/sprockets%2Fc7f64f609aceac43da16557daacc421f +0 -0
- data/spec/dummy/tmp/cache/assets/DF5/410/sprockets%2Fd6efccfb4bfeb13ed0125e8c53424a65 +0 -0
- data/spec/dummy/tmp/cache/assets/DFF/180/sprockets%2Fdc24014f1fcc77f40c5e7de188ad8ebd +0 -0
- data/spec/dummy/tmp/cache/assets/E03/290/sprockets%2Fd469f86939a1cbd52d9b9aaf1db22dae +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/E07/7C0/sprockets%2Fcc5def6ed69cb6a1b7f6084992ed3ca1 +0 -0
- data/spec/dummy/tmp/cache/assets/ECA/140/sprockets%2Fd8ebea8564753ddfde91fadbdacc9f5b +0 -0
- data/spec/dummy/tmp/cache/sass/1a9fc2ebd62e6e7cb58441dc0293552ac07c99a9/_bourbon.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/40a0b76d82cd847e80571abbfe75b703bdb6b77f/active_admin.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/597823364192c14f6a72ee20d1a1496a722ab1f2/_all.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/597823364192c14f6a72ee20d1a1496a722ab1f2/_buttons.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/597823364192c14f6a72ee20d1a1496a722ab1f2/_gradients.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/597823364192c14f6a72ee20d1a1496a722ab1f2/_icons.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/597823364192c14f6a72ee20d1a1496a722ab1f2/_reset.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/597823364192c14f6a72ee20d1a1496a722ab1f2/_rounded.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/597823364192c14f6a72ee20d1a1496a722ab1f2/_sections.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/597823364192c14f6a72ee20d1a1496a722ab1f2/_shadows.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/597823364192c14f6a72ee20d1a1496a722ab1f2/_typography.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/597823364192c14f6a72ee20d1a1496a722ab1f2/_utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/597823364192c14f6a72ee20d1a1496a722ab1f2/_variables.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/6d594ee297c7ebeecae08432451ce722569d1a35/_footer.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/6d594ee297c7ebeecae08432451ce722569d1a35/_main_structure.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/6d594ee297c7ebeecae08432451ce722569d1a35/_title_bar.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_batch_actions.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_blank_slates.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_breadcrumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_columns.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_comments.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_date_picker.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_dropdown_menu.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_flash_messages.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_links.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_popovers.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_scopes.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_status_tags.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_table_tools.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_tables.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/89a136914378618e18c0f75bc8c0f78e84403b0f/_base.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/89a136914378618e18c0f75bc8c0f78e84403b0f/_forms.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/89a136914378618e18c0f75bc8c0f78e84403b0f/_header.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/89a136914378618e18c0f75bc8c0f78e84403b0f/_mixins.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/89a136914378618e18c0f75bc8c0f78e84403b0f/_typography.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/89a136914378618e18c0f75bc8c0f78e84403b0f/print.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a28435efd4cb26f8ebc9e55bbaf23e3537a13190/_button.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a28435efd4cb26f8ebc9e55bbaf23e3537a13190/_clearfix.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a28435efd4cb26f8ebc9e55bbaf23e3537a13190/_font-face.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a28435efd4cb26f8ebc9e55bbaf23e3537a13190/_font-family.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a28435efd4cb26f8ebc9e55bbaf23e3537a13190/_hide-text.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a28435efd4cb26f8ebc9e55bbaf23e3537a13190/_html5-input-types.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a28435efd4cb26f8ebc9e55bbaf23e3537a13190/_position.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a28435efd4cb26f8ebc9e55bbaf23e3537a13190/_timing-functions.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/bb2f93296c9b1e89237438ea63572f38aae290c3/_deprecated-webkit-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/bb2f93296c9b1e89237438ea63572f38aae290c3/_flex-grid.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/bb2f93296c9b1e89237438ea63572f38aae290c3/_grid-width.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/bb2f93296c9b1e89237438ea63572f38aae290c3/_linear-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/bb2f93296c9b1e89237438ea63572f38aae290c3/_modular-scale.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/bb2f93296c9b1e89237438ea63572f38aae290c3/_radial-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/bb2f93296c9b1e89237438ea63572f38aae290c3/_render-gradients.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/bb2f93296c9b1e89237438ea63572f38aae290c3/_tint-shade.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/bb2f93296c9b1e89237438ea63572f38aae290c3/_transition-property-name.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_animation.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_appearance.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_background-image.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_background-size.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_background.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_border-image.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_border-radius.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_box-shadow.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_box-sizing.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_columns.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_flex-box.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_inline-block.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_linear-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_prefixer.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_radial-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_transform.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_transition.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_user-select.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/ee5b745f862b39ff22bf2068a6582c3ee05d1a79/_dashboard.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/ee5b745f862b39ff22bf2068a6582c3ee05d1a79/_logged_out.scssc +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/rules/evaluators/definitions_spec.rb +41 -0
- data/spec/rules/evaluators_spec.rb +32 -0
- data/spec/rules/parameters/attribute_spec.rb +12 -0
- data/spec/rules/parameters_spec.rb +5 -0
- data/spec/rules/rule_set_spec.rb +90 -0
- data/spec/rules/rule_spec.rb +188 -0
- data/spec/spec_helper.rb +38 -0
- metadata +519 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
</div>
|
24
|
+
</body>
|
25
|
+
</html>
|
File without changes
|
@@ -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'
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/dummy/tmp/cache/sass/40a0b76d82cd847e80571abbfe75b703bdb6b77f/active_admin.css.scssc
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_batch_actions.css.scssc
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_date_picker.css.scssc
ADDED
Binary file
|
Binary file
|
data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_flash_messages.css.scssc
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/dummy/tmp/cache/sass/7f31076cc0ed50f35bd0098f8e2a34720ee15633/_table_tools.css.scssc
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/dummy/tmp/cache/sass/a28435efd4cb26f8ebc9e55bbaf23e3537a13190/_html5-input-types.scssc
ADDED
Binary file
|
Binary file
|
data/spec/dummy/tmp/cache/sass/a28435efd4cb26f8ebc9e55bbaf23e3537a13190/_timing-functions.scssc
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/dummy/tmp/cache/sass/bb2f93296c9b1e89237438ea63572f38aae290c3/_linear-gradient.scssc
ADDED
Binary file
|
Binary file
|
data/spec/dummy/tmp/cache/sass/bb2f93296c9b1e89237438ea63572f38aae290c3/_radial-gradient.scssc
ADDED
Binary file
|
data/spec/dummy/tmp/cache/sass/bb2f93296c9b1e89237438ea63572f38aae290c3/_render-gradients.scssc
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_background-image.scssc
ADDED
Binary file
|
data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_background-size.scssc
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_linear-gradient.scssc
ADDED
Binary file
|
Binary file
|
data/spec/dummy/tmp/cache/sass/da77e6f9a782ec4d4cbe7e3a439e89684c300b51/_radial-gradient.scssc
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|