contao 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Contao
2
- VERSION = '0.4.2'
2
+ VERSION = '0.5.0'
3
3
  end
@@ -17,20 +17,22 @@ def ask(what, options = {})
17
17
  end
18
18
  end
19
19
 
20
+ def public_path
21
+ Pathname.new Rails.public_path
22
+ end
23
+
20
24
  namespace :contao do
21
25
  desc "Link all contao files"
22
26
  task :bootstrap do
23
- public = TechnoGate::Contao.expandify(TechnoGate::Contao::Application.config.contao_public_path)
24
-
25
27
  TechnoGate::Contao::Application.linkify
26
28
 
27
- FileUtils.mkdir_p public.join('system/logs')
28
- File.open(public.join('sitemap.xml'), 'w') {|f| f.write ''}
29
+ FileUtils.mkdir_p public_path.join('system/logs')
30
+ File.open(public_path.join('sitemap.xml'), 'w') {|f| f.write ''}
29
31
 
30
32
  Rake::Task['contao:generate_localconfig'].invoke
31
33
  Rake::Task['contao:generate_htaccess'].invoke
32
34
  Rake::Task['contao:apply_patches'].invoke
33
- Rake::Task['assets:precompile'].invoke
35
+ Rake::Task['assets:precompile'].invoke if Rails.env.production?
34
36
  Rake::Task['contao:fix_permissions'].invoke
35
37
 
36
38
  TechnoGate::Contao::Notifier.notify("The contao folder has been bootstraped, Good Luck.", title: "Contao Bootstrap")
@@ -38,11 +40,11 @@ namespace :contao do
38
40
 
39
41
  desc 'Apply Patches'
40
42
  task :apply_patches do
41
- path = File.expand_path "../../../contao_patches/#{TechnoGate::Contao.env}", __FILE__
43
+ path = File.expand_path "../../../contao_patches/#{Rails.env}", __FILE__
42
44
  Dir["#{path}/**/*.patch"].each do |patch|
43
45
  TechnoGate::Contao::Notifier.notify("Applying patch #{File.basename patch}", title: "Contao Bootstrap")
44
46
  result = system <<-CMD
45
- cd #{TechnoGate::Contao.expandify(TechnoGate::Contao::Application.config.contao_public_path)}
47
+ cd #{public_path}
46
48
  patch -Nfp1 -i #{patch} --no-backup-if-mismatch
47
49
  CMD
48
50
 
@@ -57,7 +59,6 @@ namespace :contao do
57
59
  task :fix_permissions do
58
60
  require 'fileutils'
59
61
 
60
- public = TechnoGate::Contao.expandify(TechnoGate::Contao::Application.config.contao_public_path)
61
62
  paths = [
62
63
  'system/html',
63
64
  'system/logs',
@@ -65,13 +66,13 @@ namespace :contao do
65
66
  'system/tmp',
66
67
  'system/cache',
67
68
  'system/config',
68
- ].map {|p| public.join p}.reject {|p| !File.exists? p}
69
+ ].map {|p| public_path.join p}.reject {|p| !File.exists? p}
69
70
 
70
71
  FileUtils.chmod 0777, paths
71
72
 
72
- FileUtils.chmod 0666, Dir["#{public}/system/config/**/*.php"]
73
+ FileUtils.chmod 0666, Dir["#{public_path}/system/config/**/*.php"]
73
74
 
74
- Dir["#{public}/system/modules/efg/**/*"].each do |f|
75
+ Dir["#{public_path}/system/modules/efg/**/*"].each do |f|
75
76
  if File.directory?(f)
76
77
  FileUtils.chmod 0777, f
77
78
  else
@@ -79,7 +80,7 @@ namespace :contao do
79
80
  end
80
81
  end
81
82
 
82
- FileUtils.chmod 0666, public.join('sitemap.xml')
83
+ FileUtils.chmod 0666, public_path.join('sitemap.xml')
83
84
 
84
85
  TechnoGate::Contao::Notifier.notify("The contao folder's permissions has been fixed.", title: "Contao Bootstrap")
85
86
  end
@@ -87,7 +88,7 @@ namespace :contao do
87
88
  desc "Generate the localconfig.php"
88
89
  task :generate_localconfig do
89
90
  require 'active_support/core_ext/object/blank'
90
- config = TechnoGate::Contao::Application.config.global
91
+ config = TechnoGate::Contao::Application.config.contao_global_config
91
92
 
92
93
  if !config && config.install_password.blank? || config.encryption_key.blank?
93
94
  message = <<-EOS
@@ -99,12 +100,11 @@ namespace :contao do
99
100
  TechnoGate::Contao::Notifier.warn(message, title: "Contao Bootstrap")
100
101
  else
101
102
  config = config.clone
102
- config.contao_env = TechnoGate::Contao.env
103
103
  config.application_name = TechnoGate::Contao::Application.name
104
- config.mysql.database = config.application_name
104
+ config.mysql.database = TechnoGate::Contao::Application.name
105
105
 
106
- localconfig_template = TechnoGate::Contao.expandify('config/examples/localconfig.php.erb')
107
- localconfig_path = TechnoGate::Contao.expandify(TechnoGate::Contao::Application.config.contao_public_path).join('system/config/localconfig.php')
106
+ localconfig_template = Rails.root.join 'config/examples/localconfig.php.erb'
107
+ localconfig_path = public_path.join 'system/config/localconfig.php'
108
108
 
109
109
  localconfig = ERB.new(File.read(localconfig_template)).result(binding)
110
110
  File.open(localconfig_path, 'w') {|f| f.write localconfig }
@@ -115,8 +115,7 @@ namespace :contao do
115
115
 
116
116
  desc "Generate the htaccess file"
117
117
  task :generate_htaccess do
118
- public = TechnoGate::Contao.expandify(TechnoGate::Contao::Application.config.contao_public_path)
119
- FileUtils.cp public.join('.htaccess.default'), public.join('.htaccess')
118
+ FileUtils.cp public_path.join('.htaccess.default'), public_path.join('.htaccess')
120
119
 
121
120
  TechnoGate::Contao::Notifier.notify("The .htaccess was successfully generated.", title: "Contao Bootstrap")
122
121
  end
File without changes
@@ -11,24 +11,22 @@ module TechnoGate
11
11
  subject.send :parse_global_config
12
12
  end
13
13
 
14
- it_should_behave_like 'Config'
15
-
16
14
  describe "Global Config" do
17
15
 
18
16
  it "should parse the global config file if the file exists" do
19
- subject.config.global.should_not be_empty
17
+ subject.config.contao_global_config.should_not be_empty
20
18
  end
21
19
 
22
20
  it "should correctly parse the global config" do
23
- subject.config.global.install_password.should == 'some install password'
21
+ subject.config.contao_global_config.install_password.should == 'some install password'
24
22
  end
25
23
  end
26
24
 
27
25
  describe '#linkify' do
28
26
  it "should call #exhaustive_list_of_files_to_link" do
29
27
  subject.should_receive(:exhaustive_list_of_files_to_link).with(
30
- Contao.expandify(Application.config.contao_path),
31
- Contao.expandify(Application.config.contao_public_path)
28
+ Rails.root.join(Rails.application.config.contao_path),
29
+ Rails.public_path
32
30
  ).once.and_return []
33
31
 
34
32
  subject.linkify
@@ -63,7 +61,7 @@ module TechnoGate
63
61
 
64
62
  describe "without it being set in the configuration" do
65
63
  before :each do
66
- TechnoGate::Contao::Application.configure do
64
+ Rails.config.tap do |config|
67
65
  config.application_name = nil
68
66
  end
69
67
  end
@@ -79,7 +77,7 @@ module TechnoGate
79
77
 
80
78
  describe "with it being set in the configuration" do
81
79
  before :each do
82
- TechnoGate::Contao::Application.configure do
80
+ Rails.config.tap do |config|
83
81
  config.application_name = 'my_super_awesome_project'
84
82
  end
85
83
  end
@@ -10,26 +10,26 @@ module TechnoGate
10
10
  @colored_output = "\e[0;34mContao>>\e[0m \e[0;32m#{@message}\e[0m"
11
11
  @options = {title: "Hello, World!"}
12
12
 
13
- ::Guard::UI.stub(:color_enabled?).and_return(false)
13
+ UI.stub(:color_enabled?).and_return(false)
14
14
  end
15
15
 
16
16
  it {should respond_to :notify}
17
17
 
18
18
  it "should call guard ui" do
19
- ::Guard::UI.should_receive(:info).with(@output, {})
19
+ UI.should_receive(:info).with(@output, {})
20
20
 
21
21
  subject.notify(@message)
22
22
  end
23
23
 
24
24
  it "should send whatever options passed to the info method" do
25
- ::Guard::UI.should_receive(:info).with(@output, @options)
25
+ UI.should_receive(:info).with(@output, @options)
26
26
 
27
27
  subject.notify(@message, @options)
28
28
  end
29
29
 
30
30
  it "should use colors if enabled" do
31
- ::Guard::UI.should_receive(:color_enabled?).once.and_return(true)
32
- ::Guard::UI.should_receive(:info).with(@colored_output, @options)
31
+ UI.should_receive(:color_enabled?).once.and_return(true)
32
+ UI.should_receive(:info).with(@colored_output, @options)
33
33
 
34
34
  subject.notify(@message, @options)
35
35
  end
@@ -48,26 +48,26 @@ module TechnoGate
48
48
  @colored_output = "\e[0;34mContao>>\e[0m \e[0;33m#{@message}\e[0m"
49
49
  @options = {title: "Hello, World!"}
50
50
 
51
- ::Guard::UI.stub(:color_enabled?).and_return(false)
51
+ UI.stub(:color_enabled?).and_return(false)
52
52
  end
53
53
 
54
54
  it {should respond_to :warn}
55
55
 
56
56
  it "should call guard ui" do
57
- ::Guard::UI.should_receive(:info).with(@output, {})
57
+ UI.should_receive(:info).with(@output, {})
58
58
 
59
59
  subject.warn(@message)
60
60
  end
61
61
 
62
62
  it "should send whatever options passed to the info method" do
63
- ::Guard::UI.should_receive(:info).with(@output, @options)
63
+ UI.should_receive(:info).with(@output, @options)
64
64
 
65
65
  subject.warn(@message, @options)
66
66
  end
67
67
 
68
68
  it "should use colors if enabled" do
69
- ::Guard::UI.should_receive(:color_enabled?).once.and_return(true)
70
- ::Guard::UI.should_receive(:info).with(@colored_output, @options)
69
+ UI.should_receive(:color_enabled?).once.and_return(true)
70
+ UI.should_receive(:info).with(@colored_output, @options)
71
71
 
72
72
  subject.warn(@message, @options)
73
73
  end
@@ -86,26 +86,26 @@ module TechnoGate
86
86
  @colored_output = "\e[0;34mContao>>\e[0m \e[0;31m#{@message}\e[0m"
87
87
  @options = {title: "Hello, World!"}
88
88
 
89
- ::Guard::UI.stub(:color_enabled?).and_return(false)
89
+ UI.stub(:color_enabled?).and_return(false)
90
90
  end
91
91
 
92
92
  it {should respond_to :error}
93
93
 
94
94
  it "should call guard ui" do
95
- ::Guard::UI.should_receive(:info).with(@output, {})
95
+ UI.should_receive(:info).with(@output, {})
96
96
 
97
97
  subject.error(@message)
98
98
  end
99
99
 
100
100
  it "should send whatever options passed to the info method" do
101
- ::Guard::UI.should_receive(:info).with(@output, @options)
101
+ UI.should_receive(:info).with(@output, @options)
102
102
 
103
103
  subject.error(@message, @options)
104
104
  end
105
105
 
106
106
  it "should use colors if enabled" do
107
- ::Guard::UI.should_receive(:color_enabled?).once.and_return(true)
108
- ::Guard::UI.should_receive(:info).with(@colored_output, @options)
107
+ UI.should_receive(:color_enabled?).once.and_return(true)
108
+ UI.should_receive(:info).with(@colored_output, @options)
109
109
 
110
110
  subject.error(@message, @options)
111
111
  end
data/spec/spec_helper.rb CHANGED
@@ -21,23 +21,15 @@ RSpec.configure do |c|
21
21
  c.include FakeFS::SpecHelpers, :fakefs
22
22
 
23
23
  c.before :each do
24
- ::TechnoGate::Contao.env = @env = :development
25
- ::TechnoGate::Contao.root = @root = "/root/my_awesome_project"
26
- ::TechnoGate::Contao::Application.configure do
27
- config.application_name = 'my_awesome_project'
28
- config.javascripts_path = ['vendor/assets/javascripts', 'lib/assets/javascripts', 'app/assets/javascripts']
29
- config.stylesheets_path = 'app/assets/stylesheets'
30
- config.images_path = 'app/assets/images'
31
- config.contao_path = 'contao'
32
- config.contao_public_path = 'public'
33
- config.assets_public_path = 'public/resources'
24
+ Rails.env = 'development'
25
+ Rails.root = @root = '/root/my_awesome_project'
26
+
27
+ Rails.config.tap do |config|
28
+ config.contao_path = 'contao'
34
29
  end
35
30
 
36
31
  silence_warnings do
37
- ::Compass::Commands::UpdateProject = stub("Compass Update Project").as_null_object
38
- ::Compass::Commands::CleanProject = stub("Compass Clea Project").as_null_object
39
- ::Uglifier = stub("Uglifier").as_null_object
40
- ::Guard::UI = stub('Guard UI').as_null_object
32
+ TechnoGate::Contao::UI = stub('Guard UI').as_null_object
41
33
  end
42
34
  end
43
35
  end
@@ -42,17 +42,46 @@ def stub_config_application!(application_name = 'my_awesome_project')
42
42
  f.write(<<-EOS)
43
43
  require File.expand_path('../boot', __FILE__)
44
44
 
45
- # Initialize the application
46
- Dir["#{TechnoGate::Contao.root.join('config', 'initializers')}/**/*.rb"].each {|f| require f}
47
-
48
- TechnoGate::Contao::Application.configure do
49
- config.application_name = '#{application_name}'
50
- config.javascripts_path = ["vendor/assets/javascripts", "lib/assets/javascripts", "app/assets/javascripts"]
51
- config.stylesheets_path = 'app/assets/stylesheets'
52
- config.images_path = 'app/assets/images'
53
- config.contao_path = 'contao'
54
- config.contao_public_path = 'public'
55
- config.assets_public_path = 'public/resources'
45
+ # Pick the frameworks you want:
46
+ require "sprockets/railtie"
47
+
48
+ if defined?(Bundler)
49
+ # If you precompile assets before deploying to production, use this line
50
+ Bundler.require(*Rails.groups(:assets => %w(development test)))
51
+ # If you want your assets lazily compiled in production, use this line
52
+ # Bundler.require(:default, :assets, Rails.env)
53
+ end
54
+
55
+ module ContaoTemplate
56
+ class Application < Rails::Application
57
+ # Settings in config/environments/* take precedence over those specified here.
58
+ # Application configuration should go into files in config/initializers
59
+ # -- all .rb files in that directory are automatically loaded.
60
+
61
+ # The application name
62
+ config.application_name = '#{application_name}'
63
+
64
+ # Custom directories with classes and modules you want to be autoloadable.
65
+ # config.autoload_paths += %W(\#{config.root}/extras)
66
+
67
+ # Configure the default encoding used in templates for Ruby 1.9.
68
+ config.encoding = "utf-8"
69
+
70
+ # Enable escaping HTML in JSON.
71
+ config.active_support.escape_html_entities_in_json = true
72
+
73
+ # Enable the asset pipeline
74
+ config.assets.enabled = true
75
+
76
+ # Change the prefix of the assets
77
+ config.assets.prefix = 'resources'
78
+
79
+ # Version of your assets, change this if you want to expire all your assets
80
+ config.assets.version = '1.0'
81
+
82
+ # Contao configurations
83
+ config.contao_path = 'contao'
84
+ end
56
85
  end
57
86
  EOS
58
87
  end
@@ -0,0 +1,29 @@
1
+ module Rails
2
+ def self.env=(env)
3
+ @@env = env
4
+ end
5
+
6
+ def self.env
7
+ @@env
8
+ end
9
+
10
+ def self.root=(root)
11
+ @@root = Pathname.new root
12
+ end
13
+
14
+ def self.root
15
+ @@root
16
+ end
17
+
18
+ def self.config
19
+ @config ||= OpenStruct.new
20
+ end
21
+
22
+ def self.application
23
+ self
24
+ end
25
+
26
+ def self.public_path
27
+ root.join 'public'
28
+ end
29
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contao
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-06 00:00:00.000000000 Z
12
+ date: 2012-06-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -27,54 +27,6 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
- - !ruby/object:Gem::Dependency
31
- name: compass
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
38
- type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: oily_png
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :runtime
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- - !ruby/object:Gem::Dependency
63
- name: uglifier
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
70
- type: :runtime
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
30
  - !ruby/object:Gem::Dependency
79
31
  name: activesupport
80
32
  requirement: !ruby/object:Gem::Requirement
@@ -91,38 +43,6 @@ dependencies:
91
43
  - - ! '>='
92
44
  - !ruby/object:Gem::Version
93
45
  version: '0'
94
- - !ruby/object:Gem::Dependency
95
- name: guard
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: 1.1.1
102
- type: :runtime
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: 1.1.1
110
- - !ruby/object:Gem::Dependency
111
- name: json
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
46
  - !ruby/object:Gem::Dependency
127
47
  name: parseconfig
128
48
  requirement: !ruby/object:Gem::Requirement
@@ -155,22 +75,6 @@ dependencies:
155
75
  - - ! '>='
156
76
  - !ruby/object:Gem::Version
157
77
  version: '0'
158
- - !ruby/object:Gem::Dependency
159
- name: coffee-script
160
- requirement: !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
- type: :runtime
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
78
  - !ruby/object:Gem::Dependency
175
79
  name: rspec
176
80
  requirement: !ruby/object:Gem::Requirement
@@ -203,8 +107,7 @@ dependencies:
203
107
  - - ! '>='
204
108
  - !ruby/object:Gem::Version
205
109
  version: '0'
206
- description: Contao Integration with Compass, Sass, Coffee-script, Rake, Guard with
207
- asset pre-compiler and asset-manifest generator
110
+ description: Contao Integration with Rails.
208
111
  email:
209
112
  - wael.nasreddine@gmail.com
210
113
  executables:
@@ -224,44 +127,31 @@ files:
224
127
  - lib/contao.rb
225
128
  - lib/contao/application.rb
226
129
  - lib/contao/cli.rb
227
- - lib/contao/coffeescript_compiler.rb
228
130
  - lib/contao/commands/application.rb
229
131
  - lib/contao/commands/help.rb
230
- - lib/contao/compiler.rb
231
132
  - lib/contao/core_ext/object.rb
232
133
  - lib/contao/generators/application.rb
233
134
  - lib/contao/generators/base.rb
234
135
  - lib/contao/generators/config.rb
235
- - lib/contao/javascript_compiler.rb
236
136
  - lib/contao/notifier.rb
237
- - lib/contao/stylesheet_compiler.rb
137
+ - lib/contao/railtie.rb
238
138
  - lib/contao/system.rb
239
- - lib/contao/tasks/assets.rake
240
- - lib/contao/tasks/contao.rake
241
- - lib/contao/tasks/jasmine.rake
242
- - lib/contao/tasks/whitespace.rake
139
+ - lib/contao/ui.rb
243
140
  - lib/contao/version.rb
244
141
  - lib/contao_patches/development/development_htaccess.patch
245
- - lib/guard/assets.rb
246
- - lib/monkey_patches.rb
247
- - lib/monkey_patches/compass/urls.rb
142
+ - lib/tasks/contao.rake
143
+ - lib/tasks/whitespace.rake
248
144
  - spec/lib/contao/application_spec.rb
249
- - spec/lib/contao/coffeescript_compiler_spec.rb
250
145
  - spec/lib/contao/generators/application_spec.rb
251
146
  - spec/lib/contao/generators/base_spec.rb
252
147
  - spec/lib/contao/generators/config_spec.rb
253
- - spec/lib/contao/javascript_compiler_spec.rb
254
148
  - spec/lib/contao/notifier_spec.rb
255
- - spec/lib/contao/stylesheet_compiler_spec.rb
256
- - spec/lib/contao_spec.rb
257
- - spec/lib/guard/assets_spec.rb
258
149
  - spec/spec_helper.rb
259
- - spec/support/compiler_shared_examples.rb
260
- - spec/support/config_shared_examples.rb
261
150
  - spec/support/filesystem_mock.rb
262
151
  - spec/support/generator_shared_examples.rb
263
152
  - spec/support/singleton_shared_example.rb
264
- homepage: ''
153
+ - spec/support/stub_rails.rb
154
+ homepage: http://technogate.github.com/contao
265
155
  licenses: []
266
156
  post_install_message:
267
157
  rdoc_options: []
@@ -281,10 +171,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
281
171
  version: '0'
282
172
  segments:
283
173
  - 0
284
- hash: 2585699756949260143
174
+ hash: -3507000943758228058
285
175
  requirements: []
286
176
  rubyforge_project:
287
- rubygems_version: 1.8.24
177
+ rubygems_version: 1.8.23
288
178
  signing_key:
289
179
  specification_version: 3
290
180
  summary: This gem will help you to quickly generate an application using Contao CMS
@@ -295,18 +185,12 @@ summary: This gem will help you to quickly generate an application using Contao
295
185
  and even upload media such as images and PDFs all from the command line using Capistrano.
296
186
  test_files:
297
187
  - spec/lib/contao/application_spec.rb
298
- - spec/lib/contao/coffeescript_compiler_spec.rb
299
188
  - spec/lib/contao/generators/application_spec.rb
300
189
  - spec/lib/contao/generators/base_spec.rb
301
190
  - spec/lib/contao/generators/config_spec.rb
302
- - spec/lib/contao/javascript_compiler_spec.rb
303
191
  - spec/lib/contao/notifier_spec.rb
304
- - spec/lib/contao/stylesheet_compiler_spec.rb
305
- - spec/lib/contao_spec.rb
306
- - spec/lib/guard/assets_spec.rb
307
192
  - spec/spec_helper.rb
308
- - spec/support/compiler_shared_examples.rb
309
- - spec/support/config_shared_examples.rb
310
193
  - spec/support/filesystem_mock.rb
311
194
  - spec/support/generator_shared_examples.rb
312
195
  - spec/support/singleton_shared_example.rb
196
+ - spec/support/stub_rails.rb