eita-jrails 0.9.5 → 0.9.6

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: 3605a6a9119aab7db3a1458e9d409babe62fc1bb
4
- data.tar.gz: 598e970e6ac6015ee2db6310f87f2fd3c5adc089
3
+ metadata.gz: f9f7f05e575ba76b4effaffe4e9f2d762a51f030
4
+ data.tar.gz: 232fde666960f5cf5a18c7fd2029f61aa41552a7
5
5
  SHA512:
6
- metadata.gz: b9214d9190e44e0e608aeb938e3d8e18e69b58423fd4d4770999c9ee31e3c1f4f8be0cb348ae921ad8c87c6873a0888651a6f29aa7db584866ab9ba3f2955535
7
- data.tar.gz: e6948925f01566cf2f8d62258208f48ded315172f23f1853e1747aca81aafeca238a57c1e8b7e118b4533c865174481aca7e919dc0135211cddc65e821abcc59
6
+ metadata.gz: 17ffa69896d7b03f3a305861fe294cedb59fec1ac86fc05e011bf475930ee478fdfcaa90416e9f76df84519e2c6eaea882e19ad6dce3ae00b44c9912a867757d
7
+ data.tar.gz: d678bf82a2a95c5e6f96e4f95e094ebeb65506189e7dd3d8ac0d1ff45e2175b6033829c7deed5fdde34d70718dbe10351943be364660ce62f24317ea06e70c7d
@@ -3,7 +3,7 @@ module ActionView
3
3
 
4
4
  # Converts chained method calls on DOM proxy elements into JavaScript chains
5
5
  # copied from rails 3.0.20
6
- class JavaScriptProxy < ActiveSupport::BasicObject #:nodoc:
6
+ class JavaScriptProxy < ActiveSupport::ProxyObject #:nodoc:
7
7
 
8
8
  def initialize(generator, root = nil)
9
9
  @generator = generator
data/lib/jrails.rb CHANGED
@@ -37,6 +37,10 @@ module JRails
37
37
 
38
38
  end
39
39
 
40
+ # rails pre 4.1 support
41
+ ActiveSupport::ProxyObject = ActiveSupport::BasicObject unless defined? ActiveSupport::ProxyObject
42
+
40
43
  require 'jrails/engine'
41
44
  require 'jrails/selector_assertions' if Rails.env.test?
42
45
 
46
+
@@ -1,5 +1,9 @@
1
1
  require 'active_support/core_ext/module/aliasing'
2
- require 'action_controller/vendor/html-scanner'
2
+ if Rails::VERSION::STRING < "4.1.0"
3
+ require 'action_controller/vendor/html-scanner'
4
+ else
5
+ require 'action_view/vendor/html-scanner'
6
+ end
3
7
  require 'action_dispatch/testing/assertions'
4
8
  require 'action_dispatch/testing/assertions/selector'
5
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eita-jrails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Eisenberger
@@ -17,9 +17,6 @@ dependencies:
17
17
  name: activesupport
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  requirements:
20
- - - "~>"
21
- - !ruby/object:Gem::Version
22
- version: '3.2'
23
20
  - - ">="
24
21
  - !ruby/object:Gem::Version
25
22
  version: 3.0.0
@@ -27,9 +24,6 @@ dependencies:
27
24
  prerelease: false
28
25
  version_requirements: !ruby/object:Gem::Requirement
29
26
  requirements:
30
- - - "~>"
31
- - !ruby/object:Gem::Version
32
- version: '3.2'
33
27
  - - ">="
34
28
  - !ruby/object:Gem::Version
35
29
  version: 3.0.0
@@ -37,9 +31,6 @@ dependencies:
37
31
  name: actionpack
38
32
  requirement: !ruby/object:Gem::Requirement
39
33
  requirements:
40
- - - "~>"
41
- - !ruby/object:Gem::Version
42
- version: '3.2'
43
34
  - - ">="
44
35
  - !ruby/object:Gem::Version
45
36
  version: 3.1.0
@@ -47,9 +38,6 @@ dependencies:
47
38
  prerelease: false
48
39
  version_requirements: !ruby/object:Gem::Requirement
49
40
  requirements:
50
- - - "~>"
51
- - !ruby/object:Gem::Version
52
- version: '3.2'
53
41
  - - ">="
54
42
  - !ruby/object:Gem::Version
55
43
  version: 3.1.0
@@ -123,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
111
  version: '0'
124
112
  requirements: []
125
113
  rubyforge_project:
126
- rubygems_version: 2.4.5
114
+ rubygems_version: 2.4.6
127
115
  signing_key:
128
116
  specification_version: 4
129
117
  summary: RJS and JqueryHelper/JqueryUiHelper with the same API from prototype-rails