autosize-rails 1.18.0 → 1.18.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: 86f89d5b7043e402c0d4cec470c9ad28b8914ed9
4
- data.tar.gz: c3ae91447c4a3b063735041ce7b1b7098cf8580e
3
+ metadata.gz: 8d75b0e47370e822905a556f8ef790571f42378a
4
+ data.tar.gz: b6c68179bd7dd0377234ccbd8c49229b2910b868
5
5
  SHA512:
6
- metadata.gz: 8e2a474b13428f72a8f0bcac0dd2d0d26cb7dae5ee1e0c9ac6f80de6d56a8f10e529b20e090d474a8b0135b00c2ffb0b6e45a6bd85d8014717e918dd650065c5
7
- data.tar.gz: fb442139c603cb4beb653dbfacf3919b4cf354355d811c1227762d91333ada9971f4ada356d1c9685e9de485d7ed77fa720b3428a48cabd9acaf18da695a7873
6
+ metadata.gz: f9ae2ee9c44334a9c3ec6e823c05eaef22e13c2b80fc8162a76c61b27e32f1cfbaef6ac4710a3cfb066eb59f527df4572c8d1be32d3927ad4bf4a487445324a9
7
+ data.tar.gz: 6ecb5613567af78815c9643ad6aec6e1ea56e65cefe1d99bf80cbf70e10718e44d2f9422bb1a8ca06f8e8561277d120e1c68cfe282636d9c1370222b8b7a5e70
data/Rakefile CHANGED
@@ -1 +1,24 @@
1
1
  require "bundler/gem_tasks"
2
+
3
+ task :update do
4
+ require 'net/http'
5
+ require 'json'
6
+
7
+ tags_url = 'https://api.github.com/repos/jackmoore/autosize/tags'
8
+ tags = JSON.parse(Net::HTTP.get(URI(tags_url)))
9
+ latest_tag = tags.first
10
+
11
+ if latest_tag['name'] > Autosize::Rails::VERSION
12
+ upstream_location = "/jackmoore/autosize/#{latest_tag['commit']['sha']}/jquery.autosize.js"
13
+ file_location = File.join(File.dirname(File.absolute_path(__FILE__)), 'vendor', 'assets', 'javascripts', 'jquery.autosize.js')
14
+ puts "Downloading new version (#{latest_tag['name']}):"
15
+ puts upstream_location
16
+ Net::HTTP.start('raw2.github.com', use_ssl: true) do |http|
17
+ resp = http.get(upstream_location)
18
+ File.open(file_location, 'w') { |file| file.write(resp.body) }
19
+ end
20
+ puts "Please bump the version.rv, commit and open a pull request with the new version. (#{latest_tag['name']})"
21
+ else
22
+ puts "Already up to date. (#{latest_tag['name']})"
23
+ end
24
+ end
@@ -4,21 +4,19 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'autosize/rails/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "autosize-rails"
7
+ spec.name = 'autosize-rails'
8
8
  spec.version = Autosize::Rails::VERSION
9
- spec.authors = ["Caleb Thompson"]
10
- spec.email = ["cjaysson@gmail.com"]
11
- spec.description = "Rails asset pipeline wrapper around jQuery Autosize"
12
- spec.summary = "A plugin to enable automatic height for textarea elements."
13
- spec.homepage = "http://www.jacklmoore.com/autosize/"
14
- spec.license = "MIT"
9
+ spec.authors = ['Caleb Thompson']
10
+ spec.email = ['cjaysson@gmail.com']
11
+ spec.description = 'Rails asset pipeline wrapper around jQuery Autosize: http://www.jacklmoore.com/autosize/'
12
+ spec.summary = 'A plugin to enable automatic height for textarea elements.'
13
+ spec.homepage = 'https://github.com/calebthompson/autosize-rails'
14
+ spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
17
+ spec.require_paths = ['lib']
20
18
 
21
19
  spec.add_dependency 'rails', '>= 3.1'
22
- spec.add_development_dependency "bundler", "~> 1.3"
23
- spec.add_development_dependency "rake"
20
+ spec.add_development_dependency 'bundler', '~> 1.3'
21
+ spec.add_development_dependency 'rake'
24
22
  end
@@ -1,5 +1,5 @@
1
1
  module Autosize
2
2
  module Rails
3
- VERSION = "1.18.0"
3
+ VERSION = "1.18.4"
4
4
  end
5
5
  end
@@ -1,258 +1,263 @@
1
1
  /*!
2
- Autosize v1.18.0 - 2013-10-20
3
- Automatically adjust textarea height based on user input.
4
- (c) 2013 Jack Moore - http://www.jacklmoore.com/autosize
5
- license: http://www.opensource.org/licenses/mit-license.php
2
+ Autosize v1.18.4 - 2014-01-11
3
+ Automatically adjust textarea height based on user input.
4
+ (c) 2014 Jack Moore - http://www.jacklmoore.com/autosize
5
+ license: http://www.opensource.org/licenses/mit-license.php
6
6
  */
7
- (function (factory) {
8
- if (typeof define === 'function' && define.amd) {
9
- // AMD. Register as an anonymous module.
10
- define(['jquery'], factory);
11
- } else {
12
- // Browser globals: jQuery or jQuery-like library, such as Zepto
13
- factory(window.jQuery || window.$);
14
- }
15
- }(function ($) {
16
- var
17
- defaults = {
18
- className: 'autosizejs',
19
- append: '',
20
- callback: false,
21
- resizeDelay: 10
22
- },
23
-
24
- // border:0 is unnecessary, but avoids a bug in FireFox on OSX
25
- copy = '<textarea tabindex="-1" style="position:absolute; top:-999px; left:0; right:auto; bottom:auto; border:0; padding: 0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box; word-wrap:break-word; height:0 !important; min-height:0 !important; overflow:hidden; transition:none; -webkit-transition:none; -moz-transition:none;"/>',
26
-
27
- // line-height is conditionally included because IE7/IE8/old Opera do not return the correct value.
28
- typographyStyles = [
29
- 'fontFamily',
30
- 'fontSize',
31
- 'fontWeight',
32
- 'fontStyle',
33
- 'letterSpacing',
34
- 'textTransform',
35
- 'wordSpacing',
36
- 'textIndent'
37
- ],
38
-
39
- // to keep track which textarea is being mirrored when adjust() is called.
40
- mirrored,
41
-
42
- // the mirror element, which is used to calculate what size the mirrored element should be.
43
- mirror = $(copy).data('autosize', true)[0];
44
-
45
- // test that line-height can be accurately copied.
46
- mirror.style.lineHeight = '99px';
47
- if ($(mirror).css('lineHeight') === '99px') {
48
- typographyStyles.push('lineHeight');
49
- }
50
- mirror.style.lineHeight = '';
51
-
52
- $.fn.autosize = function (options) {
53
- if (!this.length) {
54
- return this;
55
- }
56
-
57
- options = $.extend({}, defaults, options || {});
58
-
59
- if (mirror.parentNode !== document.body) {
60
- $(document.body).append(mirror);
61
- }
62
-
63
- return this.each(function () {
64
- var
65
- ta = this,
66
- $ta = $(ta),
67
- maxHeight,
68
- minHeight,
69
- boxOffset = 0,
70
- callback = $.isFunction(options.callback),
71
- originalStyles = {
72
- height: ta.style.height,
73
- overflow: ta.style.overflow,
74
- overflowY: ta.style.overflowY,
75
- wordWrap: ta.style.wordWrap,
76
- resize: ta.style.resize
77
- },
78
- timeout,
79
- width = $ta.width();
80
-
81
- if ($ta.data('autosize')) {
82
- // exit if autosize has already been applied, or if the textarea is the mirror element.
83
- return;
84
- }
85
- $ta.data('autosize', true);
86
-
87
- if ($ta.css('box-sizing') === 'border-box' || $ta.css('-moz-box-sizing') === 'border-box' || $ta.css('-webkit-box-sizing') === 'border-box'){
88
- boxOffset = $ta.outerHeight() - $ta.height();
89
- }
90
-
91
- // IE8 and lower return 'auto', which parses to NaN, if no min-height is set.
92
- minHeight = Math.max(parseInt($ta.css('minHeight'), 10) - boxOffset || 0, $ta.height());
93
-
94
- $ta.css({
95
- overflow: 'hidden',
96
- overflowY: 'hidden',
97
- wordWrap: 'break-word', // horizontal overflow is hidden, so break-word is necessary for handling words longer than the textarea width
98
- resize: ($ta.css('resize') === 'none' || $ta.css('resize') === 'vertical') ? 'none' : 'horizontal'
99
- });
100
-
101
- // The mirror width must exactly match the textarea width, so using getBoundingClientRect because it doesn't round the sub-pixel value.
102
- function setWidth() {
103
- var style, width;
104
-
105
- if ('getComputedStyle' in window) {
106
- style = window.getComputedStyle(ta, null);
107
- width = ta.getBoundingClientRect().width;
108
-
109
- $.each(['paddingLeft', 'paddingRight', 'borderLeftWidth', 'borderRightWidth'], function(i,val){
110
- width -= parseInt(style[val],10);
111
- });
112
-
113
- mirror.style.width = width + 'px';
114
- }
115
- else {
116
- // window.getComputedStyle, getBoundingClientRect returning a width are unsupported and unneeded in IE8 and lower.
117
- mirror.style.width = Math.max($ta.width(), 0) + 'px';
118
- }
119
- }
120
-
121
- function initMirror() {
122
- var styles = {};
123
-
124
- mirrored = ta;
125
- mirror.className = options.className;
126
- maxHeight = parseInt($ta.css('maxHeight'), 10);
127
-
128
- // mirror is a duplicate textarea located off-screen that
129
- // is automatically updated to contain the same text as the
130
- // original textarea. mirror always has a height of 0.
131
- // This gives a cross-browser supported way getting the actual
132
- // height of the text, through the scrollTop property.
133
- $.each(typographyStyles, function(i,val){
134
- styles[val] = $ta.css(val);
135
- });
136
- $(mirror).css(styles);
137
-
138
- setWidth();
139
-
140
- // Chrome-specific fix:
141
- // When the textarea y-overflow is hidden, Chrome doesn't reflow the text to account for the space
142
- // made available by removing the scrollbar. This workaround triggers the reflow for Chrome.
143
- if (window.chrome) {
144
- var width = ta.style.width;
145
- ta.style.width = '0px';
146
- var ignore = ta.offsetWidth;
147
- ta.style.width = width;
148
- }
149
- }
150
-
151
- // Using mainly bare JS in this function because it is going
152
- // to fire very often while typing, and needs to very efficient.
153
- function adjust() {
154
- var height, original;
155
-
156
- if (mirrored !== ta) {
157
- initMirror();
158
- } else {
159
- setWidth();
160
- }
161
-
162
- mirror.value = ta.value + options.append;
163
- mirror.style.overflowY = ta.style.overflowY;
164
- original = parseInt(ta.style.height,10);
165
-
166
- // Setting scrollTop to zero is needed in IE8 and lower for the next step to be accurately applied
167
- mirror.scrollTop = 0;
168
-
169
- mirror.scrollTop = 9e4;
170
-
171
- // Using scrollTop rather than scrollHeight because scrollHeight is non-standard and includes padding.
172
- height = mirror.scrollTop;
173
-
174
- if (maxHeight && height > maxHeight) {
175
- ta.style.overflowY = 'scroll';
176
- height = maxHeight;
177
- } else {
178
- ta.style.overflowY = 'hidden';
179
- if (height < minHeight) {
180
- height = minHeight;
181
- }
182
- }
183
-
184
- height += boxOffset;
185
-
186
- if (original !== height) {
187
- ta.style.height = height + 'px';
188
- if (callback) {
189
- options.callback.call(ta,ta);
190
- }
191
- }
192
- }
193
-
194
- function resize () {
195
- clearTimeout(timeout);
196
- timeout = setTimeout(function(){
197
- var newWidth = $ta.width();
198
-
199
- if (newWidth !== width) {
200
- width = newWidth;
201
- adjust();
202
- }
203
- }, parseInt(options.resizeDelay,10));
204
- }
205
-
206
- if ('onpropertychange' in ta) {
207
- if ('oninput' in ta) {
208
- // Detects IE9. IE9 does not fire onpropertychange or oninput for deletions,
209
- // so binding to onkeyup to catch most of those occasions. There is no way that I
210
- // know of to detect something like 'cut' in IE9.
211
- $ta.on('input.autosize keyup.autosize', adjust);
212
- } else {
213
- // IE7 / IE8
214
- $ta.on('propertychange.autosize', function(){
215
- if(event.propertyName === 'value'){
216
- adjust();
217
- }
218
- });
219
- }
220
- } else {
221
- // Modern Browsers
222
- $ta.on('input.autosize', adjust);
223
- }
224
-
225
- // Set options.resizeDelay to false if using fixed-width textarea elements.
226
- // Uses a timeout and width check to reduce the amount of times adjust needs to be called after window resize.
227
-
228
- if (options.resizeDelay !== false) {
229
- $(window).on('resize.autosize', resize);
230
- }
231
-
232
- // Event for manual triggering if needed.
233
- // Should only be needed when the value of the textarea is changed through JavaScript rather than user input.
234
- $ta.on('autosize.resize', adjust);
235
-
236
- // Event for manual triggering that also forces the styles to update as well.
237
- // Should only be needed if one of typography styles of the textarea change, and the textarea is already the target of the adjust method.
238
- $ta.on('autosize.resizeIncludeStyle', function() {
239
- mirrored = null;
240
- adjust();
241
- });
242
-
243
- $ta.on('autosize.destroy', function(){
244
- mirrored = null;
245
- clearTimeout(timeout);
246
- $(window).off('resize', resize);
247
- $ta
248
- .off('autosize')
249
- .off('.autosize')
250
- .css(originalStyles)
251
- .removeData('autosize');
252
- });
253
-
254
- // Call adjust in case the textarea already contains text.
255
- adjust();
256
- });
257
- };
258
- }));
7
+ (function ($) {
8
+ var
9
+ defaults = {
10
+ className: 'autosizejs',
11
+ append: '',
12
+ callback: false,
13
+ resizeDelay: 10,
14
+ placeholder: true
15
+ },
16
+
17
+ // border:0 is unnecessary, but avoids a bug in Firefox on OSX
18
+ copy = '<textarea tabindex="-1" style="position:absolute; top:-999px; left:0; right:auto; bottom:auto; border:0; padding: 0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box; word-wrap:break-word; height:0 !important; min-height:0 !important; overflow:hidden; transition:none; -webkit-transition:none; -moz-transition:none;"/>',
19
+
20
+ // line-height is conditionally included because IE7/IE8/old Opera do not return the correct value.
21
+ typographyStyles = [
22
+ 'fontFamily',
23
+ 'fontSize',
24
+ 'fontWeight',
25
+ 'fontStyle',
26
+ 'letterSpacing',
27
+ 'textTransform',
28
+ 'wordSpacing',
29
+ 'textIndent'
30
+ ],
31
+
32
+ // to keep track which textarea is being mirrored when adjust() is called.
33
+ mirrored,
34
+
35
+ // the mirror element, which is used to calculate what size the mirrored element should be.
36
+ mirror = $(copy).data('autosize', true)[0];
37
+
38
+ // test that line-height can be accurately copied.
39
+ mirror.style.lineHeight = '99px';
40
+ if ($(mirror).css('lineHeight') === '99px') {
41
+ typographyStyles.push('lineHeight');
42
+ }
43
+ mirror.style.lineHeight = '';
44
+
45
+ $.fn.autosize = function (options) {
46
+ if (!this.length) {
47
+ return this;
48
+ }
49
+
50
+ options = $.extend({}, defaults, options || {});
51
+
52
+ if (mirror.parentNode !== document.body) {
53
+ $(document.body).append(mirror);
54
+ }
55
+
56
+ return this.each(function () {
57
+ var
58
+ ta = this,
59
+ $ta = $(ta),
60
+ maxHeight,
61
+ minHeight,
62
+ boxOffset = 0,
63
+ callback = $.isFunction(options.callback),
64
+ originalStyles = {
65
+ height: ta.style.height,
66
+ overflow: ta.style.overflow,
67
+ overflowY: ta.style.overflowY,
68
+ wordWrap: ta.style.wordWrap,
69
+ resize: ta.style.resize
70
+ },
71
+ timeout,
72
+ width = $ta.width();
73
+
74
+ if ($ta.data('autosize')) {
75
+ // exit if autosize has already been applied, or if the textarea is the mirror element.
76
+ return;
77
+ }
78
+ $ta.data('autosize', true);
79
+
80
+ if ($ta.css('box-sizing') === 'border-box' || $ta.css('-moz-box-sizing') === 'border-box' || $ta.css('-webkit-box-sizing') === 'border-box'){
81
+ boxOffset = $ta.outerHeight() - $ta.height();
82
+ }
83
+
84
+ // IE8 and lower return 'auto', which parses to NaN, if no min-height is set.
85
+ minHeight = Math.max(parseInt($ta.css('minHeight'), 10) - boxOffset || 0, $ta.height());
86
+
87
+ $ta.css({
88
+ overflow: 'hidden',
89
+ overflowY: 'hidden',
90
+ wordWrap: 'break-word', // horizontal overflow is hidden, so break-word is necessary for handling words longer than the textarea width
91
+ resize: ($ta.css('resize') === 'none' || $ta.css('resize') === 'vertical') ? 'none' : 'horizontal'
92
+ });
93
+
94
+ // The mirror width must exactly match the textarea width, so using getBoundingClientRect because it doesn't round the sub-pixel value.
95
+ // window.getComputedStyle, getBoundingClientRect returning a width are unsupported, but also unneeded in IE8 and lower.
96
+ function setWidth() {
97
+ var width;
98
+ var style = window.getComputedStyle ? window.getComputedStyle(ta, null) : false;
99
+
100
+ if (style) {
101
+
102
+ width = ta.getBoundingClientRect().width;
103
+
104
+ if (width === 0) {
105
+ width = parseInt(style.width,10);
106
+ }
107
+
108
+ $.each(['paddingLeft', 'paddingRight', 'borderLeftWidth', 'borderRightWidth'], function(i,val){
109
+ width -= parseInt(style[val],10);
110
+ });
111
+ } else {
112
+ width = Math.max($ta.width(), 0);
113
+ }
114
+
115
+ mirror.style.width = width + 'px';
116
+ }
117
+
118
+ function initMirror() {
119
+ var styles = {};
120
+
121
+ mirrored = ta;
122
+ mirror.className = options.className;
123
+ maxHeight = parseInt($ta.css('maxHeight'), 10);
124
+
125
+ // mirror is a duplicate textarea located off-screen that
126
+ // is automatically updated to contain the same text as the
127
+ // original textarea. mirror always has a height of 0.
128
+ // This gives a cross-browser supported way getting the actual
129
+ // height of the text, through the scrollTop property.
130
+ $.each(typographyStyles, function(i,val){
131
+ styles[val] = $ta.css(val);
132
+ });
133
+ $(mirror).css(styles);
134
+
135
+ setWidth();
136
+
137
+ // Chrome-specific fix:
138
+ // When the textarea y-overflow is hidden, Chrome doesn't reflow the text to account for the space
139
+ // made available by removing the scrollbar. This workaround triggers the reflow for Chrome.
140
+ if (window.chrome) {
141
+ var width = ta.style.width;
142
+ ta.style.width = '0px';
143
+ var ignore = ta.offsetWidth;
144
+ ta.style.width = width;
145
+ }
146
+ }
147
+
148
+ // Using mainly bare JS in this function because it is going
149
+ // to fire very often while typing, and needs to very efficient.
150
+ function adjust() {
151
+ var height, original;
152
+
153
+ if (mirrored !== ta) {
154
+ initMirror();
155
+ } else {
156
+ setWidth();
157
+ }
158
+
159
+ if (!ta.value && options.placeholder) {
160
+ // If the textarea is empty, copy the placeholder text into
161
+ // the mirror control and use that for sizing so that we
162
+ // don't end up with placeholder getting trimmed.
163
+ mirror.value = ($(ta).attr("placeholder") || '') + options.append;
164
+ } else {
165
+ mirror.value = ta.value + options.append;
166
+ }
167
+
168
+ mirror.style.overflowY = ta.style.overflowY;
169
+ original = parseInt(ta.style.height,10);
170
+
171
+ // Setting scrollTop to zero is needed in IE8 and lower for the next step to be accurately applied
172
+ mirror.scrollTop = 0;
173
+
174
+ mirror.scrollTop = 9e4;
175
+
176
+ // Using scrollTop rather than scrollHeight because scrollHeight is non-standard and includes padding.
177
+ height = mirror.scrollTop;
178
+
179
+ if (maxHeight && height > maxHeight) {
180
+ ta.style.overflowY = 'scroll';
181
+ height = maxHeight;
182
+ } else {
183
+ ta.style.overflowY = 'hidden';
184
+ if (height < minHeight) {
185
+ height = minHeight;
186
+ }
187
+ }
188
+
189
+ height += boxOffset;
190
+
191
+ if (original !== height) {
192
+ ta.style.height = height + 'px';
193
+ if (callback) {
194
+ options.callback.call(ta,ta);
195
+ }
196
+ }
197
+ }
198
+
199
+ function resize () {
200
+ clearTimeout(timeout);
201
+ timeout = setTimeout(function(){
202
+ var newWidth = $ta.width();
203
+
204
+ if (newWidth !== width) {
205
+ width = newWidth;
206
+ adjust();
207
+ }
208
+ }, parseInt(options.resizeDelay,10));
209
+ }
210
+
211
+ if ('onpropertychange' in ta) {
212
+ if ('oninput' in ta) {
213
+ // Detects IE9. IE9 does not fire onpropertychange or oninput for deletions,
214
+ // so binding to onkeyup to catch most of those occasions. There is no way that I
215
+ // know of to detect something like 'cut' in IE9.
216
+ $ta.on('input.autosize keyup.autosize', adjust);
217
+ } else {
218
+ // IE7 / IE8
219
+ $ta.on('propertychange.autosize', function(){
220
+ if(event.propertyName === 'value'){
221
+ adjust();
222
+ }
223
+ });
224
+ }
225
+ } else {
226
+ // Modern Browsers
227
+ $ta.on('input.autosize', adjust);
228
+ }
229
+
230
+ // Set options.resizeDelay to false if using fixed-width textarea elements.
231
+ // Uses a timeout and width check to reduce the amount of times adjust needs to be called after window resize.
232
+
233
+ if (options.resizeDelay !== false) {
234
+ $(window).on('resize.autosize', resize);
235
+ }
236
+
237
+ // Event for manual triggering if needed.
238
+ // Should only be needed when the value of the textarea is changed through JavaScript rather than user input.
239
+ $ta.on('autosize.resize', adjust);
240
+
241
+ // Event for manual triggering that also forces the styles to update as well.
242
+ // Should only be needed if one of typography styles of the textarea change, and the textarea is already the target of the adjust method.
243
+ $ta.on('autosize.resizeIncludeStyle', function() {
244
+ mirrored = null;
245
+ adjust();
246
+ });
247
+
248
+ $ta.on('autosize.destroy', function(){
249
+ mirrored = null;
250
+ clearTimeout(timeout);
251
+ $(window).off('resize', resize);
252
+ $ta
253
+ .off('autosize')
254
+ .off('.autosize')
255
+ .css(originalStyles)
256
+ .removeData('autosize');
257
+ });
258
+
259
+ // Call adjust in case the textarea already contains text.
260
+ adjust();
261
+ });
262
+ };
263
+ }(window.jQuery || window.$)); // jQuery or jQuery-like library, such as Zepto
metadata CHANGED
@@ -1,65 +1,65 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autosize-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.18.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Thompson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-25 00:00:00.000000000 Z
11
+ date: 2014-01-13 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
19
  version: '3.1'
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
26
  version: '3.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- description: Rails asset pipeline wrapper around jQuery Autosize
55
+ description: 'Rails asset pipeline wrapper around jQuery Autosize: http://www.jacklmoore.com/autosize/'
56
56
  email:
57
57
  - cjaysson@gmail.com
58
58
  executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
62
+ - ".gitignore"
63
63
  - Gemfile
64
64
  - LICENSE.txt
65
65
  - README.md
@@ -69,7 +69,7 @@ files:
69
69
  - lib/autosize/rails/engine.rb
70
70
  - lib/autosize/rails/version.rb
71
71
  - vendor/assets/javascripts/jquery.autosize.js
72
- homepage: http://www.jacklmoore.com/autosize/
72
+ homepage: https://github.com/calebthompson/autosize-rails
73
73
  licenses:
74
74
  - MIT
75
75
  metadata: {}
@@ -79,18 +79,19 @@ require_paths:
79
79
  - lib
80
80
  required_ruby_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - '>='
82
+ - - ">="
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  requirements: []
91
91
  rubyforge_project:
92
- rubygems_version: 2.0.5
92
+ rubygems_version: 2.2.1
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: A plugin to enable automatic height for textarea elements.
96
96
  test_files: []
97
+ has_rdoc: