opal-rails 0.8.0.rc1 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +27 -0
- data/Gemfile +3 -3
- data/README.md +1 -1
- data/lib/opal/rails/version.rb +1 -1
- data/opal-rails.gemspec +3 -3
- data/test_app/app/assets/javascripts/application.js.rb +5 -0
- data/test_app/app/assets/javascripts/bar.rb +3 -0
- data/test_app/app/assets/javascripts/foo.js.rb +3 -0
- metadata +14 -12
- data/test_app/app/assets/javascripts/application.js +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01da7e54af7773db1c161011d01a9f90a6df269f
|
4
|
+
data.tar.gz: 12cfdac1057624413cf77b9539279b81ce64547e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36606be210a9ae5e430e7b68e3393490d7bed808e2a5a48325ee5f827b175819550156d4ace640d4424e65ca5f6ebb9659ea5c4c7245ceea7398762e814bb74c
|
7
|
+
data.tar.gz: 6306ef97c44748253e456040598f86c76587901641f314731868b94ac3343a2f258e909f66bcad3370f1265f6effbfc5ad31129a90505844f8fe123a48443ec4
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,35 @@
|
|
1
1
|
# edge
|
2
2
|
|
3
|
+
* Opal 0.8
|
4
|
+
* Default spec location is now `spec-opal`, this will allow opal specs to be "alphabetically" near other specs.
|
5
|
+
* Don't run the sourcemap server unless sprockets is active and sourcemaps enabled and sprockets is in debug mode
|
6
|
+
* Align spec compilation done via `rake opal:spec` vs. in the browser at `/opal_spec`
|
7
|
+
* Dynamic require severity now defaults to `:ignore`
|
8
|
+
* Make `#opal_tag` helper respect provided options + specs
|
9
|
+
* Sprockets bootstrap code can be skipped from `javascript_include_tag` passing `skip_opal_loader: true`
|
3
10
|
* All specs now need to require "opal" and "opal-rspec" explicitly
|
4
11
|
|
5
12
|
|
13
|
+
# 0.7.0 2015-02-02
|
14
|
+
|
15
|
+
* Opal 0.7
|
16
|
+
* Added an `opal` Slim filter
|
17
|
+
* WebScale!
|
18
|
+
* Drop Ruby 1.8.7 support
|
19
|
+
* Add a view rails generator `rails g opal:assets` to generate example view classes.
|
20
|
+
|
21
|
+
# 0.6.3 2014-03-07
|
22
|
+
|
23
|
+
* Add `opal_tag` helper, similar to `javascript_tag`
|
24
|
+
* Allow specs inside subdirectories
|
25
|
+
* Updated to Opal v0.6
|
26
|
+
|
27
|
+
# 0.6.2 2013-12-13
|
28
|
+
|
29
|
+
* Added fun
|
30
|
+
* Expire Sprockets cache (by means of using different cache keys) when the opal version changes (monkeypatch)
|
31
|
+
* Rely on `Opal::Processor` to know if source maps are enabled
|
32
|
+
|
6
33
|
# 0.6.1 2013-11-05
|
7
34
|
|
8
35
|
* Fix the rake task, now uses `opal-rspec` too
|
data/Gemfile
CHANGED
@@ -7,9 +7,9 @@ gem 'capybara-webkit'
|
|
7
7
|
# gem 'opal-rspec', path: '../opal-rspec'
|
8
8
|
# gem 'opal-jquery', path: '../opal-jquery'
|
9
9
|
|
10
|
-
gem 'opal', github: 'opal'
|
11
|
-
gem 'opal-rspec', github: 'opal/opal-rspec'
|
12
|
-
gem 'opal-jquery', github: 'opal/opal-jquery'
|
10
|
+
# gem 'opal', github: 'opal'
|
11
|
+
# gem 'opal-rspec', github: 'opal/opal-rspec'
|
12
|
+
# gem 'opal-jquery', github: 'opal/opal-jquery'
|
13
13
|
|
14
14
|
if RUBY_VERSION.to_f < 1.9
|
15
15
|
gem 'nokogiri', '< 1.6'
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
![fun guaranteed](https://img.shields.io/badge/fun-guaranteed-brightgreen.svg)
|
7
7
|
![web scale](http://img.shields.io/badge/webscale-over%209000-green.svg)
|
8
8
|
|
9
|
-
_Rails
|
9
|
+
_Rails bindings for [Opal Ruby](http://opalrb.org) engine. ([Changelog](https://github.com/opal/opal-rails/blob/master/CHANGELOG.md))_
|
10
10
|
|
11
11
|
|
12
12
|
|
data/lib/opal/rails/version.rb
CHANGED
data/opal-rails.gemspec
CHANGED
@@ -22,9 +22,9 @@ Gem::Specification.new do |s|
|
|
22
22
|
required_ruby_version = '>= 1.9.3'
|
23
23
|
|
24
24
|
s.add_dependency 'rails', '>= 3.2', '< 5.0'
|
25
|
-
s.add_dependency 'opal', '~> 0.8.0
|
26
|
-
s.add_dependency 'opal-jquery', '~> 0.
|
27
|
-
s.add_dependency 'opal-rspec', '~> 0.4.
|
25
|
+
s.add_dependency 'opal', '~> 0.8.0'
|
26
|
+
s.add_dependency 'opal-jquery', '~> 0.4.0'
|
27
|
+
s.add_dependency 'opal-rspec', '~> 0.4.3'
|
28
28
|
s.add_dependency 'jquery-rails'
|
29
29
|
s.add_dependency 'opal-activesupport', '>= 0.0.5'
|
30
30
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opal-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.0
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elia Schito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -36,42 +36,42 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.8.0
|
39
|
+
version: 0.8.0
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.8.0
|
46
|
+
version: 0.8.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: opal-jquery
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
53
|
+
version: 0.4.0
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.
|
60
|
+
version: 0.4.0
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: opal-rspec
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 0.4.
|
67
|
+
version: 0.4.3
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: 0.4.
|
74
|
+
version: 0.4.3
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: jquery-rails
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,7 +200,9 @@ files:
|
|
200
200
|
- test_app/.gitignore
|
201
201
|
- test_app/Rakefile
|
202
202
|
- test_app/app/assets/images/rails.png
|
203
|
-
- test_app/app/assets/javascripts/application.js
|
203
|
+
- test_app/app/assets/javascripts/application.js.rb
|
204
|
+
- test_app/app/assets/javascripts/bar.rb
|
205
|
+
- test_app/app/assets/javascripts/foo.js.rb
|
204
206
|
- test_app/app/assets/javascripts/source_map_example.js.rb
|
205
207
|
- test_app/app/assets/stylesheets/application.css
|
206
208
|
- test_app/app/controllers/application_controller.rb
|
@@ -250,12 +252,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
250
252
|
version: '0'
|
251
253
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
254
|
requirements:
|
253
|
-
- - "
|
255
|
+
- - ">="
|
254
256
|
- !ruby/object:Gem::Version
|
255
|
-
version:
|
257
|
+
version: '0'
|
256
258
|
requirements: []
|
257
259
|
rubyforge_project: opal-rails
|
258
|
-
rubygems_version: 2.4.
|
260
|
+
rubygems_version: 2.4.6
|
259
261
|
signing_key:
|
260
262
|
specification_version: 4
|
261
263
|
summary: Rails bindings for opal JS engine
|
@@ -1,15 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// the compiled file.
|
9
|
-
//
|
10
|
-
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
11
|
-
// GO AFTER THE REQUIRES BELOW.
|
12
|
-
//
|
13
|
-
//= require opal
|
14
|
-
//= require opal_ujs
|
15
|
-
//= require opal-parser
|