opal-rails 0.8.1 → 0.9.0
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.
- checksums.yaml +4 -4
- data/.gitignore +12 -4
- data/.powder +1 -0
- data/.travis.yml +7 -3
- data/Appraisals +11 -0
- data/CHANGELOG.md +113 -50
- data/Gemfile +0 -16
- data/README.md +34 -52
- data/Rakefile +1 -5
- data/app/helpers/opal_helper.rb +2 -2
- data/config.ru +10 -0
- data/lib/opal/rails.rb +0 -2
- data/lib/opal/rails/engine.rb +2 -21
- data/lib/opal/rails/version.rb +1 -1
- data/opal-rails.gemspec +11 -5
- data/spec/spec_helper.rb +1 -14
- data/spec/support/test_app.rb +6 -0
- data/test_apps/application_controller.rb +52 -0
- data/{test_app/app → test_apps}/assets/javascripts/application.js.rb +0 -0
- data/{test_app/app → test_apps}/assets/javascripts/bar.rb +0 -0
- data/{test_app/app → test_apps}/assets/javascripts/foo.js.rb +0 -0
- data/{test_app/app → test_apps}/assets/javascripts/source_map_example.js.rb +0 -0
- data/test_apps/rails4.rb +43 -0
- data/test_apps/rails5.rb +42 -0
- metadata +83 -83
- data/app/controllers/opal_spec_controller.rb +0 -38
- data/app/views/layouts/opal_spec.html.erb +0 -13
- data/app/views/opal_spec/run.html.erb +0 -40
- data/lib/opal/rails/spec_builder.rb +0 -92
- data/lib/opal/rails/sprockets_cache_key_fix.rb +0 -19
- data/lib/tasks/opal-rails_tasks.rake +0 -26
- data/spec/integration/in_browser_specs_spec.rb +0 -21
- data/test_app/.gitignore +0 -15
- data/test_app/Rakefile +0 -7
- data/test_app/app/assets/images/rails.png +0 -0
- data/test_app/app/assets/stylesheets/application.css +0 -13
- data/test_app/app/controllers/application_controller.rb +0 -21
- data/test_app/app/views/application/index.html.erb +0 -3
- data/test_app/app/views/application/with_assignments.js.opal +0 -8
- data/test_app/app/views/layouts/application.html.erb +0 -14
- data/test_app/config.ru +0 -4
- data/test_app/config/application.rb +0 -75
- data/test_app/config/boot.rb +0 -6
- data/test_app/config/environment.rb +0 -5
- data/test_app/config/environments/development.rb +0 -33
- data/test_app/config/environments/production.rb +0 -65
- data/test_app/config/environments/test.rb +0 -42
- data/test_app/config/initializers/backtrace_silencers.rb +0 -7
- data/test_app/config/initializers/inflections.rb +0 -15
- data/test_app/config/initializers/mime_types.rb +0 -5
- data/test_app/config/initializers/secret_token.rb +0 -8
- data/test_app/config/initializers/session_store.rb +0 -8
- data/test_app/config/initializers/wrap_parameters.rb +0 -10
- data/test_app/config/locales/en.yml +0 -5
- data/test_app/config/routes.rb +0 -4
- data/test_app/lib/assets/.gitkeep +0 -0
- data/test_app/lib/tasks/.gitkeep +0 -0
- data/test_app/log/.gitkeep +0 -0
- data/test_app/public/404.html +0 -26
- data/test_app/public/422.html +0 -26
- data/test_app/public/500.html +0 -25
- data/test_app/public/favicon.ico +0 -0
- data/test_app/public/robots.txt +0 -5
- data/test_app/script/rails +0 -6
- data/test_app/spec-opal/example_spec.js.rb +0 -7
- data/test_app/spec-opal/requires_opal_spec.js.rb +0 -8
- data/test_app/spec-opal/spec_helper.rb +0 -3
- data/test_app/spec-opal/subdirectory/other_spec.js.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed236f416a615a09d374712bcdc11ddc57c316ee
|
4
|
+
data.tar.gz: b4912b61deeacf0f1ff22f12abb3082c4c9e9a8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e79a4ca05c7917dacdc1af9a37cfd23b5d394b7e3158b9bcd4bcbf181c63ca678ca39606c1c3cb8a72591d0343a8e50bd529f06f832ddf8420d0fe1511239aa1
|
7
|
+
data.tar.gz: 42f971503e34be50854cfc28cbad4669a7b9e498c669797e677002216e9662f36a4a6932b52c01267915aa5e295291c6214b6895b9db96f14ab981068dc4a04c
|
data/.gitignore
CHANGED
@@ -2,12 +2,20 @@
|
|
2
2
|
/log/*.log
|
3
3
|
/pkg/
|
4
4
|
/tmp
|
5
|
-
/
|
6
|
-
/
|
7
|
-
/
|
8
|
-
/
|
5
|
+
/test_apps/db/*.sqlite3
|
6
|
+
/test_apps/log/*.log
|
7
|
+
/test_apps/tmp/
|
8
|
+
/test_apps/.sass-cache
|
9
9
|
Gemfile.lock
|
10
|
+
*.gemfile.lock
|
10
11
|
|
11
12
|
# Files generated by `rake opal` but unneded in the gem
|
12
13
|
/lib/assets/javascripts/specs.js
|
13
14
|
/lib/assets/javascripts/opal-rails.js
|
15
|
+
/gemfiles
|
16
|
+
|
17
|
+
# old test app dir
|
18
|
+
/test_app/db/*.sqlite3
|
19
|
+
/test_app/log/*.log
|
20
|
+
/test_app/tmp/
|
21
|
+
/test_app/.sass-cache
|
data/.powder
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
opal-rails
|
data/.travis.yml
CHANGED
@@ -6,14 +6,18 @@ cache:
|
|
6
6
|
bundler: true
|
7
7
|
|
8
8
|
rvm:
|
9
|
-
- 2.
|
10
|
-
- 2.
|
9
|
+
- 2.3.0
|
10
|
+
- 2.2.3
|
11
|
+
- 2.1.6
|
11
12
|
- 2.0.0
|
12
|
-
- 1.9.3
|
13
13
|
|
14
14
|
before_script:
|
15
15
|
- "export DISPLAY=:99.0"
|
16
16
|
- "sh -e /etc/init.d/xvfb start"
|
17
|
+
- "gem install appraisal"
|
18
|
+
- "appraisal install"
|
19
|
+
|
20
|
+
script: "appraisal rake"
|
17
21
|
|
18
22
|
notifications:
|
19
23
|
irc: "irc.freenode.org#opal"
|
data/Appraisals
ADDED
data/CHANGELOG.md
CHANGED
@@ -1,89 +1,152 @@
|
|
1
|
-
#
|
1
|
+
# Change Log
|
2
2
|
|
3
|
-
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
4
5
|
|
5
|
-
|
6
|
+
Changes are grouped as follows:
|
7
|
+
- **Added** for new features.
|
8
|
+
- **Changed** for changes in existing functionality.
|
9
|
+
- **Deprecated** for once-stable features removed in upcoming releases.
|
10
|
+
- **Removed** for deprecated features removed in this release.
|
11
|
+
- **Fixed** for any bug fixes.
|
12
|
+
- **Security** to invite users to upgrade in case of vulnerabilities.
|
6
13
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
* All specs now need to require "opal" and "opal-rspec" explicitly
|
14
|
+
<!--
|
15
|
+
Whitespace conventions:
|
16
|
+
- 4 spaces before ## titles
|
17
|
+
- 2 spaces before ### titles
|
18
|
+
- 2 spaces before ### titles
|
19
|
+
- 1 spaces before normal text
|
20
|
+
-->
|
15
21
|
|
16
22
|
|
17
|
-
# 0.7.0 2015-02-02
|
18
23
|
|
19
|
-
* Opal v0.7
|
20
|
-
* Added an `opal` Slim filter
|
21
|
-
* WebScale!
|
22
|
-
* Drop Ruby 1.8.7 support
|
23
|
-
* Add a view rails generator `rails g opal:assets` to generate example view classes.
|
24
24
|
|
25
|
-
|
25
|
+
## [0.9.0] - Unreleased
|
26
26
|
|
27
|
-
* Add `opal_tag` helper, similar to `javascript_tag`
|
28
|
-
* Allow specs inside subdirectories
|
29
|
-
* Updated to Opal v0.6
|
30
27
|
|
31
|
-
|
28
|
+
### Added
|
32
29
|
|
33
|
-
|
34
|
-
|
35
|
-
* Rely on `Opal::Processor` to know if source maps are enabled
|
30
|
+
- Support for Opal 0.9
|
31
|
+
- Support for Rails 5.0
|
36
32
|
|
37
|
-
# 0.6.1 2013-11-05
|
38
33
|
|
39
|
-
|
34
|
+
### Removed
|
40
35
|
|
36
|
+
- Removed support for Opal 0.8
|
37
|
+
- Extracted support for running spec to `opal-rspec-rails`, this is done to make its development independent of `opal-rails` and also to make room for the (yet to be implemented) `opal-minitest-rails`. In addition the extracted gem should address a number of issues like:
|
38
|
+
- faster rake runs
|
39
|
+
- allowing to use any sprockets processor (e.g. `opal-haml` templates were previously not supported)
|
40
|
+
- nicer integration and customizability
|
41
|
+
- Drop support for Ruby 1.9.3
|
41
42
|
|
42
|
-
# 0.6.0 2013-11-05
|
43
43
|
|
44
|
-
* Don't load source maps if they're not enabled via `config.opal.source_map_enabled`
|
45
|
-
* Update to Opal v0.5.0
|
46
|
-
* Run in-browser specs with `opal-rspec`
|
47
44
|
|
48
45
|
|
49
|
-
|
46
|
+
## [0.8.1] - 2015-12-18
|
50
47
|
|
51
|
-
|
52
|
-
* Haml filter now is loaded inside the railtie initializer, avoiding potential Gemfile ordering issues
|
53
|
-
* Add the `rake opal:spec` task to run browser specs from the terminal (requires phantomjs)
|
48
|
+
- Restrict the version requirement for `sprockets-rails` to `< 3.0` as v3 bears chages incompatible with `opal-rails`
|
54
49
|
|
55
50
|
|
56
|
-
|
51
|
+
## [0.8.0] - 2015-07-20
|
57
52
|
|
58
|
-
|
53
|
+
- Opal v0.8
|
54
|
+
- Default spec location is now `spec-opal`, this will allow opal specs to be "alphabetically" near other specs.
|
55
|
+
- Don't run the sourcemap server unless sprockets is active and sourcemaps enabled and sprockets is in debug mode
|
56
|
+
- Align spec compilation done via `rake opal:spec` vs. in the browser at `/opal_spec`
|
57
|
+
- Dynamic require severity now defaults to `:ignore`
|
58
|
+
- Make `#opal_tag` helper respect provided options + specs
|
59
|
+
- Sprockets bootstrap code can be skipped from `javascript_include_tag` passing `skip_opal_loader: true`
|
60
|
+
- All specs now need to `require "opal"` and `require "opal-rspec"` explicitly
|
59
61
|
|
60
62
|
|
61
|
-
|
63
|
+
## [0.7.0] - 2015-02-02
|
62
64
|
|
63
|
-
|
64
|
-
|
65
|
-
|
65
|
+
- Opal v0.7
|
66
|
+
- Added an `opal` Slim filter
|
67
|
+
- WebScale!
|
68
|
+
- Drop Ruby 1.8.7 support
|
69
|
+
- Add a view rails generator `rails g opal:assets` to generate example view classes.
|
66
70
|
|
67
71
|
|
68
|
-
|
72
|
+
## [0.6.3] - 2014-03-07
|
69
73
|
|
70
|
-
|
74
|
+
- Add `opal_tag` helper, similar to `javascript_tag`
|
75
|
+
- Allow specs inside subdirectories
|
76
|
+
- Updated to Opal v0.6
|
77
|
+
|
78
|
+
|
79
|
+
## [0.6.2] - 2013-12-13
|
80
|
+
|
81
|
+
- Added fun
|
82
|
+
- Expire Sprockets cache (by means of using different cache keys) when the opal version changes (monkeypatch)
|
83
|
+
- Rely on `Opal::Processor` to know if source maps are enabled
|
84
|
+
|
85
|
+
|
86
|
+
## [0.6.1] - 2013-11-05
|
87
|
+
|
88
|
+
- Fix the rake task, now uses `opal-rspec` too
|
89
|
+
|
90
|
+
|
91
|
+
## [0.6.0] - 2013-11-05
|
92
|
+
|
93
|
+
- Don't load source maps if they're not enabled via `config.opal.source_map_enabled`
|
94
|
+
- Update to Opal v0.5.0
|
95
|
+
- Run in-browser specs with `opal-rspec`
|
96
|
+
|
97
|
+
|
98
|
+
## [0.5.2] - 2013-09-05
|
99
|
+
|
100
|
+
- Add `opal-activesupport` as a dependency
|
101
|
+
- Haml filter now is loaded inside the railtie initializer, avoiding potential Gemfile ordering issues
|
102
|
+
- Add the `rake opal:spec` task to run browser specs from the terminal (requires phantomjs)
|
103
|
+
|
104
|
+
|
105
|
+
## [0.5.1] - 2013-07-02
|
106
|
+
|
107
|
+
- `.js` suffix is now optional for in-browser specs
|
108
|
+
|
109
|
+
|
110
|
+
## [0.5.0] - 2013-06-30
|
111
|
+
|
112
|
+
- Add support for source-maps
|
113
|
+
- `opal` can now be used in the rails app generator: `rails new -j opal`
|
114
|
+
- migrate `#to_native` to the new signature: `#to_n`
|
115
|
+
|
116
|
+
|
117
|
+
## [0.4.0] - 2013-06-03
|
118
|
+
|
119
|
+
- Add `Rails.application.config.opal` which accepts:
|
71
120
|
- method_missing: `<Boolean>` (default: `true`)
|
72
121
|
- optimized_operators: `<Boolean>` (default: `true`)
|
73
122
|
- arity_check: `<Boolean>` (default: `false`)
|
74
123
|
- const_missing: `<Boolean>` (default: `true`)
|
75
124
|
|
76
|
-
|
125
|
+
- Add the Changelog
|
77
126
|
|
78
127
|
|
79
|
-
|
128
|
+
## [0.3.8] - 2013-05-07
|
80
129
|
|
81
|
-
|
130
|
+
- Add `opal/rails` alongside to `opal-rails` for older bundlers autorequire
|
82
131
|
|
83
132
|
|
84
|
-
|
133
|
+
## [0.3.7] - 2013-05-04
|
85
134
|
|
86
|
-
|
87
|
-
|
88
|
-
|
135
|
+
- Rails 4.0.0 support
|
136
|
+
- Add `opal_ujs`, now it's possible to use Opal for new Rails apps: `rails new <app-name> -j opal`
|
137
|
+
- Updated README examples
|
89
138
|
|
139
|
+
[0.9.0]: https://github.com/opal/opal-rails/compare/v0.8.1...HEAD
|
140
|
+
[0.8.1]: https://github.com/opal/opal-rails/compare/v0.8.0...v0.8.1
|
141
|
+
[0.8.0]: https://github.com/opal/opal-rails/compare/v0.7.0...v0.8.0
|
142
|
+
[0.7.0]: https://github.com/opal/opal-rails/compare/v0.6.3...v0.7.0
|
143
|
+
[0.6.3]: https://github.com/opal/opal-rails/compare/v0.6.2...v0.6.3
|
144
|
+
[0.6.2]: https://github.com/opal/opal-rails/compare/v0.6.1...v0.6.2
|
145
|
+
[0.6.1]: https://github.com/opal/opal-rails/compare/v0.6.0...v0.6.1
|
146
|
+
[0.6.0]: https://github.com/opal/opal-rails/compare/v0.5.2...v0.6.0
|
147
|
+
[0.5.2]: https://github.com/opal/opal-rails/compare/v0.5.1...v0.5.2
|
148
|
+
[0.5.1]: https://github.com/opal/opal-rails/compare/v0.5.0...v0.5.1
|
149
|
+
[0.5.0]: https://github.com/opal/opal-rails/compare/v0.4.0...v0.5.0
|
150
|
+
[0.4.0]: https://github.com/opal/opal-rails/compare/v0.3.8...v0.4.0
|
151
|
+
[0.3.8]: https://github.com/opal/opal-rails/compare/v0.3.7...v0.3.8
|
152
|
+
[0.3.7]: https://github.com/opal/opal-rails/compare/v0.3.6...v0.3.7
|
data/Gemfile
CHANGED
@@ -1,18 +1,2 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
gemspec
|
3
|
-
|
4
|
-
gem 'capybara-webkit'
|
5
|
-
|
6
|
-
# gem 'opal', path: '../opal'
|
7
|
-
# gem 'opal-rspec', path: '../opal-rspec'
|
8
|
-
# gem 'opal-jquery', path: '../opal-jquery'
|
9
|
-
|
10
|
-
# gem 'opal', github: 'opal'
|
11
|
-
# gem 'opal-rspec', github: 'opal/opal-rspec'
|
12
|
-
# gem 'opal-jquery', github: 'opal/opal-jquery'
|
13
|
-
|
14
|
-
if RUBY_VERSION.to_f < 1.9
|
15
|
-
gem 'nokogiri', '< 1.6'
|
16
|
-
gem 'rails', '< 4.0'
|
17
|
-
gem 'rubyzip', '< 1'
|
18
|
-
end
|
data/README.md
CHANGED
@@ -32,7 +32,9 @@ Add your configuration in `config/application.rb` with the following contents:
|
|
32
32
|
```ruby
|
33
33
|
module MyApp
|
34
34
|
class Application < Rails::Application
|
35
|
-
# These are the available options with their default
|
35
|
+
# These are the available options with their default values
|
36
|
+
|
37
|
+
# Compiler options
|
36
38
|
config.opal.method_missing = true
|
37
39
|
config.opal.optimized_operators = true
|
38
40
|
config.opal.arity_check = false
|
@@ -40,22 +42,15 @@ module MyApp
|
|
40
42
|
config.opal.dynamic_require_severity = :ignore
|
41
43
|
|
42
44
|
# Enable/disable /opal_specs route
|
43
|
-
config.opal.enable_specs
|
45
|
+
config.opal.enable_specs = true
|
44
46
|
|
47
|
+
# The path to opal specs from Rails.root
|
45
48
|
config.opal.spec_location = 'spec-opal'
|
46
49
|
end
|
47
50
|
end
|
48
51
|
```
|
49
52
|
|
50
53
|
|
51
|
-
### Gotchas
|
52
|
-
|
53
|
-
<del>After changing the version of the `opal` gem (e.g. via `bundle update opal`) or any configuration flag **you should trash the `#{Rails.root}/tmp/cache/assets` folder**, otherwise you could see a cached source compiled before the change.</del>
|
54
|
-
|
55
|
-
Now ships with a patch to sprockets cache key to include processor version that is also in this [pull request](https://github.com/sstephenson/sprockets/pull/508).
|
56
|
-
|
57
|
-
|
58
|
-
|
59
54
|
## Usage
|
60
55
|
|
61
56
|
|
@@ -64,18 +59,7 @@ Now ships with a patch to sprockets cache key to include processor version that
|
|
64
59
|
You can rename `app/assets/javascripts/application.js` to `application.js.rb`. Even if not necessary, it is recommended to change Sprockets' `//= require` statements to Ruby' `require` methods.
|
65
60
|
Sprockets' `//= require` statements won't be known by the opal builder and therefore you can end up adding something twice.
|
66
61
|
|
67
|
-
For Opal 0.
|
68
|
-
|
69
|
-
```ruby
|
70
|
-
# app/assets/javascripts/application.js.rb
|
71
|
-
|
72
|
-
#= require opal
|
73
|
-
#= require opal_ujs
|
74
|
-
#= require turbolinks
|
75
|
-
#= require_tree .
|
76
|
-
```
|
77
|
-
|
78
|
-
For Opal 0.8 and above, you should be able to use the following syntax:
|
62
|
+
For Opal 0.8 and above, you have to use `application.js.rb` with the following syntax:
|
79
63
|
|
80
64
|
```ruby
|
81
65
|
# app/assets/javascripts/application.js.rb
|
@@ -86,6 +70,16 @@ require 'turbolinks'
|
|
86
70
|
require_tree '.'
|
87
71
|
```
|
88
72
|
|
73
|
+
If you want to use `application.js`, you need to `load` the Opal modules(files) manually, e.g.:
|
74
|
+
|
75
|
+
```
|
76
|
+
// application.js
|
77
|
+
//= require opal
|
78
|
+
//= require greeter
|
79
|
+
//= require_self
|
80
|
+
Opal.load('greeter');
|
81
|
+
```
|
82
|
+
|
89
83
|
As you see in the example above, Opal also gives you a Ruby equivalent of `//= require_tree`.
|
90
84
|
|
91
85
|
Opal requires are forwarded to the Asset Pipeline at compile time (similarly to what happens for RubyMotion). You can use either the `.rb` or `.opal` extension:
|
@@ -160,42 +154,19 @@ Of course you need to require `haml-rails` separately since its presence is not
|
|
160
154
|
```
|
161
155
|
|
162
156
|
|
163
|
-
###
|
164
|
-
|
165
|
-
Add specs into `/spec-opal`:
|
166
|
-
|
167
|
-
and then a spec folder with you specs!
|
168
|
-
|
169
|
-
```ruby
|
170
|
-
# spec-opal/example_spec.js.rb
|
171
|
-
|
172
|
-
describe 'a spec' do
|
173
|
-
it 'has successful examples' do
|
174
|
-
'I run'.should =~ /run/
|
175
|
-
end
|
176
|
-
end
|
177
|
-
```
|
178
|
-
|
179
|
-
Then visit `/opal_spec` from your app and **reload at will** or use the command line with `rake opal:spec`.
|
180
|
-
|
181
|
-
#### CHANGE from versions pre 0.7.1
|
157
|
+
### RSpec support
|
182
158
|
|
183
|
-
|
159
|
+
_Extracted to [`opal-rspec-rails`](https://github.com/opal/opal-rspec-rails)_
|
184
160
|
|
185
|
-
|
161
|
+
Add this line to your `Gemfile`
|
186
162
|
|
187
163
|
```ruby
|
188
|
-
|
189
|
-
Rails.application.config.opal.spec_location = "app/assets/javascripts/spec"
|
190
|
-
|
164
|
+
gem 'opal-rspec-rails', github: 'opal/opal-rspec-rails'
|
191
165
|
```
|
192
166
|
|
193
|
-
|
194
|
-
|
167
|
+
### Minitest support
|
195
168
|
|
196
|
-
|
197
|
-
|
198
|
-

|
169
|
+
_Upcoming as `opal-minitest-rails`_
|
199
170
|
|
200
171
|
|
201
172
|
### Shared templates
|
@@ -233,10 +204,21 @@ template.render(self)
|
|
233
204
|
```
|
234
205
|
|
235
206
|
|
207
|
+
### Using Ruby gems from Opal
|
208
|
+
|
209
|
+
Just use `Opal.use_gem` in your asset initializer (in `config/initializers`).
|
210
|
+
|
211
|
+
Example:
|
212
|
+
|
213
|
+
```ruby
|
214
|
+
Opal.use_gem 'cannonbol'
|
215
|
+
```
|
216
|
+
|
217
|
+
|
236
218
|
|
237
219
|
## License
|
238
220
|
|
239
|
-
© 2012-
|
221
|
+
© 2012-2015 Elia Schito
|
240
222
|
|
241
223
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
242
224
|
of this software and associated documentation files (the "Software"), to deal
|
data/Rakefile
CHANGED
@@ -12,8 +12,4 @@ Bundler::GemHelper.install_tasks
|
|
12
12
|
require 'rspec/core/rake_task'
|
13
13
|
RSpec::Core::RakeTask.new :rspec
|
14
14
|
|
15
|
-
|
16
|
-
require File.expand_path('../test_app/config/application', __FILE__)
|
17
|
-
TestApp::Application.load_tasks
|
18
|
-
|
19
|
-
task :default => [:rspec, 'opal:spec']
|
15
|
+
task :default => :rspec
|