twine-rails 1.2.0 → 1.2.1

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: 75172b52a36ebd2de8b177f65b1733c0433eb5e2
4
- data.tar.gz: 41c83aac3cb17eed504cb352eab82db8f4babbb5
3
+ metadata.gz: 9a1f8a165f50cdc666899675823de067c31981e5
4
+ data.tar.gz: 14a2d531c688fed6badb7144caee3ce4e54576b6
5
5
  SHA512:
6
- metadata.gz: 65b2216340071a68ea54fa4bb2e5d5c7e716de7c56655c19428aa2e21e822b0ed56d73558bfb89aa28777c071a453aabe8cd948caba16e8948f2e4a0b7676e2f
7
- data.tar.gz: da8b5083d1f4120862638df28199853f2ee4a92b8c8713766c001d98abbb894a3c89ff004921919f41ec767b1548296ab938b9669eeb2e3223770fe1f7cc2540
6
+ metadata.gz: 50f4bcd70db07b862872902aa7952b8e6918cf613cd9c316dd77914a8cce9c4b6daaa03aa6fd3636b1f4441e3bede39ecfe0dfd4307537e94b5caf577459b2fc
7
+ data.tar.gz: 067ef8d649ec0933d121ec73a4b20880e8cc259a7f0e8d7ecbbb3ecaaa61de876b675d5c965c26208cbc5e06efde63512e3638be774aaaa90e21561a0ca4f926
@@ -1,11 +1,15 @@
1
1
  ((root, factory) ->
2
2
  if typeof root.define == 'function' && root.define.amd
3
- root.define([], factory)
3
+ root.define(['jquery'], factory)
4
4
  else if typeof module == 'object' && module.exports
5
- module.exports = factory()
5
+ jQuery = if typeof window != 'undefined'
6
+ then require('jquery')
7
+ else require('jquery')(root)
8
+
9
+ module.exports = factory(jQuery)
6
10
  else
7
- root.Twine = factory()
8
- )(this, ->
11
+ root.Twine = factory(root.jQuery)
12
+ )(this, (jQuery) ->
9
13
  Twine = {}
10
14
  Twine.shouldDiscardEvent = {}
11
15
 
@@ -1,3 +1,3 @@
1
1
  module TwineRails
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twine-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Li
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-02-15 00:00:00.000000000 Z
13
+ date: 2018-02-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: coffee-rails
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: '0'
101
101
  requirements: []
102
102
  rubyforge_project:
103
- rubygems_version: 2.5.1
103
+ rubygems_version: 2.6.14
104
104
  signing_key:
105
105
  specification_version: 4
106
106
  summary: Minimalistic two-way bindings