middleman-core 4.3.0.rc.3 → 4.3.0.rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/features/coffee-script.feature +1 -1
  3. data/features/helpers_external.feature +17 -1
  4. data/features/i18n_preview.feature +25 -0
  5. data/features/ignore_already_minified.feature +1 -1
  6. data/features/minify_javascript.feature +1 -1
  7. data/features/page-id.feature +2 -2
  8. data/features/support/env.rb +1 -4
  9. data/fixtures/asset-hash-minified-app/config.rb +1 -1
  10. data/fixtures/env-app/source/stylesheets/site.css.scss +1 -1
  11. data/fixtures/generator-test/config.rb +1 -1
  12. data/fixtures/i18n-default-app/source/name.html.erb +1 -0
  13. data/fixtures/page-id-app/source/{fourty-two.html.erb → forty-two.html.erb} +0 -0
  14. data/lib/middleman-core/application.rb +1 -1
  15. data/lib/middleman-core/core_extensions.rb +2 -2
  16. data/lib/middleman-core/core_extensions/external_helpers.rb +1 -1
  17. data/lib/middleman-core/core_extensions/i18n.rb +8 -1
  18. data/lib/middleman-core/extension.rb +3 -3
  19. data/lib/middleman-core/extensions/gzip.rb +1 -1
  20. data/lib/middleman-core/extensions/minify_css.rb +1 -1
  21. data/lib/middleman-core/extensions/minify_javascript.rb +3 -3
  22. data/lib/middleman-core/file_renderer.rb +1 -1
  23. data/lib/middleman-core/meta_pages/sitemap_tree.rb +1 -1
  24. data/lib/middleman-core/preview_server.rb +1 -1
  25. data/lib/middleman-core/preview_server/server_information_callback_proxy.rb +1 -1
  26. data/lib/middleman-core/renderers/sass.rb +7 -1
  27. data/lib/middleman-core/sitemap/extensions/traversal.rb +5 -5
  28. data/lib/middleman-core/sitemap/store.rb +1 -1
  29. data/lib/middleman-core/sources/source_watcher.rb +1 -1
  30. data/lib/middleman-core/step_definitions/server_steps.rb +4 -0
  31. data/lib/middleman-core/util/files.rb +1 -1
  32. data/lib/middleman-core/version.rb +1 -1
  33. data/middleman-core.gemspec +0 -3
  34. data/spec/middleman-core/core_extensions/data_spec.rb +1 -1
  35. metadata +6 -20
  36. data/features/javascript-testing.feature +0 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c755cc316fdd5d11efdeef58e9440a0897200ff15834a7d49150c78ddf7d937
4
- data.tar.gz: 5afadb54e42bbc0da7ee549c955473dd81b66f1b9dc35db6e0a3068d533b5e22
3
+ metadata.gz: fe804ebc36f4a264dcde64fc13c9a76573d6fd34b50f982136b82e4bc309d6f5
4
+ data.tar.gz: 759ee3d80a5683d7904a70a196b0eacc4d7f5e8bafc01da763422285e04d9645
5
5
  SHA512:
6
- metadata.gz: 34a69f552839aa11d2e0dc963c30c748c7e8f176dc35a890f4bc89548e061f13f0002ee0204a852a96d39eebd0609f3b8fd21f097c04e43e31e87e3651767bdf
7
- data.tar.gz: 286fd44a9b7f7d1842b4597d8406e0042a7456ede287e7aa8e369bfb6a540f7dc815b9b51c4fed86150da53aa936480ede6214cc5ab169878686b8b376d65469
6
+ metadata.gz: 6776538352eff82847ea01c13a3bd1e0afb4bdb38629fda06f15c49e1b6e8e7d0829b12169d4802a1a48a22c7d6c32dd2d62fd73ed9dd165f03b86ad7538598d
7
+ data.tar.gz: f44eccdd46765b7207e328d560394ea98fa78f11a575e630bf1517dbaf4d566ad3dc25470e857028ed22657a1609ea85c33e6df59594d425a7284e2c0974154f
@@ -1,5 +1,5 @@
1
1
  Feature: Support coffee-script
2
- In order to offer an alternative when writing Javascript
2
+ In order to offer an alternative when writing JavaScript
3
3
 
4
4
  Scenario: Rendering coffee script
5
5
  Given the Server is running at "coffeescript-app"
@@ -9,4 +9,20 @@ Feature: Helpers in external files
9
9
  Given the Server is running at "external-helpers"
10
10
  Then going to "/automatic.html" should not raise an exception
11
11
  And I should see "One:Two:Three:Four"
12
-
12
+
13
+ Scenario: Automatic Helpers Reload
14
+ Given the Server is running at "external-helpers"
15
+ Then going to "/automatic.html" should not raise an exception
16
+ And I should see "One:Two:Three:Four"
17
+
18
+ When the file "helpers/one_helper.rb" has the contents
19
+ """
20
+ module OneHelper
21
+ def one
22
+ 'Won'
23
+ end
24
+ end
25
+ """
26
+ When the Server is reloaded
27
+ Then going to "/automatic.html" should not raise an exception
28
+ And I should see "Won:Two:Three:Four"
@@ -254,3 +254,28 @@ Feature: i18n Preview
254
254
  When I go to "/es/"
255
255
  Then I should see "Como Esta?"
256
256
  Then I should see "Mucho"
257
+
258
+ Scenario: Proxy to localized pages.
259
+ Given a fixture app "i18n-default-app"
260
+ And a file named "config.rb" with:
261
+ """
262
+ langs = [:en, :es]
263
+ activate :i18n, mount_at_root: false, langs: langs
264
+
265
+ ["Tom", "Jen"].each do |name|
266
+ langs.each do |lang|
267
+ proxy "/#{lang}/people/#{name.downcase}.html", "/name.html", locals: { name: name }, locale: lang, ignore: true
268
+ end
269
+ end
270
+ """
271
+ Given the Server is running at "i18n-default-app"
272
+ When I go to "/name.html"
273
+ Then I should see "File Not Found"
274
+ When I go to "/en/people/tom.html"
275
+ Then I should see "Howdy Tom"
276
+ When I go to "/en/people/jen.html"
277
+ Then I should see "Howdy Jen"
278
+ When I go to "/es/people/tom.html"
279
+ Then I should see "Como Esta? Tom"
280
+ When I go to "/es/people/jen.html"
281
+ Then I should see "Como Esta? Jen"
@@ -1,4 +1,4 @@
1
- Feature: CSS and Javascripts which are minify shouldn't be re-minified
1
+ Feature: CSS and JavaScripts which are minify shouldn't be re-minified
2
2
 
3
3
  Scenario: JS files containing ".min" should not be re-compressed
4
4
  Given an empty app
@@ -1,4 +1,4 @@
1
- Feature: Minify Javascript
1
+ Feature: Minify JavaScript
2
2
  In order reduce bytes sent to client and appease YSlow
3
3
 
4
4
  Scenario: Rendering inline js with the feature disabled
@@ -11,7 +11,7 @@ Feature: Page IDs
11
11
  And I should see 'URL5: <a href="/implicit.html">Imp</a>'
12
12
  And I should see 'URL6: <a href="/folder/foldern.html">Foldern</a>'
13
13
  And I should see 'URL7: <a href="/feed.xml">Feed</a>'
14
- And I should see "URL8: /fourty-two.html"
14
+ And I should see "URL8: /forty-two.html"
15
15
 
16
16
  When I go to "/fm.html"
17
17
  Then I should see "I am: frontmatter"
@@ -46,7 +46,7 @@ Feature: Page IDs
46
46
  And I should see "URL2: /2.html"
47
47
  And I should see 'URL3: <a href="/3.html">Hi</a>'
48
48
  And I should see 'URL4: <a href="/overwrites/from-default.html">Sym</a>'
49
- And I should see "URL8: /fourty-two.html"
49
+ And I should see "URL8: /forty-two.html"
50
50
  And I should see 'URL9: <a href="/implicit.html">Imp</a>'
51
51
  And I should see 'URL10: <a href="/folder/foldern.html">Foldern</a>'
52
52
  And I should see 'URL11: <a href="/feed.xml">Feed</a>'
@@ -6,10 +6,7 @@ require 'sassc'
6
6
  require 'simplecov'
7
7
  SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/../..'))
8
8
 
9
- require 'phantomjs/poltergeist'
10
- Capybara.javascript_driver = :poltergeist
11
-
12
- Capybara.server = :webrick
9
+ # Capybara.server = :webrick
13
10
 
14
11
  require 'simplecov'
15
12
  SimpleCov.start
@@ -1,5 +1,5 @@
1
1
  configure :build do
2
- # Minify Javascript on build
2
+ # Minify JavaScript on build
3
3
  activate :minify_javascript
4
4
  activate :asset_hash
5
5
  end
@@ -1,3 +1,3 @@
1
1
  body {
2
- backgroud: red;
2
+ background: red;
3
3
  }
@@ -42,7 +42,7 @@
42
42
  configure :production do
43
43
  # activate :minify_css
44
44
 
45
- # Minify Javascript
45
+ # Minify JavaScript
46
46
  # activate :minify_javascript
47
47
 
48
48
  # Enable cache buster
@@ -0,0 +1 @@
1
+ <%= t(:greetings) %> <%= name %>
@@ -439,7 +439,7 @@ module Middleman
439
439
  #
440
440
  # @deprecated Prefer accessing settings through "config".
441
441
  #
442
- # @param [Symbol] key Name of the attribue
442
+ # @param [Symbol] key Name of the attribute
443
443
  # @param value Attribute value
444
444
  # @return [void]
445
445
  def set(key, value = nil, &block)
@@ -100,10 +100,10 @@ Middleman::Extensions.register :minify_css do
100
100
  Middleman::Extensions::MinifyCss
101
101
  end
102
102
 
103
- # MinifyJavascript compresses JS
103
+ # MinifyJavaScript compresses JS
104
104
  Middleman::Extensions.register :minify_javascript do
105
105
  require 'middleman-core/extensions/minify_javascript'
106
- Middleman::Extensions::MinifyJavascript
106
+ Middleman::Extensions::MinifyJavaScript
107
107
  end
108
108
 
109
109
  # GZIP assets and pages during build
@@ -19,7 +19,7 @@ module Middleman
19
19
  module_name = app.config[:helpers_filename_to_module_name_proc].call(filename)
20
20
  next unless module_name
21
21
 
22
- require filename
22
+ load filename
23
23
  next unless Object.const_defined?(module_name.to_sym)
24
24
 
25
25
  app.template_context_class.send :include, Object.const_get(module_name.to_sym)
@@ -177,7 +177,14 @@ class Middleman::CoreExtensions::Internationalization < ::Middleman::Extension
177
177
 
178
178
  result = parse_locale_extension(resource.path)
179
179
  ext_locale, path, page_id = result
180
- new_resources << build_resource(path, resource.path, page_id, ext_locale)
180
+
181
+ new_resource = build_resource(path, resource.path, page_id, ext_locale)
182
+
183
+ # extension resources replace original i18n attempt.
184
+ exists = new_resources.find { |r| r.path == new_resource.path }
185
+ new_resources.delete(exists) if exists
186
+
187
+ new_resources << new_resource
181
188
 
182
189
  resource.ignore!
183
190
  end
@@ -204,7 +204,7 @@ module Middleman
204
204
  # expose_to_application global_name: :local_name
205
205
  # @example with Array:
206
206
  # expose_to_application :method1, :method2
207
- # @param [Array<Sumbol>, Hash<Symbol, Symbol>] symbols An optional list of symbols representing instance methods to exposed.
207
+ # @param [Array<Symbol>, Hash<Symbol, Symbol>] symbols An optional list of symbols representing instance methods to exposed.
208
208
  # @return [void]
209
209
  def expose_to_application(*symbols)
210
210
  self.exposed_to_application ||= {}
@@ -224,7 +224,7 @@ module Middleman
224
224
  # expose_to_config global_name: :local_name
225
225
  # @example with Array:
226
226
  # expose_to_config :method1, :method2
227
- # @param [Array<Sumbol>, Hash<Symbol, Symbol>] symbols An optional list of symbols representing instance methods to exposed.
227
+ # @param [Array<Symbol>, Hash<Symbol, Symbol>] symbols An optional list of symbols representing instance methods to exposed.
228
228
  # @return [void]
229
229
  def expose_to_config(*symbols)
230
230
  self.exposed_to_config ||= {}
@@ -244,7 +244,7 @@ module Middleman
244
244
  # expose_to_template global_name: :local_name
245
245
  # @example with Array:
246
246
  # expose_to_template :method1, :method2
247
- # @param [Array<Sumbol>, Hash<Symbol, Symbol>] symbols An optional list of symbols representing instance methods to exposed.
247
+ # @param [Array<Symbol>, Hash<Symbol, Symbol>] symbols An optional list of symbols representing instance methods to exposed.
248
248
  # @return [void]
249
249
  def expose_to_template(*symbols)
250
250
  self.exposed_to_template ||= {}
@@ -1,7 +1,7 @@
1
1
  # This extension Gzips assets and pages when building.
2
2
  # Gzipped assets and pages can be served directly by Apache or
3
3
  # Nginx with the proper configuration, and pre-zipping means that we
4
- # can use a more agressive compression level at no CPU cost per request.
4
+ # can use a more aggressive compression level at no CPU cost per request.
5
5
  #
6
6
  # Use Nginx's gzip_static directive, or AddEncoding and mod_rewrite in Apache
7
7
  # to serve your Gzipped files whenever the normal (non-.gz) filename is requested.
@@ -57,7 +57,7 @@ class Middleman::Extensions::MinifyCss < ::Middleman::Extension
57
57
  end
58
58
 
59
59
  # Rack interface
60
- # @param [Rack::Environmemt] env
60
+ # @param [Rack::Environment] env
61
61
  # @return [Array]
62
62
  def call(env)
63
63
  status, headers, response = @app.call(env)
@@ -2,8 +2,8 @@ require 'active_support/core_ext/object/try'
2
2
  require 'middleman-core/contracts'
3
3
  require 'memoist'
4
4
 
5
- # Minify Javascript Extension
6
- class Middleman::Extensions::MinifyJavascript < ::Middleman::Extension
5
+ # Minify JavaScript Extension
6
+ class Middleman::Extensions::MinifyJavaScript < ::Middleman::Extension
7
7
  option :inline, false, 'Whether to minify JS inline within HTML files'
8
8
  option :ignore, [], 'Patterns to avoid minifying'
9
9
  option :compressor, proc {
@@ -49,7 +49,7 @@ class Middleman::Extensions::MinifyJavascript < ::Middleman::Extension
49
49
  end
50
50
 
51
51
  # Rack interface
52
- # @param [Rack::Environmemt] env
52
+ # @param [Rack::Environment] env
53
53
  # @return [Array]
54
54
  def call(env)
55
55
  status, headers, response = @app.call(env)
@@ -32,7 +32,7 @@ module Middleman
32
32
  def render(locs, opts, context, &block)
33
33
  path = @path.dup
34
34
 
35
- # Detect the remdering engine from the extension
35
+ # Detect the rendering engine from the extension
36
36
  extension = File.extname(path)
37
37
  engine = extension[1..-1].to_sym
38
38
 
@@ -59,7 +59,7 @@ module Middleman
59
59
 
60
60
  if path_parts.size == 1
61
61
  sitemap_class = SitemapResource
62
- # Allow special sitemap resources to use custom metadata view calsses
62
+ # Allow special sitemap resources to use custom metadata view classes
63
63
  sitemap_class = resource.meta_pages_class if resource.respond_to? :meta_pages_class
64
64
 
65
65
  @children[first_part] = sitemap_class.new(resource)
@@ -212,7 +212,7 @@ module Middleman
212
212
  @cli_options[key] || config[key]
213
213
  end
214
214
 
215
- # Trap some interupt signals and shut down smoothly
215
+ # Trap some interrupt signals and shut down smoothly
216
216
  # @return [void]
217
217
  def register_signal_handlers
218
218
  %w[INT HUP TERM QUIT].each do |sig|
@@ -7,7 +7,7 @@ module Middleman
7
7
  # * server name
8
8
  # * site_addresses
9
9
  #
10
- # All information is "dupped" and the callback is not meant to be used to
10
+ # All information is "duped" and the callback is not meant to be used to
11
11
  # modify these information.
12
12
  class ServerInformationCallbackProxy
13
13
  attr_reader :server_name, :port, :site_addresses, :listeners
@@ -9,11 +9,14 @@ module Middleman
9
9
  module Renderers
10
10
  # Sass renderer
11
11
  class Sass < ::Middleman::Extension
12
+ DEFAULT_SASS_CACHE_LOCATION = './.sass-cache'.freeze
13
+
12
14
  opts = { output_style: :nested }
13
15
  opts[:line_comments] = false if ENV['TEST']
14
16
  define_setting :sass, opts, 'Sass engine options'
15
17
  define_setting :sass_assets_paths, [], 'Paths to extra SASS/SCSS files'
16
18
  define_setting :sass_source_maps, nil, 'Whether to inline sourcemap into Sass'
19
+ define_setting :sass_cache_location, ENV['SASS_CACHE_LOCATION'] || DEFAULT_SASS_CACHE_LOCATION, 'Where to store sass cache files'
17
20
 
18
21
  # Setup extension
19
22
  def initialize(app, options = {}, &block)
@@ -21,7 +24,9 @@ module Middleman
21
24
 
22
25
  logger.info '== Preferring use of LibSass' if defined?(::SassC)
23
26
 
24
- app.files.ignore :sass_cache, :source, /(^|\/)\.sass-cache\//
27
+ if app.config[:sass_cache_location] == DEFAULT_SASS_CACHE_LOCATION
28
+ app.files.ignore :sass_cache, :source, /(^|\/)\.sass-cache\//
29
+ end
25
30
 
26
31
  # Tell Tilt to use it as well (for inline sass blocks)
27
32
  ::Tilt.register 'sass', SassPlusCSSFilenameTemplate
@@ -81,6 +86,7 @@ module Middleman
81
86
  filename: eval_file,
82
87
  line: line,
83
88
  syntax: syntax,
89
+ cache_location: ctx.app.config[:sass_cache_location],
84
90
  custom: {}.merge!(options[:custom] || {}).merge!(
85
91
  middleman_context: ctx.app,
86
92
  current_resource: ctx.current_resource
@@ -28,8 +28,8 @@ module Middleman
28
28
  # Does the current page has the name of an index file?
29
29
  is_index = current_page == index_file
30
30
  # Is the `current_page` in the traversal root?
31
- # Note: `traversal_root` is `/` for non localised pages and `/[lang]/` for
32
- # localised pages.
31
+ # Note: `traversal_root` is `/` for non localized pages and `/[lang]/` for
32
+ # localized pages.
33
33
  at_traversal_root = !(child_path =~ /^#{traversal_root}#{current_page}$/).nil?
34
34
 
35
35
  # Check that we have any path parts left after the pop because if we
@@ -66,8 +66,8 @@ module Middleman
66
66
  # E.g. `parts == ['en', 'blog']`, we try to find: `/en/blog.html`
67
67
  file_by_parts.call(parts)
68
68
 
69
- # Try to find an non-localised parent instead if `traversal_root`
70
- # indicates the path is localised and there are still more parts
69
+ # Try to find an non-localized parent instead if `traversal_root`
70
+ # indicates the path is localized and there are still more parts
71
71
  # remaining, and return it.
72
72
  # E.g. `parts == ['en', 'blog']`, we try to find: `/blog.html`
73
73
  if traversal_root != '/' && parts.length > 1
@@ -80,7 +80,7 @@ module Middleman
80
80
  parts.pop if is_index
81
81
  index_by_parts.call(parts)
82
82
 
83
- # Lastly, check for an non-localised index index file in the path
83
+ # Lastly, check for an non-localized index index file in the path
84
84
  # above `current_page`'s path and return it.
85
85
  # E.g. `parts == ['en', 'blog']`, we try to find: `/index.html`
86
86
  if traversal_root == "#{parts.first}/"
@@ -121,7 +121,7 @@ module Middleman
121
121
  rebuild_resource_list!(:"registered_new_manipulator_#{name}")
122
122
  end
123
123
 
124
- # Rebuild the list of resources from scratch, using registed manipulators
124
+ # Rebuild the list of resources from scratch, using registered manipulators
125
125
  # @return [void]
126
126
  Contract Symbol => Any
127
127
  def rebuild_resource_list!(name)
@@ -301,7 +301,7 @@ module Middleman
301
301
  [valid_updates, valid_removes]
302
302
  end
303
303
 
304
- # Convert a path to a file resprentation.
304
+ # Convert a path to a file representation.
305
305
  #
306
306
  # @param [Pathname] path The path.
307
307
  # @return [Middleman::SourceFile]
@@ -65,6 +65,10 @@ Given /^the Server is running at "([^\"]*)"$/ do |app_path|
65
65
  step %(the Server is running)
66
66
  end
67
67
 
68
+ When /^the Server is reloaded$/ do
69
+ step %(the Server is running)
70
+ end
71
+
68
72
  Given /^a template named "([^\"]*)" with:$/ do |name, string|
69
73
  step %(a file named "source/#{name}" with:), string
70
74
  end
@@ -6,7 +6,7 @@ module Middleman
6
6
 
7
7
  module_function
8
8
 
9
- # Get a recusive list of files inside a path.
9
+ # Get a recursive list of files inside a path.
10
10
  # Works with symlinks.
11
11
  #
12
12
  # @param path Some path string or Pathname
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  # Current Version
3
3
  # @return [String]
4
- VERSION = '4.3.0.rc.3'.freeze unless const_defined?(:VERSION)
4
+ VERSION = '4.3.0.rc.4'.freeze unless const_defined?(:VERSION)
5
5
  end
@@ -37,9 +37,6 @@ Gem::Specification.new do |s|
37
37
  # Watcher
38
38
  s.add_dependency('listen', ['~> 3.0'])
39
39
 
40
- # Tests
41
- s.add_development_dependency('capybara', ['~> 2.5.0'])
42
-
43
40
  # i18n
44
41
  s.add_dependency('i18n', ['~> 0.7'])
45
42
 
@@ -87,7 +87,7 @@ describe Middleman::CoreExtensions::Data::DataStore do
87
87
  end
88
88
 
89
89
  context 'given path matches callback data' do
90
- it 'returns value of calback lambda' do
90
+ it 'returns value of callback lambda' do
91
91
  @subject.callbacks :foo, -> { { 'bar' => 'baz' } }
92
92
  @subject.callbacks :wu, -> { %i[tang clan] }
93
93
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0.rc.3
4
+ version: 4.3.0.rc.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Reynolds
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-10-17 00:00:00.000000000 Z
13
+ date: 2018-11-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -206,20 +206,6 @@ dependencies:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
208
  version: '3.0'
209
- - !ruby/object:Gem::Dependency
210
- name: capybara
211
- requirement: !ruby/object:Gem::Requirement
212
- requirements:
213
- - - "~>"
214
- - !ruby/object:Gem::Version
215
- version: 2.5.0
216
- type: :development
217
- prerelease: false
218
- version_requirements: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - "~>"
221
- - !ruby/object:Gem::Version
222
- version: 2.5.0
223
209
  - !ruby/object:Gem::Dependency
224
210
  name: i18n
225
211
  requirement: !ruby/object:Gem::Requirement
@@ -402,7 +388,6 @@ files:
402
388
  - features/ignore_already_minified.feature
403
389
  - features/image_srcset_paths.feature
404
390
  - features/import_files.feature
405
- - features/javascript-testing.feature
406
391
  - features/layouts_dir.feature
407
392
  - features/liquid.feature
408
393
  - features/markdown.feature
@@ -805,6 +790,7 @@ files:
805
790
  - fixtures/i18n-default-app/locales/en.yml
806
791
  - fixtures/i18n-default-app/locales/es.yml
807
792
  - fixtures/i18n-default-app/source/localizable/index.html.erb
793
+ - fixtures/i18n-default-app/source/name.html.erb
808
794
  - fixtures/i18n-force-locale/config.rb
809
795
  - fixtures/i18n-force-locale/locales/en.yml
810
796
  - fixtures/i18n-force-locale/locales/es.yml
@@ -1279,7 +1265,7 @@ files:
1279
1265
  - fixtures/page-id-app/source/feed.xml.erb
1280
1266
  - fixtures/page-id-app/source/fm.html.erb
1281
1267
  - fixtures/page-id-app/source/folder/foldern.html.erb
1282
- - fixtures/page-id-app/source/fourty-two.html.erb
1268
+ - fixtures/page-id-app/source/forty-two.html.erb
1283
1269
  - fixtures/page-id-app/source/implicit.html.erb
1284
1270
  - fixtures/page-id-app/source/index.html.erb
1285
1271
  - fixtures/page-id-app/source/overwrites/from-default.html.erb
@@ -1622,7 +1608,6 @@ test_files:
1622
1608
  - features/ignore_already_minified.feature
1623
1609
  - features/image_srcset_paths.feature
1624
1610
  - features/import_files.feature
1625
- - features/javascript-testing.feature
1626
1611
  - features/layouts_dir.feature
1627
1612
  - features/liquid.feature
1628
1613
  - features/markdown.feature
@@ -2025,6 +2010,7 @@ test_files:
2025
2010
  - fixtures/i18n-default-app/locales/en.yml
2026
2011
  - fixtures/i18n-default-app/locales/es.yml
2027
2012
  - fixtures/i18n-default-app/source/localizable/index.html.erb
2013
+ - fixtures/i18n-default-app/source/name.html.erb
2028
2014
  - fixtures/i18n-force-locale/config.rb
2029
2015
  - fixtures/i18n-force-locale/locales/en.yml
2030
2016
  - fixtures/i18n-force-locale/locales/es.yml
@@ -2499,7 +2485,7 @@ test_files:
2499
2485
  - fixtures/page-id-app/source/feed.xml.erb
2500
2486
  - fixtures/page-id-app/source/fm.html.erb
2501
2487
  - fixtures/page-id-app/source/folder/foldern.html.erb
2502
- - fixtures/page-id-app/source/fourty-two.html.erb
2488
+ - fixtures/page-id-app/source/forty-two.html.erb
2503
2489
  - fixtures/page-id-app/source/implicit.html.erb
2504
2490
  - fixtures/page-id-app/source/index.html.erb
2505
2491
  - fixtures/page-id-app/source/overwrites/from-default.html.erb
@@ -1,18 +0,0 @@
1
- Feature: Test a site with javascript included
2
-
3
- As a software developer
4
- I want to develop a site using javascript
5
- I would like to have a server step rendering javascript correctly in order to test it
6
-
7
- @javascript
8
- Scenario: Existing app with javascript
9
- Given the Server is running at "javascript-app"
10
- When I go to "/index.html"
11
- Then I should see:
12
- """
13
- Local Hour
14
- """
15
- And I should see:
16
- """
17
- Local Minutes
18
- """