opal-rails 0.9.5 → 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +20 -27
- data/Appraisals +8 -20
- data/CHANGELOG.md +12 -0
- data/Gemfile +5 -15
- data/README.md +1 -1
- data/app/helpers/opal_helper.rb +2 -2
- data/gemfiles/{rails_5_1_opal_0_11.gemfile → rails_5_1_opal_1_0.gemfile} +3 -1
- data/gemfiles/rails_5_1_opal_master.gemfile +1 -0
- data/gemfiles/{rails_5_2_opal_0_11.gemfile → rails_5_2_opal_1_0.gemfile} +3 -1
- data/gemfiles/rails_5_2_opal_master.gemfile +1 -0
- data/lib/opal/rails/version.rb +1 -1
- data/lib/rails/generators/opal/assets/templates/javascript.js.rb +1 -1
- data/opal-rails.gemspec +7 -11
- data/spec/integration/js_spec.rb +1 -0
- data/spec/support/capybara.rb +54 -8
- data/test_apps/assets/javascripts/with_assignments.js.rb +0 -1
- data/test_apps/rails4.rb +4 -0
- data/test_apps/rails5.rb +4 -0
- metadata +24 -35
- data/gemfiles/rails_4_2_opal_0_11.gemfile +0 -10
- data/gemfiles/rails_4_2_opal_master.gemfile +0 -10
- data/gemfiles/rails_5_0_opal_0_11.gemfile +0 -10
- data/gemfiles/rails_5_0_opal_master.gemfile +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65093f0e647bdf9786c1cd229c2bbfc7db912cd859e1d47540256af24627a0c9
|
4
|
+
data.tar.gz: 94bbd8fd884531e9425fa4259819fc34d540b87bfd0debddac497b47eba77123
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51159c19720500be469ca5807c47f5d7629d1038675068be11e69d7be08bc6408009754bc761f7c20ca638ff8eb186bc7e9bdf2980d089bf9b29e5060e785a95
|
7
|
+
data.tar.gz: cd1c86c70fc141741999a10746c5ced7c2766371b403f3290a19df2ce4c016a58ddf3b7c443f51adc0bdd93778cde7de062d8ded4e43a8725f625719ac021dd1
|
data/.travis.yml
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
language: ruby
|
2
2
|
|
3
|
-
sudo:
|
3
|
+
sudo: required
|
4
|
+
addons:
|
5
|
+
chrome: stable
|
6
|
+
|
7
|
+
before_install:
|
8
|
+
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 about:blank &
|
4
9
|
|
5
10
|
cache:
|
6
11
|
bundler: true
|
@@ -9,41 +14,29 @@ matrix:
|
|
9
14
|
fast_finish: true
|
10
15
|
|
11
16
|
include:
|
12
|
-
- gemfile: gemfiles/rails_4_2_opal_master.gemfile
|
13
|
-
rvm: 2.3.7
|
14
|
-
- gemfile: gemfiles/rails_5_0_opal_master.gemfile
|
15
|
-
rvm: 2.4.4
|
16
17
|
- gemfile: gemfiles/rails_5_1_opal_master.gemfile
|
17
|
-
rvm: 2.5.
|
18
|
+
rvm: 2.5.5
|
18
19
|
- gemfile: gemfiles/rails_5_2_opal_master.gemfile
|
19
|
-
rvm: 2.
|
20
|
+
rvm: 2.6.3
|
20
21
|
|
21
|
-
- gemfile: gemfiles/
|
22
|
-
rvm: 2.
|
23
|
-
- gemfile: gemfiles/
|
24
|
-
rvm: 2.
|
25
|
-
- gemfile: gemfiles/rails_5_1_opal_0_11.gemfile
|
26
|
-
rvm: 2.5.1
|
27
|
-
- gemfile: gemfiles/rails_5_2_opal_0_11.gemfile
|
28
|
-
rvm: 2.5.1
|
22
|
+
- gemfile: gemfiles/rails_5_1_opal_1_0.gemfile
|
23
|
+
rvm: 2.5.5
|
24
|
+
- gemfile: gemfiles/rails_5_2_opal_1_0.gemfile
|
25
|
+
rvm: 2.6.3
|
29
26
|
|
30
27
|
allow_failures:
|
31
|
-
- gemfile: gemfiles/rails_4_2_opal_master.gemfile
|
32
|
-
rvm: 2.3.7
|
33
|
-
- gemfile: gemfiles/rails_5_0_opal_master.gemfile
|
34
|
-
rvm: 2.4.4
|
35
28
|
- gemfile: gemfiles/rails_5_1_opal_master.gemfile
|
36
|
-
rvm: 2.5.
|
29
|
+
rvm: 2.5.5
|
37
30
|
- gemfile: gemfiles/rails_5_2_opal_master.gemfile
|
38
|
-
rvm: 2.
|
31
|
+
rvm: 2.6.3
|
39
32
|
|
40
33
|
before_script: bundle install
|
41
34
|
script: "bundle exec rake"
|
42
35
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
36
|
+
addons:
|
37
|
+
apt:
|
38
|
+
sources:
|
39
|
+
- google-chrome
|
40
|
+
packages:
|
41
|
+
- google-chrome-stable
|
49
42
|
|
data/Appraisals
CHANGED
@@ -7,39 +7,27 @@ ENV['OPAL_VERSION'] = nil # ensure the env is clean
|
|
7
7
|
github = -> repo_name { "https://github.com/#{repo_name}.git" }
|
8
8
|
|
9
9
|
{
|
10
|
+
|
10
11
|
opal_master: -> gemfile do
|
11
12
|
gemfile.gem 'opal', git: github['opal/opal'], branch: :master
|
12
13
|
gemfile.gem 'opal-rspec', git: github['opal/opal-rspec'], branch: :master
|
13
14
|
gemfile.gem 'opal-sprockets', git: github['opal/opal-sprockets'], branch: :master
|
14
15
|
end,
|
15
|
-
|
16
|
-
|
16
|
+
|
17
|
+
opal_1_0: -> gemfile do
|
18
|
+
gemfile.gem 'opal', '~> 1.0.0'
|
17
19
|
gemfile.gem 'opal-rspec', git: github['opal/opal-rspec'], branch: :master
|
20
|
+
gemfile.gem 'opal-jquery', git: github['opal/opal-jquery'], branch: :master
|
18
21
|
gemfile.gem 'opal-sprockets'
|
19
22
|
end,
|
20
|
-
}.each do |opal_version, gem_opal|
|
21
|
-
appraise "rails-4-1-#{opal_version}" do
|
22
|
-
gem "rails", "~> 4.1.16"
|
23
|
-
gem "sprockets-rails", "< 3"
|
24
|
-
gem_opal[self]
|
25
|
-
end if current_ruby < ruby_2_4_0
|
26
|
-
|
27
|
-
appraise "rails-4-2-#{opal_version}" do
|
28
|
-
gem "rails", "~> 4.2.7"
|
29
|
-
gem_opal[self]
|
30
|
-
end
|
31
23
|
|
32
|
-
|
33
|
-
|
34
|
-
gem_opal[self]
|
35
|
-
end if current_ruby >= ruby_2_2_2
|
36
|
-
|
37
|
-
appraise "rails-5-1-#{opal_version}" do
|
24
|
+
}.each do |opal_version, gem_opal|
|
25
|
+
appraise "rails_5_1_#{opal_version}" do
|
38
26
|
gem "rails", "~> 5.1.0"
|
39
27
|
gem_opal[self]
|
40
28
|
end if current_ruby >= ruby_2_2_2
|
41
29
|
|
42
|
-
appraise "
|
30
|
+
appraise "rails_5_2_#{opal_version}" do
|
43
31
|
gem "rails", "~> 5.2.0"
|
44
32
|
gem_opal[self]
|
45
33
|
end if current_ruby >= ruby_2_2_2
|
data/CHANGELOG.md
CHANGED
@@ -21,6 +21,18 @@ Whitespace conventions:
|
|
21
21
|
|
22
22
|
|
23
23
|
|
24
|
+
## [1.0.0](https://github.com/opal/opal-rails/compare/v0.9.5...v1.0.0) - 2019-07-03
|
25
|
+
|
26
|
+
### Added
|
27
|
+
|
28
|
+
- Added support for Opal v1.0.0
|
29
|
+
|
30
|
+
### Removed
|
31
|
+
|
32
|
+
- Removed support for Opal v0.11
|
33
|
+
- Removed support for Rails v4.2 and v5.0
|
34
|
+
|
35
|
+
|
24
36
|
## [0.9.5](https://github.com/opal/opal-rails/compare/v0.9.4...v0.9.5) - 2018-09-07
|
25
37
|
|
26
38
|
|
data/Gemfile
CHANGED
@@ -1,21 +1,11 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
gemspec
|
3
|
-
|
4
|
-
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2')
|
5
|
-
gem 'rails', '< 5'
|
6
|
-
end
|
3
|
+
github = -> repo { "https://github.com/#{repo}.git" }
|
7
4
|
|
8
5
|
if ENV['OPAL_VERSION'] == 'master'
|
9
|
-
gem 'opal',
|
10
|
-
gem 'opal-rspec',
|
11
|
-
gem 'opal-sprockets',
|
6
|
+
gem 'opal', git: github['opal/opal'], branch: :master
|
7
|
+
gem 'opal-rspec', git: github['opal/opal-rspec'], branch: :master
|
8
|
+
gem 'opal-sprockets', git: github['opal/opal-sprockets'], branch: :master
|
12
9
|
end
|
13
10
|
|
14
|
-
|
15
|
-
#
|
16
|
-
# building capybara-webkit with homebrew:
|
17
|
-
#
|
18
|
-
# brew install qt@5.5
|
19
|
-
# export PATH=(brew --prefix qt@5.5)/bin:"$PATH"
|
20
|
-
# bundle install
|
21
|
-
#
|
11
|
+
gem 'c_lexer'
|
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 bindings for [Opal Ruby](http://opalrb.
|
9
|
+
_Rails bindings for [Opal Ruby](http://opalrb.com) engine. ([Changelog](https://github.com/opal/opal-rails/blob/master/CHANGELOG.md))_
|
10
10
|
|
11
11
|
|
12
12
|
|
data/app/helpers/opal_helper.rb
CHANGED
@@ -13,13 +13,13 @@ module OpalHelper
|
|
13
13
|
options = sources.extract_options!
|
14
14
|
skip_loader = options.delete(:skip_opal_loader)
|
15
15
|
skip_onload = options.delete(:force_opal_loader_tag)
|
16
|
-
debug = options["debug"] != false && request_debug_assets? # taken from spro
|
17
16
|
|
18
17
|
return super(*sources, options) if skip_loader
|
19
18
|
|
20
19
|
script_tags = "".html_safe
|
21
20
|
sources.each do |source|
|
22
|
-
|
21
|
+
load_asset_code = Opal::Sprockets.load_asset(source)
|
22
|
+
loading_code = "if(Opal.modules[#{source.to_json}]){#{load_asset_code}}"
|
23
23
|
|
24
24
|
if skip_onload
|
25
25
|
script_tags << super(source, options)
|
@@ -2,9 +2,11 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
+
gem "c_lexer"
|
5
6
|
gem "rails", "~> 5.1.0"
|
6
|
-
gem "opal", "~> 0.
|
7
|
+
gem "opal", "~> 1.0.0"
|
7
8
|
gem "opal-rspec", git: "https://github.com/opal/opal-rspec.git", branch: :master
|
9
|
+
gem "opal-jquery", git: "https://github.com/opal/opal-jquery.git", branch: :master
|
8
10
|
gem "opal-sprockets"
|
9
11
|
|
10
12
|
gemspec path: "../"
|
@@ -2,9 +2,11 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
+
gem "c_lexer"
|
5
6
|
gem "rails", "~> 5.2.0"
|
6
|
-
gem "opal", "~> 0.
|
7
|
+
gem "opal", "~> 1.0.0"
|
7
8
|
gem "opal-rspec", git: "https://github.com/opal/opal-rspec.git", branch: :master
|
9
|
+
gem "opal-jquery", git: "https://github.com/opal/opal-jquery.git", branch: :master
|
8
10
|
gem "opal-sprockets"
|
9
11
|
|
10
12
|
gemspec path: "../"
|
data/lib/opal/rails/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Place all the behaviors and hooks related to the matching controller here.
|
2
2
|
# All this logic will automatically be available in application.js.
|
3
|
-
# You can use Opal in this file: http://opalrb.
|
3
|
+
# You can use Opal in this file: http://opalrb.com/
|
4
4
|
#
|
5
5
|
#
|
6
6
|
# Here's an example view class for your controller:
|
data/opal-rails.gemspec
CHANGED
@@ -11,10 +11,6 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.summary = %q{Rails bindings for opal JS engine}
|
12
12
|
s.description = %q{Rails bindings for opal JS engine}
|
13
13
|
s.license = 'MIT-LICENSE'
|
14
|
-
# s.post_install_message = [
|
15
|
-
# "BEWARE: Spec support is being extracted from `opal-rails` into `opal-rspec-rails`",
|
16
|
-
# " Please use `opal-rspec-rails` or the 0-8-stable branch."
|
17
|
-
# ].join("\n")
|
18
14
|
|
19
15
|
s.rubyforge_project = 'opal-rails'
|
20
16
|
|
@@ -23,21 +19,21 @@ Gem::Specification.new do |s|
|
|
23
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
24
20
|
s.require_paths = ['lib']
|
25
21
|
|
26
|
-
required_ruby_version = '>= 2.
|
22
|
+
required_ruby_version = '>= 2.3'
|
27
23
|
|
28
|
-
s.add_dependency 'rails', '>=
|
24
|
+
s.add_dependency 'rails', '>= 5.1', '< 6.0'
|
29
25
|
s.add_dependency 'sprockets-rails', '>= 2.3.3', '< 4.0'
|
30
26
|
s.add_dependency 'jquery-rails'
|
31
27
|
|
32
|
-
s.add_dependency 'opal', '
|
33
|
-
s.add_dependency 'opal-jquery', '~> 0.4.
|
34
|
-
s.add_dependency 'opal-sprockets', '~> 0.4.
|
28
|
+
s.add_dependency 'opal', '~> 1.0.0'
|
29
|
+
s.add_dependency 'opal-jquery', '~> 0.4.4'
|
30
|
+
s.add_dependency 'opal-sprockets', '~> 0.4.5'
|
35
31
|
s.add_dependency 'opal-activesupport', '>= 0.0.5'
|
36
32
|
|
37
33
|
s.add_development_dependency 'execjs'
|
38
34
|
s.add_development_dependency 'launchy'
|
39
|
-
s.add_development_dependency 'capybara', '~>
|
40
|
-
s.add_development_dependency '
|
35
|
+
s.add_development_dependency 'capybara', '~> 3.25'
|
36
|
+
s.add_development_dependency 'apparition'
|
41
37
|
s.add_development_dependency 'rspec-rails'
|
42
38
|
s.add_development_dependency 'appraisal', '~> 2.1'
|
43
39
|
s.add_development_dependency 'sqlite3'
|
data/spec/integration/js_spec.rb
CHANGED
data/spec/support/capybara.rb
CHANGED
@@ -1,16 +1,62 @@
|
|
1
1
|
require 'capybara/rspec'
|
2
|
+
require 'capybara/apparition'
|
2
3
|
|
3
|
-
|
4
|
+
Capybara.javascript_driver = :apparition
|
4
5
|
|
6
|
+
Capybara.register_server :puma do |app, port, host|
|
7
|
+
require 'rack/handler/puma'
|
8
|
+
Rack::Handler::Puma.run(app, Host: host, Port: port, Threads: "0:4", Silent: true)
|
9
|
+
end
|
5
10
|
|
6
|
-
|
11
|
+
module OpalHelper
|
12
|
+
def compile_opal(code)
|
13
|
+
Opal.compile(code, requireable: false)
|
14
|
+
end
|
7
15
|
|
8
|
-
|
9
|
-
|
10
|
-
end
|
16
|
+
def execute_opal(code)
|
17
|
+
execute_script compile_opal(code)
|
18
|
+
end
|
19
|
+
|
20
|
+
def evaluate_opal(code)
|
21
|
+
# Remove the initial comment that prevents evaluate from worning
|
22
|
+
evaluate_script compile_opal(code).strip.lines[1..-1].join("\n")
|
23
|
+
end
|
24
|
+
|
25
|
+
def expect_opal(code)
|
26
|
+
expect(evaluate_opal(code))
|
27
|
+
end
|
28
|
+
|
29
|
+
def expect_script(code)
|
30
|
+
expect(evaluate_script(code))
|
31
|
+
end
|
32
|
+
|
33
|
+
def opal_nil
|
34
|
+
@opal_nil ||= evaluate_opal 'nil'
|
35
|
+
end
|
11
36
|
|
12
|
-
|
13
|
-
|
37
|
+
def wait_for_dom_ready(expire_in: Capybara.default_max_wait_time)
|
38
|
+
timer = Capybara::Helpers.timer(expire_in: expire_in)
|
39
|
+
|
40
|
+
until evaluate_script('document.readyState') == 'complete'
|
41
|
+
raise "reached max time (#{expire_in}s)" if timer.expired?
|
42
|
+
sleep 0.01
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
def wait_for_opal_ready(expire_in: Capybara.default_max_wait_time)
|
47
|
+
timer = Capybara::Helpers.timer(expire_in: expire_in)
|
48
|
+
|
49
|
+
until evaluate_script('!!(window.Opal && window.Opal.gvars.ready)')
|
50
|
+
raise "reached max time (#{expire_in}s)" if timer.expired?
|
51
|
+
sleep 0.01
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def reset_dom
|
56
|
+
visit '/'
|
57
|
+
end
|
14
58
|
end
|
15
59
|
|
16
|
-
|
60
|
+
RSpec.configure do |config|
|
61
|
+
config.include OpalHelper
|
62
|
+
end
|
data/test_apps/rails4.rb
CHANGED
@@ -28,6 +28,10 @@ module RailsApp
|
|
28
28
|
routes.append do
|
29
29
|
get '/' => 'application#index'
|
30
30
|
get '/application/with_assignments' => 'application#with_assignments'
|
31
|
+
|
32
|
+
# just to reduce noise
|
33
|
+
get '/apple-touch-icon-precomposed.png' => -> { [404,{},[]] }
|
34
|
+
get '/favicon.ico' => -> { [404,{},[]] }
|
31
35
|
end
|
32
36
|
|
33
37
|
config.assets.paths << File.join(__dir__, 'assets/javascripts')
|
data/test_apps/rails5.rb
CHANGED
@@ -31,6 +31,10 @@ module RailsApp
|
|
31
31
|
routes.append do
|
32
32
|
get '/' => 'application#index'
|
33
33
|
get '/application/with_assignments' => 'application#with_assignments'
|
34
|
+
|
35
|
+
# just to reduce noise
|
36
|
+
get '/apple-touch-icon-precomposed.png' => -> { [404,{},[]] }
|
37
|
+
get '/favicon.ico' => -> { [404,{},[]] }
|
34
38
|
end
|
35
39
|
|
36
40
|
config.assets.paths << File.join(__dir__, 'assets/javascripts')
|
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.
|
4
|
+
version: 1.0.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elia Schito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '6.0'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '5.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '6.0'
|
@@ -68,50 +68,44 @@ dependencies:
|
|
68
68
|
name: opal
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
|
-
- - "
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: 0.11.0
|
74
|
-
- - "<"
|
71
|
+
- - "~>"
|
75
72
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
73
|
+
version: 1.0.0
|
77
74
|
type: :runtime
|
78
75
|
prerelease: false
|
79
76
|
version_requirements: !ruby/object:Gem::Requirement
|
80
77
|
requirements:
|
81
|
-
- - "
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: 0.11.0
|
84
|
-
- - "<"
|
78
|
+
- - "~>"
|
85
79
|
- !ruby/object:Gem::Version
|
86
|
-
version:
|
80
|
+
version: 1.0.0
|
87
81
|
- !ruby/object:Gem::Dependency
|
88
82
|
name: opal-jquery
|
89
83
|
requirement: !ruby/object:Gem::Requirement
|
90
84
|
requirements:
|
91
85
|
- - "~>"
|
92
86
|
- !ruby/object:Gem::Version
|
93
|
-
version: 0.4.
|
87
|
+
version: 0.4.4
|
94
88
|
type: :runtime
|
95
89
|
prerelease: false
|
96
90
|
version_requirements: !ruby/object:Gem::Requirement
|
97
91
|
requirements:
|
98
92
|
- - "~>"
|
99
93
|
- !ruby/object:Gem::Version
|
100
|
-
version: 0.4.
|
94
|
+
version: 0.4.4
|
101
95
|
- !ruby/object:Gem::Dependency
|
102
96
|
name: opal-sprockets
|
103
97
|
requirement: !ruby/object:Gem::Requirement
|
104
98
|
requirements:
|
105
99
|
- - "~>"
|
106
100
|
- !ruby/object:Gem::Version
|
107
|
-
version: 0.4.
|
101
|
+
version: 0.4.5
|
108
102
|
type: :runtime
|
109
103
|
prerelease: false
|
110
104
|
version_requirements: !ruby/object:Gem::Requirement
|
111
105
|
requirements:
|
112
106
|
- - "~>"
|
113
107
|
- !ruby/object:Gem::Version
|
114
|
-
version: 0.4.
|
108
|
+
version: 0.4.5
|
115
109
|
- !ruby/object:Gem::Dependency
|
116
110
|
name: opal-activesupport
|
117
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,28 +154,28 @@ dependencies:
|
|
160
154
|
requirements:
|
161
155
|
- - "~>"
|
162
156
|
- !ruby/object:Gem::Version
|
163
|
-
version: '
|
157
|
+
version: '3.25'
|
164
158
|
type: :development
|
165
159
|
prerelease: false
|
166
160
|
version_requirements: !ruby/object:Gem::Requirement
|
167
161
|
requirements:
|
168
162
|
- - "~>"
|
169
163
|
- !ruby/object:Gem::Version
|
170
|
-
version: '
|
164
|
+
version: '3.25'
|
171
165
|
- !ruby/object:Gem::Dependency
|
172
|
-
name:
|
166
|
+
name: apparition
|
173
167
|
requirement: !ruby/object:Gem::Requirement
|
174
168
|
requirements:
|
175
|
-
- - "
|
169
|
+
- - ">="
|
176
170
|
- !ruby/object:Gem::Version
|
177
|
-
version:
|
171
|
+
version: '0'
|
178
172
|
type: :development
|
179
173
|
prerelease: false
|
180
174
|
version_requirements: !ruby/object:Gem::Requirement
|
181
175
|
requirements:
|
182
|
-
- - "
|
176
|
+
- - ">="
|
183
177
|
- !ruby/object:Gem::Version
|
184
|
-
version:
|
178
|
+
version: '0'
|
185
179
|
- !ruby/object:Gem::Dependency
|
186
180
|
name: rspec-rails
|
187
181
|
requirement: !ruby/object:Gem::Requirement
|
@@ -256,13 +250,9 @@ files:
|
|
256
250
|
- Rakefile
|
257
251
|
- app/helpers/opal_helper.rb
|
258
252
|
- config.ru
|
259
|
-
- gemfiles/
|
260
|
-
- gemfiles/rails_4_2_opal_master.gemfile
|
261
|
-
- gemfiles/rails_5_0_opal_0_11.gemfile
|
262
|
-
- gemfiles/rails_5_0_opal_master.gemfile
|
263
|
-
- gemfiles/rails_5_1_opal_0_11.gemfile
|
253
|
+
- gemfiles/rails_5_1_opal_1_0.gemfile
|
264
254
|
- gemfiles/rails_5_1_opal_master.gemfile
|
265
|
-
- gemfiles/
|
255
|
+
- gemfiles/rails_5_2_opal_1_0.gemfile
|
266
256
|
- gemfiles/rails_5_2_opal_master.gemfile
|
267
257
|
- lib/assets/javascripts/opal_ujs.js.rb
|
268
258
|
- lib/opal-rails.rb
|
@@ -308,12 +298,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
308
298
|
version: '0'
|
309
299
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
310
300
|
requirements:
|
311
|
-
- - "
|
301
|
+
- - ">"
|
312
302
|
- !ruby/object:Gem::Version
|
313
|
-
version:
|
303
|
+
version: 1.3.1
|
314
304
|
requirements: []
|
315
|
-
|
316
|
-
rubygems_version: 2.7.7
|
305
|
+
rubygems_version: 3.0.3
|
317
306
|
signing_key:
|
318
307
|
specification_version: 4
|
319
308
|
summary: Rails bindings for opal JS engine
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "rails", "~> 4.2.7"
|
6
|
-
gem "opal", git: "https://github.com/opal/opal.git", branch: :master
|
7
|
-
gem "opal-rspec", git: "https://github.com/opal/opal-rspec.git", branch: :master
|
8
|
-
gem "opal-sprockets", git: "https://github.com/opal/opal-sprockets.git", branch: :master
|
9
|
-
|
10
|
-
gemspec path: "../"
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "rails", "~> 5.0.0"
|
6
|
-
gem "opal", git: "https://github.com/opal/opal.git", branch: :master
|
7
|
-
gem "opal-rspec", git: "https://github.com/opal/opal-rspec.git", branch: :master
|
8
|
-
gem "opal-sprockets", git: "https://github.com/opal/opal-sprockets.git", branch: :master
|
9
|
-
|
10
|
-
gemspec path: "../"
|