nanoc 4.0.0b2 → 4.0.0b3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (255) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +11 -22
  3. data/NEWS.md +20 -0
  4. data/Rakefile +0 -2
  5. data/bin/nanoc +0 -2
  6. data/lib/nanoc.rb +0 -2
  7. data/lib/nanoc/base.rb +1 -2
  8. data/lib/nanoc/base/checksummer.rb +0 -2
  9. data/lib/nanoc/base/compilation/checksum_store.rb +0 -2
  10. data/lib/nanoc/base/compilation/compiled_content_cache.rb +0 -2
  11. data/lib/nanoc/base/compilation/compiler.rb +0 -2
  12. data/lib/nanoc/base/compilation/compiler_dsl.rb +0 -2
  13. data/lib/nanoc/base/compilation/dependency_tracker.rb +0 -2
  14. data/lib/nanoc/base/compilation/filter.rb +0 -2
  15. data/lib/nanoc/base/compilation/item_rep_proxy.rb +0 -2
  16. data/lib/nanoc/base/compilation/item_rep_recorder_proxy.rb +0 -2
  17. data/lib/nanoc/base/compilation/outdatedness_checker.rb +0 -2
  18. data/lib/nanoc/base/compilation/outdatedness_reasons.rb +0 -2
  19. data/lib/nanoc/base/compilation/rule.rb +0 -2
  20. data/lib/nanoc/base/compilation/rule_context.rb +0 -2
  21. data/lib/nanoc/base/compilation/rule_memory_calculator.rb +0 -2
  22. data/lib/nanoc/base/compilation/rule_memory_store.rb +0 -2
  23. data/lib/nanoc/base/compilation/rules_collection.rb +0 -2
  24. data/lib/nanoc/base/context.rb +0 -2
  25. data/lib/nanoc/base/core_ext.rb +0 -2
  26. data/lib/nanoc/base/core_ext/array.rb +0 -2
  27. data/lib/nanoc/base/core_ext/hash.rb +0 -2
  28. data/lib/nanoc/base/core_ext/pathname.rb +0 -2
  29. data/lib/nanoc/base/core_ext/string.rb +0 -2
  30. data/lib/nanoc/base/directed_graph.rb +0 -2
  31. data/lib/nanoc/base/error.rb +0 -2
  32. data/lib/nanoc/base/errors.rb +0 -2
  33. data/lib/nanoc/base/identifiable_collection.rb +0 -2
  34. data/lib/nanoc/base/memoization.rb +0 -2
  35. data/lib/nanoc/base/notification_center.rb +0 -2
  36. data/lib/nanoc/base/pattern.rb +0 -2
  37. data/lib/nanoc/base/plugin_registry.rb +0 -2
  38. data/lib/nanoc/base/result_data/item_rep.rb +0 -2
  39. data/lib/nanoc/base/source_data/code_snippet.rb +0 -2
  40. data/lib/nanoc/base/source_data/configuration.rb +0 -2
  41. data/lib/nanoc/base/source_data/data_source.rb +0 -2
  42. data/lib/nanoc/base/source_data/identifier.rb +0 -2
  43. data/lib/nanoc/base/source_data/item.rb +0 -2
  44. data/lib/nanoc/base/source_data/layout.rb +0 -2
  45. data/lib/nanoc/base/source_data/site.rb +1 -3
  46. data/lib/nanoc/base/store.rb +0 -2
  47. data/lib/nanoc/base/temp_filename_factory.rb +0 -2
  48. data/lib/nanoc/base/views/config.rb +0 -2
  49. data/lib/nanoc/base/views/identifiable_collection.rb +0 -2
  50. data/lib/nanoc/base/views/item.rb +3 -5
  51. data/lib/nanoc/base/views/item_collection.rb +0 -2
  52. data/lib/nanoc/base/views/item_rep.rb +0 -2
  53. data/lib/nanoc/base/views/item_rep_collection.rb +48 -0
  54. data/lib/nanoc/base/views/layout.rb +0 -2
  55. data/lib/nanoc/base/views/layout_collection.rb +0 -2
  56. data/lib/nanoc/base/views/mutable_config.rb +0 -2
  57. data/lib/nanoc/base/views/mutable_identifiable_collection.rb +0 -2
  58. data/lib/nanoc/base/views/mutable_item.rb +0 -2
  59. data/lib/nanoc/base/views/mutable_item_collection.rb +0 -2
  60. data/lib/nanoc/base/views/mutable_layout.rb +0 -2
  61. data/lib/nanoc/base/views/mutable_layout_collection.rb +0 -2
  62. data/lib/nanoc/base/views/site.rb +0 -2
  63. data/lib/nanoc/cli.rb +0 -2
  64. data/lib/nanoc/cli/ansi_string_colorizer.rb +0 -2
  65. data/lib/nanoc/cli/cleaning_stream.rb +0 -2
  66. data/lib/nanoc/cli/command_runner.rb +0 -2
  67. data/lib/nanoc/cli/commands/check.rb +0 -2
  68. data/lib/nanoc/cli/commands/compile.rb +0 -2
  69. data/lib/nanoc/cli/commands/create-site.rb +7 -25
  70. data/lib/nanoc/cli/commands/deploy.rb +0 -2
  71. data/lib/nanoc/cli/commands/nanoc.rb +0 -2
  72. data/lib/nanoc/cli/commands/prune.rb +0 -2
  73. data/lib/nanoc/cli/commands/shell.rb +0 -2
  74. data/lib/nanoc/cli/commands/show-data.rb +0 -2
  75. data/lib/nanoc/cli/commands/show-plugins.rb +0 -2
  76. data/lib/nanoc/cli/commands/show-rules.rb +0 -2
  77. data/lib/nanoc/cli/commands/view.rb +0 -2
  78. data/lib/nanoc/cli/error_handler.rb +0 -2
  79. data/lib/nanoc/cli/logger.rb +0 -2
  80. data/lib/nanoc/cli/stream_cleaners.rb +0 -2
  81. data/lib/nanoc/cli/stream_cleaners/abstract.rb +0 -2
  82. data/lib/nanoc/cli/stream_cleaners/ansi_colors.rb +0 -2
  83. data/lib/nanoc/cli/stream_cleaners/utf8.rb +0 -2
  84. data/lib/nanoc/data_sources.rb +1 -5
  85. data/lib/nanoc/data_sources/filesystem.rb +2 -2
  86. data/lib/nanoc/data_sources/filesystem_unified.rb +0 -2
  87. data/lib/nanoc/extra.rb +0 -2
  88. data/lib/nanoc/extra/checking.rb +0 -2
  89. data/lib/nanoc/extra/checking/check.rb +23 -15
  90. data/lib/nanoc/extra/checking/checks.rb +0 -2
  91. data/lib/nanoc/extra/checking/checks/css.rb +1 -3
  92. data/lib/nanoc/extra/checking/checks/external_links.rb +0 -2
  93. data/lib/nanoc/extra/checking/checks/html.rb +1 -3
  94. data/lib/nanoc/extra/checking/checks/internal_links.rb +3 -5
  95. data/lib/nanoc/extra/checking/checks/mixed_content.rb +0 -2
  96. data/lib/nanoc/extra/checking/checks/stale.rb +2 -4
  97. data/lib/nanoc/extra/checking/dsl.rb +0 -2
  98. data/lib/nanoc/extra/checking/issue.rb +0 -2
  99. data/lib/nanoc/extra/checking/runner.rb +1 -3
  100. data/lib/nanoc/extra/core_ext.rb +0 -2
  101. data/lib/nanoc/extra/core_ext/pathname.rb +0 -2
  102. data/lib/nanoc/extra/core_ext/time.rb +0 -2
  103. data/lib/nanoc/extra/deployer.rb +0 -2
  104. data/lib/nanoc/extra/deployers.rb +0 -2
  105. data/lib/nanoc/extra/deployers/fog.rb +40 -8
  106. data/lib/nanoc/extra/deployers/rsync.rb +0 -2
  107. data/lib/nanoc/extra/filesystem_tools.rb +0 -2
  108. data/lib/nanoc/extra/jruby_nokogiri_warner.rb +0 -2
  109. data/lib/nanoc/extra/link_collector.rb +0 -2
  110. data/lib/nanoc/extra/piper.rb +0 -2
  111. data/lib/nanoc/extra/pruner.rb +0 -2
  112. data/lib/nanoc/filters.rb +0 -2
  113. data/lib/nanoc/filters/asciidoc.rb +0 -2
  114. data/lib/nanoc/filters/bluecloth.rb +0 -2
  115. data/lib/nanoc/filters/coffeescript.rb +0 -2
  116. data/lib/nanoc/filters/colorize_syntax.rb +0 -2
  117. data/lib/nanoc/filters/erb.rb +0 -2
  118. data/lib/nanoc/filters/erubis.rb +0 -2
  119. data/lib/nanoc/filters/haml.rb +0 -2
  120. data/lib/nanoc/filters/handlebars.rb +0 -2
  121. data/lib/nanoc/filters/kramdown.rb +0 -2
  122. data/lib/nanoc/filters/less.rb +0 -2
  123. data/lib/nanoc/filters/markaby.rb +0 -2
  124. data/lib/nanoc/filters/maruku.rb +0 -2
  125. data/lib/nanoc/filters/mustache.rb +0 -2
  126. data/lib/nanoc/filters/pandoc.rb +0 -2
  127. data/lib/nanoc/filters/rainpress.rb +0 -2
  128. data/lib/nanoc/filters/rdiscount.rb +0 -2
  129. data/lib/nanoc/filters/rdoc.rb +0 -2
  130. data/lib/nanoc/filters/redcarpet.rb +0 -2
  131. data/lib/nanoc/filters/redcloth.rb +0 -2
  132. data/lib/nanoc/filters/relativize_paths.rb +0 -2
  133. data/lib/nanoc/filters/rubypants.rb +0 -2
  134. data/lib/nanoc/filters/sass.rb +0 -2
  135. data/lib/nanoc/filters/sass/sass_filesystem_importer.rb +0 -2
  136. data/lib/nanoc/filters/slim.rb +0 -2
  137. data/lib/nanoc/filters/typogruby.rb +0 -2
  138. data/lib/nanoc/filters/uglify_js.rb +0 -2
  139. data/lib/nanoc/filters/xsl.rb +0 -2
  140. data/lib/nanoc/filters/yui_compressor.rb +0 -2
  141. data/lib/nanoc/helpers.rb +0 -2
  142. data/lib/nanoc/helpers/blogging.rb +0 -2
  143. data/lib/nanoc/helpers/breadcrumbs.rb +0 -2
  144. data/lib/nanoc/helpers/capturing.rb +0 -2
  145. data/lib/nanoc/helpers/filtering.rb +0 -2
  146. data/lib/nanoc/helpers/html_escape.rb +0 -2
  147. data/lib/nanoc/helpers/link_to.rb +0 -2
  148. data/lib/nanoc/helpers/rendering.rb +0 -2
  149. data/lib/nanoc/helpers/tagging.rb +0 -2
  150. data/lib/nanoc/helpers/text.rb +0 -2
  151. data/lib/nanoc/helpers/xml_sitemap.rb +0 -2
  152. data/lib/nanoc/version.rb +1 -3
  153. data/nanoc.gemspec +1 -3
  154. data/tasks/doc.rake +0 -2
  155. data/tasks/test.rake +0 -2
  156. data/test/base/checksummer_spec.rb +0 -2
  157. data/test/base/core_ext/array_spec.rb +0 -2
  158. data/test/base/core_ext/hash_spec.rb +0 -2
  159. data/test/base/core_ext/pathname_spec.rb +0 -2
  160. data/test/base/core_ext/string_spec.rb +0 -2
  161. data/test/base/temp_filename_factory_spec.rb +0 -2
  162. data/test/base/test_checksum_store.rb +0 -2
  163. data/test/base/test_code_snippet.rb +0 -2
  164. data/test/base/test_compiler.rb +0 -2
  165. data/test/base/test_compiler_dsl.rb +1 -3
  166. data/test/base/test_context.rb +0 -2
  167. data/test/base/test_data_source.rb +0 -2
  168. data/test/base/test_dependency_tracker.rb +0 -2
  169. data/test/base/test_directed_graph.rb +0 -2
  170. data/test/base/test_filter.rb +0 -2
  171. data/test/base/test_item.rb +0 -2
  172. data/test/base/test_item_array.rb +0 -2
  173. data/test/base/test_item_rep.rb +0 -2
  174. data/test/base/test_item_rep_recorder_proxy.rb +0 -2
  175. data/test/base/test_layout.rb +0 -2
  176. data/test/base/test_memoization.rb +0 -2
  177. data/test/base/test_notification_center.rb +0 -2
  178. data/test/base/test_outdatedness_checker.rb +1 -3
  179. data/test/base/test_plugin.rb +0 -2
  180. data/test/base/test_rule.rb +0 -2
  181. data/test/base/test_rule_context.rb +0 -2
  182. data/test/base/test_site.rb +1 -3
  183. data/test/base/test_store.rb +0 -2
  184. data/test/cli/commands/test_check.rb +0 -2
  185. data/test/cli/commands/test_compile.rb +0 -2
  186. data/test/cli/commands/test_create_site.rb +1 -3
  187. data/test/cli/commands/test_deploy.rb +0 -2
  188. data/test/cli/commands/test_help.rb +0 -2
  189. data/test/cli/commands/test_info.rb +0 -2
  190. data/test/cli/commands/test_prune.rb +2 -4
  191. data/test/cli/test_cleaning_stream.rb +0 -2
  192. data/test/cli/test_cli.rb +0 -6
  193. data/test/cli/test_error_handler.rb +0 -2
  194. data/test/cli/test_logger.rb +0 -2
  195. data/test/data_sources/test_filesystem.rb +0 -2
  196. data/test/data_sources/test_filesystem_unified.rb +15 -2
  197. data/test/extra/checking/checks/test_css.rb +3 -5
  198. data/test/extra/checking/checks/test_external_links.rb +5 -7
  199. data/test/extra/checking/checks/test_html.rb +2 -4
  200. data/test/extra/checking/checks/test_internal_links.rb +5 -7
  201. data/test/extra/checking/checks/test_mixed_content.rb +8 -10
  202. data/test/extra/checking/checks/test_stale.rb +1 -3
  203. data/test/extra/checking/test_check.rb +2 -6
  204. data/test/extra/checking/test_dsl.rb +0 -2
  205. data/test/extra/checking/test_runner.rb +0 -2
  206. data/test/extra/core_ext/test_pathname.rb +0 -2
  207. data/test/extra/core_ext/test_time.rb +0 -2
  208. data/test/extra/deployers/test_fog.rb +147 -2
  209. data/test/extra/deployers/test_rsync.rb +0 -2
  210. data/test/extra/test_filesystem_tools.rb +0 -2
  211. data/test/extra/test_link_collector.rb +0 -2
  212. data/test/extra/test_piper.rb +0 -2
  213. data/test/filters/test_asciidoc.rb +0 -2
  214. data/test/filters/test_bluecloth.rb +0 -2
  215. data/test/filters/test_coffeescript.rb +0 -2
  216. data/test/filters/test_colorize_syntax.rb +0 -2
  217. data/test/filters/test_erb.rb +0 -2
  218. data/test/filters/test_erubis.rb +0 -2
  219. data/test/filters/test_haml.rb +0 -2
  220. data/test/filters/test_handlebars.rb +0 -2
  221. data/test/filters/test_kramdown.rb +0 -2
  222. data/test/filters/test_less.rb +0 -2
  223. data/test/filters/test_markaby.rb +0 -2
  224. data/test/filters/test_maruku.rb +0 -2
  225. data/test/filters/test_mustache.rb +0 -2
  226. data/test/filters/test_pandoc.rb +0 -2
  227. data/test/filters/test_rainpress.rb +0 -2
  228. data/test/filters/test_rdiscount.rb +0 -2
  229. data/test/filters/test_rdoc.rb +0 -2
  230. data/test/filters/test_redcarpet.rb +0 -2
  231. data/test/filters/test_redcloth.rb +0 -2
  232. data/test/filters/test_relativize_paths.rb +0 -2
  233. data/test/filters/test_rubypants.rb +0 -2
  234. data/test/filters/test_sass.rb +0 -2
  235. data/test/filters/test_slim.rb +0 -2
  236. data/test/filters/test_typogruby.rb +0 -2
  237. data/test/filters/test_uglify_js.rb +0 -2
  238. data/test/filters/test_xsl.rb +0 -2
  239. data/test/filters/test_yui_compressor.rb +0 -2
  240. data/test/gem_loader.rb +0 -2
  241. data/test/helper.rb +1 -3
  242. data/test/helpers/test_blogging.rb +0 -2
  243. data/test/helpers/test_breadcrumbs.rb +0 -2
  244. data/test/helpers/test_capturing.rb +0 -2
  245. data/test/helpers/test_filtering.rb +0 -2
  246. data/test/helpers/test_html_escape.rb +0 -2
  247. data/test/helpers/test_link_to.rb +0 -2
  248. data/test/helpers/test_rendering.rb +0 -2
  249. data/test/helpers/test_tagging.rb +0 -2
  250. data/test/helpers/test_text.rb +0 -2
  251. data/test/helpers/test_xml_sitemap.rb +0 -2
  252. data/test/test_gem.rb +0 -5
  253. metadata +5 -6
  254. data/lib/nanoc/data_sources/filesystem_verbose.rb +0 -71
  255. data/test/data_sources/test_filesystem_verbose.rb +0 -308
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @api private
5
3
  class Maruku < Nanoc::Filter
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @since 3.2.0
5
3
  #
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @api private
5
3
  class Pandoc < Nanoc::Filter
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @api private
5
3
  class Rainpress < Nanoc::Filter
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @api private
5
3
  class RDiscount < Nanoc::Filter
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @api private
5
3
  class RDoc < Nanoc::Filter
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @since 3.2.0
5
3
  #
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @api private
5
3
  class RedCloth < Nanoc::Filter
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @api private
5
3
  class RelativizePaths < Nanoc::Filter
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @api private
5
3
  class RubyPants < Nanoc::Filter
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @api private
5
3
  class Sass < Nanoc::Filter
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  # @api private
4
2
  class ::Sass::Importers::Filesystem
5
3
  alias_method :_orig_find, :_find
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @since 3.2.0
5
3
  #
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @since 3.2.0
5
3
  #
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @api private
5
3
  class UglifyJS < Nanoc::Filter
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @since 3.3.0
5
3
  #
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Filters
4
2
  # @since 3.3.0
5
3
  #
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Helpers
4
2
  autoload 'Blogging', 'nanoc/helpers/blogging'
5
3
  autoload 'Breadcrumbs', 'nanoc/helpers/breadcrumbs'
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Helpers
4
2
  # Provides functionality for building blogs, such as finding articles and
5
3
  # constructing feeds.
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Helpers
4
2
  # Provides support for breadcrumbs, which allow the user to go up in the
5
3
  # page hierarchy.
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Helpers
4
2
  # Provides functionality for “capturing” content in one place and reusing
5
3
  # this content elsewhere.
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Helpers
4
2
  # Provides functionality for filtering parts of an item or a layout.
5
3
  module Filtering
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Helpers
4
2
  # Contains functionality for HTML-escaping strings.
5
3
  module HTMLEscape
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Helpers
4
2
  # Contains functions for linking to items and item representations.
5
3
  module LinkTo
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Helpers
4
2
  # Provides functionality for rendering layouts as partials.
5
3
  module Rendering
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Helpers
4
2
  # Provides support for managing tags added to items.
5
3
  #
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Helpers
4
2
  # Contains several useful text-related helper functions.
5
3
  module Text
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc::Helpers
4
2
  # Contains functionality for building XML sitemaps that will be crawled by
5
3
  # search engines. See the [Sitemaps protocol site](http://www.sitemaps.org)
@@ -1,6 +1,4 @@
1
- # encoding: utf-8
2
-
3
1
  module Nanoc
4
2
  # The current nanoc version.
5
- VERSION = '4.0.0b2'
3
+ VERSION = '4.0.0b3'
6
4
  end
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  $LOAD_PATH.unshift(File.expand_path('../lib/', __FILE__))
4
2
  require 'nanoc/version'
5
3
 
@@ -25,7 +23,7 @@ Gem::Specification.new do |s|
25
23
  s.rdoc_options = ['--main', 'README.md']
26
24
  s.extra_rdoc_files = ['ChangeLog', 'LICENSE', 'README.md', 'NEWS.md']
27
25
 
28
- s.required_ruby_version = '>= 2.0.0'
26
+ s.required_ruby_version = '>= 2.2.0'
29
27
 
30
28
  s.add_runtime_dependency('cri', '~> 2.3')
31
29
 
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require 'yard'
4
2
 
5
3
  YARD::Rake::YardocTask.new(:doc) do |yard|
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require 'rspec/core/rake_task'
4
2
 
5
3
  def run_tests(dir_glob)
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require 'tempfile'
4
2
 
5
3
  describe Nanoc::Int::Checksummer do
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  describe 'Array#__nanoc_symbolize_keys_recursively' do
4
2
  it 'should convert keys to symbols' do
5
3
  array_old = [:abc, 'xyz', { 'foo' => 'bar', :baz => :qux }]
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  describe 'Hash#__nanoc_symbolize_keys_recursively' do
4
2
  it 'should convert keys to symbols' do
5
3
  hash_old = { 'foo' => 'bar' }
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  describe 'Pathname#checksum' do
4
2
  it 'should work on empty files' do
5
3
  begin
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  describe 'String#__nanoc_cleaned_identifier' do
4
2
  it 'should not convert already clean paths' do
5
3
  '/foo/bar/'.__nanoc_cleaned_identifier.must_equal '/foo/bar/'
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  describe Nanoc::Int::TempFilenameFactory do
4
2
  subject do
5
3
  Nanoc::Int::TempFilenameFactory.new
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::ChecksumStoreTest < Nanoc::TestCase
4
2
  def test_get_with_existing_object
5
3
  require 'pstore'
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::CodeSnippetTest < Nanoc::TestCase
4
2
  def test_load
5
3
  # Initialize
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::CompilerTest < Nanoc::TestCase
4
2
  def test_compilation_rule_for
5
3
  # Mock rules
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::CompilerDSLTest < Nanoc::TestCase
4
2
  def test_compile
5
3
  # TODO: implement
@@ -180,7 +178,7 @@ EOS
180
178
  io << 'string_pattern_type: legacy' << "\n"
181
179
  io << 'data_sources:' << "\n"
182
180
  io << ' -' << "\n"
183
- io << ' type: filesystem_unified' << "\n"
181
+ io << ' type: filesystem' << "\n"
184
182
  io << ' identifier_type: full' << "\n"
185
183
  end
186
184
 
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::ContextTest < Nanoc::TestCase
4
2
  def test_context_with_instance_variable
5
3
  # Create context
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::DataSourceTest < Nanoc::TestCase
4
2
  def test_loading
5
3
  # Create data source
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::DependencyTrackerTest < Nanoc::TestCase
4
2
  def test_initialize
5
3
  # Mock items
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::DirectedGraphTest < Nanoc::TestCase
4
2
  def test_direct_predecessors
5
3
  graph = Nanoc::Int::DirectedGraph.new([1, 2, 3])
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::FilterTest < Nanoc::TestCase
4
2
  def test_initialize
5
3
  # Create filter
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::ItemTest < Nanoc::TestCase
4
2
  def test_initialize_with_attributes_with_string_keys
5
3
  item = Nanoc::Int::Item.new('foo', { 'abc' => 'xyz' }, '/foo/')
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::IdentifiableCollectionTest < Nanoc::TestCase
4
2
  def setup
5
3
  super
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::ItemRepTest < Nanoc::TestCase
4
2
  def test_created_modified_compiled
5
3
  # TODO: implement
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::ItemRepRecorderProxyTest < Nanoc::TestCase
4
2
  def test_double_names
5
3
  proxy = Nanoc::Int::ItemRepRecorderProxy.new(mock)
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::LayoutTest < Nanoc::TestCase
4
2
  def test_initialize
5
3
  # Make sure attributes are cleaned
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::MemoizationTest < Nanoc::TestCase
4
2
  class Sample1
5
3
  extend Nanoc::Int::Memoization
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::NotificationCenterTest < Nanoc::TestCase
4
2
  def test_post
5
3
  # Set up notification
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::OutdatednessCheckerTest < Nanoc::TestCase
4
2
  def test_not_outdated
5
3
  # Compile once
@@ -286,7 +284,7 @@ class Nanoc::Int::OutdatednessCheckerTest < Nanoc::TestCase
286
284
  io << 'string_pattern_type: legacy' << "\n"
287
285
  io << 'data_sources:' << "\n"
288
286
  io << ' -' << "\n"
289
- io << ' type: filesystem_unified' << "\n"
287
+ io << ' type: filesystem' << "\n"
290
288
  io << ' identifier_type: legacy' << "\n"
291
289
  end
292
290
  end
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::PluginTest < Nanoc::TestCase
4
2
  class SampleFilter < Nanoc::Filter
5
3
  identifier :_plugin_test_sample_filter
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::RuleTest < Nanoc::TestCase
4
2
  def test_initialize
5
3
  # TODO: implement
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::RuleContextTest < Nanoc::TestCase
4
2
  def test_objects
5
3
  # Mock everything
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class Nanoc::Int::SiteTest < Nanoc::TestCase
4
2
  def test_initialize_with_dir_without_config_yaml
5
3
  assert_raises(Nanoc::Int::Errors::GenericTrivial) do
@@ -327,7 +325,7 @@ describe 'Nanoc::Int::Site#data_sources' do
327
325
  File.open('nanoc.yaml', 'w') do |io|
328
326
  io.write "data_sources:\n"
329
327
  io.write " -\n"
330
- io.write " type: filesystem_unified\n"
328
+ io.write " type: filesystem\n"
331
329
  io.write " aaa: one\n"
332
330
  io.write " config:\n"
333
331
  io.write " bbb: two\n"