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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25ffa8df8c8e6279e1c8ab38f42b909d83d3084b
4
- data.tar.gz: 32b329e8f1760c637d630aa3b3d3ebcc180ac053
3
+ metadata.gz: 96adc4465b9418b685005f5de7dbdcd90e399070
4
+ data.tar.gz: f439b5a2e40f788d9e7847330cfc6a28a6de7ba6
5
5
  SHA512:
6
- metadata.gz: 93b7a25216be977798ecbf2876c3f90ba7bd77dcba872a67dee41f3371b55925149150b3cc8b77aa19995e223a74e58a443e79b5dc6d31c7b40e4592c5f2c3f2
7
- data.tar.gz: 510e1be6bef5a70a0f7b9ab4b96a906d8a1740111b31eb90a44e735b1d01f4bb64f511aba388dca84abc3364e757f286ec66fbbe7ed5249ba229cbf0bd7c554d
6
+ metadata.gz: ae94e6c55571998bf7eba402edd0b4766f3595bff84041e62107a3ac6eb83fe52f6a733d17307006abe55e963202ad7bcaaf378aa959121cb8a924fa1770fbb8
7
+ data.tar.gz: 45bec77e78344a544b6508d1b9a1e0c84e5c58fadb839c80893a9a1b0adca9ebe7e1b7e0d2ddd29e75cd987907f9ea827f547131f041cc5caa11de462b05a068
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ gemspec
3
3
 
4
4
  gem 'capybara-webkit'
5
5
  gem 'opal-jquery', github: 'opal/opal-jquery'
6
- gem 'opal', github: 'opal'
6
+ # gem 'opal', github: 'opal'
7
7
  # gem 'opal-jquery', path: '../opal-jquery'
8
8
  # gem 'opal', path: '../opal'
9
9
 
@@ -1,5 +1,5 @@
1
1
  module Opal
2
2
  module Rails
3
- VERSION = '0.7.0.beta2'
3
+ VERSION = '0.7.0'
4
4
  end
5
5
  end
@@ -8,12 +8,14 @@ module Opal
8
8
  source_root __dir__+'/templates'
9
9
 
10
10
  def initialize(*args)
11
- ::Rails::Generators::ModelHelpers.skip_warn = true
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, "#{file_name}_view.js.rb")
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.beta1'
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.beta4'
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.beta2
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: 2014-12-07 00:00:00.000000000 Z
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.beta1
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.beta1
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.beta4
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.beta4
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: 1.3.1
252
+ version: '0'
253
253
  requirements: []
254
254
  rubyforge_project: opal-rails
255
255
  rubygems_version: 2.4.3