opal-rails 0.7.0.beta2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/opal/rails/version.rb +1 -1
- data/lib/rails/generators/opal/assets/assets_generator.rb +4 -2
- data/opal-rails.gemspec +2 -2
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96adc4465b9418b685005f5de7dbdcd90e399070
|
4
|
+
data.tar.gz: f439b5a2e40f788d9e7847330cfc6a28a6de7ba6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae94e6c55571998bf7eba402edd0b4766f3595bff84041e62107a3ac6eb83fe52f6a733d17307006abe55e963202ad7bcaaf378aa959121cb8a924fa1770fbb8
|
7
|
+
data.tar.gz: 45bec77e78344a544b6508d1b9a1e0c84e5c58fadb839c80893a9a1b0adca9ebe7e1b7e0d2ddd29e75cd987907f9ea827f547131f041cc5caa11de462b05a068
|
data/Gemfile
CHANGED
data/lib/opal/rails/version.rb
CHANGED
@@ -8,12 +8,14 @@ module Opal
|
|
8
8
|
source_root __dir__+'/templates'
|
9
9
|
|
10
10
|
def initialize(*args)
|
11
|
-
|
11
|
+
|
12
|
+
module_name = ::Rails::Generators.const_defined?('ModelHelpers') ? 'ModelHelpers' : 'ResourceHelpers'
|
13
|
+
::Rails::Generators.const_get(module_name).skip_warn = true
|
12
14
|
super
|
13
15
|
end
|
14
16
|
|
15
17
|
def copy_opal
|
16
|
-
template 'javascript.js.rb', File.join('app/assets/javascripts', class_path, "#{
|
18
|
+
template 'javascript.js.rb', File.join('app/assets/javascripts', class_path, "#{controller_name}_view.js.rb")
|
17
19
|
end
|
18
20
|
end
|
19
21
|
end
|
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.7.0
|
25
|
+
s.add_dependency 'opal', '~> 0.7.0'
|
26
26
|
s.add_dependency 'opal-jquery', '~> 0.3.0.beta1'
|
27
|
-
s.add_dependency 'opal-rspec', '~> 0.4.0
|
27
|
+
s.add_dependency 'opal-rspec', '~> 0.4.0'
|
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.7.0
|
4
|
+
version: 0.7.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:
|
11
|
+
date: 2015-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.7.0
|
39
|
+
version: 0.7.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.7.0
|
46
|
+
version: 0.7.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: opal-jquery
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 0.4.0
|
67
|
+
version: 0.4.0
|
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.0
|
74
|
+
version: 0.4.0
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: jquery-rails
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -247,9 +247,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
247
247
|
version: '0'
|
248
248
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
249
|
requirements:
|
250
|
-
- - "
|
250
|
+
- - ">="
|
251
251
|
- !ruby/object:Gem::Version
|
252
|
-
version:
|
252
|
+
version: '0'
|
253
253
|
requirements: []
|
254
254
|
rubyforge_project: opal-rails
|
255
255
|
rubygems_version: 2.4.3
|