Skip to content

Commit 96b353c

Browse files
committedNov 25, 2014
Cleanup dirs
1 parent 9303928 commit 96b353c

File tree

7 files changed

+8
-9
lines changed

7 files changed

+8
-9
lines changed
 

‎lib/opal/builder.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
require 'opal/path_reader'
2-
require 'opal/builder_processors'
1+
require 'opal/builder/path_reader'
2+
require 'opal/builder/processors'
33
require 'opal/builder/cached_asset'
44
require 'set'
55

File renamed without changes.

‎lib/opal/path_reader.rb ‎lib/opal/builder/path_reader.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require 'opal/hike_path_finder'
1+
require 'opal/builder/hike_path_finder'
22

33
module Opal
44
class PathReader
File renamed without changes.

‎spec/lib/hike_path_finder_spec.rb ‎spec/lib/builder/hike_path_finder_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
require 'lib/spec_helper'
22
require 'lib/shared/path_finder_shared'
3-
require 'opal/hike_path_finder'
3+
require 'opal/builder/hike_path_finder'
44

55
describe Opal::HikePathFinder do
66
subject(:path_finder) { described_class.new(root) }
7-
let(:root) { File.expand_path('..', __FILE__) }
7+
let(:root) { File.expand_path('../..', __FILE__) }
88
let(:path) { 'fixtures/opal_file' }
99
let(:full_path) { File.join(root, path + ext) }
1010
let(:ext) { '.rb' }

‎spec/lib/path_reader_spec.rb ‎spec/lib/builder/path_reader_spec.rb

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
require 'lib/spec_helper'
22
require 'lib/shared/path_reader_shared'
33
require 'lib/shared/path_finder_shared'
4-
require 'opal/path_reader'
5-
4+
require 'opal/builder/path_reader'
65

76
describe Opal::PathReader do
87
subject(:file_reader) { described_class.new(path_finder) }
98
let(:path_finder) { double('path_finder') }
109
let(:path) { 'opal_file' }
11-
let(:full_path) { File.expand_path('../fixtures/opal_file.rb', __FILE__) }
10+
let(:full_path) { File.expand_path('../../fixtures/opal_file.rb', __FILE__) }
1211
let(:contents) { File.read(full_path) }
1312

1413
before do

‎spec/lib/builder_processors_spec.rb ‎spec/lib/builder/processors_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require 'lib/spec_helper'
2-
require 'opal/builder_processors'
2+
require 'opal/builder/processors'
33

44
describe Opal::Builder::RubyProcessor do
55
it 'compiles ruby to js' do

0 commit comments

Comments
 (0)
Please sign in to comment.