zepto-for-rails 0.2.3 → 0.2.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
  SHA1:
3
- metadata.gz: af51547d004fcd24782cd272c5bc42cde126a69b
4
- data.tar.gz: 88c2fa4e903e973e45c94935c5c3986f287a52c6
3
+ metadata.gz: 8a807a3f806f060d9802f86654d6e32b65aa7a78
4
+ data.tar.gz: 0660b38788ed356ea2471ada5edc6f2508475c6c
5
5
  SHA512:
6
- metadata.gz: 758a8a002140966cf4cabd0c6235303575b774d9f52e7c59edf18ea4cadf0a7a701e853b7e3d3dd010280aaaf5fe49b75d17f6fb1fcfb81c3ac1769ee0507bf4
7
- data.tar.gz: d5d89e01349f4bbe43f85ac70d983b570d2de18e5aa41b6666aa6bee52073f2f95bff38010734f561035c329531f51bc1387f18e6083f2b27ca04381db1200ec
6
+ metadata.gz: 31709f426445e6ea353e77c04fa4f2495186ac4dd6bfb1eeaf6a11fe2a1b8f9801e386270dce949b099e15e1c3138be3dd7c4e7aa973985931ab586bda35f100
7
+ data.tar.gz: 914acd8cf0a8d116a59d3a39267483b533907f63a882f0484b8306f0619c4135704bb2c9239c30e769ab6fdaaae70a285db413274cd39f13423b1d4cdcde2081
data/Gemfile.lock CHANGED
@@ -1,91 +1,112 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zepto-rails (1.0.0)
5
- rails (>= 3.2.0)
4
+ zepto-for-rails (0.2.4)
5
+ rails (>= 3.2)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- actionmailer (3.2.3)
11
- actionpack (= 3.2.3)
12
- mail (~> 2.4.4)
13
- actionpack (3.2.3)
14
- activemodel (= 3.2.3)
15
- activesupport (= 3.2.3)
16
- builder (~> 3.0.0)
10
+ actionmailer (4.2.5)
11
+ actionpack (= 4.2.5)
12
+ actionview (= 4.2.5)
13
+ activejob (= 4.2.5)
14
+ mail (~> 2.5, >= 2.5.4)
15
+ rails-dom-testing (~> 1.0, >= 1.0.5)
16
+ actionpack (4.2.5)
17
+ actionview (= 4.2.5)
18
+ activesupport (= 4.2.5)
19
+ rack (~> 1.6)
20
+ rack-test (~> 0.6.2)
21
+ rails-dom-testing (~> 1.0, >= 1.0.5)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
+ actionview (4.2.5)
24
+ activesupport (= 4.2.5)
25
+ builder (~> 3.1)
17
26
  erubis (~> 2.7.0)
18
- journey (~> 1.0.1)
19
- rack (~> 1.4.0)
20
- rack-cache (~> 1.2)
21
- rack-test (~> 0.6.1)
22
- sprockets (~> 2.1.2)
23
- activemodel (3.2.3)
24
- activesupport (= 3.2.3)
25
- builder (~> 3.0.0)
26
- activerecord (3.2.3)
27
- activemodel (= 3.2.3)
28
- activesupport (= 3.2.3)
29
- arel (~> 3.0.2)
30
- tzinfo (~> 0.3.29)
31
- activeresource (3.2.3)
32
- activemodel (= 3.2.3)
33
- activesupport (= 3.2.3)
34
- activesupport (3.2.3)
35
- i18n (~> 0.6)
36
- multi_json (~> 1.0)
37
- arel (3.0.2)
38
- builder (3.0.0)
27
+ rails-dom-testing (~> 1.0, >= 1.0.5)
28
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
+ activejob (4.2.5)
30
+ activesupport (= 4.2.5)
31
+ globalid (>= 0.3.0)
32
+ activemodel (4.2.5)
33
+ activesupport (= 4.2.5)
34
+ builder (~> 3.1)
35
+ activerecord (4.2.5)
36
+ activemodel (= 4.2.5)
37
+ activesupport (= 4.2.5)
38
+ arel (~> 6.0)
39
+ activesupport (4.2.5)
40
+ i18n (~> 0.7)
41
+ json (~> 1.7, >= 1.7.7)
42
+ minitest (~> 5.1)
43
+ thread_safe (~> 0.3, >= 0.3.4)
44
+ tzinfo (~> 1.1)
45
+ arel (6.0.3)
46
+ builder (3.2.2)
47
+ concurrent-ruby (1.0.0)
39
48
  erubis (2.7.0)
40
- hike (1.2.1)
41
- i18n (0.6.0)
42
- journey (1.0.3)
43
- json (1.6.6)
44
- mail (2.4.4)
45
- i18n (>= 0.4.0)
46
- mime-types (~> 1.16)
47
- treetop (~> 1.4.8)
48
- mime-types (1.18)
49
- multi_json (1.3.2)
50
- polyglot (0.3.3)
51
- rack (1.4.1)
52
- rack-cache (1.2)
53
- rack (>= 0.4)
54
- rack-ssl (1.3.2)
55
- rack
56
- rack-test (0.6.1)
49
+ globalid (0.3.6)
50
+ activesupport (>= 4.1.0)
51
+ i18n (0.7.0)
52
+ json (1.8.3)
53
+ loofah (2.0.3)
54
+ nokogiri (>= 1.5.9)
55
+ mail (2.6.3)
56
+ mime-types (>= 1.16, < 3)
57
+ mime-types (2.99)
58
+ mini_portile2 (2.0.0)
59
+ minitest (5.8.3)
60
+ nokogiri (1.6.7.1)
61
+ mini_portile2 (~> 2.0.0.rc2)
62
+ nokogiri (1.6.7.1-x86-mingw32)
63
+ mini_portile2 (~> 2.0.0.rc2)
64
+ rack (1.6.4)
65
+ rack-test (0.6.3)
57
66
  rack (>= 1.0)
58
- rails (3.2.3)
59
- actionmailer (= 3.2.3)
60
- actionpack (= 3.2.3)
61
- activerecord (= 3.2.3)
62
- activeresource (= 3.2.3)
63
- activesupport (= 3.2.3)
64
- bundler (~> 1.0)
65
- railties (= 3.2.3)
66
- railties (3.2.3)
67
- actionpack (= 3.2.3)
68
- activesupport (= 3.2.3)
69
- rack-ssl (~> 1.3.2)
67
+ rails (4.2.5)
68
+ actionmailer (= 4.2.5)
69
+ actionpack (= 4.2.5)
70
+ actionview (= 4.2.5)
71
+ activejob (= 4.2.5)
72
+ activemodel (= 4.2.5)
73
+ activerecord (= 4.2.5)
74
+ activesupport (= 4.2.5)
75
+ bundler (>= 1.3.0, < 2.0)
76
+ railties (= 4.2.5)
77
+ sprockets-rails
78
+ rails-deprecated_sanitizer (1.0.3)
79
+ activesupport (>= 4.2.0.alpha)
80
+ rails-dom-testing (1.0.7)
81
+ activesupport (>= 4.2.0.beta, < 5.0)
82
+ nokogiri (~> 1.6.0)
83
+ rails-deprecated_sanitizer (>= 1.0.1)
84
+ rails-html-sanitizer (1.0.2)
85
+ loofah (~> 2.0)
86
+ railties (4.2.5)
87
+ actionpack (= 4.2.5)
88
+ activesupport (= 4.2.5)
70
89
  rake (>= 0.8.7)
71
- rdoc (~> 3.4)
72
- thor (~> 0.14.6)
73
- rake (0.9.2.2)
74
- rdoc (3.12)
75
- json (~> 1.4)
76
- sprockets (2.1.3)
77
- hike (~> 1.2)
78
- rack (~> 1.0)
79
- tilt (~> 1.1, != 1.3.0)
80
- thor (0.14.6)
81
- tilt (1.3.3)
82
- treetop (1.4.10)
83
- polyglot
84
- polyglot (>= 0.3.1)
85
- tzinfo (0.3.33)
90
+ thor (>= 0.18.1, < 2.0)
91
+ rake (10.4.2)
92
+ sprockets (3.5.2)
93
+ concurrent-ruby (~> 1.0)
94
+ rack (> 1, < 3)
95
+ sprockets-rails (3.0.0)
96
+ actionpack (>= 4.0)
97
+ activesupport (>= 4.0)
98
+ sprockets (>= 3.0.0)
99
+ thor (0.19.1)
100
+ thread_safe (0.3.5)
101
+ tzinfo (1.2.2)
102
+ thread_safe (~> 0.1)
86
103
 
87
104
  PLATFORMS
88
105
  ruby
106
+ x86-mingw32
89
107
 
90
108
  DEPENDENCIES
91
- zepto-rails!
109
+ zepto-for-rails!
110
+
111
+ BUNDLED WITH
112
+ 1.11.2
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # zepto-for-rails [![Gem Version](https://badge.fury.io/rb/zepto-for-rails.png)](http://badge.fury.io/rb/zepto-for-rails)
2
- Zepto for the Rails asset pipeline. This gem provides Zepto 1.1.5
2
+ Zepto for the Rails asset pipeline. This gem provides Zepto 1.1.6
3
3
 
4
4
  ## Installation
5
5
  Add zepto-for-rails to the Gemfile.
@@ -0,0 +1,8 @@
1
+ module Zepto
2
+ module For
3
+ module Rails
4
+ class Engine < ::Rails::Engine
5
+ end
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ module Zepto
2
+ module For
3
+ module Rails
4
+ VERSION = '0.2.4'
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,2 @@
1
+ require 'zepto/for/rails/engine'
2
+ require 'zepto/for/rails/version'
@@ -1,7 +1,7 @@
1
- /* Zepto v1.1.6 - zepto event ajax form ie - zeptojs.com/license */
1
+ /* Zepto 1.1.6 - zepto event ajax form ie - zeptojs.com/license */
2
2
 
3
3
  var Zepto = (function() {
4
- var undefined, key, $, classList, emptyArray = [], slice = emptyArray.slice, filter = emptyArray.filter,
4
+ var undefined, key, $, classList, emptyArray = [], concat = emptyArray.concat, filter = emptyArray.filter, slice = emptyArray.slice,
5
5
  document = window.document,
6
6
  elementDisplay = {}, classCache = {},
7
7
  cssNumber = { 'column-count': 1, 'columns': 1, 'font-weight': 1, 'line-height': 1,'opacity': 1, 'z-index': 1, 'zoom': 1 },
@@ -114,10 +114,17 @@ var Zepto = (function() {
114
114
  $.map(element.childNodes, function(node){ if (node.nodeType == 1) return node })
115
115
  }
116
116
 
117
+ function Z(dom, selector) {
118
+ var i, len = dom ? dom.length : 0
119
+ for (i = 0; i < len; i++) this[i] = dom[i]
120
+ this.length = len
121
+ this.selector = selector || ''
122
+ }
123
+
117
124
  // `$.zepto.fragment` takes a html string and an optional tag name
118
- // to generate DOM nodes nodes from the given html string.
125
+ // to generate DOM nodes from the given html string.
119
126
  // The generated DOM nodes are returned as an array.
120
- // This function can be overriden in plugins for example to make
127
+ // This function can be overridden in plugins for example to make
121
128
  // it compatible with browsers that don't support the DOM fully.
122
129
  zepto.fragment = function(html, name, properties) {
123
130
  var dom, nodes, container
@@ -150,17 +157,13 @@ var Zepto = (function() {
150
157
 
151
158
  // `$.zepto.Z` swaps out the prototype of the given `dom` array
152
159
  // of nodes with `$.fn` and thus supplying all the Zepto functions
153
- // to the array. Note that `__proto__` is not supported on Internet
154
- // Explorer. This method can be overriden in plugins.
160
+ // to the array. This method can be overridden in plugins.
155
161
  zepto.Z = function(dom, selector) {
156
- dom = dom || []
157
- dom.__proto__ = $.fn
158
- dom.selector = selector || ''
159
- return dom
162
+ return new Z(dom, selector)
160
163
  }
161
164
 
162
165
  // `$.zepto.isZ` should return `true` if the given object is a Zepto
163
- // collection. This method can be overriden in plugins.
166
+ // collection. This method can be overridden in plugins.
164
167
  zepto.isZ = function(object) {
165
168
  return object instanceof zepto.Z
166
169
  }
@@ -168,7 +171,7 @@ var Zepto = (function() {
168
171
  // `$.zepto.init` is Zepto's counterpart to jQuery's `$.fn.init` and
169
172
  // takes a CSS selector and an optional context (and handles various
170
173
  // special cases).
171
- // This method can be overriden in plugins.
174
+ // This method can be overridden in plugins.
172
175
  zepto.init = function(selector, context) {
173
176
  var dom
174
177
  // If nothing given, return an empty Zepto collection
@@ -244,18 +247,18 @@ var Zepto = (function() {
244
247
 
245
248
  // `$.zepto.qsa` is Zepto's CSS selector implementation which
246
249
  // uses `document.querySelectorAll` and optimizes for some special cases, like `#id`.
247
- // This method can be overriden in plugins.
250
+ // This method can be overridden in plugins.
248
251
  zepto.qsa = function(element, selector){
249
252
  var found,
250
253
  maybeID = selector[0] == '#',
251
254
  maybeClass = !maybeID && selector[0] == '.',
252
255
  nameOnly = maybeID || maybeClass ? selector.slice(1) : selector, // Ensure that a 1 char tag name still gets checked
253
256
  isSimple = simpleSelectorRE.test(nameOnly)
254
- return (isDocument(element) && isSimple && maybeID) ?
257
+ return (element.getElementById && isSimple && maybeID) ? // Safari DocumentFragment doesn't have getElementById
255
258
  ( (found = element.getElementById(nameOnly)) ? [found] : [] ) :
256
- (element.nodeType !== 1 && element.nodeType !== 9) ? [] :
259
+ (element.nodeType !== 1 && element.nodeType !== 9 && element.nodeType !== 11) ? [] :
257
260
  slice.call(
258
- isSimple && !maybeID ?
261
+ isSimple && !maybeID && element.getElementsByClassName ? // DocumentFragment doesn't have getElementsByClassName/TagName
259
262
  maybeClass ? element.getElementsByClassName(nameOnly) : // If it's simple, it could be a class
260
263
  element.getElementsByTagName(selector) : // Or a tag
261
264
  element.querySelectorAll(selector) // Or it's not simple, and we need to query all
@@ -341,6 +344,7 @@ var Zepto = (function() {
341
344
  $.uuid = 0
342
345
  $.support = { }
343
346
  $.expr = { }
347
+ $.noop = function() {}
344
348
 
345
349
  $.map = function(elements, callback){
346
350
  var value, values = [], i, key
@@ -384,14 +388,25 @@ var Zepto = (function() {
384
388
  // Define methods that will be available on all
385
389
  // Zepto collections
386
390
  $.fn = {
391
+ constructor: zepto.Z,
392
+ length: 0,
393
+
387
394
  // Because a collection acts like an array
388
395
  // copy over these useful array functions.
389
396
  forEach: emptyArray.forEach,
390
397
  reduce: emptyArray.reduce,
391
398
  push: emptyArray.push,
392
399
  sort: emptyArray.sort,
400
+ splice: emptyArray.splice,
393
401
  indexOf: emptyArray.indexOf,
394
- concat: emptyArray.concat,
402
+ concat: function(){
403
+ var i, value, args = []
404
+ for (i = 0; i < arguments.length; i++) {
405
+ value = arguments[i]
406
+ args[i] = zepto.isZ(value) ? value.toArray() : value
407
+ }
408
+ return concat.apply(zepto.isZ(this) ? this.toArray() : this, args)
409
+ },
395
410
 
396
411
  // `map` and `slice` in the jQuery API work differently
397
412
  // from their array counterparts
@@ -512,7 +527,7 @@ var Zepto = (function() {
512
527
  return filtered(this.map(function(){ return children(this) }), selector)
513
528
  },
514
529
  contents: function() {
515
- return this.map(function() { return slice.call(this.childNodes) })
530
+ return this.map(function() { return this.contentDocument || slice.call(this.childNodes) })
516
531
  },
517
532
  siblings: function(selector){
518
533
  return filtered(this.map(function(i, el){
@@ -601,7 +616,7 @@ var Zepto = (function() {
601
616
  var newText = funcArg(this, text, idx, this.textContent)
602
617
  this.textContent = newText == null ? '' : ''+newText
603
618
  }) :
604
- (0 in this ? this[0].textContent : null)
619
+ (0 in this ? this.pluck('textContent').join("") : null)
605
620
  },
606
621
  attr: function(name, value){
607
622
  var result
@@ -661,6 +676,8 @@ var Zepto = (function() {
661
676
  $this.css(props)
662
677
  })
663
678
  if (!this.length) return null
679
+ if (!$.contains(document.documentElement, this[0]))
680
+ return {top: 0, left: 0}
664
681
  var obj = this[0].getBoundingClientRect()
665
682
  return {
666
683
  left: obj.left + window.pageXOffset,
@@ -871,7 +888,7 @@ var Zepto = (function() {
871
888
  }
872
889
  })
873
890
 
874
- zepto.Z.prototype = $.fn
891
+ zepto.Z.prototype = Z.prototype = $.fn
875
892
 
876
893
  // Export internal API functions in the `$.zepto` namespace
877
894
  zepto.uniq = uniq
@@ -1064,7 +1081,7 @@ window.$ === undefined && (window.$ = Zepto)
1064
1081
 
1065
1082
  if (!isString(selector) && !isFunction(callback) && callback !== false)
1066
1083
  callback = data, data = selector, selector = undefined
1067
- if (isFunction(data) || data === false)
1084
+ if (callback === undefined || data === false)
1068
1085
  callback = data, data = undefined
1069
1086
 
1070
1087
  if (callback === false) callback = returnFalse
@@ -1340,7 +1357,7 @@ window.$ === undefined && (window.$ = Zepto)
1340
1357
  $.ajax = function(options){
1341
1358
  var settings = $.extend({}, options || {}),
1342
1359
  deferred = $.Deferred && $.Deferred(),
1343
- urlAnchor
1360
+ urlAnchor, hashIndex
1344
1361
  for (key in $.ajaxSettings) if (settings[key] === undefined) settings[key] = $.ajaxSettings[key]
1345
1362
 
1346
1363
  ajaxStart(settings)
@@ -1348,11 +1365,13 @@ window.$ === undefined && (window.$ = Zepto)
1348
1365
  if (!settings.crossDomain) {
1349
1366
  urlAnchor = document.createElement('a')
1350
1367
  urlAnchor.href = settings.url
1368
+ // cleans up URL for .href (IE only), see https://github.com/madrobby/zepto/pull/1049
1351
1369
  urlAnchor.href = urlAnchor.href
1352
1370
  settings.crossDomain = (originAnchor.protocol + '//' + originAnchor.host) !== (urlAnchor.protocol + '//' + urlAnchor.host)
1353
1371
  }
1354
1372
 
1355
1373
  if (!settings.url) settings.url = window.location.toString()
1374
+ if ((hashIndex = settings.url.indexOf('#')) > -1) settings.url = settings.url.slice(0, hashIndex)
1356
1375
  serializeData(settings)
1357
1376
 
1358
1377
  var dataType = settings.dataType, hasPlaceholder = /\?.+=\?/.test(settings.url)
@@ -1400,17 +1419,23 @@ window.$ === undefined && (window.$ = Zepto)
1400
1419
  var result, error = false
1401
1420
  if ((xhr.status >= 200 && xhr.status < 300) || xhr.status == 304 || (xhr.status == 0 && protocol == 'file:')) {
1402
1421
  dataType = dataType || mimeToDataType(settings.mimeType || xhr.getResponseHeader('content-type'))
1403
- result = xhr.responseText
1404
1422
 
1405
- try {
1406
- // http://perfectionkills.com/global-eval-what-are-the-options/
1407
- if (dataType == 'script') (1,eval)(result)
1408
- else if (dataType == 'xml') result = xhr.responseXML
1409
- else if (dataType == 'json') result = blankRE.test(result) ? null : $.parseJSON(result)
1410
- } catch (e) { error = e }
1423
+ if (xhr.responseType == 'arraybuffer' || xhr.responseType == 'blob')
1424
+ result = xhr.response
1425
+ else {
1426
+ result = xhr.responseText
1427
+
1428
+ try {
1429
+ // http://perfectionkills.com/global-eval-what-are-the-options/
1430
+ if (dataType == 'script') (1,eval)(result)
1431
+ else if (dataType == 'xml') result = xhr.responseXML
1432
+ else if (dataType == 'json') result = blankRE.test(result) ? null : $.parseJSON(result)
1433
+ } catch (e) { error = e }
1434
+
1435
+ if (error) return ajaxError(error, 'parsererror', xhr, settings, deferred)
1436
+ }
1411
1437
 
1412
- if (error) ajaxError(error, 'parsererror', xhr, settings, deferred)
1413
- else ajaxSuccess(result, xhr, settings, deferred)
1438
+ ajaxSuccess(result, xhr, settings, deferred)
1414
1439
  } else {
1415
1440
  ajaxError(xhr.statusText || null, xhr.status ? 'error' : 'abort', xhr, settings, deferred)
1416
1441
  }
@@ -1551,25 +1576,7 @@ window.$ === undefined && (window.$ = Zepto)
1551
1576
 
1552
1577
  })(Zepto)
1553
1578
 
1554
- ;(function($){
1555
- // __proto__ doesn't exist on IE<11, so redefine
1556
- // the Z function to use object extension instead
1557
- if (!('__proto__' in {})) {
1558
- $.extend($.zepto, {
1559
- Z: function(dom, selector){
1560
- dom = dom || []
1561
- $.extend(dom, $.fn)
1562
- dom.selector = selector || ''
1563
- dom.__Z = true
1564
- return dom
1565
- },
1566
- // this is a kludge but works
1567
- isZ: function(object){
1568
- return $.type(object) === 'array' && '__Z' in object
1569
- }
1570
- })
1571
- }
1572
-
1579
+ ;(function(){
1573
1580
  // getComputedStyle shouldn't freak out when called
1574
1581
  // without a valid element as argument
1575
1582
  try {
@@ -1584,4 +1591,4 @@ window.$ === undefined && (window.$ = Zepto)
1584
1591
  }
1585
1592
  }
1586
1593
  }
1587
- })(Zepto)
1594
+ })()
@@ -1,12 +1,12 @@
1
1
  $:.push File.expand_path('../lib', __FILE__)
2
2
 
3
3
  # Maintain your gem's version:
4
- require 'zepto/rails/version'
4
+ require 'zepto/for/rails/version'
5
5
 
6
6
  # Describe your gem and declare its dependencies:
7
7
  Gem::Specification.new do |s|
8
8
  s.name = 'zepto-for-rails'
9
- s.version = Zepto::Rails::VERSION
9
+ s.version = Zepto::For::Rails::VERSION
10
10
  s.authors = ['Stefan Vermaas']
11
11
  s.email = ['stefanvermaas1991@gmail.com']
12
12
  s.homepage = 'https://github.com/stefanvermaas/zepto-for-rails'
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
  s.description = 'Provides a the zepto.js for the rails asset pipeline'
15
15
  s.licenses = ['MIT']
16
16
 
17
- s.add_runtime_dependency 'rails', '~> 3.1'
17
+ s.add_runtime_dependency 'rails', '>= 3.2'
18
18
 
19
19
  s.files = `git ls-files`.split("\n")
20
20
  s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zepto-for-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Vermaas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-22 00:00:00.000000000 Z
11
+ date: 2016-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.1'
19
+ version: '3.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '3.1'
26
+ version: '3.2'
27
27
  description: Provides a the zepto.js for the rails asset pipeline
28
28
  email:
29
29
  - stefanvermaas1991@gmail.com
@@ -36,10 +36,9 @@ files:
36
36
  - Gemfile.lock
37
37
  - README.md
38
38
  - Rakefile
39
- - lib/zepto-rails.rb
40
- - lib/zepto/rails.rb
41
- - lib/zepto/rails/engine.rb
42
- - lib/zepto/rails/version.rb
39
+ - lib/zepto-for-rails.rb
40
+ - lib/zepto/for/rails/engine.rb
41
+ - lib/zepto/for/rails/version.rb
43
42
  - vendor/assets/javascripts/zepto.js
44
43
  - zepto-for-rails.gemspec
45
44
  homepage: https://github.com/stefanvermaas/zepto-for-rails
@@ -62,9 +61,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
61
  version: '0'
63
62
  requirements: []
64
63
  rubyforge_project:
65
- rubygems_version: 2.2.2
64
+ rubygems_version: 2.4.5.1
66
65
  signing_key:
67
66
  specification_version: 4
68
67
  summary: Zepto.js for the rails asset pipeline
69
68
  test_files: []
70
- has_rdoc:
@@ -1,6 +0,0 @@
1
- module Zepto
2
- module Rails
3
- class Engine < ::Rails::Engine
4
- end
5
- end
6
- end
@@ -1,5 +0,0 @@
1
- module Zepto
2
- module Rails
3
- VERSION = '0.2.3'
4
- end
5
- end
data/lib/zepto/rails.rb DELETED
@@ -1,2 +0,0 @@
1
- require 'zepto/rails/engine'
2
- require 'zepto/rails/version'
data/lib/zepto-rails.rb DELETED
@@ -1 +0,0 @@
1
- require 'zepto/rails'