magic_lamp 1.8.1 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8dc581900d4c26990bd0fef41baac2233c957d6
4
- data.tar.gz: e8e3c4e8118c825a209975f30a77b556da21238a
3
+ metadata.gz: 40bbc31ff9ba2cad2f34cdd6741581b282dc6972
4
+ data.tar.gz: d35cf568e824182fe5ef423fef44c5cce6dfcfc8
5
5
  SHA512:
6
- metadata.gz: 9a5f1989c92842bf26a32c5f8de0c743bb6b250f51e0e4dd2ee14fe002776b0b734a9730660609476560f61c98df8bf5a49ef320cdafceb77f2b52fe13037ef8
7
- data.tar.gz: d31dc1da5f1fcbeb6f976d91489e02d9116d91c9b4c7205fe0ffb8dc20a79f495bd5a765871a9ea2cf3a27866688d7bdbd9bb02e881ed2ab0db00f52d23df392
6
+ metadata.gz: 21df3892d21f61deaddd2863860cede42bdf5b81222c4b83846e508e3144ddd6f7f52e72e07ff1897702931f221b90be1035fd2e23f6480e3f9f8f9f4ff3d182
7
+ data.tar.gz: 6e31058c19a9482b8bd1efcca02cb7a131ac2dddebdb85e38ade7e55ee247e4331eba1b07bb21578ed89be95b60598e30a84bf87aa30fcd4cc13882bd412546a
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module MagicLamp
2
4
  class ApplicationController < ActionController::Base
3
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module MagicLamp
2
4
  class FixturesController < MagicLamp::ApplicationController
3
5
  ERRORS = [
@@ -9,7 +11,7 @@ module MagicLamp
9
11
  MagicLamp::DoubleRenderError
10
12
  ].map(&:name)
11
13
 
12
- RENDER_TYPE = Rails::VERSION::MAJOR == 5 ? :plain : :text
14
+ RENDER_TYPE = Rails::VERSION::MAJOR >= 5 ? :plain : :text
13
15
 
14
16
  rescue_from(*ERRORS) do |exception, message = exception.message|
15
17
  error_message_with_bactrace = parse_error(exception, message)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module MagicLamp
2
4
  class LintController < MagicLamp::ApplicationController
3
5
  def index
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module MagicLamp
2
4
  module ApplicationHelper
3
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  MagicLamp::Engine.routes.draw do
2
4
  root to: "fixtures#index"
3
5
  get "/lint", to: "lint#index"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "method_source"
2
4
 
3
5
  require "magic_lamp/engine"
@@ -38,7 +40,7 @@ module MagicLamp
38
40
 
39
41
  def configure(&block)
40
42
  raise_missing_block_error(block, __method__)
41
- block.call(configuration)
43
+ yield(configuration)
42
44
  end
43
45
 
44
46
  def define(options = {}, &block)
@@ -116,7 +118,7 @@ module MagicLamp
116
118
  end
117
119
 
118
120
  def add_error_if_error(error_hash, key, &block)
119
- block.call
121
+ yield
120
122
  rescue => e
121
123
  error_hash[key] = compose_error(e)
122
124
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module MagicLamp
2
4
  module Callbacks
3
5
  attr_accessor :configuration
@@ -20,7 +22,7 @@ module MagicLamp
20
22
  end
21
23
 
22
24
  execute_before_each_callback
23
- value = block.call
25
+ value = yield
24
26
  execute_after_each_callback
25
27
  value
26
28
  end
@@ -29,7 +31,7 @@ module MagicLamp
29
31
 
30
32
  def execute_callback(type)
31
33
  callback = configuration.send("#{type}_each_proc")
32
- callback.call unless callback.nil?
34
+ callback.call if callback
33
35
  end
34
36
  end
35
37
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module MagicLamp
2
4
  class Configuration
3
5
  attr_accessor :after_each_proc, :before_each_proc, :infer_names, :global_defaults
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module MagicLamp
2
4
  APPLICATION = "application"
3
5
  APPLICATION_MATCHER = Regexp.compile("(\/#{APPLICATION}|#{APPLICATION}\/|#{APPLICATION})")
4
6
  EMPTY_STRING = ""
5
7
  FORWARD_SLASH = "/"
6
8
  LAMP = "_lamp"
7
- REGISTER_FIXTURE_ALIASES = [:register, :fixture, :rub, :wish]
9
+ REGISTER_FIXTURE_ALIASES = %i[register fixture rub wish].freeze
8
10
  SPEC = "spec"
9
11
  STARS = "**"
10
12
  TEST = "test"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module MagicLamp
2
4
  class DefaultsManager
3
5
  attr_accessor :configuration, :defaults, :parent
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module MagicLamp
2
4
  class Engine < ::Rails::Engine
3
5
  isolate_namespace MagicLamp
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module MagicLamp
2
4
  class FixtureCreator
3
5
  include Callbacks
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module MagicLamp
2
4
  class RenderCatcher
3
5
  include Callbacks
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module MagicLamp
2
- VERSION = "1.8.1"
4
+ VERSION = "1.9.0"
3
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  MagicLamp::Genie.rake_tasks do
2
4
  namespace :magic_lamp do
3
5
  desc "Displays all Magic Lamp fixture names"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  MagicLamp::Genie.rake_tasks do
2
4
  namespace :magic_lamp do
3
5
  desc "Generates all Magic Lamp fixtures and displays errors for debugging"
@@ -14,7 +16,7 @@ MagicLamp::Genie.rake_tasks do
14
16
  puts "\n#{errors[:config_file_load]}"
15
17
  end
16
18
 
17
- [:before_each, :after_each].each do |callback|
19
+ %i[before_each after_each].each do |callback|
18
20
  if errors[callback].present?
19
21
  puts "Executing #{callback} failed with:"
20
22
  puts "\n#{errors[callback]}"
@@ -61,11 +63,11 @@ MagicLamp::Genie.rake_tasks do
61
63
  puts "File: #{render_block.source_location.join(':')}"
62
64
  puts "Controller: #{fixture_info[:controller]}"
63
65
 
64
- if fixture_info[:extend].present?
65
- extensions = fixture_info[:extend].join(", ")
66
- else
67
- extensions = "None"
68
- end
66
+ extensions = if fixture_info[:extend].present?
67
+ fixture_info[:extend].join(", ")
68
+ else
69
+ "None"
70
+ end
69
71
 
70
72
  puts "Extensions: #{extensions}"
71
73
  puts ""
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rails_helper"
2
4
 
3
5
  module MagicLamp
@@ -10,18 +12,18 @@ module MagicLamp
10
12
 
11
13
  it "outputs the error and the message to the server log" do
12
14
  expect(controller.logger).to receive(:error) do |error_message|
13
- expect(error_message).to match(/message\n\s\s\s\s.*magic_lamp\//m)
15
+ expect(error_message).to match(%r{message\n\s\s\s\s.*magic_lamp/}m)
14
16
  end
15
- get :show, name: "orders/baz"
17
+ make_request :get, :show, name: "orders/baz"
16
18
  end
17
19
 
18
20
  it "renders the error as text for the client side" do
19
- get :show, name: "orders/baz"
21
+ make_request :get, :show, name: "orders/baz"
20
22
  expect(response.body).to eq("message")
21
23
  end
22
24
 
23
25
  it "renders a 400" do
24
- get :show, name: "orders/baz"
26
+ make_request :get, :show, name: "orders/baz"
25
27
  expect(response.status).to eq(400)
26
28
  end
27
29
  end
@@ -64,7 +66,7 @@ module MagicLamp
64
66
 
65
67
  describe "#show" do
66
68
  it "renders the specified template" do
67
- get :show, name: "orders/foo"
69
+ make_request :get, :show, name: "orders/foo"
68
70
  expect(response.body).to eq("foo\n")
69
71
  end
70
72
  end
@@ -76,7 +78,7 @@ module MagicLamp
76
78
  let(:form_fixture) { parsed_response["orders/form"] }
77
79
 
78
80
  it "returns a json hash of all registered fixtures" do
79
- get :index
81
+ make_request :get, :index
80
82
  expect(foo_fixture).to eq("foo\n")
81
83
  expect(bar_fixture).to eq("bar\n")
82
84
  expect(form_fixture).to match(/<div class="actions"/)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rails_helper"
2
4
 
3
5
  module MagicLamp
@@ -45,7 +47,7 @@ module MagicLamp
45
47
  end
46
48
 
47
49
  it "assigns config_file_load_error" do
48
- expect(assigns(:config_errors).keys).to match_array([:before_each, :after_each])
50
+ expect(assigns(:config_errors).keys).to match_array(%i[before_each after_each])
49
51
  end
50
52
  end
51
53
  end
@@ -23,11 +23,17 @@ application.configure do
23
23
  # Configure static asset server for tests with Cache-Control for performance.
24
24
  if Rails::VERSION::STRING.to_f == 4.0
25
25
  config.serve_static_assets = true
26
+ elsif Rails::VERSION::MAJOR == 5
27
+ config.public_file_server.enabled = true
26
28
  else
27
29
  config.serve_static_files = true
28
30
  end
29
31
 
30
- config.static_cache_control = 'public, max-age=3600'
32
+ if Rails::VERSION::MAJOR == 5
33
+ config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
34
+ else
35
+ config.static_cache_control = 'public, max-age=3600'
36
+ end
31
37
 
32
38
  # Show full error reports and disable caching.
33
39
  config.consider_all_requests_local = true
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rails_helper"
2
4
 
3
5
  describe "All fixtures js erb" do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rails_helper"
2
4
 
3
5
  describe MagicLamp::Configuration do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rails_helper"
2
4
 
3
5
  describe MagicLamp::DefaultsManager do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rails_helper"
2
4
 
3
5
  describe MagicLamp::FixtureCreator do
@@ -109,13 +111,11 @@ describe MagicLamp::FixtureCreator do
109
111
 
110
112
  context "contoller" do
111
113
  module Foo
112
- def foo_module_method
113
- end
114
+ def foo_module_method; end
114
115
  end
115
116
 
116
117
  module Bar
117
- def bar_module_method
118
- end
118
+ def bar_module_method; end
119
119
  end
120
120
 
121
121
  let(:controller) { subject.new_controller(OrdersController, [Foo, Bar]) { params[:foo] = "bar" } }
@@ -145,7 +145,7 @@ describe MagicLamp::FixtureCreator do
145
145
  context "stubbed controller#render" do
146
146
  it "passes its arguments to the fixture creator at render arguments" do
147
147
  controller.render :foo, :bar
148
- expect(subject.render_arguments).to eq([:foo, :bar])
148
+ expect(subject.render_arguments).to eq(%i[foo bar])
149
149
  end
150
150
 
151
151
  it "raises an error when called twice" do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rails_helper"
2
4
 
3
5
  describe MagicLamp do
@@ -304,7 +306,7 @@ describe MagicLamp do
304
306
  describe "#generate_fixture" do
305
307
  let(:block) { proc { render :foo } }
306
308
  let(:fixture_name) { "foo_test" }
307
- let(:extensions) { 3.times.map { Module.new } }
309
+ let(:extensions) { Array.new(3) { Module.new } }
308
310
 
309
311
  before do
310
312
  subject.registered_fixtures[fixture_name] = {
@@ -382,7 +384,7 @@ describe MagicLamp do
382
384
  context "callbacks" do
383
385
  let!(:error_proc) { proc { raise "Nope" } }
384
386
 
385
- [:before, :after].each do |callback_type|
387
+ %i[before after].each do |callback_type|
386
388
  it "returns a hash that with the errored #{callback_type} callback information" do
387
389
  expect_any_instance_of(MagicLamp::Configuration).to receive("#{callback_type}_each_proc").and_return(error_proc)
388
390
  result = subject.lint_config
@@ -433,7 +435,7 @@ describe MagicLamp do
433
435
  foo_result = result["foo"]
434
436
  bar_result = result["orders/bar"]
435
437
 
436
- [:render_block, :extend, :controller].each do |key|
438
+ %i[render_block extend controller].each do |key|
437
439
  expect(foo_result[key]).to eq(subject.registered_fixtures["foo"][key])
438
440
  expect(bar_result[key]).to eq(subject.registered_fixtures["orders/bar"][key])
439
441
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rails_helper"
2
4
 
3
5
  describe MagicLamp::RenderCatcher do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file is copied to spec/ when you run 'rails generate rspec:install'
2
4
  ENV["RAILS_ENV"] ||= "test"
3
5
  require "spec_helper"
@@ -19,6 +21,18 @@ ActiveRecord::Migration.maintain_test_schema! if Rails::VERSION::STRING.to_f !=
19
21
 
20
22
  Rails.application.load_tasks
21
23
 
24
+ module ControllerTestHelpers
25
+ if ::Rails::VERSION::MAJOR >= 5
26
+ def make_request(type, action_name, params = {})
27
+ public_send(type, action_name, params: params)
28
+ end
29
+ else
30
+ def make_request(type, action_name, params = {})
31
+ public_send(type, action_name, params)
32
+ end
33
+ end
34
+ end
35
+
22
36
  RSpec.configure do |config|
23
37
  # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
24
38
  config.fixture_path = "#{::Rails.root}/spec/fixtures"
@@ -43,7 +57,8 @@ RSpec.configure do |config|
43
57
  # https://relishapp.com/rspec/rspec-rails/docs
44
58
  config.infer_spec_type_from_file_location!
45
59
 
46
- if Rails::VERSION::MAJOR == 5
60
+ config.include ControllerTestHelpers, type: :controller
61
+ if Rails::VERSION::MAJOR >= 5
47
62
  config.include Rails::Controller::Testing::TestProcess
48
63
  config.include Rails::Controller::Testing::TemplateAssertions
49
64
  config.include Rails::Controller::Testing::Integration
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by the `rails generate rspec:install` command. Conventionally, all
2
4
  # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
5
  # The generated `.rspec` file contains `--require spec_helper` which will cause this
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  shared_examples "it has callbacks" do
2
4
  subject { described_class.new(MagicLamp::Configuration.new) }
3
5
 
@@ -13,7 +15,7 @@ shared_examples "it has callbacks" do
13
15
  end
14
16
  end
15
17
 
16
- [:after, :before].each do |type|
18
+ %i[after before].each do |type|
17
19
  describe "#execute_before_each_callback" do
18
20
  it "calls the type each callback" do
19
21
  dummy = double
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "rails_helper"
2
4
 
3
5
  describe "magic_lamp:fixture_names" do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: false
2
+
1
3
  require "rails_helper"
2
4
 
3
5
  module CatchOutput
@@ -55,7 +57,7 @@ describe "magic_lamp:lint:config" do
55
57
  expect(output).to match("RuntimeError: Nope")
56
58
  end
57
59
 
58
- [:before, :after].each do |callback_type|
60
+ %i[before after].each do |callback_type|
59
61
  it "tells us if the #{callback_type}_each callback is broken" do
60
62
  expect_any_instance_of(MagicLamp::Configuration).to receive("#{callback_type}_each_proc").and_return(error_proc)
61
63
 
@@ -153,12 +155,12 @@ describe "magic_lamp:lint:fixtures" do
153
155
  it "tells us which fixtures are broken" do
154
156
  expect(output).to match(/the following fixtures are broken/i)
155
157
  expect(output).to match(/Name: "foo"/)
156
- expect(output).to match(/Name: "orders\/bar"/)
158
+ expect(output).to match(%r{Name: "orders\/bar"})
157
159
  end
158
160
 
159
161
  it "displays the file the fixture is in" do
160
- expect(output).to match(/File: .+\/broken_fixtures.rb:7/)
161
- expect(output).to match(/File: .+\/broken_fixtures.rb:13/)
162
+ expect(output).to match(%r{File: .+\/broken_fixtures.rb:7})
163
+ expect(output).to match(%r{File: .+\/broken_fixtures.rb:13})
162
164
  end
163
165
 
164
166
  it "displays the broken fixture's code" do
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Set RAILS_ROOT and load the environment if it's not already loaded.
2
4
  unless defined?(Rails)
3
5
  ENV["RAILS_ROOT"] = File.expand_path("../dummy/", __FILE__)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_lamp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Crismali
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-09 00:00:00.000000000 Z
11
+ date: 2019-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -182,16 +182,16 @@ dependencies:
182
182
  name: rubocop
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - ">="
185
+ - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '0'
187
+ version: 0.48.1
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - ">="
192
+ - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '0'
194
+ version: 0.48.1
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: selenium-webdriver
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -237,7 +237,7 @@ dependencies:
237
237
  description: MagicLamp provides an easy way to get your Rails templates into your
238
238
  JavaScript specs.
239
239
  email:
240
- - michael.crismali@gmail.com
240
+ - michael@crismali.com
241
241
  executables: []
242
242
  extensions: []
243
243
  extra_rdoc_files: []
@@ -371,87 +371,87 @@ required_rubygems_version: !ruby/object:Gem::Requirement
371
371
  version: '0'
372
372
  requirements: []
373
373
  rubyforge_project:
374
- rubygems_version: 2.4.5.1
374
+ rubygems_version: 2.5.2
375
375
  signing_key:
376
376
  specification_version: 4
377
377
  summary: Makes sure your JavaScript tests break when if your templates change.
378
378
  test_files:
379
- - spec/controllers/magic_lamp/fixtures_controller_spec.rb
380
- - spec/controllers/magic_lamp/lint_controller_spec.rb
381
- - spec/dummy/app/assets/javascripts/application.js
382
- - spec/dummy/app/assets/stylesheets/application.css
379
+ - spec/spec_helper.rb
380
+ - spec/tasks/fixture_names_task_spec.rb
381
+ - spec/tasks/lint_task_spec.rb
382
+ - spec/dummy/app/models/order.rb
383
383
  - spec/dummy/app/controllers/application_controller.rb
384
384
  - spec/dummy/app/controllers/orders_controller.rb
385
- - spec/dummy/app/helpers/application_helper.rb
386
- - spec/dummy/app/helpers/orders_helper.rb
387
- - spec/dummy/app/models/order.rb
388
385
  - spec/dummy/app/views/layouts/application.html.erb
389
- - spec/dummy/app/views/orders/_form.html.erb
390
- - spec/dummy/app/views/orders/_symbol_form_for.html.erb
391
- - spec/dummy/app/views/orders/bar.html.erb
392
- - spec/dummy/app/views/orders/edit.html.erb
393
- - spec/dummy/app/views/orders/foo.html.erb
394
386
  - spec/dummy/app/views/orders/index.html.erb
387
+ - spec/dummy/app/views/orders/bar.html.erb
395
388
  - spec/dummy/app/views/orders/needs_extending.html.erb
396
- - spec/dummy/app/views/orders/new.html.erb
389
+ - spec/dummy/app/views/orders/edit.html.erb
397
390
  - spec/dummy/app/views/orders/show.html.erb
391
+ - spec/dummy/app/views/orders/_form.html.erb
392
+ - spec/dummy/app/views/orders/new.html.erb
393
+ - spec/dummy/app/views/orders/foo.html.erb
394
+ - spec/dummy/app/views/orders/_symbol_form_for.html.erb
395
+ - spec/dummy/app/assets/javascripts/application.js
396
+ - spec/dummy/app/assets/stylesheets/application.css
397
+ - spec/dummy/app/helpers/orders_helper.rb
398
+ - spec/dummy/app/helpers/application_helper.rb
399
+ - spec/dummy/test/magic_lamp_config.rb
400
+ - spec/dummy/test/test_lamp.rb
401
+ - spec/dummy/bin/rake
398
402
  - spec/dummy/bin/bundle
399
403
  - spec/dummy/bin/rails
400
- - spec/dummy/bin/rake
401
- - spec/dummy/config/application.rb
402
- - spec/dummy/config/boot.rb
403
- - spec/dummy/config/database.yml
404
- - spec/dummy/config/environment.rb
405
- - spec/dummy/config/environments/development.rb
404
+ - spec/dummy/config/secrets.yml
405
+ - spec/dummy/config/routes.rb
406
+ - spec/dummy/config/locales/en.yml
406
407
  - spec/dummy/config/environments/production.rb
408
+ - spec/dummy/config/environments/development.rb
407
409
  - spec/dummy/config/environments/test.rb
408
- - spec/dummy/config/initializers/assets.rb
410
+ - spec/dummy/config/environment.rb
411
+ - spec/dummy/config/application.rb
412
+ - spec/dummy/config/database.yml
413
+ - spec/dummy/config/boot.rb
409
414
  - spec/dummy/config/initializers/backtrace_silencers.rb
410
- - spec/dummy/config/initializers/cookies_serializer.rb
411
- - spec/dummy/config/initializers/filter_parameter_logging.rb
412
- - spec/dummy/config/initializers/inflections.rb
413
415
  - spec/dummy/config/initializers/mime_types.rb
416
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
414
417
  - spec/dummy/config/initializers/session_store.rb
415
418
  - spec/dummy/config/initializers/wrap_parameters.rb
416
- - spec/dummy/config/locales/en.yml
417
- - spec/dummy/config/routes.rb
418
- - spec/dummy/config/secrets.yml
419
+ - spec/dummy/config/initializers/assets.rb
420
+ - spec/dummy/config/initializers/cookies_serializer.rb
421
+ - spec/dummy/config/initializers/inflections.rb
419
422
  - spec/dummy/config.ru
420
- - spec/dummy/db/migrate/20140801133550_create_orders.rb
421
- - spec/dummy/db/schema.rb
422
- - spec/dummy/error_specs/broken_fixtures.rb
423
+ - spec/dummy/spec/magical/magic_lamp.rb
424
+ - spec/dummy/spec/magical/magic_lamp_config.rb
425
+ - spec/dummy/spec/magical/a_lamp_file_with_a_different_name_lamp.rb
423
426
  - spec/dummy/error_specs/config_file_load_error.rb
424
- - spec/dummy/error_specs/first_errored_lamp_file.rb
427
+ - spec/dummy/error_specs/broken_fixtures.rb
425
428
  - spec/dummy/error_specs/second_errored_lamp_file.rb
429
+ - spec/dummy/error_specs/first_errored_lamp_file.rb
426
430
  - spec/dummy/persisted_specs/magic_lamp.rb
427
431
  - spec/dummy/persisted_specs/magic_lamp_config.rb
428
- - spec/dummy/public/404.html
432
+ - spec/dummy/Rakefile
433
+ - spec/dummy/public/favicon.ico
429
434
  - spec/dummy/public/422.html
430
435
  - spec/dummy/public/500.html
431
- - spec/dummy/public/favicon.ico
432
- - spec/dummy/Rakefile
436
+ - spec/dummy/public/404.html
437
+ - spec/dummy/db/schema.rb
438
+ - spec/dummy/db/migrate/20140801133550_create_orders.rb
433
439
  - spec/dummy/README.rdoc
434
- - spec/dummy/spec/magical/a_lamp_file_with_a_different_name_lamp.rb
435
- - spec/dummy/spec/magical/magic_lamp.rb
436
- - spec/dummy/spec/magical/magic_lamp_config.rb
437
- - spec/dummy/test/magic_lamp_config.rb
438
- - spec/dummy/test/test_lamp.rb
439
- - spec/javascripts/genie_spec.js
440
+ - spec/support/callbacks_examples.rb
440
441
  - spec/javascripts/magic_lamp_spec.js
441
- - spec/javascripts/spec_helper.js
442
+ - spec/javascripts/genie_spec.js
442
443
  - spec/javascripts/support/chai-fuzzy.js
443
- - spec/javascripts/support/sinon-chai.js
444
444
  - spec/javascripts/support/underscore-1.6.js
445
- - spec/lib/all_fixtures_spec.rb
445
+ - spec/javascripts/support/sinon-chai.js
446
+ - spec/javascripts/spec_helper.js
447
+ - spec/lib/render_catcher_spec.rb
446
448
  - spec/lib/configuration_spec.rb
447
- - spec/lib/defaults_manager_spec.rb
449
+ - spec/lib/all_fixtures_spec.rb
448
450
  - spec/lib/fixture_creator_spec.rb
449
451
  - spec/lib/magic_lamp_spec.rb
450
- - spec/lib/render_catcher_spec.rb
451
- - spec/rails_helper.rb
452
- - spec/spec_helper.rb
453
- - spec/support/callbacks_examples.rb
454
- - spec/tasks/fixture_names_task_spec.rb
455
- - spec/tasks/lint_task_spec.rb
452
+ - spec/lib/defaults_manager_spec.rb
456
453
  - spec/teaspoon_env.rb
454
+ - spec/controllers/magic_lamp/lint_controller_spec.rb
455
+ - spec/controllers/magic_lamp/fixtures_controller_spec.rb
456
+ - spec/rails_helper.rb
457
457
  has_rdoc: