opal-jquery 0.4.3 → 0.4.4

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
  SHA256:
3
- metadata.gz: 03e8ec06442542e3a02161a4269dccf0b8462ae075ccd62754677edc32bf9be3
4
- data.tar.gz: 97cc7ccc004b2efe8f5aaed1977897fdb77502396bcee847e8ec2f9f49c1e9bf
3
+ metadata.gz: 2ae268c5d44371d0736f9c0bfaa655cf1462f34caf846fd53fcfeff83d3e87ea
4
+ data.tar.gz: b7ccd0e069c1b226e81c43e0228128cbd263b6f9ab2fcbf5300d53002c812ccc
5
5
  SHA512:
6
- metadata.gz: ab2f982ed40e4a462544cc0ebc050858a31ef381f6f57523d249afb032873662512f1b19219266f48efacaecc6335ee89744191fd0f952f93d88a44c61ca2672
7
- data.tar.gz: 23a15f17d4230d9204685c45c1f537470f6fcc9357f8097d0ec6098d58dbd572a87050e53bdfc9ea023c236f5fc4e2d4bf07d323152d21ef4f4c83b7cc7f32f6
6
+ metadata.gz: dfe3c93504703ef1dedef95492b4995ab007c0c08bd09116ceb5183587120a2d6a14d40e80562862ca2d1deb74d1d8e54a53ecfaddb4ad882ed56e9af4b43e0e
7
+ data.tar.gz: 0012c8b44f052b70c0e4b17396022e5baae88555ef381f6395bf23821721aadb7124f5a7535fdfe5ae204f9943c327693a38bfbc5caa28355ab31c021ae195d5
@@ -1,8 +1,14 @@
1
- ## (0.5.0)[https://github.com/opal/opal-jquery/compare/v0.4.3...HEAD] Unreleased
1
+ ## [0.5.0](https://github.com/opal/opal-jquery/compare/v0.4.4...HEAD) Unreleased
2
2
 
3
3
  *see diff*
4
4
 
5
- ## (0.4.3)[https://github.com/opal/opal-jquery/compare/v0.4.2...v0.4.3] 2018-07-24
5
+ ## [0.4.4](https://github.com/opal/opal-jquery/compare/v0.4.3...v0.4.4) 2019-07-01
6
+
7
+ * Use `::Native::Wrapper` where available
8
+
9
+ * Allow Opal 1.0 in gemspec
10
+
11
+ ## [0.4.3](https://github.com/opal/opal-jquery/compare/v0.4.2...v0.4.3) 2018-09-07
6
12
 
7
13
  * Add `Element#==` as an alias of `.is()`
8
14
 
@@ -36,11 +42,11 @@
36
42
 
37
43
  * Allow Opal v0.11.0
38
44
 
39
- ## (0.4.2)[https://github.com/opal/opal-jquery/compare/v0.4.1...v0.4.2] 2016-07-04
45
+ ## [0.4.2](https://github.com/opal/opal-jquery/compare/v0.4.1...v0.4.2) 2016-07-04
40
46
 
41
47
  * Allow Opal v0.10.0
42
48
 
43
- ## (0.4.1)[https://github.com/opal/opal-jquery/compare/v0.4.0...v0.4.1] 2015-11-02
49
+ ## [0.4.1](https://github.com/opal/opal-jquery/compare/v0.4.0...v0.4.1) 2015-11-02
44
50
 
45
51
  * Updated specs to use jQuery 1.8 (that was initially released in 2012)
46
52
 
@@ -50,7 +56,7 @@
50
56
 
51
57
  * `Document.ready?` now works even after the document is loaded (unlike jQuery)
52
58
 
53
- ## (0.4.0)[https://github.com/opal/opal-jquery/compare/v0.3.0...v0.4.0] 2015-07-17
59
+ ## [0.4.0](https://github.com/opal/opal-jquery/compare/v0.3.0...v0.4.0) 2015-07-17
54
60
 
55
61
  * `Element#[]=` now removes the attribute when the assigned value is nil.
56
62
 
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ case (opal_version = ENV['OPAL_VERSION'])
5
5
  when 'master'
6
6
  gem 'opal', github: 'opal/opal', branch: 'master'
7
7
  gem 'opal-sprockets', github: 'opal/opal-sprockets'
8
- gem 'opal-rspec', github: 'opal/opal-rspec', branch: 'elia/opal-master', submodules: true
8
+ gem 'opal-rspec', github: 'opal/opal-rspec', branch: 'master', submodules: true
9
9
  when nil
10
10
  gem 'opal' # let bundler pick a version
11
11
  else
data/README.md CHANGED
@@ -1,8 +1,10 @@
1
- # opal-jquery: jQuery wrapper for Opal
1
+ # Opal jQuery
2
+
3
+ *jQuery wrapper for Opal*
2
4
 
3
5
  [![Build Status](http://img.shields.io/travis/opal/opal-jquery/master.svg)](http://travis-ci.org/opal/opal-jquery)
4
6
 
5
- opal-jquery provides DOM access to opal by wrapping jQuery (or zepto)
7
+ **opal-jquery** provides DOM access to opal by wrapping jQuery (or zepto)
6
8
  and providing a nice ruby syntax for dealing with jQuery instances.
7
9
 
8
10
  <!-- See the Opal website for [documentation](http://opalrb.org/docs/jquery). -->
@@ -1,5 +1,5 @@
1
1
  module Opal
2
2
  module JQuery
3
- VERSION = '0.4.3'
3
+ VERSION = '0.4.4'
4
4
  end
5
5
  end
@@ -6,7 +6,8 @@ module Browser
6
6
  # Generally, you will want to use the top level {::Window} instance, which
7
7
  # wraps `window` from the main page.
8
8
  class Window
9
- include Native
9
+ # In more recent Opal versions Native::Wrapper should be used
10
+ include defined?(Native::Wrapper) ? Native::Wrapper : Native
10
11
 
11
12
  # Returns this {Window} instance wrapped as an {Element}. Useful for
12
13
  # delegating jQuery events, which allows the use of `window` as target.
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
6
6
  s.version = Opal::JQuery::VERSION
7
7
  s.authors = ['Adam Beynon', 'Elia Schito']
8
8
  s.email = 'elia@schito.me'
9
- s.homepage = 'http://opalrb.org'
9
+ s.homepage = 'https://github.com/opal/opal-jquery#readme'
10
10
  s.summary = 'Opal access to jQuery'
11
11
  s.description = 'Opal DOM library for jQuery'
12
12
 
@@ -15,8 +15,8 @@ Gem::Specification.new do |s|
15
15
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
16
  s.require_paths = ['lib']
17
17
 
18
- s.add_runtime_dependency 'opal', '>= 0.10.0', '< 0.12.0'
19
- s.add_development_dependency 'opal-rspec', '~> 0.7.0.rc.2'
18
+ s.add_runtime_dependency 'opal', '>= 0.10.0', '< 1.1'
19
+ s.add_development_dependency 'opal-rspec', '~> 0.7.0'
20
20
  s.add_development_dependency 'opal-sprockets', '~> 0.4.1'
21
21
  s.add_development_dependency 'yard'
22
22
  s.add_development_dependency 'rake'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-jquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Beynon
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-09-07 00:00:00.000000000 Z
12
+ date: 2019-07-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: opal
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: 0.10.0
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: 0.12.0
23
+ version: '1.1'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,21 +30,21 @@ dependencies:
30
30
  version: 0.10.0
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.12.0
33
+ version: '1.1'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: opal-rspec
36
36
  requirement: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.7.0.rc.2
40
+ version: 0.7.0
41
41
  type: :development
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.7.0.rc.2
47
+ version: 0.7.0
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: opal-sprockets
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -156,7 +156,7 @@ files:
156
156
  - spec-opal/spec_helper.rb
157
157
  - spec-opal/zepto/index.html.erb
158
158
  - spec-opal/zepto/zepto.js
159
- homepage: http://opalrb.org
159
+ homepage: https://github.com/opal/opal-jquery#readme
160
160
  licenses: []
161
161
  metadata: {}
162
162
  post_install_message:
@@ -174,8 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  - !ruby/object:Gem::Version
175
175
  version: '0'
176
176
  requirements: []
177
- rubyforge_project:
178
- rubygems_version: 2.7.7
177
+ rubygems_version: 3.0.3
179
178
  signing_key:
180
179
  specification_version: 4
181
180
  summary: Opal access to jQuery