racovi 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ gem "rails", ">= 3.1.0"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+ group :development do
9
+ gem "rspec", ">= 2.8.0"
10
+ gem "rdoc", ">= 3.12"
11
+ gem "bundler", ">= 1.0.0"
12
+ gem "jeweler", ">= 1.8.3"
13
+ gem "simplecov", ">= 0"
14
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 yann ARMAND
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,90 @@
1
+ # racovi
2
+
3
+ racovi is a gem to register initialization code for your javascript which is executed only for the current controller and view.
4
+
5
+ I created that to easily deploy what is explain in [this blog post](http://blog.harakys.com/blog/2011/09/05/javascript-initializers-to-your-views-with-rails-3-dot-1-and-coffeescript/).
6
+
7
+ racovi is based on the javascript event stack [Hevents](https://github.com/yarmand/hevents).
8
+
9
+ ** Important Note ** : This is a early version of the gem and still need some manual installations in your Rails application. But javascript code works
10
+
11
+ # Usage
12
+
13
+ ## Prepare your Rails layout
14
+
15
+ Put the helper function ``init_view_js`` wherever you want in your layouts, it will add a ``$(document).ready(…)`` section calling initializer code for the current controller and the current view.
16
+
17
+ for example
18
+
19
+ /** application.html.haml **/
20
+
21
+ = init_view_js
22
+
23
+
24
+ ## Prepare your application.js
25
+
26
+ add these line to your ``app/assets/javascript/application.js``
27
+
28
+ //= require hevents
29
+ //= require racovi
30
+
31
+ ## Register an initializer code
32
+
33
+ use ``register_init(names,fun)`` in your controller or view js files
34
+
35
+ /** assets/javascript/persons.js **/
36
+
37
+ Racovi.register_init('persons', function(){
38
+ console.log('hello from Person controller')
39
+ });
40
+
41
+ _
42
+
43
+ /** assets/javascript/persons.js.coffee **/
44
+
45
+ Racovi.register_init 'persons', () ->
46
+ console.log('hello from Person controller')
47
+
48
+
49
+ ### register initializer for multiple views
50
+
51
+ /** assets/javascript/persons.js.coffee **/
52
+ ...
53
+ Racovi.register_init ['persons_new','persons_edit'], () ->
54
+ console.log('editing a Person')
55
+
56
+
57
+ ### cumulative initializer for complex views
58
+ If you have complex view GUI distributed on multiple sources files, independent from each others, you can register multiple time the same initializer name, all registered functions will be called.
59
+
60
+ /** assets/javascript/sidebar.js.coffee **/
61
+
62
+ Racovi.register_init 'persons', () ->
63
+ ('#persons_menu').show()
64
+
65
+ /** assets/javascript/persons.js.coffee **/
66
+ ...
67
+ Racovi.register_init 'persons', () ->
68
+ console.log('hello from Person controller')
69
+ ...
70
+
71
+ # TODO
72
+
73
+ * automatically add ``hevents`` and ``racovi`` in application.js
74
+ * automatically add ``init_view_js`` to layouts
75
+
76
+ # Contributing to racovi
77
+
78
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
79
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
80
+ * Fork the project.
81
+ * Start a feature/bugfix branch.
82
+ * Commit and push until you are happy with your contribution.
83
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
84
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
85
+
86
+ # Copyright
87
+
88
+ Copyright (c) 2012 yann ARMAND under MIT See LICENSE.txt for
89
+ further details.
90
+
data/Rakefile ADDED
@@ -0,0 +1,49 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "racovi"
18
+ gem.homepage = "http://github.com/yarmand/racovi"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Call Javascript initialization functions for your Rail controllers and views}
21
+ gem.description = %Q{Use Hevents (https://github.com/yarmand/hevents) to create JS init function for Rails controllers and views. Provide helper to setup handlers in your Rails code}
22
+ gem.email = "yann@harakys.com"
23
+ gem.authors = ["yann ARMAND"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rspec/core'
29
+ require 'rspec/core/rake_task'
30
+ RSpec::Core::RakeTask.new(:spec) do |spec|
31
+ spec.pattern = FileList['spec/**/*_spec.rb']
32
+ end
33
+
34
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
35
+ spec.pattern = 'spec/**/*_spec.rb'
36
+ spec.rcov = true
37
+ end
38
+
39
+ task :default => :spec
40
+
41
+ require 'rdoc/task'
42
+ Rake::RDocTask.new do |rdoc|
43
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
44
+
45
+ rdoc.rdoc_dir = 'rdoc'
46
+ rdoc.title = "racovi #{version}"
47
+ rdoc.rdoc_files.include('README*')
48
+ rdoc.rdoc_files.include('lib/**/*.rb')
49
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
data/lib/racovi.rb ADDED
@@ -0,0 +1 @@
1
+ require 'racovi/railtie' if defined? Rails
@@ -0,0 +1,18 @@
1
+ require 'racovi/view_helpers'
2
+
3
+ module Racovi
4
+ class Railtie < Rails::Railtie
5
+ initializer "racovi.view_helpers" do |app|
6
+ ActionView::Base.send :include, ViewHelpers
7
+ end
8
+ end
9
+
10
+ module Rails
11
+ VERSION = "0.1.0"
12
+ class Engine < ::Rails::Engine
13
+ end
14
+ end
15
+
16
+
17
+
18
+ end
@@ -0,0 +1,7 @@
1
+ module Racovi
2
+ module ViewHelpers
3
+ def init_view_js()
4
+ javascript_tag "$(document).ready( function() { Racovi.#{controller.controller_name}();Racovi.#{controller.controller_name}_#{controller.action_name}();})"
5
+ end
6
+ end
7
+ end
data/racovi.gemspec ADDED
@@ -0,0 +1,71 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "racovi"
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["yann ARMAND"]
12
+ s.date = "2012-05-05"
13
+ s.description = "Use Hevents (https://github.com/yarmand/hevents) to create JS init function for Rails controllers and views. Provide helper to setup handlers in your Rails code"
14
+ s.email = "yann@harakys.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.md"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "LICENSE.txt",
24
+ "README.md",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "lib/racovi.rb",
28
+ "lib/racovi/railtie.rb",
29
+ "lib/racovi/view_helpers.rb",
30
+ "racovi.gemspec",
31
+ "spec/racovi_spec.rb",
32
+ "spec/spec_helper.rb",
33
+ "spec/support/fake_controller.rb",
34
+ "vendor/assets/javascripts/hevents.js",
35
+ "vendor/assets/javascripts/hevents.min.js",
36
+ "vendor/assets/javascripts/racovi.js"
37
+ ]
38
+ s.homepage = "http://github.com/yarmand/racovi"
39
+ s.licenses = ["MIT"]
40
+ s.require_paths = ["lib"]
41
+ s.rubygems_version = "1.8.15"
42
+ s.summary = "Call Javascript initialization functions for your Rail controllers and views"
43
+
44
+ if s.respond_to? :specification_version then
45
+ s.specification_version = 3
46
+
47
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
48
+ s.add_runtime_dependency(%q<rails>, [">= 3.1.0"])
49
+ s.add_development_dependency(%q<rspec>, [">= 2.8.0"])
50
+ s.add_development_dependency(%q<rdoc>, [">= 3.12"])
51
+ s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
52
+ s.add_development_dependency(%q<jeweler>, [">= 1.8.3"])
53
+ s.add_development_dependency(%q<simplecov>, [">= 0"])
54
+ else
55
+ s.add_dependency(%q<rails>, [">= 3.1.0"])
56
+ s.add_dependency(%q<rspec>, [">= 2.8.0"])
57
+ s.add_dependency(%q<rdoc>, [">= 3.12"])
58
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
59
+ s.add_dependency(%q<jeweler>, [">= 1.8.3"])
60
+ s.add_dependency(%q<simplecov>, [">= 0"])
61
+ end
62
+ else
63
+ s.add_dependency(%q<rails>, [">= 3.1.0"])
64
+ s.add_dependency(%q<rspec>, [">= 2.8.0"])
65
+ s.add_dependency(%q<rdoc>, [">= 3.12"])
66
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
67
+ s.add_dependency(%q<jeweler>, [">= 1.8.3"])
68
+ s.add_dependency(%q<simplecov>, [">= 0"])
69
+ end
70
+ end
71
+
@@ -0,0 +1,16 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "View Helpers" do
4
+ it "should put javascript init calls" do
5
+ controller = FakeController.init("foo","bar")
6
+ output = controller.init_view_js()
7
+ fail unless output =~ /Racovi.foo()/
8
+ fail unless output =~ /Racovi.foo_bar()/
9
+ end
10
+ end
11
+
12
+ describe "Racovi" do
13
+ it "fails" do
14
+ fail "hey buddy, you should probably rename this file and start specing for real"
15
+ end
16
+ end
@@ -0,0 +1,13 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+
4
+ require 'rspec'
5
+ require 'racovi/view_helpers'
6
+
7
+ # Requires supporting files with custom matchers and macros, etc,
8
+ # in ./support/ and its subdirectories.
9
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
10
+
11
+ RSpec.configure do |config|
12
+
13
+ end
@@ -0,0 +1,18 @@
1
+
2
+ class FakeController
3
+ include Racovi::ViewHelpers
4
+
5
+ attr_accessor :controller,:controller_name, :action_name
6
+
7
+ @@instance = FakeController.new
8
+
9
+ def self.init(controller,action)
10
+ @@instance.controller = @@instance
11
+ @@instance.controller_name = controller
12
+ @@instance.action_name = action
13
+ @@instance
14
+ end
15
+
16
+ private_class_method :new
17
+ end
18
+
@@ -0,0 +1,120 @@
1
+
2
+ /*
3
+ #
4
+ Hevents micro framework implement an instanciable event stack
5
+ Projects home : http://github.com/yarmand/hevents
6
+ Version: 0.6
7
+
8
+ Copyright 2012, Yann ARMAND
9
+ Licenced under the BSD License.
10
+ */
11
+
12
+ /* we begin with defining out module depending of our runtime (amd,node or DOM)
13
+ */
14
+
15
+ (function() {
16
+
17
+ (function(factory) {
18
+ if (typeof define === 'function' && define.amd) {
19
+ /* amd
20
+ */
21
+ define(factory);
22
+ return true;
23
+ } else {
24
+ /* DOM
25
+ */
26
+ window.Hevents = factory();
27
+ return true;
28
+ /*
29
+ if(typeof(top.Hevents) != 'undefined')
30
+ console.log("binding top.Hevents to current window")
31
+ window.Hevents = top.Hevents
32
+ return
33
+ console.log("binding current window Hevents to top window")
34
+ top.Hevents = Hevents
35
+ */
36
+ }
37
+ })(function() {
38
+ /* From http://yehudakatz.com/2011/08/12/understanding-prototypes-in-javascript/
39
+ */
40
+ var bind_one, fromPrototype, remove_from_chain, unbind_all_one;
41
+ fromPrototype = function(prototype, object) {
42
+ var newObject;
43
+ newObject = Object.create(prototype);
44
+ for(prop in object)
45
+ {
46
+ if(object.hasOwnProperty(prop))
47
+ newObject[prop] = object[prop];
48
+ };
49
+ return newObject;
50
+ };
51
+ remove_from_chain = function(list, fun) {
52
+ if (typeof list === 'undefined') return;
53
+ if (list.current === fun) return list.next;
54
+ list.next = remove_from_chain(list.next, fun);
55
+ return list;
56
+ };
57
+ bind_one = function(object, name, fun) {
58
+ var previously_registered;
59
+ previously_registered = object[name];
60
+ object[name] = function() {
61
+ if (typeof previously_registered !== 'undefined') {
62
+ previously_registered.call();
63
+ }
64
+ return fun.call();
65
+ };
66
+ object[name].current = fun;
67
+ return object[name].next = previously_registered;
68
+ };
69
+ unbind_all_one = function(object, name) {
70
+ return object[name] = void 0;
71
+ };
72
+ /*
73
+ following is exported
74
+ */
75
+ return fromPrototype(Array, {
76
+ "new": function() {
77
+ return Object.create(this);
78
+ },
79
+ bind: function(names, fun) {
80
+ var self;
81
+ if (typeof names.forEach !== 'undefined') {
82
+ self = this;
83
+ names.forEach(function(name) {
84
+ return bind_one(self, name, fun);
85
+ });
86
+ } else {
87
+ bind_one(this, names, fun);
88
+ }
89
+ return fun;
90
+ },
91
+ bind_before: function(names, fun) {
92
+ return console.log('bind_before() :not yet implemented');
93
+ },
94
+ bind_after: function(names, fun) {
95
+ return console.log('bind_after() :not yet implemented');
96
+ },
97
+ call: function(name) {
98
+ if (typeof this[name] !== 'undefined') return this[name]();
99
+ },
100
+ unbind_all: function(names) {
101
+ var self;
102
+ if (typeof names.forEach !== 'undefined') {
103
+ self = this;
104
+ return names.forEach(function(name) {
105
+ return unbind_all_one(self, name);
106
+ });
107
+ } else {
108
+ return unbind_all_one(this, names);
109
+ }
110
+ },
111
+ unbind_all_before: function(names) {
112
+ return console.log('unbind_all_before() :not yet implemented');
113
+ },
114
+ unbind_all_after: function(name) {
115
+ return console.log('unbind_all_after() :not yet implemented');
116
+ }
117
+ });
118
+ });
119
+
120
+ }).call(this);
@@ -0,0 +1,12 @@
1
+ /*
2
+ #
3
+ Hevents micro framework implement an instanciable event stack
4
+ Projects home : http://github.com/yarmand/hevents
5
+ Version: 0.6
6
+
7
+ Copyright 2012, Yann ARMAND
8
+ Licenced under the BSD License.
9
+ */
10
+ /* we begin with defining out module depending of our runtime (amd,node or DOM)
11
+ */
12
+ ((function(){(function(a){return typeof define=="function"&&define.amd?(define(a),!0):(window.Hevents=a(),!0)})(function(){var a,b,c,d;return b=function(a,b){var c;c=Object.create(a);for(prop in b)b.hasOwnProperty(prop)&&(c[prop]=b[prop]);return c},c=function(a,b){if(typeof a=="undefined")return;return a.current===b?a.next:(a.next=c(a.next,b),a)},a=function(a,b,c){var d;return d=a[b],a[b]=function(){return typeof d!="undefined"&&d.call(),c.call()},a[b].current=c,a[b].next=d},d=function(a,b){return a[b]=void 0},b(Array,{"new":function(){return Object.create(this)},bind:function(b,c){var d;return typeof b.forEach!="undefined"?(d=this,b.forEach(function(b){return a(d,b,c)})):a(this,b,c),c},bind_before:function(a,b){return console.log("bind_before() :not yet implemented")},bind_after:function(a,b){return console.log("bind_after() :not yet implemented")},call:function(a){if(typeof this[a]!="undefined")return this[a]()},unbind_all:function(a){var b;return typeof a.forEach!="undefined"?(b=this,a.forEach(function(a){return d(b,a)})):d(this,a)},unbind_all_before:function(a){return console.log("unbind_all_before() :not yet implemented")},unbind_all_after:function(a){return console.log("unbind_all_after() :not yet implemented")}})})})).call(this);
@@ -0,0 +1,7 @@
1
+ (function(){
2
+ var Racovi = Hevents.new();
3
+ Racovi.register_init = function(names, fun) {
4
+ Racovi.bind(names,fun);
5
+ };
6
+ window.Racovi = Racovi
7
+ })();
metadata ADDED
@@ -0,0 +1,135 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: racovi
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - yann ARMAND
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-05-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &70228717385540 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70228717385540
25
+ - !ruby/object:Gem::Dependency
26
+ name: rspec
27
+ requirement: &70228717383560 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 2.8.0
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70228717383560
36
+ - !ruby/object:Gem::Dependency
37
+ name: rdoc
38
+ requirement: &70228717382280 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '3.12'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *70228717382280
47
+ - !ruby/object:Gem::Dependency
48
+ name: bundler
49
+ requirement: &70228717381420 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 1.0.0
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70228717381420
58
+ - !ruby/object:Gem::Dependency
59
+ name: jeweler
60
+ requirement: &70228717380660 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: 1.8.3
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *70228717380660
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: &70228717379500 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *70228717379500
80
+ description: Use Hevents (https://github.com/yarmand/hevents) to create JS init function
81
+ for Rails controllers and views. Provide helper to setup handlers in your Rails
82
+ code
83
+ email: yann@harakys.com
84
+ executables: []
85
+ extensions: []
86
+ extra_rdoc_files:
87
+ - LICENSE.txt
88
+ - README.md
89
+ files:
90
+ - .document
91
+ - .rspec
92
+ - Gemfile
93
+ - LICENSE.txt
94
+ - README.md
95
+ - Rakefile
96
+ - VERSION
97
+ - lib/racovi.rb
98
+ - lib/racovi/railtie.rb
99
+ - lib/racovi/view_helpers.rb
100
+ - racovi.gemspec
101
+ - spec/racovi_spec.rb
102
+ - spec/spec_helper.rb
103
+ - spec/support/fake_controller.rb
104
+ - vendor/assets/javascripts/hevents.js
105
+ - vendor/assets/javascripts/hevents.min.js
106
+ - vendor/assets/javascripts/racovi.js
107
+ homepage: http://github.com/yarmand/racovi
108
+ licenses:
109
+ - MIT
110
+ post_install_message:
111
+ rdoc_options: []
112
+ require_paths:
113
+ - lib
114
+ required_ruby_version: !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ! '>='
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ segments:
121
+ - 0
122
+ hash: -1510114311665912414
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
+ none: false
125
+ requirements:
126
+ - - ! '>='
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ requirements: []
130
+ rubyforge_project:
131
+ rubygems_version: 1.8.15
132
+ signing_key:
133
+ specification_version: 3
134
+ summary: Call Javascript initialization functions for your Rail controllers and views
135
+ test_files: []