jsb-rails 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4cc6deb6ddd0c3e383d91a520c14e8b887bbf347
4
+ data.tar.gz: f5ec3f3111097df6559dd8176f54cb94d0cc93d8
5
+ SHA512:
6
+ metadata.gz: 92f3d47c11c129429f1a8fa507ef287372db8a650577abd06b9e06c5a59b59a9d4fe05e5a36445bbe74fa86cc99ac7d77f25115e8d78830a1a0df9fe36681c5d
7
+ data.tar.gz: 4690ee1b237bf7b47111188731ee5ba8eb53b8dc36c2cda21d4008962002f4409b2fffe4b8b2bee7a6752d0413f33f8d3fb86c461b1495d1f7108155049c81cd
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in jsb-rails.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 René Kersten
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # Jsb::Rails
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/jsb/rails`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'jsb-rails'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install jsb-rails
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ 1. Fork it ( https://github.com/[my-github-username]/jsb-rails/fork )
36
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
37
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
38
+ 4. Push to the branch (`git push origin my-new-feature`)
39
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
data/jsb-rails.gemspec ADDED
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'jsb/rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "jsb-rails"
8
+ spec.version = Jsb::Rails::VERSION
9
+ spec.authors = ["René Kersten"]
10
+ spec.email = ["rene.kersten@gmail.com"]
11
+
12
+ spec.summary = "This gem integrates JsBehaviourToolkit with Rails asset pipeline for easy of use."
13
+ spec.description = "This gem integrates JsBehaviourToolkit with Rails asset pipeline for easy of use. "
14
+ spec.homepage = "https://github.com/endorfin/jsb-rails"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.8"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ end
@@ -0,0 +1,6 @@
1
+ module Jsb
2
+ module Rails
3
+ VERSION = "0.1.0"
4
+ JSB_VERSION = "2.0.0"
5
+ end
6
+ end
data/lib/jsb/rails.rb ADDED
@@ -0,0 +1,7 @@
1
+ require "jsb/rails/version"
2
+
3
+ module Jsb
4
+ module Rails
5
+ # Your code goes here...
6
+ end
7
+ end
@@ -0,0 +1,450 @@
1
+ /*
2
+ * jsb 2.0.0
3
+ *
4
+ * This file is part of jsb (Javascript Behaviour Toolkit).
5
+ * Copyright (c) 2010-2014 DracoBlue, http://dracoblue.net/
6
+ *
7
+ * Licensed under the terms of MIT License. For the full copyright and license
8
+ * information, please see the LICENSE file in the root folder.
9
+ */
10
+
11
+ jsb = {
12
+ prefix: 'jsb_',
13
+ prefix_regexp: /jsb_([^\s]+)/,
14
+
15
+ handlers: {},
16
+ listeners: [],
17
+ last_event_values: {},
18
+
19
+ /**
20
+ * Set the prefix for the jsb toolkit.
21
+ *
22
+ * @param {String} prefix
23
+ */
24
+ setPrefix: function(prefix) {
25
+ this.prefix = prefix + '_';
26
+ this.prefix_regexp = new RegExp(this.prefix + '([^\s]+)');
27
+ },
28
+
29
+ /**
30
+ * Register a new handler with the given constructor function
31
+ *
32
+ * @param {String} key
33
+ * @param {Function} handler_function
34
+ */
35
+ registerHandler: function(key, handler_function) {
36
+ this.handlers[key] = handler_function;
37
+ },
38
+
39
+ /**
40
+ * Apply all behaviours on a given dom_element and it's children.
41
+ *
42
+ * @param {HTMLElement} dom_element
43
+ */
44
+ applyBehaviour: function(parent_dom_element) {
45
+ var dom_elements = this.getJsbElementsInDomElement(parent_dom_element);
46
+ var dom_elements_length = dom_elements.length;
47
+ var dom_element = null;
48
+ var key = null;
49
+ var key_match = null;
50
+
51
+ for (var i = 0; i < dom_elements_length; i++) {
52
+ dom_element = dom_elements[i];
53
+ this.removeClassFromElement(dom_element, this.prefix);
54
+
55
+ do {
56
+ key_match = dom_element.className.match(this.prefix_regexp);
57
+ if (key_match) {
58
+ key = key_match[1];
59
+ this.callHandler(key, dom_element);
60
+ this.removeClassFromElement(dom_element, this.prefix + key);
61
+ }
62
+ } while(key_match);
63
+
64
+ }
65
+
66
+ this.fireEvent('Jsb::BEHAVIOURS_APPLIED');
67
+ },
68
+
69
+ /**
70
+ * Fires an event with the given name and values.
71
+ * @param {String} name
72
+ * @param {Object} [values={}]
73
+ */
74
+ fireEvent: function(name, values) {
75
+ values = values || {};
76
+
77
+ /*
78
+ * Remember the last value for calls to `jsb.whenFired`
79
+ */
80
+ this.last_event_values[name] = values;
81
+
82
+ var listeners = this.listeners;
83
+ var listeners_length = listeners.length;
84
+ for (var i = 0; i < listeners_length; i++) {
85
+ this.rawFireEventToListener(listeners[i], name, values);
86
+ }
87
+
88
+ if (name === 'Jsb::REMOVED_INSTANCE')
89
+ {
90
+ this.removeBoundListenersForInstance(values);
91
+ }
92
+ },
93
+
94
+ /**
95
+ * Adds an event listener for a given name or regular expression.
96
+ *
97
+ * @param {String|RegExp} name_or_regexp
98
+ * @param {Object|Function} [filter_or_cb=null]
99
+ * @param {Function} cb
100
+ */
101
+ on: function(name_or_regexp, filter_or_cb, cb) {
102
+ var filter = filter_or_cb || null;
103
+
104
+ if (!cb) {
105
+ filter = null;
106
+ cb = filter_or_cb;
107
+ }
108
+
109
+ this.listeners.push([cb, name_or_regexp, filter]);
110
+
111
+ var that = this;
112
+ var off_handler = function() {
113
+ that.off(name_or_regexp, cb);
114
+ };
115
+
116
+ /*
117
+ * Call this method with your jsb instance, to allow automatic removal of the handler on
118
+ * disposal of the jsb instance.
119
+ */
120
+ off_handler.dontLeak = function(element) {
121
+ for (var i = 0; i < that.listeners.length; i++) {
122
+ var listener = that.listeners[i];
123
+ if (listener[0] === cb && listener[1] === name_or_regexp && listener[2] === filter) {
124
+ listener[3] = element;
125
+ return ;
126
+ }
127
+ }
128
+ };
129
+
130
+ return off_handler;
131
+ },
132
+
133
+ /**
134
+ * Please call jsb.fireEvent('Jsb::REMOVED_INSTANCE', this) within your object
135
+ * to free all handlers which are bound to the element (by using the dontLeak-method).
136
+ *
137
+ * @private
138
+ *
139
+ * @param instance Jsb Instance
140
+ */
141
+ removeBoundListenersForInstance: function(instance) {
142
+ var new_listeners = [];
143
+ var listeners = this.listeners;
144
+ var listeners_length = listeners.length;
145
+ for (var i = 0; i < listeners_length; i++) {
146
+ if (listeners[i][3] !== instance) {
147
+ new_listeners.push(listeners[i]);
148
+ }
149
+ }
150
+
151
+ this.listeners = new_listeners;
152
+ },
153
+
154
+ /**
155
+ * Removes an event listener for a given name or regular expression and handler function.
156
+ *
157
+ * The handler function needs to be the exact same Function object that was previously registered as an event handler.
158
+ *
159
+ * @param {String|RegExp} name_or_regexp
160
+ * @param {Function} cb
161
+ */
162
+ off: function(name_or_regexp, cb) {
163
+ var listeners = this.listeners;
164
+ this.listeners = [];
165
+ var listeners_length = listeners.length;
166
+ for (var i = 0; i < listeners_length; i++) {
167
+ if (!(listeners[i][0] === cb && listeners[i][1].toString() === name_or_regexp.toString())) {
168
+ this.listeners.push(listeners[i]);
169
+ }
170
+ }
171
+ },
172
+
173
+ /**
174
+ * Register to an event as soon as it's fired for the first time
175
+ * even if that happend earlier!
176
+ *
177
+ * @param {String|RegExp} name_or_regexp
178
+ * @param {Object|Function} [filter_or_cb=null]
179
+ * @param {Function} cb
180
+ */
181
+ whenFired: function(name_or_regexp, filter_or_cb, cb)
182
+ {
183
+ var that = this;
184
+ var filter = filter_or_cb;
185
+
186
+ if (!cb) {
187
+ filter = null;
188
+ cb = filter_or_cb;
189
+ }
190
+
191
+ var off_handler = this.on(name_or_regexp, filter, cb);
192
+
193
+ var is_regexp = (name_or_regexp instanceof RegExp);
194
+ if (is_regexp) {
195
+ for (var key in this.last_event_values) {
196
+ if (this.last_event_values.hasOwnProperty(key) && key.match(name_or_regexp)) {
197
+ (function(key)
198
+ {
199
+ setTimeout(function()
200
+ {
201
+ that.rawFireEventToListener([cb, name_or_regexp, filter], key, that.last_event_values[key]);
202
+ }, 0);
203
+ })(key);
204
+ }
205
+ }
206
+ } else {
207
+ if (typeof this.last_event_values[name_or_regexp] !== 'undefined') {
208
+ setTimeout(function()
209
+ {
210
+ that.rawFireEventToListener([cb, name_or_regexp, filter], name_or_regexp, that.last_event_values[name_or_regexp]);
211
+ }, 0);
212
+ }
213
+ }
214
+
215
+ return off_handler;
216
+ },
217
+
218
+ /**
219
+ * @private
220
+ */
221
+ rawFireEventToListener: function(listener, name, values) {
222
+ var is_regexp_match = (listener[1] instanceof RegExp && name.match(listener[1]));
223
+
224
+ if (is_regexp_match || listener[1] === name) {
225
+ var filter = listener[2];
226
+ var is_match = true;
227
+ if (filter) {
228
+ for (var filter_key in filter) {
229
+ if (filter.hasOwnProperty(filter_key)) {
230
+ is_match = is_match && (typeof values[filter_key] !== 'undefined' && filter[filter_key] === values[filter_key]);
231
+ }
232
+ }
233
+ }
234
+
235
+ if (is_match) {
236
+ listener[0](values, name);
237
+ }
238
+ }
239
+ },
240
+
241
+ /**
242
+ * Call a specific handler on a given dom element
243
+ * @private
244
+ * @param {String} key
245
+ * @param {HTMLElement} dom_element
246
+ */
247
+ callHandler: function(key, dom_element) {
248
+ if (typeof this.handlers[key] === 'undefined') {
249
+ if (typeof require === "undefined") {
250
+ throw new Error('The handler ' + key + ' is not defined!');
251
+ } else {
252
+ require([key], function(require_result) {
253
+ if (typeof jsb.handlers[key] === 'undefined') {
254
+ if (typeof require_result === "undefined")
255
+ {
256
+ throw new Error('The handler ' + key + ' is not defined (even with requirejs)!');
257
+ }
258
+ else
259
+ {
260
+ jsb.registerHandler(key, require_result);
261
+ }
262
+ }
263
+ jsb.callHandler(key, dom_element);
264
+ });
265
+ return ;
266
+ }
267
+ }
268
+
269
+ var value_string = null;
270
+ var dashed_key_name = key.toString().replace(/\//g, "-");
271
+
272
+ if (dom_element.getAttribute('data-jsb-' + dashed_key_name)) {
273
+ /*
274
+ * Nice, we have a class specific data-jsb attribute -> let's use that one!
275
+ */
276
+ value_string = dom_element.getAttribute('data-jsb-' + dashed_key_name);
277
+ } else if (dom_element.getAttribute('data-jsb')) {
278
+ /*
279
+ * Nice, we have a data-jsb attribute -> let's use that one!
280
+ */
281
+ value_string = dom_element.getAttribute('data-jsb');
282
+ }
283
+
284
+ if (value_string !== null) {
285
+ new this.handlers[key](dom_element, this.parseValueString(value_string));
286
+ } else {
287
+ new this.handlers[key](dom_element);
288
+ }
289
+ },
290
+
291
+ /**
292
+ * Parse a json or a query string into an object hash
293
+ * @private
294
+ * @param {String} value_string
295
+ * @return {Object}
296
+ */
297
+ parseValueString: function(value_string) {
298
+ if (value_string.substr(0, 1) == '{') {
299
+ return JSON.parse(value_string);
300
+ } else {
301
+ var value = {};
302
+ var parts = value_string.split("&");
303
+ var parts_length = parts.length;
304
+ for (var i = 0; i < parts_length; i++) {
305
+ var query_string_entry = parts[i].split("=");
306
+ var value_key = decodeURIComponent(query_string_entry[0]);
307
+ var value_content = decodeURIComponent(query_string_entry.slice(1).join("="));
308
+ value[value_key] = value_content;
309
+ }
310
+ return value;
311
+ }
312
+ },
313
+
314
+ /**
315
+ * @private
316
+ * @param {HTMLElement} dom_element
317
+ * @param {String} class_name
318
+ * @return {void}
319
+ */
320
+ removeClassFromElement: function(dom_element, class_name) {
321
+ var element_class_name = dom_element.className;
322
+ element_class_name = element_class_name.replace(new RegExp('(^|[\\s]+)' + class_name + '($|[\\s]+)'), '$1$2');
323
+ dom_element.className = element_class_name;
324
+ },
325
+
326
+ /**
327
+ * Return all elements within the dom_element, which match the
328
+ * jsb prefix.
329
+ *
330
+ * @private
331
+ * @param {HTMLElement} dom_element
332
+ * @returns {HTMLElement[]}
333
+ */
334
+ getJsbElementsInDomElement: function(dom_element) {
335
+ var dom_elements = [];
336
+ /*
337
+ * We need to use concat, because otherwise the returned array would
338
+ * change as soon as we remove the element's className.
339
+ */
340
+ var raw_dom_elements = null;
341
+ if (dom_element.getElementsByClassName) {
342
+ raw_dom_elements = dom_element.getElementsByClassName(this.prefix);
343
+ } else {
344
+ raw_dom_elements = dom_element.querySelectorAll('.' + this.prefix);
345
+ }
346
+ var raw_dom_elements_length = raw_dom_elements.length;
347
+ for (var r = 0; r < raw_dom_elements_length; r++) {
348
+ dom_elements.push(raw_dom_elements[r]);
349
+ }
350
+
351
+ return dom_elements;
352
+ }
353
+ };
354
+
355
+ if (typeof jQuery !== 'undefined') {
356
+ /*
357
+ * If we have jQuery available, we can use the jQuery methods instead
358
+ * of the native ones (thus having compatibility for IE < 8, FF < 3 and so on)
359
+ */
360
+ jsb.removeClassFromElement = function(dom_element, class_name) {
361
+ jQuery(dom_element).removeClass(class_name);
362
+ };
363
+
364
+ jsb.getJsbElementsInDomElement = function(dom_element) {
365
+ return jQuery(dom_element).find('.' + this.prefix);
366
+ };
367
+
368
+ jsb.parseValueString = function(value_string) {
369
+ if (value_string.substr(0, 1) == '{') {
370
+ return jQuery.parseJSON(value_string);
371
+ } else {
372
+ var value = {};
373
+ var parts = value_string.split("&");
374
+ var parts_length = parts.length;
375
+ for (var i = 0; i < parts_length; i++) {
376
+ var query_string_entry = parts[i].split("=");
377
+ var value_key = decodeURIComponent(query_string_entry[0]);
378
+ var value_content = decodeURIComponent(query_string_entry.slice(1).join("="));
379
+ value[value_key] = value_content;
380
+ }
381
+ return value;
382
+ }
383
+ };
384
+
385
+ /*
386
+ * Fire domready in a jQuery way!
387
+ */
388
+
389
+ jQuery(window.document).ready(function() {
390
+ jsb.applyBehaviour(window.document);
391
+ });
392
+
393
+ } else if (typeof MooTools !== 'undefined') {
394
+ /*
395
+ * If we have MooTools available, we can use the MooTools methods instead
396
+ * of the native ones (thus having compatibility for IE < 8, FF < 3 and so on)
397
+ */
398
+ jsb.removeClassFromElement = function(dom_element, class_name) {
399
+ $(dom_element).removeClass(class_name);
400
+ };
401
+
402
+ jsb.getJsbElementsInDomElement = function(dom_element) {
403
+ return $(dom_element).getElements('.' + this.prefix);
404
+ };
405
+
406
+ jsb.parseValueString = function(value_string) {
407
+ if (value_string.substr(0, 1) == '{') {
408
+ return JSON.decode(value_string);
409
+ } else {
410
+ var value = {};
411
+ var parts = value_string.split("&");
412
+ var parts_length = parts.length;
413
+ for (var i = 0; i < parts_length; i++) {
414
+ var query_string_entry = parts[i].split("=");
415
+ var value_key = decodeURIComponent(query_string_entry[0]);
416
+ var value_content = decodeURIComponent(query_string_entry.slice(1).join("="));
417
+ value[value_key] = value_content;
418
+ }
419
+ return value;
420
+ }
421
+ };
422
+
423
+ /*
424
+ * Fire domready in a mootools way!
425
+ */
426
+
427
+ $(window).addEvent('domready', function() {
428
+ jsb.applyBehaviour(window.document);
429
+ });
430
+ } else {
431
+
432
+ /*
433
+ * Fire domready in a native way!
434
+ */
435
+ if (window.addEventListener) {
436
+ window.addEventListener("DOMContentLoaded", function() {
437
+ jsb.applyBehaviour(window.document);
438
+ }, true);
439
+ } else if(window.attachEvent) {
440
+ window.attachEvent("onLoad",function() {
441
+ jsb.applyBehaviour(window.document);
442
+ });
443
+ }
444
+ }
445
+
446
+ if (typeof define !== "undefined") {
447
+ define('jsb', function() {
448
+ return jsb;
449
+ });
450
+ }
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jsb-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - René Kersten
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-04-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.8'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: 'This gem integrates JsBehaviourToolkit with Rails asset pipeline for
42
+ easy of use. '
43
+ email:
44
+ - rene.kersten@gmail.com
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - .gitignore
50
+ - .travis.yml
51
+ - CODE_OF_CONDUCT.md
52
+ - Gemfile
53
+ - LICENSE.txt
54
+ - README.md
55
+ - Rakefile
56
+ - jsb-rails.gemspec
57
+ - lib/jsb/rails.rb
58
+ - lib/jsb/rails/version.rb
59
+ - vendor/assets/javascripts/jsb.js
60
+ homepage: https://github.com/endorfin/jsb-rails
61
+ licenses:
62
+ - MIT
63
+ metadata: {}
64
+ post_install_message:
65
+ rdoc_options: []
66
+ require_paths:
67
+ - lib
68
+ required_ruby_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - '>='
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ requirements: []
79
+ rubyforge_project:
80
+ rubygems_version: 2.0.14
81
+ signing_key:
82
+ specification_version: 4
83
+ summary: This gem integrates JsBehaviourToolkit with Rails asset pipeline for easy
84
+ of use.
85
+ test_files: []
86
+ has_rdoc: