climine 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/climine/command/issue.rb +10 -1
- data/lib/climine/redmine.rb +9 -1
- data/lib/climine/template/issue.erb +9 -1
- data/lib/climine/version.rb +1 -1
- data/vendor/bundle/ruby/2.1.0/bin/climine +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/redcarpet +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/thor +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/yard +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/yardoc +23 -0
- data/vendor/bundle/ruby/2.1.0/bin/yri +23 -0
- data/vendor/bundle/ruby/2.1.0/build_info/hashie-2.0.5.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/hirb-0.7.1.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/hirb-unicode-0.0.5.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/redcarpet-3.0.0.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/thor-0.18.1.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/unicode-display_width-0.1.1.info +1 -0
- data/vendor/bundle/ruby/2.1.0/build_info/yard-0.8.7.3.info +1 -0
- data/vendor/bundle/ruby/2.1.0/cache/hashie-2.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/hirb-0.7.1.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/hirb-unicode-0.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/redcarpet-3.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/thor-0.18.1.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/unicode-display_width-0.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/cache/yard-0.8.7.3.gem +0 -0
- data/vendor/bundle/ruby/2.1.0/extensions/x86_64-darwin-13/2.1.0/redcarpet-3.0.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.1.0/extensions/x86_64-darwin-13/2.1.0/redcarpet-3.0.0/gem_make.out +58 -0
- data/vendor/bundle/ruby/2.1.0/extensions/x86_64-darwin-13/2.1.0/redcarpet-3.0.0/redcarpet.bundle +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/CHANGELOG.md +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/CONTRIBUTING.md +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/Gemfile +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/Guardfile +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/LICENSE +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/README.markdown +236 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/Rakefile +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/hashie.gemspec +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/clash.rb +86 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/dash.rb +170 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/extensions/coercion.rb +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/extensions/deep_merge.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/extensions/indifferent_access.rb +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/extensions/key_conversion.rb +92 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/extensions/merge_initializer.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/extensions/method_access.rb +124 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/extensions/structure.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/hash.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/hash_extensions.rb +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/mash.rb +233 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/trash.rb +91 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/lib/hashie/version.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/spec/hashie/clash_spec.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/spec/hashie/dash_spec.rb +267 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/spec/hashie/extensions/coercion_spec.rb +151 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/spec/hashie/extensions/deep_merge_spec.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/spec/hashie/extensions/indifferent_access_spec.rb +99 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/spec/hashie/extensions/key_conversion_spec.rb +102 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/spec/hashie/extensions/merge_initializer_spec.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/spec/hashie/extensions/method_access_spec.rb +112 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/spec/hashie/hash_spec.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/spec/hashie/mash_spec.rb +412 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/spec/hashie/trash_spec.rb +155 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/spec/spec.opts +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/hashie-2.0.5/spec/spec_helper.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/CHANGELOG.rdoc +158 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/README.rdoc +201 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/Rakefile +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/bond/completions/hirb.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb.rb +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/console.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/dynamic_view.rb +113 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/formatter.rb +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/helpers.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/helpers/auto_table.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/helpers/markdown_table.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/helpers/object_table.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/helpers/parent_child_tree.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/helpers/tab_table.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/helpers/table.rb +374 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/helpers/table/filters.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/helpers/table/resizer.rb +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/helpers/tree.rb +181 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/helpers/unicode_table.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/helpers/vertical_table.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/import_object.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/menu.rb +226 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/pager.rb +105 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/string.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/util.rb +96 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/version.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/view.rb +270 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/views.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/views/couch_db.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/views/misc_db.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/views/mongo_db.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/views/orm.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/hirb/views/rails.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/lib/ripl/hirb.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/auto_table_test.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/console_test.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/deps.rip +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/dynamic_view_test.rb +94 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/formatter_test.rb +176 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/hirb_test.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/import_test.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/menu_test.rb +272 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/object_table_test.rb +79 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/pager_test.rb +162 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/resizer_test.rb +62 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/table_test.rb +667 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/test_helper.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/tree_test.rb +184 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/util_test.rb +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/view_test.rb +178 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-0.7.1/test/views_test.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-unicode-0.0.5/Gemfile +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-unicode-0.0.5/MIT-LICENSE +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-unicode-0.0.5/README.md +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-unicode-0.0.5/Rakefile +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-unicode-0.0.5/hirb-unicode.gemspec +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-unicode-0.0.5/lib/hirb-unicode.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-unicode-0.0.5/lib/hirb/unicode.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-unicode-0.0.5/lib/hirb/unicode/string_util.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-unicode-0.0.5/lib/hirb/unicode/version.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-unicode-0.0.5/test/string_test.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/hirb-unicode-0.0.5/test/test_helper.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/COPYING +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/Gemfile +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/README.markdown +364 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/Rakefile +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/bin/redcarpet +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/Makefile +239 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/autolink.c +296 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/autolink.h +49 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/autolink.o +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/buffer.c +225 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/buffer.h +89 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/buffer.o +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/extconf.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/houdini.h +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/houdini_href_e.c +108 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/houdini_href_e.o +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/houdini_html_e.c +88 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/houdini_html_e.o +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/html.c +679 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/html.h +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/html.o +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/html_blocks.h +206 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/html_smartypants.c +439 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/html_smartypants.o +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/markdown.c +2570 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/markdown.h +141 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/markdown.o +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/rc_markdown.c +159 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/rc_markdown.o +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/rc_render.c +485 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/rc_render.o +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/redcarpet.bundle +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/redcarpet.h +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/stack.c +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/stack.h +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/ext/redcarpet/stack.o +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/lib/redcarpet.bundle +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/lib/redcarpet.rb +125 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/lib/redcarpet/compat.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/lib/redcarpet/render_man.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/lib/redcarpet/render_strip.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/redcarpet.gemspec +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/test/custom_render_test.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/test/html_render_test.rb +139 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/test/markdown_test.rb +253 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/test/pathological_inputs_test.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/test/redcarpet_compat_test.rb +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/test/smarty_html_test.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/test/smarty_pants_test.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/test/stripdown_render_test.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/redcarpet-3.0.0/test/test_helper.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/CHANGELOG.md +139 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/LICENSE.md +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/README.md +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/Thorfile +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/bin/thor +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor.rb +473 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/actions.rb +318 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/actions/create_file.rb +105 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/actions/create_link.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/actions/directory.rb +119 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/actions/empty_directory.rb +137 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/actions/file_manipulation.rb +314 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/actions/inject_into_file.rb +109 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/base.rb +652 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/command.rb +136 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/core_ext/hash_with_indifferent_access.rb +80 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/core_ext/io_binary_read.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/core_ext/ordered_hash.rb +100 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/error.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/group.rb +282 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/invocation.rb +172 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/parser.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/parser/argument.rb +74 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/parser/arguments.rb +171 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/parser/option.rb +121 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/parser/options.rb +218 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/rake_compat.rb +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/runner.rb +322 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/shell.rb +88 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/shell/basic.rb +393 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/shell/color.rb +148 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/shell/html.rb +127 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/util.rb +270 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/version.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/actions/create_file_spec.rb +170 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/actions/create_link_spec.rb +95 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/actions/directory_spec.rb +169 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/actions/empty_directory_spec.rb +129 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/actions/file_manipulation_spec.rb +382 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/actions/inject_into_file_spec.rb +135 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/actions_spec.rb +331 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/base_spec.rb +291 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/command_spec.rb +80 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/core_ext/hash_with_indifferent_access_spec.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/core_ext/ordered_hash_spec.rb +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/exit_condition_spec.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/application.rb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/app{1}/README +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/bundle/execute.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/bundle/main.thor +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/command.thor +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/doc/%file_name%.rb.tt +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/doc/COMMENTER +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/doc/README +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/doc/block_helper.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/doc/config.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/doc/config.yaml.tt +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/doc/excluding/%file_name%.rb.tt +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/enum.thor +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/group.thor +128 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/invoke.thor +112 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/path with spaces b/data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/path with → spaces +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/preserve/script.sh +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/script.thor +220 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/fixtures/subcommand.thor +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/group_spec.rb +216 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/helper.rb +67 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/invocation_spec.rb +100 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/parser/argument_spec.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/parser/arguments_spec.rb +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/parser/option_spec.rb +202 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/parser/options_spec.rb +400 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/rake_compat_spec.rb +72 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/register_spec.rb +197 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/runner_spec.rb +241 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/shell/basic_spec.rb +311 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/shell/color_spec.rb +95 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/shell/html_spec.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/shell_spec.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/subcommand_spec.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/thor_spec.rb +491 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/spec/util_spec.rb +196 -0
- data/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/thor.gemspec +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/unicode-display_width-0.1.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/unicode-display_width-0.1.1/README.rdoc +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/unicode-display_width-0.1.1/Rakefile +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/unicode-display_width-0.1.1/data/EastAsianWidth.index +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/unicode-display_width-0.1.1/data/EastAsianWidth.txt +23735 -0
- data/vendor/bundle/ruby/2.1.0/gems/unicode-display_width-0.1.1/lib/unicode/display_size.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/unicode-display_width-0.1.1/lib/unicode/display_width.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/LEGAL +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/LICENSE +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/README.md +620 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/Rakefile +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/builtins_vs_eval.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/concat_vs_join.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/erb_vs_erubis.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/format_args.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/generation.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/marshal_vs_dbm.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/parsing.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/pathname_vs_string.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/rdoc_vs_yardoc.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/registry_store_types.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/ri_vs_yri.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/ripper_parser.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/splat_vs_flatten.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/template_erb.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/template_format.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/template_profile.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/benchmarks/yri_cache.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/bin/yard +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/bin/yardoc +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/bin/yri +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/CodeObjects.md +115 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/GettingStarted.md +592 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/Handlers.md +152 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/Overview.md +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/Parser.md +191 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/Tags.md +282 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/TagsArch.md +123 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/Templates.md +496 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/WhatsNew.md +1244 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/images/code-objects-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/images/handlers-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/images/overview-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/images/parser-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/images/tags-class-diagram.png +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/templates/default/fulldoc/html/full_list_tag.erb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/templates/default/fulldoc/html/setup.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/templates/default/layout/html/setup.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/templates/default/layout/html/tag_list.erb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/templates/default/yard_tags/html/list.erb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/templates/default/yard_tags/html/setup.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/docs/templates/plugin.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/rubygems_plugin.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard.rb +71 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/autoload.rb +290 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/command.rb +84 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/command_parser.rb +92 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/config.rb +136 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/diff.rb +270 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/display.rb +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/gems.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/graph.rb +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/help.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/i18n.rb +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/list.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/markup_types.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/server.rb +253 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/stats.rb +213 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/yardoc.rb +752 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/yardopts_command.rb +109 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/cli/yri.rb +214 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/code_objects/base.rb +585 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/code_objects/class_object.rb +143 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/code_objects/class_variable_object.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/code_objects/constant_object.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/code_objects/extended_method_object.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/code_objects/extra_file_object.rb +128 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/code_objects/macro_object.rb +172 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/code_objects/method_object.rb +191 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/code_objects/module_object.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/code_objects/namespace_object.rb +200 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/code_objects/proxy.rb +258 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/code_objects/root_object.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/config.rb +270 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/core_ext/array.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/core_ext/file.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/core_ext/hash.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/core_ext/insertion.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/core_ext/module.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/core_ext/string.rb +67 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/core_ext/symbol_hash.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/docstring.rb +362 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/docstring_parser.rb +321 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/globals.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/base.rb +597 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/alias_handler.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/attribute_handler.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/base.rb +110 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/class_handler.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/constant_handler.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/handler_methods.rb +166 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/init_handler.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/method_handler.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/mixin_handler.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/module_handler.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/override_comment_handler.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/path_handler.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/struct_handler.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/processor.rb +201 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/alias_handler.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/attribute_handler.rb +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/base.rb +164 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/class_condition_handler.rb +86 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/class_handler.rb +121 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/class_variable_handler.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/comment_handler.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/constant_handler.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/dsl_handler.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/dsl_handler_methods.rb +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/exception_handler.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/extend_handler.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/alias_handler.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/attribute_handler.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/base.rb +250 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +83 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/class_handler.rb +111 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/comment_handler.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/constant_handler.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/dsl_handler.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/exception_handler.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/extend_handler.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/method_handler.rb +85 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/mixin_handler.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/module_function_handler.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/module_handler.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/visibility_handler.rb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/yield_handler.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/method_condition_handler.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/method_handler.rb +92 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/mixin_handler.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/module_function_handler.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/module_handler.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/private_constant_handler.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/struct_handler_methods.rb +141 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/visibility_handler.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/yield_handler.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/i18n/locale.rb +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/i18n/message.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/i18n/messages.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/i18n/po_parser.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/i18n/pot_generator.rb +280 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/i18n/text.rb +173 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/logging.rb +190 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/options.rb +216 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/parser/base.rb +56 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/parser/c/c_parser.rb +231 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/parser/c/comment_parser.rb +131 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/parser/c/statement.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/ast_node.rb +496 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/ruby_lex.rb +1377 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/ruby_parser.rb +31 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/statement.rb +65 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/statement_list.rb +384 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/token_list.rb +71 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/ruby_parser.rb +625 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/parser/source_parser.rb +517 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/rake/yardoc_task.rb +74 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/registry.rb +438 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/registry_store.rb +319 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports/LICENSE.txt +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports/MIT.txt +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports/gem.rb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports/source_index.rb +370 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/rubygems/doc_manager.rb +88 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/rubygems/specification.rb +41 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/serializers/base.rb +80 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/serializers/file_system_serializer.rb +90 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/serializers/process_serializer.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/serializers/stdout_serializer.rb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/serializers/yardoc_serializer.rb +124 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/adapter.rb +100 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/commands/base.rb +192 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/commands/display_file_command.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/commands/display_object_command.rb +58 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/commands/frames_command.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/commands/library_command.rb +148 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/commands/library_index_command.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/commands/list_command.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/commands/search_command.rb +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/commands/static_file_command.rb +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/doc_server_helper.rb +76 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/doc_server_serializer.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/library_version.rb +227 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/rack_adapter.rb +88 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/router.rb +176 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/static_caching.rb +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/fulldoc/html/css/custom.css +78 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/layout/html/breadcrumb.erb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/layout/html/script_setup.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/layout/html/setup.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/method_details/html/permalink.erb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/method_details/html/setup.rb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/contents.erb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/headers.erb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/setup.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/title.erb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/processing/html/processing.erb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/processing/html/setup.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/search/html/search.erb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/search/html/setup.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/server/webrick_adapter.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/tags/default_factory.rb +176 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/tags/default_tag.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/tags/directives.rb +599 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/tags/library.rb +630 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/tags/option_tag.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/tags/overload_tag.rb +66 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/tags/ref_tag.rb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/tags/ref_tag_list.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/tags/tag.rb +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/tags/tag_format_error.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/engine.rb +185 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/erb_cache.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/base_helper.rb +212 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/filter_helper.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/html_helper.rb +599 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +60 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/markup/rdoc_markdown.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/markup/rdoc_markup.rb +106 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/markup_helper.rb +169 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/method_helper.rb +74 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/module_helper.rb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/text_helper.rb +95 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/uml_helper.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/section.rb +106 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/template.rb +407 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/templates/template_options.rb +88 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/verifier.rb +148 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/lib/yard/version.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/command_parser_spec.rb +43 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/command_spec.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/config_spec.rb +92 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/diff_spec.rb +260 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/display_spec.rb +30 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/gems_spec.rb +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/graph_spec.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/help_spec.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/i18n_spec.rb +111 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/list_spec.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/markup_types_spec.rb +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/server_spec.rb +327 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/stats_spec.rb +90 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/yardoc_spec.rb +804 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/cli/yri_spec.rb +99 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/code_objects/base_spec.rb +438 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/code_objects/class_object_spec.rb +225 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/code_objects/code_object_list_spec.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/code_objects/constants_spec.rb +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/code_objects/extra_file_object_spec.rb +147 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/code_objects/macro_object_spec.rb +148 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/code_objects/method_object_spec.rb +175 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/code_objects/module_object_spec.rb +141 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/code_objects/namespace_object_spec.rb +170 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/code_objects/proxy_spec.rb +140 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/code_objects/spec_helper.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/config_spec.rb +176 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/core_ext/array_spec.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/core_ext/file_spec.rb +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/core_ext/hash_spec.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/core_ext/insertion_spec.rb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/core_ext/module_spec.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/core_ext/string_spec.rb +42 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/core_ext/symbol_hash_spec.rb +86 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/docstring_parser_spec.rb +228 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/docstring_spec.rb +335 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/alias_handler_spec.rb +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/attribute_handler_spec.rb +94 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/base_spec.rb +206 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/c/alias_handler_spec.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/c/attribute_handler_spec.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/c/class_handler_spec.rb +63 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/c/constant_handler_spec.rb +68 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/c/init_handler_spec.rb +47 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/c/method_handler_spec.rb +239 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/c/mixin_handler_spec.rb +27 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/c/module_handler_spec.rb +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/c/override_comment_handler_spec.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/c/path_handler_spec.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/c/spec_helper.rb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/c/struct_handler_spec.rb +15 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/class_condition_handler_spec.rb +67 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/class_handler_spec.rb +246 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/class_variable_handler_spec.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/constant_handler_spec.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/dsl_handler_spec.rb +197 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/alias_handler_001.rb.txt +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/attribute_handler_001.rb.txt +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/class_condition_handler_001.rb.txt +69 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/class_handler_001.rb.txt +120 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/class_variable_handler_001.rb.txt +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/dsl_handler_001.rb.txt +125 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/exception_handler_001.rb.txt +59 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/extend_handler_001.rb.txt +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/method_condition_handler_001.rb.txt +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/method_handler_001.rb.txt +126 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/mixin_handler_001.rb.txt +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/module_handler_001.rb.txt +29 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/private_constant_handler_001.rb.txt +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/process_handler_001.rb.txt +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/visibility_handler_001.rb.txt +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/examples/yield_handler_001.rb.txt +54 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/exception_handler_spec.rb +48 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/extend_handler_spec.rb +23 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/legacy_base_spec.rb +128 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/method_condition_handler_spec.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/method_handler_spec.rb +184 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/mixin_handler_spec.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/module_function_handler_spec.rb +105 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/module_handler_spec.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/private_constant_handler_spec.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/processor_spec.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/ruby/base_spec.rb +94 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/ruby/legacy/base_spec.rb +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/spec_helper.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/visibility_handler_spec.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/handlers/yield_handler_spec.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/i18n/locale_spec.rb +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/i18n/message_spec.rb +52 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/i18n/messages_spec.rb +67 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/i18n/pot_generator_spec.rb +262 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/i18n/text_spec.rb +180 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/logging_spec.rb +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/options_spec.rb +171 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/base_spec.rb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/c_parser_spec.rb +171 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/examples/array.c.txt +3887 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/examples/example1.rb.txt +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/examples/extrafile.c.txt +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/examples/multifile.c.txt +22 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/examples/override.c.txt +424 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/examples/parse_in_order_001.rb.txt +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/examples/parse_in_order_002.rb.txt +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/examples/tag_handler_001.rb.txt +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/ruby/ast_node_spec.rb +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/ruby/legacy/statement_list_spec.rb +299 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/ruby/legacy/token_list_spec.rb +77 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/ruby/ruby_parser_spec.rb +334 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/source_parser_spec.rb +717 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/parser/tag_parsing_spec.rb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/rake/yardoc_task_spec.rb +101 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/registry_spec.rb +393 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/registry_store_spec.rb +315 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/rubygems/doc_manager_spec.rb +112 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/checksums +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/objects/Foo.dat +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/objects/Foo/bar_i.dat +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/objects/Foo/baz_i.dat +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/objects/root.dat +0 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/proxy_types +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/serializers/file_system_serializer_spec.rb +124 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/serializers/spec_helper.rb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/serializers/yardoc_serializer_spec.rb +46 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/server/adapter_spec.rb +38 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/server/commands/base_spec.rb +87 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/server/commands/library_command_spec.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/server/commands/static_file_command_spec.rb +84 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/server/doc_server_helper_spec.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/server/doc_server_serializer_spec.rb +50 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/server/rack_adapter_spec.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/server/router_spec.rb +122 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/server/spec_helper.rb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/server/static_caching_spec.rb +39 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/server/webrick_servlet_spec.rb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/server_spec.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/spec_helper.rb +128 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/tags/default_factory_spec.rb +152 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/tags/default_tag_spec.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/tags/directives_spec.rb +453 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/tags/library_spec.rb +34 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/tags/overload_tag_spec.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/tags/ref_tag_list_spec.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/class_spec.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/constant_spec.rb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/engine_spec.rb +121 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/class001.html +280 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/class001.txt +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/class002.html +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/constant001.txt +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/constant002.txt +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/constant003.txt +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/method001.html +130 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/method001.txt +35 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/method002.html +86 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/method002.txt +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/method003.html +159 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/method003.txt +45 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/method004.html +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/method004.txt +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/method005.html +99 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/method005.txt +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/module001.dot +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/module001.html +825 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/module001.txt +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/module002.html +318 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/module003.html +185 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/module004.html +387 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/examples/tag001.txt +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/helpers/base_helper_spec.rb +175 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/helpers/html_helper_spec.rb +612 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +53 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/helpers/markup/rdoc_markup_spec.rb +93 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/helpers/markup_helper_spec.rb +135 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/helpers/method_helper_spec.rb +82 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/helpers/shared_signature_examples.rb +123 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/helpers/text_helper_spec.rb +44 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/method_spec.rb +102 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/module_spec.rb +181 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/onefile_spec.rb +64 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/section_spec.rb +146 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/spec_helper.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/tag_spec.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/templates/template_spec.rb +409 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/spec/verifier_spec.rb +106 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/class/dot/setup.rb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/class/dot/superklass.erb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/class/html/constructor_details.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/class/html/setup.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/class/html/subclasses.erb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/class/setup.rb +36 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/class/text/setup.rb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/class/text/subclasses.erb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/constant/text/header.erb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/constant/text/setup.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/html/abstract.erb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/html/deprecated.erb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/html/index.erb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/html/note.erb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/html/private.erb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/html/returns_void.erb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/html/text.erb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/html/todo.erb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/setup.rb +51 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/text/abstract.erb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/text/deprecated.erb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/text/index.erb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/text/note.erb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/text/private.erb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/text/returns_void.erb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/text/text.erb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/docstring/text/todo.erb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/css/common.css +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/css/full_list.css +57 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/css/style.css +338 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/frames.erb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/full_list.erb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/full_list_class.erb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/full_list_file.erb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/full_list_method.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/js/app.js +219 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/js/full_list.js +178 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/js/jquery.js +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/setup.rb +199 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/layout/dot/header.erb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/layout/dot/setup.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/layout/html/breadcrumb.erb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/layout/html/files.erb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/layout/html/footer.erb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/layout/html/headers.erb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/layout/html/index.erb +2 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/layout/html/layout.erb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/layout/html/listing.erb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/layout/html/objects.erb +32 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/layout/html/script_setup.erb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/layout/html/search.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/layout/html/setup.rb +71 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/method/html/header.erb +16 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/method/setup.rb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/method/text/header.erb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/method_details/html/header.erb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/method_details/html/method_signature.erb +25 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/method_details/html/source.erb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/method_details/setup.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/method_details/text/header.erb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/method_details/text/method_signature.erb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/method_details/text/setup.rb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/dot/child.erb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/dot/dependencies.erb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/dot/header.erb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/dot/info.erb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/dot/setup.rb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/attribute_details.erb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/attribute_summary.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/box_info.erb +37 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/children.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/constant_summary.erb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/defines.erb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/header.erb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/inherited_attributes.erb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/inherited_constants.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/inherited_methods.erb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/item_summary.erb +40 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/method_details_list.erb +9 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/method_summary.erb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/methodmissing.erb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/html/pre_docstring.erb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/setup.rb +164 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/text/children.erb +10 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/text/class_meths_list.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/text/extends.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/text/header.erb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/text/includes.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/text/instance_meths_list.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/module/text/setup.rb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/onefile/html/files.erb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/onefile/html/headers.erb +6 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/onefile/html/layout.erb +17 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/onefile/html/readme.erb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/onefile/html/setup.rb +61 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/root/dot/child.erb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/root/dot/setup.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/root/html/setup.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/tags/html/example.erb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/tags/html/index.erb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/tags/html/option.erb +24 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/tags/html/overload.erb +14 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/tags/html/see.erb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/tags/html/tag.erb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/tags/setup.rb +55 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/tags/text/example.erb +12 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/tags/text/index.erb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/tags/text/option.erb +20 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/tags/text/overload.erb +19 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/tags/text/see.erb +11 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/default/tags/text/tag.erb +13 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/class/html/setup.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/docstring/html/setup.rb +1 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/fulldoc/html/css/style.css +108 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/fulldoc/html/js/app.js +33 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/fulldoc/html/setup.rb +73 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/layout/html/layout.erb +81 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/layout/html/setup.rb +28 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/method/html/header.erb +18 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/method/html/setup.rb +21 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/module/html/header.erb +7 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/module/html/method_list.erb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/module/html/setup.rb +26 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/onefile/html/files.erb +4 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/onefile/html/setup.rb +5 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/onefile/html/toc.erb +3 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/templates/guide/tags/html/setup.rb +8 -0
- data/vendor/bundle/ruby/2.1.0/gems/yard-0.8.7.3/yard.gemspec +25 -0
- data/vendor/bundle/ruby/2.1.0/specifications/hashie-2.0.5.gemspec +44 -0
- data/vendor/bundle/ruby/2.1.0/specifications/hirb-0.7.1.gemspec +43 -0
- data/vendor/bundle/ruby/2.1.0/specifications/hirb-unicode-0.0.5.gemspec +47 -0
- data/vendor/bundle/ruby/2.1.0/specifications/redcarpet-3.0.0.gemspec +49 -0
- data/vendor/bundle/ruby/2.1.0/specifications/thor-0.18.1.gemspec +34 -0
- data/vendor/bundle/ruby/2.1.0/specifications/unicode-display_width-0.1.1.gemspec +22 -0
- data/vendor/bundle/ruby/2.1.0/specifications/yard-0.8.7.3.gemspec +23 -0
- metadata +913 -90
@@ -0,0 +1,49 @@
|
|
1
|
+
module Hashie
|
2
|
+
module HashExtensions
|
3
|
+
def self.included(base)
|
4
|
+
# Don't tread on existing extensions of Hash by
|
5
|
+
# adding methods that are likely to exist.
|
6
|
+
%w(stringify_keys stringify_keys!).each do |hashie_method|
|
7
|
+
base.send :alias_method, hashie_method, "hashie_#{hashie_method}" unless base.instance_methods.include?(hashie_method)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
# Destructively convert all of the keys of a Hash
|
12
|
+
# to their string representations.
|
13
|
+
def hashie_stringify_keys!
|
14
|
+
self.keys.each do |k|
|
15
|
+
unless String === k
|
16
|
+
self[k.to_s] = self.delete(k)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
self
|
20
|
+
end
|
21
|
+
|
22
|
+
# Convert all of the keys of a Hash
|
23
|
+
# to their string representations.
|
24
|
+
def hashie_stringify_keys
|
25
|
+
self.dup.stringify_keys!
|
26
|
+
end
|
27
|
+
|
28
|
+
# Convert this hash into a Mash
|
29
|
+
def to_mash
|
30
|
+
::Hashie::Mash.new(self)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
module PrettyInspect
|
35
|
+
def self.included(base)
|
36
|
+
base.send :alias_method, :hash_inspect, :inspect
|
37
|
+
base.send :alias_method, :inspect, :hashie_inspect
|
38
|
+
end
|
39
|
+
|
40
|
+
def hashie_inspect
|
41
|
+
ret = "#<#{self.class.to_s}"
|
42
|
+
stringify_keys.keys.sort.each do |key|
|
43
|
+
ret << " #{key}=#{self[key].inspect}"
|
44
|
+
end
|
45
|
+
ret << ">"
|
46
|
+
ret
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,233 @@
|
|
1
|
+
require 'hashie/hash'
|
2
|
+
|
3
|
+
module Hashie
|
4
|
+
# Mash allows you to create pseudo-objects that have method-like
|
5
|
+
# accessors for hash keys. This is useful for such implementations
|
6
|
+
# as an API-accessing library that wants to fake robust objects
|
7
|
+
# without the overhead of actually doing so. Think of it as OpenStruct
|
8
|
+
# with some additional goodies.
|
9
|
+
#
|
10
|
+
# A Mash will look at the methods you pass it and perform operations
|
11
|
+
# based on the following rules:
|
12
|
+
#
|
13
|
+
# * No punctuation: Returns the value of the hash for that key, or nil if none exists.
|
14
|
+
# * Assignment (<tt>=</tt>): Sets the attribute of the given method name.
|
15
|
+
# * Existence (<tt>?</tt>): Returns true or false depending on whether that key has been set.
|
16
|
+
# * Bang (<tt>!</tt>): Forces the existence of this key, used for deep Mashes. Think of it as "touch" for mashes.
|
17
|
+
# * Under Bang (<tt>_</tt>): Like Bang, but returns a new Mash rather than creating a key. Used to test existance in deep Mashes.
|
18
|
+
#
|
19
|
+
# == Basic Example
|
20
|
+
#
|
21
|
+
# mash = Mash.new
|
22
|
+
# mash.name? # => false
|
23
|
+
# mash.name = "Bob"
|
24
|
+
# mash.name # => "Bob"
|
25
|
+
# mash.name? # => true
|
26
|
+
#
|
27
|
+
# == Hash Conversion Example
|
28
|
+
#
|
29
|
+
# hash = {:a => {:b => 23, :d => {:e => "abc"}}, :f => [{:g => 44, :h => 29}, 12]}
|
30
|
+
# mash = Mash.new(hash)
|
31
|
+
# mash.a.b # => 23
|
32
|
+
# mash.a.d.e # => "abc"
|
33
|
+
# mash.f.first.g # => 44
|
34
|
+
# mash.f.last # => 12
|
35
|
+
#
|
36
|
+
# == Bang Example
|
37
|
+
#
|
38
|
+
# mash = Mash.new
|
39
|
+
# mash.author # => nil
|
40
|
+
# mash.author! # => <Mash>
|
41
|
+
#
|
42
|
+
# mash = Mash.new
|
43
|
+
# mash.author!.name = "Michael Bleigh"
|
44
|
+
# mash.author # => <Mash name="Michael Bleigh">
|
45
|
+
#
|
46
|
+
# == Under Bang Example
|
47
|
+
#
|
48
|
+
# mash = Mash.new
|
49
|
+
# mash.author # => nil
|
50
|
+
# mash.author_ # => <Mash>
|
51
|
+
# mash.author_.name # => nil
|
52
|
+
#
|
53
|
+
# mash = Mash.new
|
54
|
+
# mash.author_.name = "Michael Bleigh" (assigned to temp object)
|
55
|
+
# mash.author # => <Mash>
|
56
|
+
#
|
57
|
+
class Mash < Hash
|
58
|
+
include Hashie::PrettyInspect
|
59
|
+
alias_method :to_s, :inspect
|
60
|
+
|
61
|
+
# If you pass in an existing hash, it will
|
62
|
+
# convert it to a Mash including recursively
|
63
|
+
# descending into arrays and hashes, converting
|
64
|
+
# them as well.
|
65
|
+
def initialize(source_hash = nil, default = nil, &blk)
|
66
|
+
deep_update(source_hash) if source_hash
|
67
|
+
default ? super(default) : super(&blk)
|
68
|
+
end
|
69
|
+
|
70
|
+
class << self; alias [] new; end
|
71
|
+
|
72
|
+
def id #:nodoc:
|
73
|
+
self["id"]
|
74
|
+
end
|
75
|
+
|
76
|
+
def type #:nodoc:
|
77
|
+
self["type"]
|
78
|
+
end
|
79
|
+
|
80
|
+
alias_method :regular_reader, :[]
|
81
|
+
alias_method :regular_writer, :[]=
|
82
|
+
|
83
|
+
# Retrieves an attribute set in the Mash. Will convert
|
84
|
+
# any key passed in to a string before retrieving.
|
85
|
+
def custom_reader(key)
|
86
|
+
value = regular_reader(convert_key(key))
|
87
|
+
yield value if block_given?
|
88
|
+
value
|
89
|
+
end
|
90
|
+
|
91
|
+
# Sets an attribute in the Mash. Key will be converted to
|
92
|
+
# a string before it is set, and Hashes will be converted
|
93
|
+
# into Mashes for nesting purposes.
|
94
|
+
def custom_writer(key,value) #:nodoc:
|
95
|
+
regular_writer(convert_key(key), convert_value(value))
|
96
|
+
end
|
97
|
+
|
98
|
+
alias_method :[], :custom_reader
|
99
|
+
alias_method :[]=, :custom_writer
|
100
|
+
|
101
|
+
# This is the bang method reader, it will return a new Mash
|
102
|
+
# if there isn't a value already assigned to the key requested.
|
103
|
+
def initializing_reader(key)
|
104
|
+
ck = convert_key(key)
|
105
|
+
regular_writer(ck, self.class.new) unless key?(ck)
|
106
|
+
regular_reader(ck)
|
107
|
+
end
|
108
|
+
|
109
|
+
# This is the under bang method reader, it will return a temporary new Mash
|
110
|
+
# if there isn't a value already assigned to the key requested.
|
111
|
+
def underbang_reader(key)
|
112
|
+
ck = convert_key(key)
|
113
|
+
if key?(ck)
|
114
|
+
regular_reader(ck)
|
115
|
+
else
|
116
|
+
self.class.new
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
def fetch(key, *args)
|
121
|
+
super(convert_key(key), *args)
|
122
|
+
end
|
123
|
+
|
124
|
+
def delete(key)
|
125
|
+
super(convert_key(key))
|
126
|
+
end
|
127
|
+
|
128
|
+
alias_method :regular_dup, :dup
|
129
|
+
# Duplicates the current mash as a new mash.
|
130
|
+
def dup
|
131
|
+
self.class.new(self, self.default)
|
132
|
+
end
|
133
|
+
|
134
|
+
def key?(key)
|
135
|
+
super(convert_key(key))
|
136
|
+
end
|
137
|
+
alias_method :has_key?, :key?
|
138
|
+
alias_method :include?, :key?
|
139
|
+
alias_method :member?, :key?
|
140
|
+
|
141
|
+
# Performs a deep_update on a duplicate of the
|
142
|
+
# current mash.
|
143
|
+
def deep_merge(other_hash, &blk)
|
144
|
+
dup.deep_update(other_hash, &blk)
|
145
|
+
end
|
146
|
+
alias_method :merge, :deep_merge
|
147
|
+
|
148
|
+
# Recursively merges this mash with the passed
|
149
|
+
# in hash, merging each hash in the hierarchy.
|
150
|
+
def deep_update(other_hash, &blk)
|
151
|
+
other_hash.each_pair do |k,v|
|
152
|
+
key = convert_key(k)
|
153
|
+
if regular_reader(key).is_a?(Mash) and v.is_a?(::Hash)
|
154
|
+
custom_reader(key).deep_update(v, &blk)
|
155
|
+
else
|
156
|
+
value = convert_value(v, true)
|
157
|
+
value = blk.call(key, self[k], value) if blk
|
158
|
+
custom_writer(key, value)
|
159
|
+
end
|
160
|
+
end
|
161
|
+
self
|
162
|
+
end
|
163
|
+
alias_method :deep_merge!, :deep_update
|
164
|
+
alias_method :update, :deep_update
|
165
|
+
alias_method :merge!, :update
|
166
|
+
|
167
|
+
# Performs a shallow_update on a duplicate of the current mash
|
168
|
+
def shallow_merge(other_hash)
|
169
|
+
dup.shallow_update(other_hash)
|
170
|
+
end
|
171
|
+
|
172
|
+
# Merges (non-recursively) the hash from the argument,
|
173
|
+
# changing the receiving hash
|
174
|
+
def shallow_update(other_hash)
|
175
|
+
other_hash.each_pair do |k,v|
|
176
|
+
regular_writer(convert_key(k), convert_value(v, true))
|
177
|
+
end
|
178
|
+
self
|
179
|
+
end
|
180
|
+
|
181
|
+
def replace(other_hash)
|
182
|
+
(keys - other_hash.keys).each { |key| delete(key) }
|
183
|
+
other_hash.each { |key, value| self[key] = value }
|
184
|
+
self
|
185
|
+
end
|
186
|
+
|
187
|
+
# Will return true if the Mash has had a key
|
188
|
+
# set in addition to normal respond_to? functionality.
|
189
|
+
def respond_to?(method_name, include_private=false)
|
190
|
+
return true if key?(method_name) || method_name.to_s.slice(/[=?!_]\Z/)
|
191
|
+
super
|
192
|
+
end
|
193
|
+
|
194
|
+
def method_missing(method_name, *args, &blk)
|
195
|
+
return self.[](method_name, &blk) if key?(method_name)
|
196
|
+
match = method_name.to_s.match(/(.*?)([?=!_]?)$/)
|
197
|
+
case match[2]
|
198
|
+
when "="
|
199
|
+
self[match[1]] = args.first
|
200
|
+
when "?"
|
201
|
+
!!self[match[1]]
|
202
|
+
when "!"
|
203
|
+
initializing_reader(match[1])
|
204
|
+
when "_"
|
205
|
+
underbang_reader(match[1])
|
206
|
+
else
|
207
|
+
default(method_name, *args, &blk)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
protected
|
212
|
+
|
213
|
+
def convert_key(key) #:nodoc:
|
214
|
+
key.to_s
|
215
|
+
end
|
216
|
+
|
217
|
+
def convert_value(val, duping=false) #:nodoc:
|
218
|
+
case val
|
219
|
+
when self.class
|
220
|
+
val.dup
|
221
|
+
when Hash
|
222
|
+
duping ? val.dup : val
|
223
|
+
when ::Hash
|
224
|
+
val = val.dup if duping
|
225
|
+
self.class.new(val)
|
226
|
+
when Array
|
227
|
+
val.collect{ |e| convert_value(e) }
|
228
|
+
else
|
229
|
+
val
|
230
|
+
end
|
231
|
+
end
|
232
|
+
end
|
233
|
+
end
|
@@ -0,0 +1,91 @@
|
|
1
|
+
require 'hashie/dash'
|
2
|
+
|
3
|
+
module Hashie
|
4
|
+
# A Trash is a 'translated' Dash where the keys can be remapped from a source
|
5
|
+
# hash.
|
6
|
+
#
|
7
|
+
# Trashes are useful when you need to read data from another application,
|
8
|
+
# such as a Java api, where the keys are named differently from how we would
|
9
|
+
# in Ruby.
|
10
|
+
class Trash < Dash
|
11
|
+
|
12
|
+
# Defines a property on the Trash. Options are as follows:
|
13
|
+
#
|
14
|
+
# * <tt>:default</tt> - Specify a default value for this property, to be
|
15
|
+
# returned before a value is set on the property in a new Dash.
|
16
|
+
# * <tt>:from</tt> - Specify the original key name that will be write only.
|
17
|
+
# * <tt>:with</tt> - Specify a lambda to be used to convert value.
|
18
|
+
# * <tt>:transform_with</tt> - Specify a lambda to be used to convert value
|
19
|
+
# without using the :from option. It transform the property itself.
|
20
|
+
def self.property(property_name, options = {})
|
21
|
+
super
|
22
|
+
|
23
|
+
if options[:from]
|
24
|
+
if property_name.to_sym == options[:from].to_sym
|
25
|
+
raise ArgumentError, "Property name (#{property_name}) and :from option must not be the same"
|
26
|
+
end
|
27
|
+
translations << options[:from].to_sym
|
28
|
+
if options[:with].respond_to? :call
|
29
|
+
class_eval do
|
30
|
+
define_method "#{options[:from]}=" do |val|
|
31
|
+
self[property_name.to_sym] = options[:with].call(val)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
else
|
35
|
+
class_eval <<-RUBY
|
36
|
+
def #{options[:from]}=(val)
|
37
|
+
self[:#{property_name}] = val
|
38
|
+
end
|
39
|
+
RUBY
|
40
|
+
end
|
41
|
+
elsif options[:transform_with].respond_to? :call
|
42
|
+
transforms[property_name.to_sym] = options[:transform_with]
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# Set a value on the Dash in a Hash-like way. Only works
|
47
|
+
# on pre-existing properties.
|
48
|
+
def []=(property, value)
|
49
|
+
if self.class.translations.include? property.to_sym
|
50
|
+
send("#{property}=", value)
|
51
|
+
elsif self.class.transforms.key? property.to_sym
|
52
|
+
super property, self.class.transforms[property.to_sym].call(value)
|
53
|
+
elsif property_exists? property
|
54
|
+
super
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
private
|
59
|
+
|
60
|
+
def self.translations
|
61
|
+
@translations ||= []
|
62
|
+
end
|
63
|
+
|
64
|
+
def self.transforms
|
65
|
+
@transforms ||= {}
|
66
|
+
end
|
67
|
+
|
68
|
+
# Raises an NoMethodError if the property doesn't exist
|
69
|
+
#
|
70
|
+
def property_exists?(property)
|
71
|
+
unless self.class.property?(property.to_sym)
|
72
|
+
raise NoMethodError, "The property '#{property}' is not defined for this Trash."
|
73
|
+
end
|
74
|
+
true
|
75
|
+
end
|
76
|
+
|
77
|
+
private
|
78
|
+
|
79
|
+
# Deletes any keys that have a translation
|
80
|
+
def initialize_attributes(attributes)
|
81
|
+
return unless attributes
|
82
|
+
attributes_copy = attributes.dup.delete_if do |k,v|
|
83
|
+
if self.class.translations.include?(k.to_sym)
|
84
|
+
self[k] = v
|
85
|
+
true
|
86
|
+
end
|
87
|
+
end
|
88
|
+
super attributes_copy
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Hashie::Clash do
|
4
|
+
before do
|
5
|
+
@c = Hashie::Clash.new
|
6
|
+
end
|
7
|
+
|
8
|
+
it 'should be able to set an attribute via method_missing' do
|
9
|
+
@c.foo('bar')
|
10
|
+
@c[:foo].should == 'bar'
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'should be able to set multiple attributes' do
|
14
|
+
@c.foo('bar').baz('wok')
|
15
|
+
@c.should == {:foo => 'bar', :baz => 'wok'}
|
16
|
+
end
|
17
|
+
|
18
|
+
it 'should convert multiple arguments into an array' do
|
19
|
+
@c.foo(1, 2, 3)
|
20
|
+
@c[:foo].should == [1,2,3]
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'should be able to use bang notation to create a new Clash on a key' do
|
24
|
+
@c.foo!
|
25
|
+
@c[:foo].should be_kind_of(Hashie::Clash)
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'should be able to chain onto the new Clash when using bang notation' do
|
29
|
+
@c.foo!.bar('abc').baz(123)
|
30
|
+
@c.should == {:foo => {:bar => 'abc', :baz => 123}}
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'should be able to jump back up to the parent in the chain with #_end!' do
|
34
|
+
@c.foo!.bar('abc')._end!.baz(123)
|
35
|
+
@c.should == {:foo => {:bar => 'abc'}, :baz => 123}
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'should merge rather than replace existing keys' do
|
39
|
+
@c.where(:abc => 'def').where(:hgi => 123)
|
40
|
+
@c.should == {:where => {:abc => 'def', :hgi => 123}}
|
41
|
+
end
|
42
|
+
|
43
|
+
it 'should be able to replace all of its own keys with #replace' do
|
44
|
+
@c.foo(:bar).hello(:world)
|
45
|
+
@c.replace(:baz => 123, :hgi => 123).should == {:baz => 123, :hgi => 123}
|
46
|
+
@c.should == {:baz => 123, :hgi => 123}
|
47
|
+
@c[:foo].should be_nil
|
48
|
+
@c[:hello].should be_nil
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,267 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
Hashie::Hash.class_eval do
|
4
|
+
def self.inherited(klass)
|
5
|
+
klass.instance_variable_set('@inheritance_test', true)
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
class DashTest < Hashie::Dash
|
10
|
+
property :first_name, :required => true
|
11
|
+
property :email
|
12
|
+
property :count, :default => 0
|
13
|
+
end
|
14
|
+
|
15
|
+
class DashNoRequiredTest < Hashie::Dash
|
16
|
+
property :first_name
|
17
|
+
property :email
|
18
|
+
property :count, :default => 0
|
19
|
+
end
|
20
|
+
|
21
|
+
class Subclassed < DashTest
|
22
|
+
property :last_name, :required => true
|
23
|
+
end
|
24
|
+
|
25
|
+
class DashDefaultTest < Hashie::Dash
|
26
|
+
property :aliases, :default => ["Snake"]
|
27
|
+
end
|
28
|
+
|
29
|
+
class DeferredTest < Hashie::Dash
|
30
|
+
property :created_at, :default => Proc.new { Time.now }
|
31
|
+
end
|
32
|
+
|
33
|
+
describe DashTest do
|
34
|
+
|
35
|
+
subject { DashTest.new(:first_name => 'Bob', :email => 'bob@example.com') }
|
36
|
+
|
37
|
+
it('subclasses Hashie::Hash') { should respond_to(:to_mash) }
|
38
|
+
|
39
|
+
its(:to_s) { should == '#<DashTest count=0 email="bob@example.com" first_name="Bob">' }
|
40
|
+
|
41
|
+
it 'lists all set properties in inspect' do
|
42
|
+
subject.first_name = 'Bob'
|
43
|
+
subject.email = 'bob@example.com'
|
44
|
+
subject.inspect.should == '#<DashTest count=0 email="bob@example.com" first_name="Bob">'
|
45
|
+
end
|
46
|
+
|
47
|
+
its(:count) { should be_zero }
|
48
|
+
|
49
|
+
it { should respond_to(:first_name) }
|
50
|
+
it { should respond_to(:first_name=) }
|
51
|
+
it { should_not respond_to(:nonexistent) }
|
52
|
+
|
53
|
+
it 'errors out for a non-existent property' do
|
54
|
+
lambda { subject['nonexistent'] }.should raise_error(NoMethodError)
|
55
|
+
end
|
56
|
+
|
57
|
+
it 'errors out when attempting to set a required property to nil' do
|
58
|
+
lambda { subject.first_name = nil }.should raise_error(ArgumentError)
|
59
|
+
end
|
60
|
+
|
61
|
+
context 'writing to properties' do
|
62
|
+
|
63
|
+
it 'fails writing a required property to nil' do
|
64
|
+
lambda { subject.first_name = nil }.should raise_error(ArgumentError)
|
65
|
+
end
|
66
|
+
|
67
|
+
it 'fails writing a required property to nil using []=' do
|
68
|
+
lambda { subject['first_name'] = nil }.should raise_error(ArgumentError)
|
69
|
+
end
|
70
|
+
|
71
|
+
it 'fails writing to a non-existent property using []=' do
|
72
|
+
lambda { subject['nonexistent'] = 123 }.should raise_error(NoMethodError)
|
73
|
+
end
|
74
|
+
|
75
|
+
it 'works for an existing property using []=' do
|
76
|
+
subject['first_name'] = 'Bob'
|
77
|
+
subject['first_name'].should == 'Bob'
|
78
|
+
subject[:first_name].should == 'Bob'
|
79
|
+
end
|
80
|
+
|
81
|
+
it 'works for an existing property using a method call' do
|
82
|
+
subject.first_name = 'Franklin'
|
83
|
+
subject.first_name.should == 'Franklin'
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
context 'reading from properties' do
|
88
|
+
it 'fails reading from a non-existent property using []' do
|
89
|
+
lambda { subject['nonexistent'] }.should raise_error(NoMethodError)
|
90
|
+
end
|
91
|
+
|
92
|
+
it "should be able to retrieve properties through blocks" do
|
93
|
+
subject["first_name"] = "Aiden"
|
94
|
+
value = nil
|
95
|
+
subject.[]("first_name") { |v| value = v }
|
96
|
+
value.should == "Aiden"
|
97
|
+
end
|
98
|
+
|
99
|
+
it "should be able to retrieve properties through blocks with method calls" do
|
100
|
+
subject["first_name"] = "Frodo"
|
101
|
+
value = nil
|
102
|
+
subject.first_name { |v| value = v }
|
103
|
+
value.should == "Frodo"
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
context 'reading from deferred properties' do
|
108
|
+
it 'should evaluate proc after initial read' do
|
109
|
+
DeferredTest.new['created_at'].should be_instance_of(Time)
|
110
|
+
end
|
111
|
+
|
112
|
+
it "should not evalute proc after subsequent reads" do
|
113
|
+
deferred = DeferredTest.new
|
114
|
+
deferred['created_at'].object_id.should == deferred['created_at'].object_id
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe '.new' do
|
119
|
+
it 'fails with non-existent properties' do
|
120
|
+
lambda { described_class.new(:bork => '') }.should raise_error(NoMethodError)
|
121
|
+
end
|
122
|
+
|
123
|
+
it 'should set properties that it is able to' do
|
124
|
+
obj = described_class.new :first_name => 'Michael'
|
125
|
+
obj.first_name.should == 'Michael'
|
126
|
+
end
|
127
|
+
|
128
|
+
it 'accepts nil' do
|
129
|
+
lambda { DashNoRequiredTest.new(nil) }.should_not raise_error
|
130
|
+
end
|
131
|
+
|
132
|
+
it 'accepts block to define a global default' do
|
133
|
+
obj = described_class.new { |hash, key| key.to_s.upcase }
|
134
|
+
obj.first_name.should == 'FIRST_NAME'
|
135
|
+
obj.count.should be_zero
|
136
|
+
end
|
137
|
+
|
138
|
+
it "fails when required values are missing" do
|
139
|
+
expect { DashTest.new }.to raise_error(ArgumentError)
|
140
|
+
end
|
141
|
+
|
142
|
+
it "does not overwrite default values" do
|
143
|
+
obj1 = DashDefaultTest.new
|
144
|
+
obj1.aliases << "El Rey"
|
145
|
+
obj2 = DashDefaultTest.new
|
146
|
+
obj2.aliases.should_not include "El Rey"
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
describe 'properties' do
|
151
|
+
it 'lists defined properties' do
|
152
|
+
described_class.properties.should == Set.new([:first_name, :email, :count])
|
153
|
+
end
|
154
|
+
|
155
|
+
it 'checks if a property exists' do
|
156
|
+
described_class.property?('first_name').should be_true
|
157
|
+
described_class.property?(:first_name).should be_true
|
158
|
+
end
|
159
|
+
|
160
|
+
it 'checks if a property is required' do
|
161
|
+
described_class.required?('first_name').should be_true
|
162
|
+
described_class.required?(:first_name).should be_true
|
163
|
+
end
|
164
|
+
|
165
|
+
it 'doesnt include property from subclass' do
|
166
|
+
described_class.property?(:last_name).should be_false
|
167
|
+
end
|
168
|
+
|
169
|
+
it 'lists declared defaults' do
|
170
|
+
described_class.defaults.should == { :count => 0 }
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
describe '#replace' do
|
175
|
+
before { subject.replace(:first_name => "Cain") }
|
176
|
+
|
177
|
+
it 'return self' do
|
178
|
+
subject.replace(:email => "bar").to_hash.
|
179
|
+
should == {"email" => "bar", "count" => 0}
|
180
|
+
end
|
181
|
+
|
182
|
+
it 'sets all specified keys to their corresponding values' do
|
183
|
+
subject.first_name.should == "Cain"
|
184
|
+
end
|
185
|
+
|
186
|
+
it 'leaves only specified keys and keys with default values' do
|
187
|
+
subject.keys.sort.should == ['count', 'first_name']
|
188
|
+
subject.email.should be_nil
|
189
|
+
subject.count.should == 0
|
190
|
+
end
|
191
|
+
|
192
|
+
context 'when replacing keys with default values' do
|
193
|
+
before { subject.replace(:count => 3) }
|
194
|
+
|
195
|
+
it 'sets all specified keys to their corresponding values' do
|
196
|
+
subject.count.should == 3
|
197
|
+
end
|
198
|
+
end
|
199
|
+
end
|
200
|
+
end
|
201
|
+
|
202
|
+
describe Hashie::Dash, 'inheritance' do
|
203
|
+
before do
|
204
|
+
@top = Class.new(Hashie::Dash)
|
205
|
+
@middle = Class.new(@top)
|
206
|
+
@bottom = Class.new(@middle)
|
207
|
+
end
|
208
|
+
|
209
|
+
it 'reports empty properties when nothing defined' do
|
210
|
+
@top.properties.should be_empty
|
211
|
+
@top.defaults.should be_empty
|
212
|
+
end
|
213
|
+
|
214
|
+
it 'inherits properties downwards' do
|
215
|
+
@top.property :echo
|
216
|
+
@middle.properties.should include(:echo)
|
217
|
+
@bottom.properties.should include(:echo)
|
218
|
+
end
|
219
|
+
|
220
|
+
it 'doesnt inherit properties upwards' do
|
221
|
+
@middle.property :echo
|
222
|
+
@top.properties.should_not include(:echo)
|
223
|
+
@bottom.properties.should include(:echo)
|
224
|
+
end
|
225
|
+
|
226
|
+
it 'allows overriding a default on an existing property' do
|
227
|
+
@top.property :echo
|
228
|
+
@middle.property :echo, :default => 123
|
229
|
+
@bottom.properties.to_a.should == [:echo]
|
230
|
+
@bottom.new.echo.should == 123
|
231
|
+
end
|
232
|
+
|
233
|
+
it 'allows clearing an existing default' do
|
234
|
+
@top.property :echo
|
235
|
+
@middle.property :echo, :default => 123
|
236
|
+
@bottom.property :echo
|
237
|
+
@bottom.properties.to_a.should == [:echo]
|
238
|
+
@bottom.new.echo.should be_nil
|
239
|
+
end
|
240
|
+
|
241
|
+
it 'should allow nil defaults' do
|
242
|
+
@bottom.property :echo, :default => nil
|
243
|
+
@bottom.new.should have_key('echo')
|
244
|
+
end
|
245
|
+
|
246
|
+
end
|
247
|
+
|
248
|
+
describe Subclassed do
|
249
|
+
|
250
|
+
subject { Subclassed.new(:first_name => 'Bob', :last_name => 'McNob', :email => 'bob@example.com') }
|
251
|
+
|
252
|
+
its(:count) { should be_zero }
|
253
|
+
|
254
|
+
it { should respond_to(:first_name) }
|
255
|
+
it { should respond_to(:first_name=) }
|
256
|
+
it { should respond_to(:last_name) }
|
257
|
+
it { should respond_to(:last_name=) }
|
258
|
+
|
259
|
+
it 'has one additional property' do
|
260
|
+
described_class.property?(:last_name).should be_true
|
261
|
+
end
|
262
|
+
|
263
|
+
it "didn't override superclass inheritance logic" do
|
264
|
+
described_class.instance_variable_get('@inheritance_test').should be_true
|
265
|
+
end
|
266
|
+
|
267
|
+
end
|