nanumfont-rails 0.0.2 → 0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +0 -0
- data/README.rdoc +2 -25
- data/Rakefile +0 -0
- data/lib/nanumfont-rails.rb +0 -0
- data/lib/nanumfont/rails.rb +7 -7
- data/lib/nanumfont/rails/engine.rb +6 -6
- data/lib/nanumfont/rails/version.rb +1 -1
- data/test/dummy/README.rdoc +0 -0
- data/test/dummy/Rakefile +0 -0
- data/test/dummy/app/assets/javascripts/application.js +0 -0
- data/test/dummy/app/assets/stylesheets/application.css +0 -0
- data/test/dummy/app/controllers/application_controller.rb +0 -0
- data/test/dummy/app/helpers/application_helper.rb +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +0 -0
- data/test/dummy/bin/bundle +0 -0
- data/test/dummy/bin/rails +0 -0
- data/test/dummy/bin/rake +0 -0
- data/test/dummy/config.ru +0 -0
- data/test/dummy/config/application.rb +0 -0
- data/test/dummy/config/boot.rb +0 -0
- data/test/dummy/config/database.yml +0 -0
- data/test/dummy/config/environment.rb +0 -0
- data/test/dummy/config/environments/development.rb +0 -0
- data/test/dummy/config/environments/production.rb +0 -0
- data/test/dummy/config/environments/test.rb +0 -0
- data/test/dummy/config/initializers/assets.rb +0 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +0 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -0
- data/test/dummy/config/initializers/inflections.rb +0 -0
- data/test/dummy/config/initializers/mime_types.rb +0 -0
- data/test/dummy/config/initializers/session_store.rb +0 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/test/dummy/config/locales/en.yml +0 -0
- data/test/dummy/config/routes.rb +0 -0
- data/test/dummy/config/secrets.yml +0 -0
- data/test/dummy/public/404.html +0 -0
- data/test/dummy/public/422.html +0 -0
- data/test/dummy/public/500.html +0 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/nanumfont_test.rb +0 -0
- data/test/test_helper.rb +0 -0
- data/vendor/assets/stylesheets/NanumBrushScript-Regular.eot +0 -0
- data/vendor/assets/stylesheets/NanumBrushScript-Regular.ttf +0 -0
- data/vendor/assets/stylesheets/NanumBrushScript-Regular.woff +0 -0
- data/vendor/assets/stylesheets/NanumBrushScript-Regular.woff2 +0 -0
- data/vendor/assets/stylesheets/NanumGothic-Bold.eot +0 -0
- data/vendor/assets/stylesheets/NanumGothic-Bold.ttf +0 -0
- data/vendor/assets/stylesheets/NanumGothic-Bold.woff +0 -0
- data/vendor/assets/stylesheets/NanumGothic-Bold.woff2 +0 -0
- data/vendor/assets/stylesheets/NanumGothic-ExtraBold.eot +0 -0
- data/vendor/assets/stylesheets/NanumGothic-ExtraBold.ttf +0 -0
- data/vendor/assets/stylesheets/NanumGothic-ExtraBold.woff +0 -0
- data/vendor/assets/stylesheets/NanumGothic-ExtraBold.woff2 +0 -0
- data/vendor/assets/stylesheets/NanumGothic-Regular.eot +0 -0
- data/vendor/assets/stylesheets/NanumGothic-Regular.ttf +0 -0
- data/vendor/assets/stylesheets/NanumGothic-Regular.woff +0 -0
- data/vendor/assets/stylesheets/NanumGothic-Regular.woff2 +0 -0
- data/vendor/assets/stylesheets/NanumGothicCoding-Bold.eot +0 -0
- data/vendor/assets/stylesheets/NanumGothicCoding-Bold.ttf +0 -0
- data/vendor/assets/stylesheets/NanumGothicCoding-Bold.woff +0 -0
- data/vendor/assets/stylesheets/NanumGothicCoding-Bold.woff2 +0 -0
- data/vendor/assets/stylesheets/NanumGothicCoding-Regular.eot +0 -0
- data/vendor/assets/stylesheets/NanumGothicCoding-Regular.ttf +0 -0
- data/vendor/assets/stylesheets/NanumGothicCoding-Regular.woff +0 -0
- data/vendor/assets/stylesheets/NanumGothicCoding-Regular.woff2 +0 -0
- data/vendor/assets/stylesheets/NanumMyeongjo-Bold.eot +0 -0
- data/vendor/assets/stylesheets/NanumMyeongjo-Bold.ttf +0 -0
- data/vendor/assets/stylesheets/NanumMyeongjo-Bold.woff +0 -0
- data/vendor/assets/stylesheets/NanumMyeongjo-Bold.woff2 +0 -0
- data/vendor/assets/stylesheets/NanumMyeongjo-ExtraBold.eot +0 -0
- data/vendor/assets/stylesheets/NanumMyeongjo-ExtraBold.ttf +0 -0
- data/vendor/assets/stylesheets/NanumMyeongjo-ExtraBold.woff +0 -0
- data/vendor/assets/stylesheets/NanumMyeongjo-ExtraBold.woff2 +0 -0
- data/vendor/assets/stylesheets/NanumMyeongjo-Regular.eot +0 -0
- data/vendor/assets/stylesheets/NanumMyeongjo-Regular.ttf +0 -0
- data/vendor/assets/stylesheets/NanumMyeongjo-Regular.woff +0 -0
- data/vendor/assets/stylesheets/NanumMyeongjo-Regular.woff2 +0 -0
- data/vendor/assets/stylesheets/NanumPenScript-Regular.eot +0 -0
- data/vendor/assets/stylesheets/NanumPenScript-Regular.ttf +0 -0
- data/vendor/assets/stylesheets/NanumPenScript-Regular.woff +0 -0
- data/vendor/assets/stylesheets/NanumPenScript-Regular.woff2 +0 -0
- data/vendor/assets/stylesheets/nanumfont.css +108 -108
- data/vendor/bundle/ruby/2.1.0/bin/erubis +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/erubis.bat +6 -0
- data/vendor/bundle/ruby/2.1.0/bin/rackup +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/rackup.bat +6 -0
- data/vendor/bundle/ruby/2.1.0/bin/rails +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/rails.bat +6 -0
- data/vendor/bundle/ruby/2.1.0/bin/rake +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/rake.bat +6 -0
- data/vendor/bundle/ruby/2.1.0/bin/thor +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/thor.bat +6 -0
- data/vendor/bundle/ruby/2.1.0/build_info/actionpack-4.1.6.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/actionview-4.1.6.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/activesupport-4.1.6.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/builder-3.2.2.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/erubis-2.7.0.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/i18n-0.6.11.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/minitest-5.4.1.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/rack-1.5.2.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/rack-test-0.6.2.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/railties-4.1.6.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/rake-10.3.2.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/thor-0.19.1.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/thread_safe-0.3.4.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/tzinfo-1.2.2.info +1 -0
- data/vendor/bundle/ruby/2.1.0/cache/actionpack-4.1.6.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/actionview-4.1.6.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/activesupport-4.1.6.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/builder-3.2.2.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/erubis-2.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/i18n-0.6.11.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/minitest-5.4.1.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/rack-1.5.2.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/rack-test-0.6.2.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/railties-4.1.6.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/rake-10.3.2.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/thor-0.19.1.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/thread_safe-0.3.4.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/tzinfo-1.2.2.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/CHANGELOG.md +722 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/README.rdoc +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/asset_paths.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/base.rb +259 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/callbacks.rb +219 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/collector.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/helpers.rb +187 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/logger.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/railties/routes_helpers.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/rendering.rb +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/translation.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/url_for.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/base.rb +267 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/caching.rb +89 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/caching/fragments.rb +97 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/log_subscriber.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal.rb +240 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/conditional_get.rb +175 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/cookies.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/data_streaming.rb +171 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/exceptions.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/flash.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/force_ssl.rb +97 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/head.rb +54 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/helpers.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/hide_actions.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/http_authentication.rb +502 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/implicit_render.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/instrumentation.rb +106 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/live.rb +277 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/mime_responds.rb +547 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/params_wrapper.rb +285 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/rack_delegation.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/redirecting.rb +106 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/renderers.rb +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/rendering.rb +104 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/request_forgery_protection.rb +263 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/rescue.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/responder.rb +297 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/streaming.rb +221 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/strong_parameters.rb +554 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/testing.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/url_for.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/middleware.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/model_naming.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/railtie.rb +67 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/railties/helpers.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/test_case.rb +717 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch.rb +105 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/cache.rb +175 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/filter_parameters.rb +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/filter_redirect.rb +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/headers.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/mime_negotiation.rb +149 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/mime_type.rb +315 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/mime_types.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/parameter_filter.rb +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/parameters.rb +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/rack_cache.rb +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/request.rb +322 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/response.rb +354 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/upload.rb +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/url.rb +249 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/backwards.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/formatter.rb +150 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/gtg/builder.rb +162 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/gtg/simulator.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/gtg/transition_table.rb +165 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/nfa/builder.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/nfa/dot.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/nfa/simulator.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/nfa/transition_table.rb +163 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/nodes/node.rb +124 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/parser.rb +206 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/parser.y +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/parser_extras.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/path/pattern.rb +196 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/route.rb +140 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/router.rb +168 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/router/strexp.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/router/utils.rb +93 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/routes.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/scanner.rb +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/visitors.rb +232 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/visualizer/fsm.css +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/visualizer/fsm.js +134 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/visualizer/index.html.erb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/callbacks.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/cookies.rb +574 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/debug_exceptions.rb +99 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/exception_wrapper.rb +116 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/flash.rb +270 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/params_parser.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/public_exceptions.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/reloader.rb +98 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/remote_ip.rb +187 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/request_id.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/session/abstract_store.rb +90 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/session/cache_store.rb +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/session/cookie_store.rb +123 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/session/mem_cache_store.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/show_exceptions.rb +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/ssl.rb +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/stack.rb +129 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/static.rb +67 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_source.erb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/layout.erb +154 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/missing_template.text.erb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/unknown_action.text.erb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb +144 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/railtie.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/request/session.rb +193 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/request/utils.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing.rb +261 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/inspector.rb +241 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/mapper.rb +1850 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/polymorphic_routes.rb +218 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/redirection.rb +193 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/route_set.rb +733 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/routes_proxy.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/url_for.rb +184 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/assertions.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/assertions/dom.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/assertions/response.rb +87 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/assertions/routing.rb +218 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/assertions/selector.rb +430 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/assertions/tag.rb +135 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/integration.rb +506 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/test_process.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/test_request.rb +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/test_response.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_pack.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_pack/gem_version.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_pack/version.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/CHANGELOG.md +426 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/README.rdoc +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view.rb +97 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/base.rb +209 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/buffers.rb +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/context.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/dependency_tracker.rb +141 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/digestor.rb +122 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/flows.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/gem_version.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/active_model_helper.rb +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/asset_tag_helper.rb +322 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/asset_url_helper.rb +355 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/atom_feed_helper.rb +203 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/cache_helper.rb +200 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/capture_helper.rb +216 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/controller_helper.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/csrf_helper.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/date_helper.rb +1094 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/debug_helper.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/form_helper.rb +1876 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/form_options_helper.rb +841 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/form_tag_helper.rb +752 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/javascript_helper.rb +75 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/number_helper.rb +434 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/output_safety_helper.rb +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/record_tag_helper.rb +108 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/rendering_helper.rb +98 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/sanitize_helper.rb +256 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tag_helper.rb +176 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/base.rb +148 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/check_box.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/checkable.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/collection_check_boxes.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/collection_helpers.rb +85 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/collection_radio_buttons.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/collection_select.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/color_field.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/date_field.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/date_select.rb +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/datetime_field.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/datetime_local_field.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/datetime_select.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/email_field.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/file_field.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/grouped_collection_select.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/hidden_field.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/label.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/month_field.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/number_field.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/password_field.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/radio_button.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/range_field.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/search_field.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/select.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/tel_field.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/text_area.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/text_field.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/time_field.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/time_select.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/time_zone_select.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/url_field.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/week_field.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/text_helper.rb +450 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/translation_helper.rb +111 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/url_helper.rb +630 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/layouts.rb +426 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/locale/en.yml +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/log_subscriber.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/lookup_context.rb +257 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/model_naming.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/path_set.rb +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/railtie.rb +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/record_identifier.rb +84 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/renderer/abstract_renderer.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/renderer/partial_renderer.rb +492 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/renderer/renderer.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/renderer/streaming_template_renderer.rb +103 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/renderer/template_renderer.rb +102 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/rendering.rb +145 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/routing_url_for.rb +109 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/tasks/dependencies.rake +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template.rb +342 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/error.rb +141 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/handlers.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/handlers/builder.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/handlers/erb.rb +145 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/handlers/raw.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/html.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/resolver.rb +346 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/text.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/types.rb +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/test_case.rb +272 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/testing/resolvers.rb +54 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner/html/document.rb +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner/html/node.rb +532 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner/html/sanitizer.rb +188 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner/html/selector.rb +830 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner/html/tokenizer.rb +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner/html/version.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/version.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/view_paths.rb +96 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/CHANGELOG.md +766 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/README.rdoc +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support.rb +75 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/all.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/backtrace_cleaner.rb +103 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/benchmarkable.rb +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/builder.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache.rb +719 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache/file_store.rb +185 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache/mem_cache_store.rb +198 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache/memory_store.rb +172 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache/null_store.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache/strategy/local_cache.rb +160 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache/strategy/local_cache_middleware.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/callbacks.rb +745 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/concern.rb +134 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/concurrency/latch.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/configurable.rb +147 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array/access.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array/conversions.rb +209 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array/extract_options.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array/grouping.rb +111 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array/wrap.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/benchmark.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/big_decimal.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/big_decimal/conversions.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/big_decimal/yaml_conversions.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/class.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/class/attribute.rb +127 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/class/attribute_accessors.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/class/delegating_attributes.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/class/subclasses.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date/acts_like.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date/calculations.rb +143 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date/conversions.rb +88 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date/zones.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_and_time/calculations.rb +251 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_and_time/zones.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_time.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_time/acts_like.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_time/calculations.rb +163 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_time/conversions.rb +103 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_time/zones.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/enumerable.rb +80 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/file.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/file/atomic.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/compact.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/conversions.rb +244 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/deep_merge.rb +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/except.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/indifferent_access.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/keys.rb +162 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/reverse_merge.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/slice.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/integer.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/integer/inflections.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/integer/multiple.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/integer/time.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/kernel.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/kernel/debugger.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/kernel/reporting.rb +110 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/kernel/singleton_class.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/load_error.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/marshal.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/aliasing.rb +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/anonymous.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/attr_internal.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/attribute_accessors.rb +212 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/concerning.rb +135 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/delegation.rb +209 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/deprecation.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/introspection.rb +62 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/method_transplanting.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/qualified_const.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/reachable.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/remove_method.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/name_error.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/bytes.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/conversions.rb +135 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/time.rb +87 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/acts_like.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/blank.rb +131 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/conversions.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/deep_dup.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/duplicable.rb +90 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/inclusion.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/instance_variables.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/json.rb +197 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/to_json.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/to_param.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/to_query.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/try.rb +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/with_options.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/range.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/range/conversions.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/range/each.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/range/include_range.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/range/overlaps.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/regexp.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/access.rb +104 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/behavior.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/conversions.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/exclude.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/filters.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/indent.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/inflections.rb +214 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/inquiry.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/multibyte.rb +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/output_safety.rb +239 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/strip.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/zones.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/struct.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/thread.rb +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/time.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/time/acts_like.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/time/calculations.rb +257 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/time/conversions.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/time/marshal.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/time/zones.rb +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/uri.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb +748 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies/autoload.rb +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/deprecation.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/deprecation/behaviors.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/deprecation/instance_delegator.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/deprecation/method_wrappers.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/deprecation/proxy_wrappers.rb +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/deprecation/reporting.rb +94 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/descendants_tracker.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/duration.rb +118 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/file_update_checker.rb +137 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/file_watcher.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/gem_version.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/gzip.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/hash_with_indifferent_access.rb +272 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/i18n.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/i18n_railtie.rb +96 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/inflections.rb +70 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/inflector.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/inflector/inflections.rb +211 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/inflector/methods.rb +359 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/inflector/transliterate.rb +97 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/json.rb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/json/decoding.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/json/encoding.rb +172 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/key_generator.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/lazy_load_hooks.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/locale/en.yml +133 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/log_subscriber.rb +109 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/log_subscriber/test_helper.rb +104 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/logger.rb +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/logger_silence.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/message_encryptor.rb +106 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/message_verifier.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/multibyte.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/multibyte/chars.rb +222 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/multibyte/unicode.rb +390 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/notifications.rb +207 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/notifications/fanout.rb +152 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/notifications/instrumenter.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper.rb +346 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_converter.rb +182 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_delimited_converter.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_human_converter.rb +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_human_size_converter.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_percentage_converter.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_phone_converter.rb +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_rounded_converter.rb +87 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/option_merger.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/ordered_hash.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/ordered_options.rb +67 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/per_thread_registry.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/proxy_object.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/rails.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/railtie.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/rescuable.rb +119 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/string_inquirer.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/subscriber.rb +125 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/tagged_logging.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/test_case.rb +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/assertions.rb +97 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/autorun.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/constant_lookup.rb +54 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/declarative.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/deprecation.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/isolation.rb +91 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/setup_and_teardown.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/tagged_logging.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/time_helpers.rb +127 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/time.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/time_with_zone.rb +402 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/values/time_zone.rb +421 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/version.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini.rb +191 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini/jdom.rb +180 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini/libxml.rb +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini/libxmlsax.rb +85 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini/nokogiri.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini/nokogirisax.rb +87 -0
- data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini/rexml.rb +129 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/CHANGES +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/README.md +258 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/Rakefile +195 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/jamis.rb +591 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/blankslate.rb +137 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/blankslate.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/version.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xchar.rb +197 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xmlbase.rb +199 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xmlevents.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xmlmarkup.rb +339 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/rakelib/publish.rake +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/rakelib/tags.rake +62 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/performance.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/preload.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_blankslate.rb +217 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_eventbuilder.rb +150 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_markupbuilder.rb +611 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_method_caching.rb +62 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_namecollision.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_xchar.rb +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/CHANGES.txt +828 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/README.txt +102 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/Makefile +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/bench.rb +313 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/bench_context.yaml +141 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/templates/_footer.html +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/templates/_header.html +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/bin/erubis +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/contrib/erubis +3468 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/contrib/erubis-run.rb +132 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/contrib/inline-require +179 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/ActionView.html +105 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +209 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/ERB.html +101 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis.html +362 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +175 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +174 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +112 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +327 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +130 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +215 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +386 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +344 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +283 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +382 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +150 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +305 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +175 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +117 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +132 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +165 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +127 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +212 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +131 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +416 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +267 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +116 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +787 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +349 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +213 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +305 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +359 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +386 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +341 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +249 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +159 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +119 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +163 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +439 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +163 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +125 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +266 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +166 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +166 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +166 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +166 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +122 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +166 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +166 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +155 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +166 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +293 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +163 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +344 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +350 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +210 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +183 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +212 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +212 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +244 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +121 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +227 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +328 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +382 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +191 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +173 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +121 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +174 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +298 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +130 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +255 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Kernel.html +155 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/created.rid +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/README_txt.html +247 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +114 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +114 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +117 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +114 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +116 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +129 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +114 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +118 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/fr_class_index.html +129 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/fr_file_index.html +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/fr_method_index.html +265 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/index.html +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/rdoc-style.css +208 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc/docstyle.css +209 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc/users-guide.html +3551 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/Makefile +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.ec +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.ecpp +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.ejava +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.ejs +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.eperl +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.ephp +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.eruby +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.escheme +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/Makefile +54 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.ec +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.ejava +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.ejs +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.eperl +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.ephp +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.eruby +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.escheme +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/context.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/converter.rb +357 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine.rb +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +117 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +110 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +119 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +95 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +99 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +125 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +114 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +127 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/enhancer.rb +723 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/error.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/evaluator.rb +88 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/generator.rb +85 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/helper.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +197 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +353 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/local-setting.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/main.rb +516 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/tiny.rb +144 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/util.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/setup.rb +1331 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/assert-text-equal.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/array_example.result +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/context.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/context.yaml +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/def_method.result +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.ec +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.eperl +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.ephp +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.eruby +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.escheme +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example1.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example1.result +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example10.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example10.result +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11.php +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11.result +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example2.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example2.result +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example3.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example31.result +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example32.result +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example4.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example4.result +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example5.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example5.result +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example6.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example6.result +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example71.result +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example72.result +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example9.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example9.result +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example91.result +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example92.result +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_c.result +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_java.result +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_js.result +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_php.result +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/stderr.log +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test-engines.rb +425 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test-enhancers.rb +646 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test-erubis.rb +887 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test-index-cgi.rb +191 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test-main.rb +752 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test-users-guide.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/testutil.rb +111 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/README.md +105 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-2.3.x +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-2.3.x.lock +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-3.0.x +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-3.0.x.lock +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-3.1.x +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-3.1.x.lock +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-3.2.x +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-3.2.x.lock +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-4.0.x +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-4.0.x.lock +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-4.1.x +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-4.1.x.lock +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n.rb +364 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/base.rb +190 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/cache.rb +96 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/cascade.rb +54 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/chain.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/fallbacks.rb +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/flatten.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/gettext.rb +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/interpolation_compiler.rb +121 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/key_value.rb +101 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/memoize.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/metadata.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/pluralization.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/simple.rb +87 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/transliterator.rb +99 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/config.rb +130 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/core_ext/hash.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/core_ext/kernel/suppress_warnings.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/core_ext/string/interpolate.rb +105 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/exceptions.rb +128 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/gettext.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/gettext/helpers.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/gettext/po_parser.rb +329 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/interpolate/ruby.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/locale.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/locale/fallbacks.rb +96 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/locale/tag.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/locale/tag/parents.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/locale/tag/rfc4646.rb +74 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/locale/tag/simple.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/basics.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/defaults.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/interpolation.rb +133 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/link.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/localization.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/localization/date.rb +91 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/localization/date_time.rb +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/localization/procs.rb +116 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/localization/time.rb +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/lookup.rb +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/pluralization.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/procs.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/version.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/all.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/all_features_test.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/cascade_test.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/chain_test.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/fallbacks_test.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/key_value_test.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/memoize_test.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/override_test.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/pluralization_test.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/simple_test.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/cache_test.rb +85 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/cascade_test.rb +85 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/chain_test.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/exceptions_test.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/fallbacks_test.rb +146 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/interpolation_compiler_test.rb +118 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/key_value_test.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/memoize_test.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/metadata_test.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/pluralization_test.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/simple_test.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/transliterator_test.rb +85 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/core_ext/hash_test.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/core_ext/string/interpolate_test.rb +99 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/gettext/api_test.rb +206 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/gettext/backend_test.rb +101 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/i18n/exceptions_test.rb +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/i18n/interpolate_test.rb +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/i18n/load_path_test.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/i18n_test.rb +382 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/locale/fallbacks_test.rb +136 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/locale/tag/rfc4646_test.rb +142 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/locale/tag/simple_test.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/run_all.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_data/locales/de.po +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_data/locales/en.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_data/locales/en.yml +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_data/locales/invalid/syntax.yml +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_data/locales/plurals.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_helper.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/History.txt +1046 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/Manifest.txt +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/README.txt +580 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/Rakefile +71 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/hoe/minitest.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest.rb +765 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/assertions.rb +661 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/autorun.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/benchmark.rb +423 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/expectations.rb +281 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/mock.rb +220 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/parallel.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/spec.rb +296 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/test.rb +285 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/test/minitest/metametameta.rb +90 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/test/minitest/test_minitest_mock.rb +500 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/test/minitest/test_minitest_reporter.rb +281 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/test/minitest/test_minitest_spec.rb +892 -0
- data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/test/minitest/test_minitest_unit.rb +1851 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/COPYING +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/KNOWN-ISSUES +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/README.rdoc +624 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/Rakefile +125 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/SPEC +237 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/bin/rackup +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/contrib/rack.png +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/contrib/rack.svg +150 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/contrib/rack_logo.svg +111 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/contrib/rdoc.css +412 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/example/lobster.ru +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/example/protectedlobster.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/example/protectedlobster.ru +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack.rb +87 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/abstract/handler.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/abstract/request.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/basic.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/digest/md5.rb +129 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/digest/nonce.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/digest/params.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/digest/request.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/backports/uri/common_18.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/backports/uri/common_192.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/backports/uri/common_193.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/body_proxy.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb +149 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/cascade.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/chunked.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/commonlogger.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/conditionalget.rb +67 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/config.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/content_length.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/content_type.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/deflater.rb +116 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/directory.rb +161 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/etag.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/file.rb +138 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler.rb +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/cgi.rb +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/evented_mongrel.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/fastcgi.rb +98 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/lsws.rb +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/mongrel.rb +100 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/scgi.rb +67 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/thin.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/head.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/lint.rb +699 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/lobster.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/lock.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/logger.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/methodoverride.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/mime.rb +677 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/mock.rb +190 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/multipart.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/multipart/generator.rb +93 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/multipart/parser.rb +176 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/multipart/uploaded_file.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/nulllogger.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/recursive.rb +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/reloader.rb +109 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/request.rb +380 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/response.rb +155 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/rewindable_input.rb +104 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/runtime.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/sendfile.rb +155 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/server.rb +362 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb +398 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/cookie.rb +178 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/memcache.rb +93 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/pool.rb +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/showexceptions.rb +378 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/showstatus.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/static.rb +153 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/urlmap.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/utils.rb +628 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/utils/okjson.rb +599 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/rack.gemspec +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/builder/anything.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/builder/comment.ru +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/builder/end.ru +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/builder/line.ru +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/builder/options.ru +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/assets/folder/test.js +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/assets/fonts/font.eot +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/assets/images/image.png +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/assets/index.html +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/assets/javascripts/app.js +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/assets/stylesheets/app.css +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/lighttpd.conf +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/rackup_stub.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/sample_rackup.ru +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/test +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/test+directory/test+file +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/test.fcgi +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/test.ru +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/gemloader.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/bad_robots +259 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/binary +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/content_type_and_no_filename +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/empty +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/fail_16384_nofile +814 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/file1.txt +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_and_modification_param +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_escaped_quotes +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_percent_escaped_quotes +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages2 +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages3 +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_quotes +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/ie +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/mixed_files +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/nested +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/none +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/semicolon +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/text +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/webkit +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/rackup/config.ru +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/registering_handler/rack/handler/registering_myself.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_auth_basic.rb +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_auth_digest.rb +259 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_body_proxy.rb +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_builder.rb +214 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_cascade.rb +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_cgi.rb +102 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_chunked.rb +85 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_commonlogger.rb +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_conditionalget.rb +102 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_config.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_content_length.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_content_type.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_deflater.rb +204 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_directory.rb +88 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_etag.rb +98 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_fastcgi.rb +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_file.rb +213 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_handler.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_head.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_lint.rb +522 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_lobster.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_lock.rb +164 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_logger.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_methodoverride.rb +75 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_mime.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_mock.rb +269 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_mongrel.rb +182 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_multipart.rb +445 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_nulllogger.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_recursive.rb +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_request.rb +1078 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_response.rb +313 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_rewindable_input.rb +118 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_runtime.rb +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_sendfile.rb +130 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_server.rb +143 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_session_abstract_id.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_session_cookie.rb +367 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_session_memcache.rb +321 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_session_pool.rb +209 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_showexceptions.rb +92 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_showstatus.rb +84 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_static.rb +145 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_thin.rb +91 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_urlmap.rb +213 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_utils.rb +573 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_webrick.rb +143 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/static/another/index.html +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/static/index.html +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/testrequest.rb +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/Gemfile +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/Gemfile.lock +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/History.txt +166 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/MIT-LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/README.rdoc +85 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/Rakefile +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/Thorfile +114 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/mock_session.rb +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test.rb +304 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb +182 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test/methods.rb +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test/mock_digest_request.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test/uploaded_file.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test/utils.rb +136 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/rack-test.gemspec +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/fixtures/bar.txt +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/fixtures/config.ru +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/fixtures/fake_app.rb +143 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/fixtures/foo.txt +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/rack/test/cookie_spec.rb +219 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/rack/test/digest_auth_spec.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/rack/test/multipart_spec.rb +145 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/rack/test/uploaded_file_spec.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/rack/test/utils_spec.rb +122 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/rack/test_spec.rb +510 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/spec_helper.rb +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/support/matchers/body.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/support/matchers/challenge.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/CHANGELOG.md +388 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/RDOC_MAIN.rdoc +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/README.rdoc +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/bin/rails +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails.rb +87 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/all.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/api/task.rb +163 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/app_rails_loader.rb +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application.rb +466 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application/bootstrap.rb +80 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application/configuration.rb +155 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application/default_middleware_stack.rb +99 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application/finisher.rb +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application/routes_reloader.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application_controller.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/backtrace_cleaner.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/cli.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/code_statistics.rb +103 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/code_statistics_calculator.rb +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/application.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb +174 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/console.rb +101 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/dbconsole.rb +177 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/destroy.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/generate.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/plugin.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/runner.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/server.rb +139 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/update.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/configuration.rb +119 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/console/app.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/console/helpers.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/deprecation.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/engine.rb +691 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/engine/commands.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/engine/configuration.rb +91 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/engine/railties.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/gem_version.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators.rb +320 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/actions.rb +260 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/actions/create_migration.rb +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/active_model.rb +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/app_base.rb +363 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/base.rb +379 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/css/assets/assets_generator.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/css/assets/templates/stylesheet.css +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/css/scaffold/scaffold_generator.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/controller/controller_generator.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/controller/templates/view.html.erb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/mailer/mailer_generator.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/mailer/templates/view.html.erb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/mailer/templates/view.text.erb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/scaffold/scaffold_generator.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/scaffold/templates/_form.html.erb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/scaffold/templates/edit.html.erb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/scaffold/templates/index.html.erb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/scaffold/templates/new.html.erb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/scaffold/templates/show.html.erb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/generated_attribute.rb +146 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/js/assets/assets_generator.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/js/assets/templates/javascript.js +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/migration.rb +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/named_base.rb +205 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/USAGE +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/app_generator.rb +401 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/Gemfile +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/README.rdoc +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/Rakefile +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/bin/bundle +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/bin/rails +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/bin/rake +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config.ru +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/application.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/boot.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml +87 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/mysql.yml +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/oracle.yml +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml +85 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/sqlserver.yml +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/environment.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/locales/en.yml +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/routes.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/secrets.yml +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/gitignore +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/public/404.html +67 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/public/422.html +67 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/public/500.html +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/public/favicon.ico +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/public/robots.txt +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/test/test_helper.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/assets/USAGE +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/assets/assets_generator.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/assets/templates/javascript.js +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/assets/templates/stylesheet.css +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/controller/USAGE +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/controller/controller_generator.rb +54 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/controller/templates/controller.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/generator/USAGE +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/generator/generator_generator.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/generator/templates/USAGE.tt +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/helper/USAGE +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/helper/helper_generator.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/helper/templates/helper.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/integration_test/USAGE +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/integration_test/integration_test_generator.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/migration/USAGE +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/migration/migration_generator.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/model/USAGE +100 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/model/model_generator.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/USAGE +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/plugin_generator.rb +371 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/%name%.gemspec +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/Gemfile +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/README.rdoc +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/Rakefile +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/app/controllers/%name%/application_controller.rb.tt +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/app/helpers/%name%/application_helper.rb.tt +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/app/views/layouts/%name%/application.html.erb.tt +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/bin/rails.tt +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/config/routes.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/gitignore +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/lib/%name%.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/lib/%name%/engine.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/lib/%name%/version.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/lib/tasks/%name%_tasks.rake +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/rails/application.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/rails/boot.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/rails/javascripts.js +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/rails/routes.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/rails/stylesheets.css +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/test/%name%_test.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/test/integration/navigation_test.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/test/test_helper.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/resource/USAGE +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/resource/resource_generator.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/resource_route/resource_route_generator.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/scaffold/USAGE +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/scaffold/scaffold_generator.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/scaffold/templates/scaffold.css +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/scaffold_controller/USAGE +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/scaffold_controller/templates/controller.rb +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/task/USAGE +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/task/task_generator.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/task/templates/task.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/resource_helpers.rb +91 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_case.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/controller/controller_generator.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/controller/templates/functional_test.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/generator/generator_generator.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/generator/templates/generator_test.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/helper/helper_generator.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/helper/templates/helper_test.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/integration/integration_generator.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/integration/templates/integration_test.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/mailer/mailer_generator.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/mailer/templates/functional_test.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/mailer/templates/preview.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/model/model_generator.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/model/templates/fixtures.yml +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/model/templates/unit_test.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/plugin/plugin_generator.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/testing/assertions.rb +123 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/testing/behaviour.rb +106 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/testing/setup_and_teardown.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/info.rb +118 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/info_controller.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/initializable.rb +89 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/mailers_controller.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/paths.rb +211 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/rack.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/rack/debugger.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/rack/log_tailer.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/rack/logger.rb +86 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/railtie.rb +250 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/railtie/configurable.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/railtie/configuration.rb +100 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/ruby_version_check.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/rubyprof_ext.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/source_annotation_extractor.rb +127 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/annotations.rake +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/documentation.rake +70 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/engine.rake +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/framework.rake +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/log.rake +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/middleware.rake +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/misc.rake +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/routes.rake +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/statistics.rake +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/tmp.rake +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/layouts/application.html.erb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/rails/info/properties.html.erb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/rails/info/routes.html.erb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/rails/mailers/email.html.erb +98 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/rails/mailers/index.html.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/rails/mailers/mailer.html.erb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/rails/welcome/index.html.erb +245 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/test_help.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/test_unit/railtie.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/test_unit/sub_test_task.rb +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/test_unit/testing.rake +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/version.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/welcome_controller.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/CONTRIBUTING.rdoc +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/History.rdoc +609 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/Manifest.txt +162 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/README.rdoc +137 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/Rakefile +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/bin/rake +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/glossary.rdoc +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/jamis.rb +591 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/rake.1.gz +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/rakefile.rdoc +653 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.6.rdoc +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.3.rdoc +102 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.4.rdoc +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.5.rdoc +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.6.rdoc +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-10.0.0.rdoc +178 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-10.0.1.rdoc +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-10.0.2.rdoc +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-10.0.3.rdoc +191 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-10.1.0.rdoc +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake.rb +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/alt_system.rb +110 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb +783 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/backtrace.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/clean.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/contrib/ftptools.rb +137 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/contrib/publisher.rb +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/contrib/rubyforgepublisher.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/contrib/sshpublisher.rb +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/contrib/sys.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/cpu_counter.rb +109 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/default_loader.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/dsl_definition.rb +198 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/early_time.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/ext/core.rb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/ext/module.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/ext/string.rb +173 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/ext/time.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/file_list.rb +414 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb +116 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/gempackagetask.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/invocation_chain.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/linked_list.rb +103 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/loaders/makefile.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/multi_task.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/packagetask.rb +202 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/pathmap.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/phony.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/promise.rb +99 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/rake_module.rb +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/rdoctask.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/ruby182_test_unit_fix.rb +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/runtest.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/scope.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb +383 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task_arguments.rb +98 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task_manager.rb +310 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/tasklib.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/testtask.rb +212 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/thread_pool.rb +164 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/version.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/win32.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/rakelib/publish.rake +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/rakelib/test_times.rake +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/file_creation.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/helper.rb +127 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/support/rakefile_definitions.rb +478 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/support/ruby_runner.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_private_reader.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_application.rb +641 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_application_options.rb +466 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_backtrace.rb +119 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_clean.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_cpu_counter.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_definitions.rb +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_directory_task.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_dsl.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_extension.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_file_list.rb +627 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_file_task.rb +186 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_file_utils.rb +309 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_ftp_file.rb +74 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_functional.rb +482 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_invocation_chain.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_linked_list.rb +84 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_makefile_loader.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_multi_task.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_name_space.rb +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_path_map.rb +168 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_rake_test_loader.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_reduce_compat.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_require.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_rules.rb +388 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_scope.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task.rb +392 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task_argument_parsing.rb +109 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task_arguments.rb +127 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task_lib.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task_manager.rb +178 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task_with_arguments.rb +171 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_test_task.rb +141 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_thread_pool.rb +142 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_top_level_functions.rb +71 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_thread_history_display.rb +101 -0
- data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_trace_output.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/CHANGELOG.md +139 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/LICENSE.md +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/README.md +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/Thorfile +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/bin/thor +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor.rb +484 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions.rb +319 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions/create_file.rb +103 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions/create_link.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions/directory.rb +118 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions/empty_directory.rb +135 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions/file_manipulation.rb +316 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb +107 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/base.rb +656 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/command.rb +133 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/core_ext/hash_with_indifferent_access.rb +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/core_ext/io_binary_read.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/core_ext/ordered_hash.rb +98 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/error.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/group.rb +281 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb +178 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/line_editor.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/line_editor/basic.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/line_editor/readline.rb +88 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/parser.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/parser/argument.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/parser/arguments.rb +175 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/parser/option.rb +125 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/parser/options.rb +218 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/rake_compat.rb +71 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/runner.rb +322 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/shell.rb +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/shell/basic.rb +421 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/shell/color.rb +149 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/shell/html.rb +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/util.rb +267 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/version.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions/create_file_spec.rb +168 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions/create_link_spec.rb +96 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions/directory_spec.rb +169 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions/empty_directory_spec.rb +129 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions/file_manipulation_spec.rb +392 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions/inject_into_file_spec.rb +135 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions_spec.rb +331 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/base_spec.rb +298 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/command_spec.rb +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/core_ext/hash_with_indifferent_access_spec.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/core_ext/ordered_hash_spec.rb +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/exit_condition_spec.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/application.rb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/app{1}/README +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/bundle/execute.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/bundle/main.thor +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/command.thor +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/%file_name%.rb.tt +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/COMMENTER +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/README +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/block_helper.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/config.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/config.yaml.tt +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/excluding/%file_name%.rb.tt +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/enum.thor +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/group.thor +128 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/invoke.thor +131 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/path with spaces b/data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/path with → spaces +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/preserve/script.sh +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/script.thor +220 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/subcommand.thor +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/group_spec.rb +222 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/helper.rb +80 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/invocation_spec.rb +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/line_editor/basic_spec.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/line_editor/readline_spec.rb +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/line_editor_spec.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/parser/argument_spec.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/parser/arguments_spec.rb +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/parser/option_spec.rb +210 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/parser/options_spec.rb +414 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/quality_spec.rb +75 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/rake_compat_spec.rb +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/register_spec.rb +227 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/runner_spec.rb +246 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/application.rb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/app{1}/README +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/bundle/execute.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/bundle/main.thor +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/command.thor +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/%file_name%.rb.tt +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/COMMENTER +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/README +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/block_helper.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/config.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/config.yaml.tt +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/excluding/%file_name%.rb.tt +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/enum.thor +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/group.thor +128 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/invoke.thor +131 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/path with spaces b/data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/path with → spaces +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/preserve/script.sh +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/script.thor +220 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/subcommand.thor +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/shell/basic_spec.rb +337 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/shell/color_spec.rb +119 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/shell/html_spec.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/shell_spec.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/subcommand_spec.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/thor_spec.rb +505 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/util_spec.rb +196 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/thor.gemspec +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/Gemfile +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/LICENSE +144 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/README.md +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/Rakefile +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/examples/bench_cache.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/thread_safe/JrubyCacheBackendService.java +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/atomic_reference_cache_backend.rb +922 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/cache.rb +163 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/mri_cache_backend.rb +62 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/non_concurrent_cache_backend.rb +133 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/synchronized_cache_backend.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/synchronized_delegator.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/adder.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/atomic_reference.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/cheap_lockable.rb +105 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/striped64.rb +226 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/volatile.rb +62 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/volatile_tuple.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/xor_shift_random.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/version.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/src/thread_safe/SecurityManager.java +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/test_array.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/test_cache.rb +901 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/test_cache_loops.rb +449 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/test_hash.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/test_helper.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/test_synchronized_delegator.rb +84 -0
- data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/thread_safe.gemspec +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/CHANGES.md +649 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/LICENSE +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/README.md +151 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/Rakefile +104 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/country.rb +196 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/country_index_definition.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/country_info.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/country_timezone.rb +123 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb +190 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/data_timezone.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/data_timezone_info.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/info_timezone.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/linked_timezone.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/linked_timezone_info.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/offset_rationals.rb +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/ruby_core_support.rb +146 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/ruby_country_info.rb +70 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/ruby_data_source.rb +136 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/time_or_datetime.rb +333 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb +637 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_definition.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_index_definition.rb +54 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_info.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_offset.rb +74 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_period.rb +204 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb +70 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_transition.rb +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_transition_definition.rb +101 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/transition_data_timezone_info.rb +274 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_country_info.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_data_source.rb +487 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_timezone_info.rb +245 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_country.rb +236 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_country_index_definition.rb +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_country_info.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_country_timezone.rb +161 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_data_source.rb +218 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_data_timezone.rb +99 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_info_timezone.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_linked_timezone.rb +155 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_linked_timezone_info.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_offset_rationals.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_ruby_core_support.rb +168 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_ruby_country_info.rb +80 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_ruby_data_source.rb +143 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_time_or_datetime.rb +639 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone.rb +1334 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_definition.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_index_definition.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_info.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_london.rb +143 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_melbourne.rb +142 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_new_york.rb +142 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_offset.rb +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_period.rb +548 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_proxy.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_transition.rb +352 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_transition_definition.rb +284 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_utc.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_transition_data_timezone_info.rb +423 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_zoneinfo_country_info.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_zoneinfo_data_source.rb +1122 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_zoneinfo_timezone_info.rb +814 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/test_utils.rb +132 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/ts_all.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/ts_all_ruby.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/ts_all_zoneinfo.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +596 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/version.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/America/New_York +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Australia/Melbourne +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/EST +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Etc/UTC +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Amsterdam +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Andorra +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Europe/London +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Paris +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Prague +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Factory +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/iso3166.tab +275 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/posix/Europe/London +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/posixrules +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/right/Europe/London +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/zone.tab +439 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/zone1970.tab +369 -0
- data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/tzinfo.gemspec +21 -0
- data/vendor/bundle/ruby/2.1.0/specifications/actionpack-4.1.6.gemspec +46 -0
- data/vendor/bundle/ruby/2.1.0/specifications/actionview-4.1.6.gemspec +46 -0
- data/vendor/bundle/ruby/2.1.0/specifications/activesupport-4.1.6.gemspec +46 -0
- data/vendor/bundle/ruby/2.1.0/specifications/builder-3.2.2.gemspec +23 -0
- data/vendor/bundle/ruby/2.1.0/specifications/erubis-2.7.0.gemspec +22 -0
- data/vendor/bundle/ruby/2.1.0/specifications/i18n-0.6.11.gemspec +21 -0
- data/vendor/bundle/ruby/2.1.0/specifications/minitest-5.4.1.gemspec +39 -0
- data/vendor/bundle/ruby/2.1.0/specifications/rack-1.5.2.gemspec +39 -0
- data/vendor/bundle/ruby/2.1.0/specifications/rack-test-0.6.2.gemspec +34 -0
- data/vendor/bundle/ruby/2.1.0/specifications/railties-4.1.6.gemspec +48 -0
- data/vendor/bundle/ruby/2.1.0/specifications/rake-10.3.2.gemspec +45 -0
- data/vendor/bundle/ruby/2.1.0/specifications/thor-0.19.1.gemspec +34 -0
- data/vendor/bundle/ruby/2.1.0/specifications/thread_safe-0.3.4.gemspec +38 -0
- data/vendor/bundle/ruby/2.1.0/specifications/tzinfo-1.2.2.gemspec +37 -0
- metadata +1842 -3
data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/controller_helper.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'active_support/core_ext/module/attr_internal'
|
2
|
+
|
3
|
+
module ActionView
|
4
|
+
module Helpers
|
5
|
+
# This module keeps all methods and behavior in ActionView
|
6
|
+
# that simply delegates to the controller.
|
7
|
+
module ControllerHelper #:nodoc:
|
8
|
+
attr_internal :controller, :request
|
9
|
+
|
10
|
+
delegate :request_forgery_protection_token, :params, :session, :cookies, :response, :headers,
|
11
|
+
:flash, :action_name, :controller_name, :controller_path, :to => :controller
|
12
|
+
|
13
|
+
def assign_controller(controller)
|
14
|
+
if @_controller = controller
|
15
|
+
@_request = controller.request if controller.respond_to?(:request)
|
16
|
+
@_config = controller.config.inheritable_copy if controller.respond_to?(:config)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def logger
|
21
|
+
controller.logger if controller.respond_to?(:logger)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module ActionView
|
2
|
+
# = Action View CSRF Helper
|
3
|
+
module Helpers
|
4
|
+
module CsrfHelper
|
5
|
+
# Returns meta tags "csrf-param" and "csrf-token" with the name of the cross-site
|
6
|
+
# request forgery protection parameter and token, respectively.
|
7
|
+
#
|
8
|
+
# <head>
|
9
|
+
# <%= csrf_meta_tags %>
|
10
|
+
# </head>
|
11
|
+
#
|
12
|
+
# These are used to generate the dynamic forms that implement non-remote links with
|
13
|
+
# <tt>:method</tt>.
|
14
|
+
#
|
15
|
+
# You don't need to use these tags for regular forms as they generate their own hidden fields.
|
16
|
+
#
|
17
|
+
# For AJAX requests other than GETs, extract the "csrf-token" from the meta-tag and send as the
|
18
|
+
# "X-CSRF-Token" HTTP header. If you are using jQuery with jquery-rails this happens automatically.
|
19
|
+
#
|
20
|
+
def csrf_meta_tags
|
21
|
+
if protect_against_forgery?
|
22
|
+
[
|
23
|
+
tag('meta', :name => 'csrf-param', :content => request_forgery_protection_token),
|
24
|
+
tag('meta', :name => 'csrf-token', :content => form_authenticity_token)
|
25
|
+
].join("\n").html_safe
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
# For backwards compatibility.
|
30
|
+
alias csrf_meta_tag csrf_meta_tags
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,1094 @@
|
|
1
|
+
require 'date'
|
2
|
+
require 'action_view/helpers/tag_helper'
|
3
|
+
require 'active_support/core_ext/array/extract_options'
|
4
|
+
require 'active_support/core_ext/date/conversions'
|
5
|
+
require 'active_support/core_ext/hash/slice'
|
6
|
+
require 'active_support/core_ext/object/with_options'
|
7
|
+
|
8
|
+
module ActionView
|
9
|
+
module Helpers
|
10
|
+
# = Action View Date Helpers
|
11
|
+
#
|
12
|
+
# The Date Helper primarily creates select/option tags for different kinds of dates and times or date and time
|
13
|
+
# elements. All of the select-type methods share a number of common options that are as follows:
|
14
|
+
#
|
15
|
+
# * <tt>:prefix</tt> - overwrites the default prefix of "date" used for the select names. So specifying "birthday"
|
16
|
+
# would give \birthday[month] instead of \date[month] if passed to the <tt>select_month</tt> method.
|
17
|
+
# * <tt>:include_blank</tt> - set to true if it should be possible to set an empty date.
|
18
|
+
# * <tt>:discard_type</tt> - set to true if you want to discard the type part of the select name. If set to true,
|
19
|
+
# the <tt>select_month</tt> method would use simply "date" (which can be overwritten using <tt>:prefix</tt>) instead
|
20
|
+
# of \date[month].
|
21
|
+
module DateHelper
|
22
|
+
# Reports the approximate distance in time between two Time, Date or DateTime objects or integers as seconds.
|
23
|
+
# Pass <tt>include_seconds: true</tt> if you want more detailed approximations when distance < 1 min, 29 secs.
|
24
|
+
# Distances are reported based on the following table:
|
25
|
+
#
|
26
|
+
# 0 <-> 29 secs # => less than a minute
|
27
|
+
# 30 secs <-> 1 min, 29 secs # => 1 minute
|
28
|
+
# 1 min, 30 secs <-> 44 mins, 29 secs # => [2..44] minutes
|
29
|
+
# 44 mins, 30 secs <-> 89 mins, 29 secs # => about 1 hour
|
30
|
+
# 89 mins, 30 secs <-> 23 hrs, 59 mins, 29 secs # => about [2..24] hours
|
31
|
+
# 23 hrs, 59 mins, 30 secs <-> 41 hrs, 59 mins, 29 secs # => 1 day
|
32
|
+
# 41 hrs, 59 mins, 30 secs <-> 29 days, 23 hrs, 59 mins, 29 secs # => [2..29] days
|
33
|
+
# 29 days, 23 hrs, 59 mins, 30 secs <-> 44 days, 23 hrs, 59 mins, 29 secs # => about 1 month
|
34
|
+
# 44 days, 23 hrs, 59 mins, 30 secs <-> 59 days, 23 hrs, 59 mins, 29 secs # => about 2 months
|
35
|
+
# 59 days, 23 hrs, 59 mins, 30 secs <-> 1 yr minus 1 sec # => [2..12] months
|
36
|
+
# 1 yr <-> 1 yr, 3 months # => about 1 year
|
37
|
+
# 1 yr, 3 months <-> 1 yr, 9 months # => over 1 year
|
38
|
+
# 1 yr, 9 months <-> 2 yr minus 1 sec # => almost 2 years
|
39
|
+
# 2 yrs <-> max time or date # => (same rules as 1 yr)
|
40
|
+
#
|
41
|
+
# With <tt>include_seconds: true</tt> and the difference < 1 minute 29 seconds:
|
42
|
+
# 0-4 secs # => less than 5 seconds
|
43
|
+
# 5-9 secs # => less than 10 seconds
|
44
|
+
# 10-19 secs # => less than 20 seconds
|
45
|
+
# 20-39 secs # => half a minute
|
46
|
+
# 40-59 secs # => less than a minute
|
47
|
+
# 60-89 secs # => 1 minute
|
48
|
+
#
|
49
|
+
# from_time = Time.now
|
50
|
+
# distance_of_time_in_words(from_time, from_time + 50.minutes) # => about 1 hour
|
51
|
+
# distance_of_time_in_words(from_time, 50.minutes.from_now) # => about 1 hour
|
52
|
+
# distance_of_time_in_words(from_time, from_time + 15.seconds) # => less than a minute
|
53
|
+
# distance_of_time_in_words(from_time, from_time + 15.seconds, include_seconds: true) # => less than 20 seconds
|
54
|
+
# distance_of_time_in_words(from_time, 3.years.from_now) # => about 3 years
|
55
|
+
# distance_of_time_in_words(from_time, from_time + 60.hours) # => 3 days
|
56
|
+
# distance_of_time_in_words(from_time, from_time + 45.seconds, include_seconds: true) # => less than a minute
|
57
|
+
# distance_of_time_in_words(from_time, from_time - 45.seconds, include_seconds: true) # => less than a minute
|
58
|
+
# distance_of_time_in_words(from_time, 76.seconds.from_now) # => 1 minute
|
59
|
+
# distance_of_time_in_words(from_time, from_time + 1.year + 3.days) # => about 1 year
|
60
|
+
# distance_of_time_in_words(from_time, from_time + 3.years + 6.months) # => over 3 years
|
61
|
+
# distance_of_time_in_words(from_time, from_time + 4.years + 9.days + 30.minutes + 5.seconds) # => about 4 years
|
62
|
+
#
|
63
|
+
# to_time = Time.now + 6.years + 19.days
|
64
|
+
# distance_of_time_in_words(from_time, to_time, include_seconds: true) # => about 6 years
|
65
|
+
# distance_of_time_in_words(to_time, from_time, include_seconds: true) # => about 6 years
|
66
|
+
# distance_of_time_in_words(Time.now, Time.now) # => less than a minute
|
67
|
+
def distance_of_time_in_words(from_time, to_time = 0, options = {})
|
68
|
+
options = {
|
69
|
+
scope: :'datetime.distance_in_words'
|
70
|
+
}.merge!(options)
|
71
|
+
|
72
|
+
from_time = from_time.to_time if from_time.respond_to?(:to_time)
|
73
|
+
to_time = to_time.to_time if to_time.respond_to?(:to_time)
|
74
|
+
from_time, to_time = to_time, from_time if from_time > to_time
|
75
|
+
distance_in_minutes = ((to_time - from_time)/60.0).round
|
76
|
+
distance_in_seconds = (to_time - from_time).round
|
77
|
+
|
78
|
+
I18n.with_options :locale => options[:locale], :scope => options[:scope] do |locale|
|
79
|
+
case distance_in_minutes
|
80
|
+
when 0..1
|
81
|
+
return distance_in_minutes == 0 ?
|
82
|
+
locale.t(:less_than_x_minutes, :count => 1) :
|
83
|
+
locale.t(:x_minutes, :count => distance_in_minutes) unless options[:include_seconds]
|
84
|
+
|
85
|
+
case distance_in_seconds
|
86
|
+
when 0..4 then locale.t :less_than_x_seconds, :count => 5
|
87
|
+
when 5..9 then locale.t :less_than_x_seconds, :count => 10
|
88
|
+
when 10..19 then locale.t :less_than_x_seconds, :count => 20
|
89
|
+
when 20..39 then locale.t :half_a_minute
|
90
|
+
when 40..59 then locale.t :less_than_x_minutes, :count => 1
|
91
|
+
else locale.t :x_minutes, :count => 1
|
92
|
+
end
|
93
|
+
|
94
|
+
when 2...45 then locale.t :x_minutes, :count => distance_in_minutes
|
95
|
+
when 45...90 then locale.t :about_x_hours, :count => 1
|
96
|
+
# 90 mins up to 24 hours
|
97
|
+
when 90...1440 then locale.t :about_x_hours, :count => (distance_in_minutes.to_f / 60.0).round
|
98
|
+
# 24 hours up to 42 hours
|
99
|
+
when 1440...2520 then locale.t :x_days, :count => 1
|
100
|
+
# 42 hours up to 30 days
|
101
|
+
when 2520...43200 then locale.t :x_days, :count => (distance_in_minutes.to_f / 1440.0).round
|
102
|
+
# 30 days up to 60 days
|
103
|
+
when 43200...86400 then locale.t :about_x_months, :count => (distance_in_minutes.to_f / 43200.0).round
|
104
|
+
# 60 days up to 365 days
|
105
|
+
when 86400...525600 then locale.t :x_months, :count => (distance_in_minutes.to_f / 43200.0).round
|
106
|
+
else
|
107
|
+
if from_time.acts_like?(:time) && to_time.acts_like?(:time)
|
108
|
+
fyear = from_time.year
|
109
|
+
fyear += 1 if from_time.month >= 3
|
110
|
+
tyear = to_time.year
|
111
|
+
tyear -= 1 if to_time.month < 3
|
112
|
+
leap_years = (fyear > tyear) ? 0 : (fyear..tyear).count{|x| Date.leap?(x)}
|
113
|
+
minute_offset_for_leap_year = leap_years * 1440
|
114
|
+
# Discount the leap year days when calculating year distance.
|
115
|
+
# e.g. if there are 20 leap year days between 2 dates having the same day
|
116
|
+
# and month then the based on 365 days calculation
|
117
|
+
# the distance in years will come out to over 80 years when in written
|
118
|
+
# English it would read better as about 80 years.
|
119
|
+
minutes_with_offset = distance_in_minutes - minute_offset_for_leap_year
|
120
|
+
else
|
121
|
+
minutes_with_offset = distance_in_minutes
|
122
|
+
end
|
123
|
+
remainder = (minutes_with_offset % 525600)
|
124
|
+
distance_in_years = (minutes_with_offset.div 525600)
|
125
|
+
if remainder < 131400
|
126
|
+
locale.t(:about_x_years, :count => distance_in_years)
|
127
|
+
elsif remainder < 394200
|
128
|
+
locale.t(:over_x_years, :count => distance_in_years)
|
129
|
+
else
|
130
|
+
locale.t(:almost_x_years, :count => distance_in_years + 1)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
# Like <tt>distance_of_time_in_words</tt>, but where <tt>to_time</tt> is fixed to <tt>Time.now</tt>.
|
137
|
+
#
|
138
|
+
# time_ago_in_words(3.minutes.from_now) # => 3 minutes
|
139
|
+
# time_ago_in_words(3.minutes.ago) # => 3 minutes
|
140
|
+
# time_ago_in_words(Time.now - 15.hours) # => about 15 hours
|
141
|
+
# time_ago_in_words(Time.now) # => less than a minute
|
142
|
+
# time_ago_in_words(Time.now, include_seconds: true) # => less than 5 seconds
|
143
|
+
#
|
144
|
+
# from_time = Time.now - 3.days - 14.minutes - 25.seconds
|
145
|
+
# time_ago_in_words(from_time) # => 3 days
|
146
|
+
#
|
147
|
+
# from_time = (3.days + 14.minutes + 25.seconds).ago
|
148
|
+
# time_ago_in_words(from_time) # => 3 days
|
149
|
+
#
|
150
|
+
# Note that you cannot pass a <tt>Numeric</tt> value to <tt>time_ago_in_words</tt>.
|
151
|
+
#
|
152
|
+
def time_ago_in_words(from_time, include_seconds_or_options = {})
|
153
|
+
distance_of_time_in_words(from_time, Time.now, include_seconds_or_options)
|
154
|
+
end
|
155
|
+
|
156
|
+
alias_method :distance_of_time_in_words_to_now, :time_ago_in_words
|
157
|
+
|
158
|
+
# Returns a set of select tags (one for year, month, and day) pre-selected for accessing a specified date-based
|
159
|
+
# attribute (identified by +method+) on an object assigned to the template (identified by +object+).
|
160
|
+
#
|
161
|
+
# ==== Options
|
162
|
+
# * <tt>:use_month_numbers</tt> - Set to true if you want to use month numbers rather than month names (e.g.
|
163
|
+
# "2" instead of "February").
|
164
|
+
# * <tt>:use_two_digit_numbers</tt> - Set to true if you want to display two digit month and day numbers (e.g.
|
165
|
+
# "02" instead of "February" and "08" instead of "8").
|
166
|
+
# * <tt>:use_short_month</tt> - Set to true if you want to use abbreviated month names instead of full
|
167
|
+
# month names (e.g. "Feb" instead of "February").
|
168
|
+
# * <tt>:add_month_numbers</tt> - Set to true if you want to use both month numbers and month names (e.g.
|
169
|
+
# "2 - February" instead of "February").
|
170
|
+
# * <tt>:use_month_names</tt> - Set to an array with 12 month names if you want to customize month names.
|
171
|
+
# Note: You can also use Rails' i18n functionality for this.
|
172
|
+
# * <tt>:month_format_string</tt> - Set to a format string. The string gets passed keys +:number+ (integer)
|
173
|
+
# and +:name+ (string). A format string would be something like "%{name} (%<number>02d)" for example.
|
174
|
+
# See <tt>Kernel.sprintf</tt> for documentation on format sequences.
|
175
|
+
# * <tt>:date_separator</tt> - Specifies a string to separate the date fields. Default is "" (i.e. nothing).
|
176
|
+
# * <tt>:start_year</tt> - Set the start year for the year select. Default is <tt>Date.today.year - 5</tt>if
|
177
|
+
# you are creating new record. While editing existing record, <tt>:start_year</tt> defaults to
|
178
|
+
# the current selected year minus 5.
|
179
|
+
# * <tt>:end_year</tt> - Set the end year for the year select. Default is <tt>Date.today.year + 5</tt> if
|
180
|
+
# you are creating new record. While editing existing record, <tt>:end_year</tt> defaults to
|
181
|
+
# the current selected year plus 5.
|
182
|
+
# * <tt>:discard_day</tt> - Set to true if you don't want to show a day select. This includes the day
|
183
|
+
# as a hidden field instead of showing a select field. Also note that this implicitly sets the day to be the
|
184
|
+
# first of the given month in order to not create invalid dates like 31 February.
|
185
|
+
# * <tt>:discard_month</tt> - Set to true if you don't want to show a month select. This includes the month
|
186
|
+
# as a hidden field instead of showing a select field. Also note that this implicitly sets :discard_day to true.
|
187
|
+
# * <tt>:discard_year</tt> - Set to true if you don't want to show a year select. This includes the year
|
188
|
+
# as a hidden field instead of showing a select field.
|
189
|
+
# * <tt>:order</tt> - Set to an array containing <tt>:day</tt>, <tt>:month</tt> and <tt>:year</tt> to
|
190
|
+
# customize the order in which the select fields are shown. If you leave out any of the symbols, the respective
|
191
|
+
# select will not be shown (like when you set <tt>discard_xxx: true</tt>. Defaults to the order defined in
|
192
|
+
# the respective locale (e.g. [:year, :month, :day] in the en locale that ships with Rails).
|
193
|
+
# * <tt>:include_blank</tt> - Include a blank option in every select field so it's possible to set empty
|
194
|
+
# dates.
|
195
|
+
# * <tt>:default</tt> - Set a default date if the affected date isn't set or is nil.
|
196
|
+
# * <tt>:selected</tt> - Set a date that overrides the actual value.
|
197
|
+
# * <tt>:disabled</tt> - Set to true if you want show the select fields as disabled.
|
198
|
+
# * <tt>:prompt</tt> - Set to true (for a generic prompt), a prompt string or a hash of prompt strings
|
199
|
+
# for <tt>:year</tt>, <tt>:month</tt>, <tt>:day</tt>, <tt>:hour</tt>, <tt>:minute</tt> and <tt>:second</tt>.
|
200
|
+
# Setting this option prepends a select option with a generic prompt (Day, Month, Year, Hour, Minute, Seconds)
|
201
|
+
# or the given prompt string.
|
202
|
+
# * <tt>:with_css_classes</tt> - Set to true if you want assign different styles for 'select' tags. This option
|
203
|
+
# automatically set classes 'year', 'month', 'day', 'hour', 'minute' and 'second' for your 'select' tags.
|
204
|
+
#
|
205
|
+
# If anything is passed in the +html_options+ hash it will be applied to every select tag in the set.
|
206
|
+
#
|
207
|
+
# NOTE: Discarded selects will default to 1. So if no month select is available, January will be assumed.
|
208
|
+
#
|
209
|
+
# # Generates a date select that when POSTed is stored in the article variable, in the written_on attribute.
|
210
|
+
# date_select("article", "written_on")
|
211
|
+
#
|
212
|
+
# # Generates a date select that when POSTed is stored in the article variable, in the written_on attribute,
|
213
|
+
# # with the year in the year drop down box starting at 1995.
|
214
|
+
# date_select("article", "written_on", start_year: 1995)
|
215
|
+
#
|
216
|
+
# # Generates a date select that when POSTed is stored in the article variable, in the written_on attribute,
|
217
|
+
# # with the year in the year drop down box starting at 1995, numbers used for months instead of words,
|
218
|
+
# # and without a day select box.
|
219
|
+
# date_select("article", "written_on", start_year: 1995, use_month_numbers: true,
|
220
|
+
# discard_day: true, include_blank: true)
|
221
|
+
#
|
222
|
+
# # Generates a date select that when POSTed is stored in the article variable, in the written_on attribute,
|
223
|
+
# # with two digit numbers used for months and days.
|
224
|
+
# date_select("article", "written_on", use_two_digit_numbers: true)
|
225
|
+
#
|
226
|
+
# # Generates a date select that when POSTed is stored in the article variable, in the written_on attribute
|
227
|
+
# # with the fields ordered as day, month, year rather than month, day, year.
|
228
|
+
# date_select("article", "written_on", order: [:day, :month, :year])
|
229
|
+
#
|
230
|
+
# # Generates a date select that when POSTed is stored in the user variable, in the birthday attribute
|
231
|
+
# # lacking a year field.
|
232
|
+
# date_select("user", "birthday", order: [:month, :day])
|
233
|
+
#
|
234
|
+
# # Generates a date select that when POSTed is stored in the article variable, in the written_on attribute
|
235
|
+
# # which is initially set to the date 3 days from the current date
|
236
|
+
# date_select("article", "written_on", default: 3.days.from_now)
|
237
|
+
#
|
238
|
+
# # Generates a date select that when POSTed is stored in the article variable, in the written_on attribute
|
239
|
+
# # which is set in the form with todays date, regardless of the value in the Active Record object.
|
240
|
+
# date_select("article", "written_on", selected: Date.today)
|
241
|
+
#
|
242
|
+
# # Generates a date select that when POSTed is stored in the credit_card variable, in the bill_due attribute
|
243
|
+
# # that will have a default day of 20.
|
244
|
+
# date_select("credit_card", "bill_due", default: { day: 20 })
|
245
|
+
#
|
246
|
+
# # Generates a date select with custom prompts.
|
247
|
+
# date_select("article", "written_on", prompt: { day: 'Select day', month: 'Select month', year: 'Select year' })
|
248
|
+
#
|
249
|
+
# The selects are prepared for multi-parameter assignment to an Active Record object.
|
250
|
+
#
|
251
|
+
# Note: If the day is not included as an option but the month is, the day will be set to the 1st to ensure that
|
252
|
+
# all month choices are valid.
|
253
|
+
def date_select(object_name, method, options = {}, html_options = {})
|
254
|
+
Tags::DateSelect.new(object_name, method, self, options, html_options).render
|
255
|
+
end
|
256
|
+
|
257
|
+
# Returns a set of select tags (one for hour, minute and optionally second) pre-selected for accessing a
|
258
|
+
# specified time-based attribute (identified by +method+) on an object assigned to the template (identified by
|
259
|
+
# +object+). You can include the seconds with <tt>:include_seconds</tt>. You can get hours in the AM/PM format
|
260
|
+
# with <tt>:ampm</tt> option.
|
261
|
+
#
|
262
|
+
# This method will also generate 3 input hidden tags, for the actual year, month and day unless the option
|
263
|
+
# <tt>:ignore_date</tt> is set to +true+. If you set the <tt>:ignore_date</tt> to +true+, you must have a
|
264
|
+
# +date_select+ on the same method within the form otherwise an exception will be raised.
|
265
|
+
#
|
266
|
+
# If anything is passed in the html_options hash it will be applied to every select tag in the set.
|
267
|
+
#
|
268
|
+
# # Creates a time select tag that, when POSTed, will be stored in the article variable in the sunrise attribute.
|
269
|
+
# time_select("article", "sunrise")
|
270
|
+
#
|
271
|
+
# # Creates a time select tag with a seconds field that, when POSTed, will be stored in the article variables in
|
272
|
+
# # the sunrise attribute.
|
273
|
+
# time_select("article", "start_time", include_seconds: true)
|
274
|
+
#
|
275
|
+
# # You can set the <tt>:minute_step</tt> to 15 which will give you: 00, 15, 30 and 45.
|
276
|
+
# time_select 'game', 'game_time', {minute_step: 15}
|
277
|
+
#
|
278
|
+
# # Creates a time select tag with a custom prompt. Use <tt>prompt: true</tt> for generic prompts.
|
279
|
+
# time_select("article", "written_on", prompt: {hour: 'Choose hour', minute: 'Choose minute', second: 'Choose seconds'})
|
280
|
+
# time_select("article", "written_on", prompt: {hour: true}) # generic prompt for hours
|
281
|
+
# time_select("article", "written_on", prompt: true) # generic prompts for all
|
282
|
+
#
|
283
|
+
# # You can set :ampm option to true which will show the hours as: 12 PM, 01 AM .. 11 PM.
|
284
|
+
# time_select 'game', 'game_time', {ampm: true}
|
285
|
+
#
|
286
|
+
# The selects are prepared for multi-parameter assignment to an Active Record object.
|
287
|
+
#
|
288
|
+
# Note: If the day is not included as an option but the month is, the day will be set to the 1st to ensure that
|
289
|
+
# all month choices are valid.
|
290
|
+
def time_select(object_name, method, options = {}, html_options = {})
|
291
|
+
Tags::TimeSelect.new(object_name, method, self, options, html_options).render
|
292
|
+
end
|
293
|
+
|
294
|
+
# Returns a set of select tags (one for year, month, day, hour, and minute) pre-selected for accessing a
|
295
|
+
# specified datetime-based attribute (identified by +method+) on an object assigned to the template (identified
|
296
|
+
# by +object+).
|
297
|
+
#
|
298
|
+
# If anything is passed in the html_options hash it will be applied to every select tag in the set.
|
299
|
+
#
|
300
|
+
# # Generates a datetime select that, when POSTed, will be stored in the article variable in the written_on
|
301
|
+
# # attribute.
|
302
|
+
# datetime_select("article", "written_on")
|
303
|
+
#
|
304
|
+
# # Generates a datetime select with a year select that starts at 1995 that, when POSTed, will be stored in the
|
305
|
+
# # article variable in the written_on attribute.
|
306
|
+
# datetime_select("article", "written_on", start_year: 1995)
|
307
|
+
#
|
308
|
+
# # Generates a datetime select with a default value of 3 days from the current time that, when POSTed, will
|
309
|
+
# # be stored in the trip variable in the departing attribute.
|
310
|
+
# datetime_select("trip", "departing", default: 3.days.from_now)
|
311
|
+
#
|
312
|
+
# # Generate a datetime select with hours in the AM/PM format
|
313
|
+
# datetime_select("article", "written_on", ampm: true)
|
314
|
+
#
|
315
|
+
# # Generates a datetime select that discards the type that, when POSTed, will be stored in the article variable
|
316
|
+
# # as the written_on attribute.
|
317
|
+
# datetime_select("article", "written_on", discard_type: true)
|
318
|
+
#
|
319
|
+
# # Generates a datetime select with a custom prompt. Use <tt>prompt: true</tt> for generic prompts.
|
320
|
+
# datetime_select("article", "written_on", prompt: {day: 'Choose day', month: 'Choose month', year: 'Choose year'})
|
321
|
+
# datetime_select("article", "written_on", prompt: {hour: true}) # generic prompt for hours
|
322
|
+
# datetime_select("article", "written_on", prompt: true) # generic prompts for all
|
323
|
+
#
|
324
|
+
# The selects are prepared for multi-parameter assignment to an Active Record object.
|
325
|
+
def datetime_select(object_name, method, options = {}, html_options = {})
|
326
|
+
Tags::DatetimeSelect.new(object_name, method, self, options, html_options).render
|
327
|
+
end
|
328
|
+
|
329
|
+
# Returns a set of html select-tags (one for year, month, day, hour, minute, and second) pre-selected with the
|
330
|
+
# +datetime+. It's also possible to explicitly set the order of the tags using the <tt>:order</tt> option with
|
331
|
+
# an array of symbols <tt>:year</tt>, <tt>:month</tt> and <tt>:day</tt> in the desired order. If you do not
|
332
|
+
# supply a Symbol, it will be appended onto the <tt>:order</tt> passed in. You can also add
|
333
|
+
# <tt>:date_separator</tt>, <tt>:datetime_separator</tt> and <tt>:time_separator</tt> keys to the +options+ to
|
334
|
+
# control visual display of the elements.
|
335
|
+
#
|
336
|
+
# If anything is passed in the html_options hash it will be applied to every select tag in the set.
|
337
|
+
#
|
338
|
+
# my_date_time = Time.now + 4.days
|
339
|
+
#
|
340
|
+
# # Generates a datetime select that defaults to the datetime in my_date_time (four days after today).
|
341
|
+
# select_datetime(my_date_time)
|
342
|
+
#
|
343
|
+
# # Generates a datetime select that defaults to today (no specified datetime)
|
344
|
+
# select_datetime()
|
345
|
+
#
|
346
|
+
# # Generates a datetime select that defaults to the datetime in my_date_time (four days after today)
|
347
|
+
# # with the fields ordered year, month, day rather than month, day, year.
|
348
|
+
# select_datetime(my_date_time, order: [:year, :month, :day])
|
349
|
+
#
|
350
|
+
# # Generates a datetime select that defaults to the datetime in my_date_time (four days after today)
|
351
|
+
# # with a '/' between each date field.
|
352
|
+
# select_datetime(my_date_time, date_separator: '/')
|
353
|
+
#
|
354
|
+
# # Generates a datetime select that defaults to the datetime in my_date_time (four days after today)
|
355
|
+
# # with a date fields separated by '/', time fields separated by '' and the date and time fields
|
356
|
+
# # separated by a comma (',').
|
357
|
+
# select_datetime(my_date_time, date_separator: '/', time_separator: '', datetime_separator: ',')
|
358
|
+
#
|
359
|
+
# # Generates a datetime select that discards the type of the field and defaults to the datetime in
|
360
|
+
# # my_date_time (four days after today)
|
361
|
+
# select_datetime(my_date_time, discard_type: true)
|
362
|
+
#
|
363
|
+
# # Generate a datetime field with hours in the AM/PM format
|
364
|
+
# select_datetime(my_date_time, ampm: true)
|
365
|
+
#
|
366
|
+
# # Generates a datetime select that defaults to the datetime in my_date_time (four days after today)
|
367
|
+
# # prefixed with 'payday' rather than 'date'
|
368
|
+
# select_datetime(my_date_time, prefix: 'payday')
|
369
|
+
#
|
370
|
+
# # Generates a datetime select with a custom prompt. Use <tt>prompt: true</tt> for generic prompts.
|
371
|
+
# select_datetime(my_date_time, prompt: {day: 'Choose day', month: 'Choose month', year: 'Choose year'})
|
372
|
+
# select_datetime(my_date_time, prompt: {hour: true}) # generic prompt for hours
|
373
|
+
# select_datetime(my_date_time, prompt: true) # generic prompts for all
|
374
|
+
def select_datetime(datetime = Time.current, options = {}, html_options = {})
|
375
|
+
DateTimeSelector.new(datetime, options, html_options).select_datetime
|
376
|
+
end
|
377
|
+
|
378
|
+
# Returns a set of html select-tags (one for year, month, and day) pre-selected with the +date+.
|
379
|
+
# It's possible to explicitly set the order of the tags using the <tt>:order</tt> option with an array of
|
380
|
+
# symbols <tt>:year</tt>, <tt>:month</tt> and <tt>:day</tt> in the desired order.
|
381
|
+
# If the array passed to the <tt>:order</tt> option does not contain all the three symbols, all tags will be hidden.
|
382
|
+
#
|
383
|
+
# If anything is passed in the html_options hash it will be applied to every select tag in the set.
|
384
|
+
#
|
385
|
+
# my_date = Time.now + 6.days
|
386
|
+
#
|
387
|
+
# # Generates a date select that defaults to the date in my_date (six days after today).
|
388
|
+
# select_date(my_date)
|
389
|
+
#
|
390
|
+
# # Generates a date select that defaults to today (no specified date).
|
391
|
+
# select_date()
|
392
|
+
#
|
393
|
+
# # Generates a date select that defaults to the date in my_date (six days after today)
|
394
|
+
# # with the fields ordered year, month, day rather than month, day, year.
|
395
|
+
# select_date(my_date, order: [:year, :month, :day])
|
396
|
+
#
|
397
|
+
# # Generates a date select that discards the type of the field and defaults to the date in
|
398
|
+
# # my_date (six days after today).
|
399
|
+
# select_date(my_date, discard_type: true)
|
400
|
+
#
|
401
|
+
# # Generates a date select that defaults to the date in my_date,
|
402
|
+
# # which has fields separated by '/'.
|
403
|
+
# select_date(my_date, date_separator: '/')
|
404
|
+
#
|
405
|
+
# # Generates a date select that defaults to the datetime in my_date (six days after today)
|
406
|
+
# # prefixed with 'payday' rather than 'date'.
|
407
|
+
# select_date(my_date, prefix: 'payday')
|
408
|
+
#
|
409
|
+
# # Generates a date select with a custom prompt. Use <tt>prompt: true</tt> for generic prompts.
|
410
|
+
# select_date(my_date, prompt: {day: 'Choose day', month: 'Choose month', year: 'Choose year'})
|
411
|
+
# select_date(my_date, prompt: {hour: true}) # generic prompt for hours
|
412
|
+
# select_date(my_date, prompt: true) # generic prompts for all
|
413
|
+
def select_date(date = Date.current, options = {}, html_options = {})
|
414
|
+
DateTimeSelector.new(date, options, html_options).select_date
|
415
|
+
end
|
416
|
+
|
417
|
+
# Returns a set of html select-tags (one for hour and minute).
|
418
|
+
# You can set <tt>:time_separator</tt> key to format the output, and
|
419
|
+
# the <tt>:include_seconds</tt> option to include an input for seconds.
|
420
|
+
#
|
421
|
+
# If anything is passed in the html_options hash it will be applied to every select tag in the set.
|
422
|
+
#
|
423
|
+
# my_time = Time.now + 5.days + 7.hours + 3.minutes + 14.seconds
|
424
|
+
#
|
425
|
+
# # Generates a time select that defaults to the time in my_time.
|
426
|
+
# select_time(my_time)
|
427
|
+
#
|
428
|
+
# # Generates a time select that defaults to the current time (no specified time).
|
429
|
+
# select_time()
|
430
|
+
#
|
431
|
+
# # Generates a time select that defaults to the time in my_time,
|
432
|
+
# # which has fields separated by ':'.
|
433
|
+
# select_time(my_time, time_separator: ':')
|
434
|
+
#
|
435
|
+
# # Generates a time select that defaults to the time in my_time,
|
436
|
+
# # that also includes an input for seconds.
|
437
|
+
# select_time(my_time, include_seconds: true)
|
438
|
+
#
|
439
|
+
# # Generates a time select that defaults to the time in my_time, that has fields
|
440
|
+
# # separated by ':' and includes an input for seconds.
|
441
|
+
# select_time(my_time, time_separator: ':', include_seconds: true)
|
442
|
+
#
|
443
|
+
# # Generate a time select field with hours in the AM/PM format
|
444
|
+
# select_time(my_time, ampm: true)
|
445
|
+
#
|
446
|
+
# # Generates a time select field with hours that range from 2 to 14
|
447
|
+
# select_time(my_time, start_hour: 2, end_hour: 14)
|
448
|
+
#
|
449
|
+
# # Generates a time select with a custom prompt. Use <tt>:prompt</tt> to true for generic prompts.
|
450
|
+
# select_time(my_time, prompt: {day: 'Choose day', month: 'Choose month', year: 'Choose year'})
|
451
|
+
# select_time(my_time, prompt: {hour: true}) # generic prompt for hours
|
452
|
+
# select_time(my_time, prompt: true) # generic prompts for all
|
453
|
+
def select_time(datetime = Time.current, options = {}, html_options = {})
|
454
|
+
DateTimeSelector.new(datetime, options, html_options).select_time
|
455
|
+
end
|
456
|
+
|
457
|
+
# Returns a select tag with options for each of the seconds 0 through 59 with the current second selected.
|
458
|
+
# The <tt>datetime</tt> can be either a +Time+ or +DateTime+ object or an integer.
|
459
|
+
# Override the field name using the <tt>:field_name</tt> option, 'second' by default.
|
460
|
+
#
|
461
|
+
# my_time = Time.now + 16.minutes
|
462
|
+
#
|
463
|
+
# # Generates a select field for seconds that defaults to the seconds for the time in my_time.
|
464
|
+
# select_second(my_time)
|
465
|
+
#
|
466
|
+
# # Generates a select field for seconds that defaults to the number given.
|
467
|
+
# select_second(33)
|
468
|
+
#
|
469
|
+
# # Generates a select field for seconds that defaults to the seconds for the time in my_time
|
470
|
+
# # that is named 'interval' rather than 'second'.
|
471
|
+
# select_second(my_time, field_name: 'interval')
|
472
|
+
#
|
473
|
+
# # Generates a select field for seconds with a custom prompt. Use <tt>prompt: true</tt> for a
|
474
|
+
# # generic prompt.
|
475
|
+
# select_second(14, prompt: 'Choose seconds')
|
476
|
+
def select_second(datetime, options = {}, html_options = {})
|
477
|
+
DateTimeSelector.new(datetime, options, html_options).select_second
|
478
|
+
end
|
479
|
+
|
480
|
+
# Returns a select tag with options for each of the minutes 0 through 59 with the current minute selected.
|
481
|
+
# Also can return a select tag with options by <tt>minute_step</tt> from 0 through 59 with the 00 minute
|
482
|
+
# selected. The <tt>datetime</tt> can be either a +Time+ or +DateTime+ object or an integer.
|
483
|
+
# Override the field name using the <tt>:field_name</tt> option, 'minute' by default.
|
484
|
+
#
|
485
|
+
# my_time = Time.now + 6.hours
|
486
|
+
#
|
487
|
+
# # Generates a select field for minutes that defaults to the minutes for the time in my_time.
|
488
|
+
# select_minute(my_time)
|
489
|
+
#
|
490
|
+
# # Generates a select field for minutes that defaults to the number given.
|
491
|
+
# select_minute(14)
|
492
|
+
#
|
493
|
+
# # Generates a select field for minutes that defaults to the minutes for the time in my_time
|
494
|
+
# # that is named 'moment' rather than 'minute'.
|
495
|
+
# select_minute(my_time, field_name: 'moment')
|
496
|
+
#
|
497
|
+
# # Generates a select field for minutes with a custom prompt. Use <tt>prompt: true</tt> for a
|
498
|
+
# # generic prompt.
|
499
|
+
# select_minute(14, prompt: 'Choose minutes')
|
500
|
+
def select_minute(datetime, options = {}, html_options = {})
|
501
|
+
DateTimeSelector.new(datetime, options, html_options).select_minute
|
502
|
+
end
|
503
|
+
|
504
|
+
# Returns a select tag with options for each of the hours 0 through 23 with the current hour selected.
|
505
|
+
# The <tt>datetime</tt> can be either a +Time+ or +DateTime+ object or an integer.
|
506
|
+
# Override the field name using the <tt>:field_name</tt> option, 'hour' by default.
|
507
|
+
#
|
508
|
+
# my_time = Time.now + 6.hours
|
509
|
+
#
|
510
|
+
# # Generates a select field for hours that defaults to the hour for the time in my_time.
|
511
|
+
# select_hour(my_time)
|
512
|
+
#
|
513
|
+
# # Generates a select field for hours that defaults to the number given.
|
514
|
+
# select_hour(13)
|
515
|
+
#
|
516
|
+
# # Generates a select field for hours that defaults to the hour for the time in my_time
|
517
|
+
# # that is named 'stride' rather than 'hour'.
|
518
|
+
# select_hour(my_time, field_name: 'stride')
|
519
|
+
#
|
520
|
+
# # Generates a select field for hours with a custom prompt. Use <tt>prompt: true</tt> for a
|
521
|
+
# # generic prompt.
|
522
|
+
# select_hour(13, prompt: 'Choose hour')
|
523
|
+
#
|
524
|
+
# # Generate a select field for hours in the AM/PM format
|
525
|
+
# select_hour(my_time, ampm: true)
|
526
|
+
#
|
527
|
+
# # Generates a select field that includes options for hours from 2 to 14.
|
528
|
+
# select_hour(my_time, start_hour: 2, end_hour: 14)
|
529
|
+
def select_hour(datetime, options = {}, html_options = {})
|
530
|
+
DateTimeSelector.new(datetime, options, html_options).select_hour
|
531
|
+
end
|
532
|
+
|
533
|
+
# Returns a select tag with options for each of the days 1 through 31 with the current day selected.
|
534
|
+
# The <tt>date</tt> can also be substituted for a day number.
|
535
|
+
# If you want to display days with a leading zero set the <tt>:use_two_digit_numbers</tt> key in +options+ to true.
|
536
|
+
# Override the field name using the <tt>:field_name</tt> option, 'day' by default.
|
537
|
+
#
|
538
|
+
# my_date = Time.now + 2.days
|
539
|
+
#
|
540
|
+
# # Generates a select field for days that defaults to the day for the date in my_date.
|
541
|
+
# select_day(my_date)
|
542
|
+
#
|
543
|
+
# # Generates a select field for days that defaults to the number given.
|
544
|
+
# select_day(5)
|
545
|
+
#
|
546
|
+
# # Generates a select field for days that defaults to the number given, but displays it with two digits.
|
547
|
+
# select_day(5, use_two_digit_numbers: true)
|
548
|
+
#
|
549
|
+
# # Generates a select field for days that defaults to the day for the date in my_date
|
550
|
+
# # that is named 'due' rather than 'day'.
|
551
|
+
# select_day(my_date, field_name: 'due')
|
552
|
+
#
|
553
|
+
# # Generates a select field for days with a custom prompt. Use <tt>prompt: true</tt> for a
|
554
|
+
# # generic prompt.
|
555
|
+
# select_day(5, prompt: 'Choose day')
|
556
|
+
def select_day(date, options = {}, html_options = {})
|
557
|
+
DateTimeSelector.new(date, options, html_options).select_day
|
558
|
+
end
|
559
|
+
|
560
|
+
# Returns a select tag with options for each of the months January through December with the current month
|
561
|
+
# selected. The month names are presented as keys (what's shown to the user) and the month numbers (1-12) are
|
562
|
+
# used as values (what's submitted to the server). It's also possible to use month numbers for the presentation
|
563
|
+
# instead of names -- set the <tt>:use_month_numbers</tt> key in +options+ to true for this to happen. If you
|
564
|
+
# want both numbers and names, set the <tt>:add_month_numbers</tt> key in +options+ to true. If you would prefer
|
565
|
+
# to show month names as abbreviations, set the <tt>:use_short_month</tt> key in +options+ to true. If you want
|
566
|
+
# to use your own month names, set the <tt>:use_month_names</tt> key in +options+ to an array of 12 month names.
|
567
|
+
# If you want to display months with a leading zero set the <tt>:use_two_digit_numbers</tt> key in +options+ to true.
|
568
|
+
# Override the field name using the <tt>:field_name</tt> option, 'month' by default.
|
569
|
+
#
|
570
|
+
# # Generates a select field for months that defaults to the current month that
|
571
|
+
# # will use keys like "January", "March".
|
572
|
+
# select_month(Date.today)
|
573
|
+
#
|
574
|
+
# # Generates a select field for months that defaults to the current month that
|
575
|
+
# # is named "start" rather than "month".
|
576
|
+
# select_month(Date.today, field_name: 'start')
|
577
|
+
#
|
578
|
+
# # Generates a select field for months that defaults to the current month that
|
579
|
+
# # will use keys like "1", "3".
|
580
|
+
# select_month(Date.today, use_month_numbers: true)
|
581
|
+
#
|
582
|
+
# # Generates a select field for months that defaults to the current month that
|
583
|
+
# # will use keys like "1 - January", "3 - March".
|
584
|
+
# select_month(Date.today, add_month_numbers: true)
|
585
|
+
#
|
586
|
+
# # Generates a select field for months that defaults to the current month that
|
587
|
+
# # will use keys like "Jan", "Mar".
|
588
|
+
# select_month(Date.today, use_short_month: true)
|
589
|
+
#
|
590
|
+
# # Generates a select field for months that defaults to the current month that
|
591
|
+
# # will use keys like "Januar", "Marts."
|
592
|
+
# select_month(Date.today, use_month_names: %w(Januar Februar Marts ...))
|
593
|
+
#
|
594
|
+
# # Generates a select field for months that defaults to the current month that
|
595
|
+
# # will use keys with two digit numbers like "01", "03".
|
596
|
+
# select_month(Date.today, use_two_digit_numbers: true)
|
597
|
+
#
|
598
|
+
# # Generates a select field for months with a custom prompt. Use <tt>prompt: true</tt> for a
|
599
|
+
# # generic prompt.
|
600
|
+
# select_month(14, prompt: 'Choose month')
|
601
|
+
def select_month(date, options = {}, html_options = {})
|
602
|
+
DateTimeSelector.new(date, options, html_options).select_month
|
603
|
+
end
|
604
|
+
|
605
|
+
# Returns a select tag with options for each of the five years on each side of the current, which is selected.
|
606
|
+
# The five year radius can be changed using the <tt>:start_year</tt> and <tt>:end_year</tt> keys in the
|
607
|
+
# +options+. Both ascending and descending year lists are supported by making <tt>:start_year</tt> less than or
|
608
|
+
# greater than <tt>:end_year</tt>. The <tt>date</tt> can also be substituted for a year given as a number.
|
609
|
+
# Override the field name using the <tt>:field_name</tt> option, 'year' by default.
|
610
|
+
#
|
611
|
+
# # Generates a select field for years that defaults to the current year that
|
612
|
+
# # has ascending year values.
|
613
|
+
# select_year(Date.today, start_year: 1992, end_year: 2007)
|
614
|
+
#
|
615
|
+
# # Generates a select field for years that defaults to the current year that
|
616
|
+
# # is named 'birth' rather than 'year'.
|
617
|
+
# select_year(Date.today, field_name: 'birth')
|
618
|
+
#
|
619
|
+
# # Generates a select field for years that defaults to the current year that
|
620
|
+
# # has descending year values.
|
621
|
+
# select_year(Date.today, start_year: 2005, end_year: 1900)
|
622
|
+
#
|
623
|
+
# # Generates a select field for years that defaults to the year 2006 that
|
624
|
+
# # has ascending year values.
|
625
|
+
# select_year(2006, start_year: 2000, end_year: 2010)
|
626
|
+
#
|
627
|
+
# # Generates a select field for years with a custom prompt. Use <tt>prompt: true</tt> for a
|
628
|
+
# # generic prompt.
|
629
|
+
# select_year(14, prompt: 'Choose year')
|
630
|
+
def select_year(date, options = {}, html_options = {})
|
631
|
+
DateTimeSelector.new(date, options, html_options).select_year
|
632
|
+
end
|
633
|
+
|
634
|
+
# Returns an html time tag for the given date or time.
|
635
|
+
#
|
636
|
+
# time_tag Date.today # =>
|
637
|
+
# <time datetime="2010-11-04">November 04, 2010</time>
|
638
|
+
# time_tag Time.now # =>
|
639
|
+
# <time datetime="2010-11-04T17:55:45+01:00">November 04, 2010 17:55</time>
|
640
|
+
# time_tag Date.yesterday, 'Yesterday' # =>
|
641
|
+
# <time datetime="2010-11-03">Yesterday</time>
|
642
|
+
# time_tag Date.today, pubdate: true # =>
|
643
|
+
# <time datetime="2010-11-04" pubdate="pubdate">November 04, 2010</time>
|
644
|
+
# time_tag Date.today, datetime: Date.today.strftime('%G-W%V') # =>
|
645
|
+
# <time datetime="2010-W44">November 04, 2010</time>
|
646
|
+
#
|
647
|
+
# <%= time_tag Time.now do %>
|
648
|
+
# <span>Right now</span>
|
649
|
+
# <% end %>
|
650
|
+
# # => <time datetime="2010-11-04T17:55:45+01:00"><span>Right now</span></time>
|
651
|
+
def time_tag(date_or_time, *args, &block)
|
652
|
+
options = args.extract_options!
|
653
|
+
format = options.delete(:format) || :long
|
654
|
+
content = args.first || I18n.l(date_or_time, :format => format)
|
655
|
+
datetime = date_or_time.acts_like?(:time) ? date_or_time.xmlschema : date_or_time.iso8601
|
656
|
+
|
657
|
+
content_tag(:time, content, options.reverse_merge(:datetime => datetime), &block)
|
658
|
+
end
|
659
|
+
end
|
660
|
+
|
661
|
+
class DateTimeSelector #:nodoc:
|
662
|
+
include ActionView::Helpers::TagHelper
|
663
|
+
|
664
|
+
DEFAULT_PREFIX = 'date'.freeze
|
665
|
+
POSITION = {
|
666
|
+
:year => 1, :month => 2, :day => 3, :hour => 4, :minute => 5, :second => 6
|
667
|
+
}.freeze
|
668
|
+
|
669
|
+
AMPM_TRANSLATION = Hash[
|
670
|
+
[[0, "12 AM"], [1, "01 AM"], [2, "02 AM"], [3, "03 AM"],
|
671
|
+
[4, "04 AM"], [5, "05 AM"], [6, "06 AM"], [7, "07 AM"],
|
672
|
+
[8, "08 AM"], [9, "09 AM"], [10, "10 AM"], [11, "11 AM"],
|
673
|
+
[12, "12 PM"], [13, "01 PM"], [14, "02 PM"], [15, "03 PM"],
|
674
|
+
[16, "04 PM"], [17, "05 PM"], [18, "06 PM"], [19, "07 PM"],
|
675
|
+
[20, "08 PM"], [21, "09 PM"], [22, "10 PM"], [23, "11 PM"]]
|
676
|
+
].freeze
|
677
|
+
|
678
|
+
def initialize(datetime, options = {}, html_options = {})
|
679
|
+
@options = options.dup
|
680
|
+
@html_options = html_options.dup
|
681
|
+
@datetime = datetime
|
682
|
+
@options[:datetime_separator] ||= ' — '
|
683
|
+
@options[:time_separator] ||= ' : '
|
684
|
+
end
|
685
|
+
|
686
|
+
def select_datetime
|
687
|
+
order = date_order.dup
|
688
|
+
order -= [:hour, :minute, :second]
|
689
|
+
@options[:discard_year] ||= true unless order.include?(:year)
|
690
|
+
@options[:discard_month] ||= true unless order.include?(:month)
|
691
|
+
@options[:discard_day] ||= true if @options[:discard_month] || !order.include?(:day)
|
692
|
+
@options[:discard_minute] ||= true if @options[:discard_hour]
|
693
|
+
@options[:discard_second] ||= true unless @options[:include_seconds] && !@options[:discard_minute]
|
694
|
+
|
695
|
+
set_day_if_discarded
|
696
|
+
|
697
|
+
if @options[:tag] && @options[:ignore_date]
|
698
|
+
select_time
|
699
|
+
else
|
700
|
+
[:day, :month, :year].each { |o| order.unshift(o) unless order.include?(o) }
|
701
|
+
order += [:hour, :minute, :second] unless @options[:discard_hour]
|
702
|
+
|
703
|
+
build_selects_from_types(order)
|
704
|
+
end
|
705
|
+
end
|
706
|
+
|
707
|
+
def select_date
|
708
|
+
order = date_order.dup
|
709
|
+
|
710
|
+
@options[:discard_hour] = true
|
711
|
+
@options[:discard_minute] = true
|
712
|
+
@options[:discard_second] = true
|
713
|
+
|
714
|
+
@options[:discard_year] ||= true unless order.include?(:year)
|
715
|
+
@options[:discard_month] ||= true unless order.include?(:month)
|
716
|
+
@options[:discard_day] ||= true if @options[:discard_month] || !order.include?(:day)
|
717
|
+
|
718
|
+
set_day_if_discarded
|
719
|
+
|
720
|
+
[:day, :month, :year].each { |o| order.unshift(o) unless order.include?(o) }
|
721
|
+
|
722
|
+
build_selects_from_types(order)
|
723
|
+
end
|
724
|
+
|
725
|
+
def select_time
|
726
|
+
order = []
|
727
|
+
|
728
|
+
@options[:discard_month] = true
|
729
|
+
@options[:discard_year] = true
|
730
|
+
@options[:discard_day] = true
|
731
|
+
@options[:discard_second] ||= true unless @options[:include_seconds]
|
732
|
+
|
733
|
+
order += [:year, :month, :day] unless @options[:ignore_date]
|
734
|
+
|
735
|
+
order += [:hour, :minute]
|
736
|
+
order << :second if @options[:include_seconds]
|
737
|
+
|
738
|
+
build_selects_from_types(order)
|
739
|
+
end
|
740
|
+
|
741
|
+
def select_second
|
742
|
+
if @options[:use_hidden] || @options[:discard_second]
|
743
|
+
build_hidden(:second, sec) if @options[:include_seconds]
|
744
|
+
else
|
745
|
+
build_options_and_select(:second, sec)
|
746
|
+
end
|
747
|
+
end
|
748
|
+
|
749
|
+
def select_minute
|
750
|
+
if @options[:use_hidden] || @options[:discard_minute]
|
751
|
+
build_hidden(:minute, min)
|
752
|
+
else
|
753
|
+
build_options_and_select(:minute, min, :step => @options[:minute_step])
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
757
|
+
def select_hour
|
758
|
+
if @options[:use_hidden] || @options[:discard_hour]
|
759
|
+
build_hidden(:hour, hour)
|
760
|
+
else
|
761
|
+
options = {}
|
762
|
+
options[:ampm] = @options[:ampm] || false
|
763
|
+
options[:start] = @options[:start_hour] || 0
|
764
|
+
options[:end] = @options[:end_hour] || 23
|
765
|
+
build_options_and_select(:hour, hour, options)
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
def select_day
|
770
|
+
if @options[:use_hidden] || @options[:discard_day]
|
771
|
+
build_hidden(:day, day || 1)
|
772
|
+
else
|
773
|
+
build_options_and_select(:day, day, :start => 1, :end => 31, :leading_zeros => false, :use_two_digit_numbers => @options[:use_two_digit_numbers])
|
774
|
+
end
|
775
|
+
end
|
776
|
+
|
777
|
+
def select_month
|
778
|
+
if @options[:use_hidden] || @options[:discard_month]
|
779
|
+
build_hidden(:month, month || 1)
|
780
|
+
else
|
781
|
+
month_options = []
|
782
|
+
1.upto(12) do |month_number|
|
783
|
+
options = { :value => month_number }
|
784
|
+
options[:selected] = "selected" if month == month_number
|
785
|
+
month_options << content_tag(:option, month_name(month_number), options) + "\n"
|
786
|
+
end
|
787
|
+
build_select(:month, month_options.join)
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
791
|
+
def select_year
|
792
|
+
if !@datetime || @datetime == 0
|
793
|
+
val = '1'
|
794
|
+
middle_year = Date.today.year
|
795
|
+
else
|
796
|
+
val = middle_year = year
|
797
|
+
end
|
798
|
+
|
799
|
+
if @options[:use_hidden] || @options[:discard_year]
|
800
|
+
build_hidden(:year, val)
|
801
|
+
else
|
802
|
+
options = {}
|
803
|
+
options[:start] = @options[:start_year] || middle_year - 5
|
804
|
+
options[:end] = @options[:end_year] || middle_year + 5
|
805
|
+
options[:step] = options[:start] < options[:end] ? 1 : -1
|
806
|
+
options[:leading_zeros] = false
|
807
|
+
options[:max_years_allowed] = @options[:max_years_allowed] || 1000
|
808
|
+
|
809
|
+
if (options[:end] - options[:start]).abs > options[:max_years_allowed]
|
810
|
+
raise ArgumentError, "There are too many years options to be built. Are you sure you haven't mistyped something? You can provide the :max_years_allowed parameter."
|
811
|
+
end
|
812
|
+
|
813
|
+
build_options_and_select(:year, val, options)
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
817
|
+
private
|
818
|
+
%w( sec min hour day month year ).each do |method|
|
819
|
+
define_method(method) do
|
820
|
+
@datetime.kind_of?(Numeric) ? @datetime : @datetime.send(method) if @datetime
|
821
|
+
end
|
822
|
+
end
|
823
|
+
|
824
|
+
# If the day is hidden, the day should be set to the 1st so all month and year choices are
|
825
|
+
# valid. Otherwise, February 31st or February 29th, 2011 can be selected, which are invalid.
|
826
|
+
def set_day_if_discarded
|
827
|
+
if @datetime && @options[:discard_day]
|
828
|
+
@datetime = @datetime.change(:day => 1)
|
829
|
+
end
|
830
|
+
end
|
831
|
+
|
832
|
+
# Returns translated month names, but also ensures that a custom month
|
833
|
+
# name array has a leading nil element.
|
834
|
+
def month_names
|
835
|
+
@month_names ||= begin
|
836
|
+
month_names = @options[:use_month_names] || translated_month_names
|
837
|
+
month_names.unshift(nil) if month_names.size < 13
|
838
|
+
month_names
|
839
|
+
end
|
840
|
+
end
|
841
|
+
|
842
|
+
# Returns translated month names.
|
843
|
+
# => [nil, "January", "February", "March",
|
844
|
+
# "April", "May", "June", "July",
|
845
|
+
# "August", "September", "October",
|
846
|
+
# "November", "December"]
|
847
|
+
#
|
848
|
+
# If <tt>:use_short_month</tt> option is set
|
849
|
+
# => [nil, "Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
850
|
+
# "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
|
851
|
+
def translated_month_names
|
852
|
+
key = @options[:use_short_month] ? :'date.abbr_month_names' : :'date.month_names'
|
853
|
+
I18n.translate(key, :locale => @options[:locale])
|
854
|
+
end
|
855
|
+
|
856
|
+
# Looks up month names by number (1-based):
|
857
|
+
#
|
858
|
+
# month_name(1) # => "January"
|
859
|
+
#
|
860
|
+
# If the <tt>:use_month_numbers</tt> option is passed:
|
861
|
+
#
|
862
|
+
# month_name(1) # => 1
|
863
|
+
#
|
864
|
+
# If the <tt>:use_two_month_numbers</tt> option is passed:
|
865
|
+
#
|
866
|
+
# month_name(1) # => '01'
|
867
|
+
#
|
868
|
+
# If the <tt>:add_month_numbers</tt> option is passed:
|
869
|
+
#
|
870
|
+
# month_name(1) # => "1 - January"
|
871
|
+
#
|
872
|
+
# If the <tt>:month_format_string</tt> option is passed:
|
873
|
+
#
|
874
|
+
# month_name(1) # => "January (01)"
|
875
|
+
#
|
876
|
+
# depending on the format string.
|
877
|
+
def month_name(number)
|
878
|
+
if @options[:use_month_numbers]
|
879
|
+
number
|
880
|
+
elsif @options[:use_two_digit_numbers]
|
881
|
+
'%02d' % number
|
882
|
+
elsif @options[:add_month_numbers]
|
883
|
+
"#{number} - #{month_names[number]}"
|
884
|
+
elsif format_string = @options[:month_format_string]
|
885
|
+
format_string % {number: number, name: month_names[number]}
|
886
|
+
else
|
887
|
+
month_names[number]
|
888
|
+
end
|
889
|
+
end
|
890
|
+
|
891
|
+
def date_order
|
892
|
+
@date_order ||= @options[:order] || translated_date_order
|
893
|
+
end
|
894
|
+
|
895
|
+
def translated_date_order
|
896
|
+
date_order = I18n.translate(:'date.order', :locale => @options[:locale], :default => [])
|
897
|
+
date_order = date_order.map { |element| element.to_sym }
|
898
|
+
|
899
|
+
forbidden_elements = date_order - [:year, :month, :day]
|
900
|
+
if forbidden_elements.any?
|
901
|
+
raise StandardError,
|
902
|
+
"#{@options[:locale]}.date.order only accepts :year, :month and :day"
|
903
|
+
end
|
904
|
+
|
905
|
+
date_order
|
906
|
+
end
|
907
|
+
|
908
|
+
# Build full select tag from date type and options.
|
909
|
+
def build_options_and_select(type, selected, options = {})
|
910
|
+
build_select(type, build_options(selected, options))
|
911
|
+
end
|
912
|
+
|
913
|
+
# Build select option html from date value and options.
|
914
|
+
# build_options(15, start: 1, end: 31)
|
915
|
+
# => "<option value="1">1</option>
|
916
|
+
# <option value="2">2</option>
|
917
|
+
# <option value="3">3</option>..."
|
918
|
+
#
|
919
|
+
# If <tt>use_two_digit_numbers: true</tt> option is passed
|
920
|
+
# build_options(15, start: 1, end: 31, use_two_digit_numbers: true)
|
921
|
+
# => "<option value="1">01</option>
|
922
|
+
# <option value="2">02</option>
|
923
|
+
# <option value="3">03</option>..."
|
924
|
+
#
|
925
|
+
# If <tt>:step</tt> options is passed
|
926
|
+
# build_options(15, start: 1, end: 31, step: 2)
|
927
|
+
# => "<option value="1">1</option>
|
928
|
+
# <option value="3">3</option>
|
929
|
+
# <option value="5">5</option>..."
|
930
|
+
def build_options(selected, options = {})
|
931
|
+
options = {
|
932
|
+
leading_zeros: true, ampm: false, use_two_digit_numbers: false
|
933
|
+
}.merge!(options)
|
934
|
+
|
935
|
+
start = options.delete(:start) || 0
|
936
|
+
stop = options.delete(:end) || 59
|
937
|
+
step = options.delete(:step) || 1
|
938
|
+
leading_zeros = options.delete(:leading_zeros)
|
939
|
+
|
940
|
+
select_options = []
|
941
|
+
start.step(stop, step) do |i|
|
942
|
+
value = leading_zeros ? sprintf("%02d", i) : i
|
943
|
+
tag_options = { :value => value }
|
944
|
+
tag_options[:selected] = "selected" if selected == i
|
945
|
+
text = options[:use_two_digit_numbers] ? sprintf("%02d", i) : value
|
946
|
+
text = options[:ampm] ? AMPM_TRANSLATION[i] : text
|
947
|
+
select_options << content_tag(:option, text, tag_options)
|
948
|
+
end
|
949
|
+
|
950
|
+
(select_options.join("\n") + "\n").html_safe
|
951
|
+
end
|
952
|
+
|
953
|
+
# Builds select tag from date type and html select options.
|
954
|
+
# build_select(:month, "<option value="1">January</option>...")
|
955
|
+
# => "<select id="post_written_on_2i" name="post[written_on(2i)]">
|
956
|
+
# <option value="1">January</option>...
|
957
|
+
# </select>"
|
958
|
+
def build_select(type, select_options_as_html)
|
959
|
+
select_options = {
|
960
|
+
:id => input_id_from_type(type),
|
961
|
+
:name => input_name_from_type(type)
|
962
|
+
}.merge!(@html_options)
|
963
|
+
select_options[:disabled] = 'disabled' if @options[:disabled]
|
964
|
+
select_options[:class] = [select_options[:class], type].compact.join(' ') if @options[:with_css_classes]
|
965
|
+
|
966
|
+
select_html = "\n"
|
967
|
+
select_html << content_tag(:option, '', :value => '') + "\n" if @options[:include_blank]
|
968
|
+
select_html << prompt_option_tag(type, @options[:prompt]) + "\n" if @options[:prompt]
|
969
|
+
select_html << select_options_as_html
|
970
|
+
|
971
|
+
(content_tag(:select, select_html.html_safe, select_options) + "\n").html_safe
|
972
|
+
end
|
973
|
+
|
974
|
+
# Builds a prompt option tag with supplied options or from default options.
|
975
|
+
# prompt_option_tag(:month, prompt: 'Select month')
|
976
|
+
# => "<option value="">Select month</option>"
|
977
|
+
def prompt_option_tag(type, options)
|
978
|
+
prompt = case options
|
979
|
+
when Hash
|
980
|
+
default_options = {:year => false, :month => false, :day => false, :hour => false, :minute => false, :second => false}
|
981
|
+
default_options.merge!(options)[type.to_sym]
|
982
|
+
when String
|
983
|
+
options
|
984
|
+
else
|
985
|
+
I18n.translate(:"datetime.prompts.#{type}", :locale => @options[:locale])
|
986
|
+
end
|
987
|
+
|
988
|
+
prompt ? content_tag(:option, prompt, :value => '') : ''
|
989
|
+
end
|
990
|
+
|
991
|
+
# Builds hidden input tag for date part and value.
|
992
|
+
# build_hidden(:year, 2008)
|
993
|
+
# => "<input id="post_written_on_1i" name="post[written_on(1i)]" type="hidden" value="2008" />"
|
994
|
+
def build_hidden(type, value)
|
995
|
+
select_options = {
|
996
|
+
:type => "hidden",
|
997
|
+
:id => input_id_from_type(type),
|
998
|
+
:name => input_name_from_type(type),
|
999
|
+
:value => value
|
1000
|
+
}.merge!(@html_options.slice(:disabled))
|
1001
|
+
select_options[:disabled] = 'disabled' if @options[:disabled]
|
1002
|
+
|
1003
|
+
tag(:input, select_options) + "\n".html_safe
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
# Returns the name attribute for the input tag.
|
1007
|
+
# => post[written_on(1i)]
|
1008
|
+
def input_name_from_type(type)
|
1009
|
+
prefix = @options[:prefix] || ActionView::Helpers::DateTimeSelector::DEFAULT_PREFIX
|
1010
|
+
prefix += "[#{@options[:index]}]" if @options.has_key?(:index)
|
1011
|
+
|
1012
|
+
field_name = @options[:field_name] || type
|
1013
|
+
if @options[:include_position]
|
1014
|
+
field_name += "(#{ActionView::Helpers::DateTimeSelector::POSITION[type]}i)"
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
@options[:discard_type] ? prefix : "#{prefix}[#{field_name}]"
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
# Returns the id attribute for the input tag.
|
1021
|
+
# => "post_written_on_1i"
|
1022
|
+
def input_id_from_type(type)
|
1023
|
+
id = input_name_from_type(type).gsub(/([\[\(])|(\]\[)/, '_').gsub(/[\]\)]/, '')
|
1024
|
+
id = @options[:namespace] + '_' + id if @options[:namespace]
|
1025
|
+
|
1026
|
+
id
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# Given an ordering of datetime components, create the selection HTML
|
1030
|
+
# and join them with their appropriate separators.
|
1031
|
+
def build_selects_from_types(order)
|
1032
|
+
select = ''
|
1033
|
+
first_visible = order.find { |type| !@options[:"discard_#{type}"] }
|
1034
|
+
order.reverse.each do |type|
|
1035
|
+
separator = separator(type) unless type == first_visible # don't add before first visible field
|
1036
|
+
select.insert(0, separator.to_s + send("select_#{type}").to_s)
|
1037
|
+
end
|
1038
|
+
select.html_safe
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
# Returns the separator for a given datetime component.
|
1042
|
+
def separator(type)
|
1043
|
+
return "" if @options[:use_hidden]
|
1044
|
+
|
1045
|
+
case type
|
1046
|
+
when :year, :month, :day
|
1047
|
+
@options[:"discard_#{type}"] ? "" : @options[:date_separator]
|
1048
|
+
when :hour
|
1049
|
+
(@options[:discard_year] && @options[:discard_day]) ? "" : @options[:datetime_separator]
|
1050
|
+
when :minute, :second
|
1051
|
+
@options[:"discard_#{type}"] ? "" : @options[:time_separator]
|
1052
|
+
end
|
1053
|
+
end
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
class FormBuilder
|
1057
|
+
# Wraps ActionView::Helpers::DateHelper#date_select for form builders:
|
1058
|
+
#
|
1059
|
+
# <%= form_for @person do |f| %>
|
1060
|
+
# <%= f.date_select :birth_date %>
|
1061
|
+
# <%= f.submit %>
|
1062
|
+
# <% end %>
|
1063
|
+
#
|
1064
|
+
# Please refer to the documentation of the base helper for details.
|
1065
|
+
def date_select(method, options = {}, html_options = {})
|
1066
|
+
@template.date_select(@object_name, method, objectify_options(options), html_options)
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
# Wraps ActionView::Helpers::DateHelper#time_select for form builders:
|
1070
|
+
#
|
1071
|
+
# <%= form_for @race do |f| %>
|
1072
|
+
# <%= f.time_select :average_lap %>
|
1073
|
+
# <%= f.submit %>
|
1074
|
+
# <% end %>
|
1075
|
+
#
|
1076
|
+
# Please refer to the documentation of the base helper for details.
|
1077
|
+
def time_select(method, options = {}, html_options = {})
|
1078
|
+
@template.time_select(@object_name, method, objectify_options(options), html_options)
|
1079
|
+
end
|
1080
|
+
|
1081
|
+
# Wraps ActionView::Helpers::DateHelper#datetime_select for form builders:
|
1082
|
+
#
|
1083
|
+
# <%= form_for @person do |f| %>
|
1084
|
+
# <%= f.datetime_select :last_request_at %>
|
1085
|
+
# <%= f.submit %>
|
1086
|
+
# <% end %>
|
1087
|
+
#
|
1088
|
+
# Please refer to the documentation of the base helper for details.
|
1089
|
+
def datetime_select(method, options = {}, html_options = {})
|
1090
|
+
@template.datetime_select(@object_name, method, objectify_options(options), html_options)
|
1091
|
+
end
|
1092
|
+
end
|
1093
|
+
end
|
1094
|
+
end
|