bigpipe-rails 0.0.2
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.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +20 -0
- data/Gemfile.lock +160 -0
- data/Guardfile +21 -0
- data/LICENSE.txt +20 -0
- data/README.md +0 -0
- data/README.rdoc +19 -0
- data/Rakefile +49 -0
- data/VERSION +1 -0
- data/assets/bigpipe.coffee +150 -0
- data/assets/bigpipe.js +164 -0
- data/bigpipe-rails.gemspec +153 -0
- data/lib/bigpipe_rails/helper.rb +36 -0
- data/lib/bigpipe_rails.rb +13 -0
- data/lib/engines.rb +16 -0
- data/qunit/.DS_Store +0 -0
- data/qunit/qunit.css +227 -0
- data/qunit/qunit.js +1450 -0
- data/qunit/tests.html +302 -0
- data/spec/dummy_app/.gitignore +5 -0
- data/spec/dummy_app/Gemfile +19 -0
- data/spec/dummy_app/Gemfile.lock +143 -0
- data/spec/dummy_app/README +261 -0
- data/spec/dummy_app/Rakefile +7 -0
- data/spec/dummy_app/app/assets/images/rails.png +0 -0
- data/spec/dummy_app/app/assets/javascripts/application.js +5 -0
- data/spec/dummy_app/app/assets/stylesheets/application.css +7 -0
- data/spec/dummy_app/app/controllers/application_controller.rb +3 -0
- data/spec/dummy_app/app/controllers/test_controller.rb +8 -0
- data/spec/dummy_app/app/helpers/application_helper.rb +2 -0
- data/spec/dummy_app/app/mailers/.gitkeep +0 -0
- data/spec/dummy_app/app/models/.gitkeep +0 -0
- data/spec/dummy_app/app/views/layouts/application.html.erb +18 -0
- data/spec/dummy_app/app/views/test/test.html.erb +3 -0
- data/spec/dummy_app/app/views/test/test_with_exception.html.erb +7 -0
- data/spec/dummy_app/config/application.rb +47 -0
- data/spec/dummy_app/config/boot.rb +6 -0
- data/spec/dummy_app/config/database.yml +25 -0
- data/spec/dummy_app/config/environment.rb +5 -0
- data/spec/dummy_app/config/environments/development.rb +27 -0
- data/spec/dummy_app/config/environments/production.rb +54 -0
- data/spec/dummy_app/config/environments/test.rb +39 -0
- data/spec/dummy_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy_app/config/initializers/inflections.rb +10 -0
- data/spec/dummy_app/config/initializers/mime_types.rb +5 -0
- data/spec/dummy_app/config/initializers/secret_token.rb +7 -0
- data/spec/dummy_app/config/initializers/session_store.rb +8 -0
- data/spec/dummy_app/config/initializers/wrap_parameters.rb +12 -0
- data/spec/dummy_app/config/locales/en.yml +5 -0
- data/spec/dummy_app/config/routes.rb +62 -0
- data/spec/dummy_app/config/unicorn.rb +1 -0
- data/spec/dummy_app/config.ru +4 -0
- data/spec/dummy_app/db/seeds.rb +7 -0
- data/spec/dummy_app/lib/tasks/.gitkeep +0 -0
- data/spec/dummy_app/log/.gitkeep +0 -0
- data/spec/dummy_app/public/404.html +26 -0
- data/spec/dummy_app/public/422.html +26 -0
- data/spec/dummy_app/public/500.html +26 -0
- data/spec/dummy_app/public/favicon.ico +0 -0
- data/spec/dummy_app/public/index.html +241 -0
- data/spec/dummy_app/public/javascripts/bigpipe.js +164 -0
- data/spec/dummy_app/public/robots.txt +5 -0
- data/spec/dummy_app/script/rails +6 -0
- data/spec/dummy_app/spec/spec_helper.rb +26 -0
- data/spec/dummy_app/test/fixtures/.gitkeep +0 -0
- data/spec/dummy_app/test/functional/.gitkeep +0 -0
- data/spec/dummy_app/test/integration/.gitkeep +0 -0
- data/spec/dummy_app/test/integration/testabc_test.rb +9 -0
- data/spec/dummy_app/test/performance/browsing_test.rb +12 -0
- data/spec/dummy_app/test/test_helper.rb +13 -0
- data/spec/dummy_app/test/unit/.gitkeep +0 -0
- data/spec/dummy_app/vendor/assets/stylesheets/.gitkeep +0 -0
- data/spec/dummy_app/vendor/plugins/.gitkeep +0 -0
- data/spec/lib/bigpipe_rails_spec.rb +18 -0
- data/spec/requests/bigpipe_request_spec.rb +21 -0
- data/spec/spec_helper.rb +28 -0
- metadata +277 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
var Bigpipe, CssResource, JsResource, Pagelet, PageletResource;
|
|
3
|
+
var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, __hasProp = Object.prototype.hasOwnProperty, __extends = function(child, parent) {
|
|
4
|
+
for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; }
|
|
5
|
+
function ctor() { this.constructor = child; }
|
|
6
|
+
ctor.prototype = parent.prototype;
|
|
7
|
+
child.prototype = new ctor;
|
|
8
|
+
child.__super__ = parent.prototype;
|
|
9
|
+
return child;
|
|
10
|
+
};
|
|
11
|
+
Bigpipe = (function() {
|
|
12
|
+
function Bigpipe() {
|
|
13
|
+
this.get_resource = __bind(this.get_resource, this);
|
|
14
|
+
this.add_pagelet = __bind(this.add_pagelet, this); this.css = {};
|
|
15
|
+
this.js = {};
|
|
16
|
+
this.pagelets = [];
|
|
17
|
+
}
|
|
18
|
+
Bigpipe.prototype.add_pagelet = function(data) {
|
|
19
|
+
return this.pagelets.push(new Pagelet(data));
|
|
20
|
+
};
|
|
21
|
+
Bigpipe.prototype.get_resource = function(file, type) {
|
|
22
|
+
var _base, _base2, _ref, _ref2;
|
|
23
|
+
if (type === "css") {
|
|
24
|
+
if ((_ref = (_base = this.css)[file]) != null) {
|
|
25
|
+
_ref;
|
|
26
|
+
} else {
|
|
27
|
+
_base[file] = new CssResource(file);
|
|
28
|
+
};
|
|
29
|
+
return this.css[file];
|
|
30
|
+
} else if (type === "js") {
|
|
31
|
+
if ((_ref2 = (_base2 = this.js)[file]) != null) {
|
|
32
|
+
_ref2;
|
|
33
|
+
} else {
|
|
34
|
+
_base2[file] = new JsResource(file);
|
|
35
|
+
};
|
|
36
|
+
return this.js[file];
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
return Bigpipe;
|
|
40
|
+
})();
|
|
41
|
+
PageletResource = (function() {
|
|
42
|
+
function PageletResource(file_name) {
|
|
43
|
+
this.load_phase = 0;
|
|
44
|
+
this.file_name = file_name;
|
|
45
|
+
}
|
|
46
|
+
PageletResource.prototype.loaded = function() {
|
|
47
|
+
return this.load_phase === 2;
|
|
48
|
+
};
|
|
49
|
+
PageletResource.prototype.load = function() {
|
|
50
|
+
if (this.load_phase > 0) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
this.load_phase = 1;
|
|
54
|
+
this.create_element();
|
|
55
|
+
this.el.ready(__bind(function() {
|
|
56
|
+
return this.load_phase = 2;
|
|
57
|
+
}, this));
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
60
|
+
return PageletResource;
|
|
61
|
+
})();
|
|
62
|
+
CssResource = (function() {
|
|
63
|
+
__extends(CssResource, PageletResource);
|
|
64
|
+
function CssResource() {
|
|
65
|
+
CssResource.__super__.constructor.apply(this, arguments);
|
|
66
|
+
}
|
|
67
|
+
CssResource.prototype.create_element = function() {
|
|
68
|
+
this.el = $j(document.createElement('link'));
|
|
69
|
+
this.el.attr('rel', 'stylesheet').attr('href', "" + this.file_name + ".css");
|
|
70
|
+
return this.el;
|
|
71
|
+
};
|
|
72
|
+
return CssResource;
|
|
73
|
+
})();
|
|
74
|
+
JsResource = (function() {
|
|
75
|
+
__extends(JsResource, PageletResource);
|
|
76
|
+
function JsResource() {
|
|
77
|
+
JsResource.__super__.constructor.apply(this, arguments);
|
|
78
|
+
}
|
|
79
|
+
JsResource.prototype.create_element = function() {
|
|
80
|
+
this.el = $j(document.createElement('script'));
|
|
81
|
+
this.el.attr('type', 'text/javascript').attr('src', "" + this.file_name + ".js");
|
|
82
|
+
return this.el;
|
|
83
|
+
};
|
|
84
|
+
return JsResource;
|
|
85
|
+
})();
|
|
86
|
+
Pagelet = (function() {
|
|
87
|
+
function Pagelet(data) {
|
|
88
|
+
var _ref;
|
|
89
|
+
this.container = data.container;
|
|
90
|
+
this.content = data.content;
|
|
91
|
+
this.append = data.append || false;
|
|
92
|
+
this.css_resources = [];
|
|
93
|
+
this.js_resources = [];
|
|
94
|
+
this.on_load = (_ref = data.on_load) != null ? _ref : function() {};
|
|
95
|
+
this.init_resources(data);
|
|
96
|
+
this.load_css();
|
|
97
|
+
}
|
|
98
|
+
Pagelet.prototype.init_resources = function(data) {
|
|
99
|
+
$j.each(data['css'] || [], __bind(function(i, file) {
|
|
100
|
+
return this.css_resources.push(window.Bigpipe.get_resource(file, 'css'));
|
|
101
|
+
}, this));
|
|
102
|
+
return $j.each(data['js'] || [], __bind(function(i, file) {
|
|
103
|
+
return this.js_resources.push(window.Bigpipe.get_resource(file, 'js'));
|
|
104
|
+
}, this));
|
|
105
|
+
};
|
|
106
|
+
Pagelet.prototype.load_css = function() {
|
|
107
|
+
this.add_css();
|
|
108
|
+
if (!this.css_loaded()) {
|
|
109
|
+
return setTimeout(__bind(function() {
|
|
110
|
+
return this.load_css();
|
|
111
|
+
}, this), 20);
|
|
112
|
+
} else {
|
|
113
|
+
this.add_html();
|
|
114
|
+
return this.load_js();
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
Pagelet.prototype.load_js = function() {
|
|
118
|
+
this.add_js();
|
|
119
|
+
if (!this.js_loaded()) {
|
|
120
|
+
return setTimeout(__bind(function() {
|
|
121
|
+
return this.load_js();
|
|
122
|
+
}, this), 20);
|
|
123
|
+
} else {
|
|
124
|
+
return this.on_load();
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
Pagelet.prototype.css_loaded = function() {
|
|
128
|
+
var loaded;
|
|
129
|
+
loaded = true;
|
|
130
|
+
$j.each(this.css_resources, function(i, resource) {
|
|
131
|
+
return loaded = loaded && resource.loaded();
|
|
132
|
+
});
|
|
133
|
+
return loaded;
|
|
134
|
+
};
|
|
135
|
+
Pagelet.prototype.js_loaded = function() {
|
|
136
|
+
var loaded;
|
|
137
|
+
loaded = true;
|
|
138
|
+
$j.each(this.js_resources, function(i, resource) {
|
|
139
|
+
return loaded = loaded && resource.loaded();
|
|
140
|
+
});
|
|
141
|
+
return loaded;
|
|
142
|
+
};
|
|
143
|
+
Pagelet.prototype.add_js = function() {
|
|
144
|
+
return $j.each(this.js_resources, function(i, resource) {
|
|
145
|
+
return resource.load();
|
|
146
|
+
});
|
|
147
|
+
};
|
|
148
|
+
Pagelet.prototype.add_css = function() {
|
|
149
|
+
return $j.each(this.css_resources, function(i, resource) {
|
|
150
|
+
return resource.load();
|
|
151
|
+
});
|
|
152
|
+
};
|
|
153
|
+
Pagelet.prototype.add_html = function() {
|
|
154
|
+
if (!this.append) {
|
|
155
|
+
return $j(this.container).html(this.content);
|
|
156
|
+
} else {
|
|
157
|
+
return $j(this.container).append(this.content);
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
return Pagelet;
|
|
161
|
+
})();
|
|
162
|
+
this.$j = jQuery.noConflict();
|
|
163
|
+
this.Bigpipe = new Bigpipe();
|
|
164
|
+
}).call(this);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
|
3
|
+
|
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
|
6
|
+
require 'rails/commands'
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
|
3
|
+
require File.expand_path("../../config/environment", __FILE__)
|
|
4
|
+
require 'rspec/rails'
|
|
5
|
+
|
|
6
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
|
7
|
+
# in spec/support/ and its subdirectories.
|
|
8
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
|
9
|
+
|
|
10
|
+
RSpec.configure do |config|
|
|
11
|
+
# == Mock Framework
|
|
12
|
+
#
|
|
13
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
|
14
|
+
#
|
|
15
|
+
# config.mock_with :flexmock
|
|
16
|
+
# config.mock_with :rr
|
|
17
|
+
config.mock_with :mocha
|
|
18
|
+
|
|
19
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
|
20
|
+
# config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
|
21
|
+
|
|
22
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
|
23
|
+
# examples within a transaction, remove the following line or assign false
|
|
24
|
+
# instead of true.
|
|
25
|
+
# config.use_transactional_fixtures = true
|
|
26
|
+
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
require 'test_helper'
|
|
2
|
+
require 'rails/performance_test_help'
|
|
3
|
+
|
|
4
|
+
class BrowsingTest < ActionDispatch::PerformanceTest
|
|
5
|
+
# Refer to the documentation for all available options
|
|
6
|
+
# self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
|
|
7
|
+
# :output => 'tmp/performance', :formats => [:flat] }
|
|
8
|
+
|
|
9
|
+
def test_homepage
|
|
10
|
+
get '/'
|
|
11
|
+
end
|
|
12
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
|
3
|
+
require 'rails/test_help'
|
|
4
|
+
|
|
5
|
+
class ActiveSupport::TestCase
|
|
6
|
+
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
|
7
|
+
#
|
|
8
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
|
9
|
+
# -- they do not yet inherit this setting
|
|
10
|
+
fixtures :all
|
|
11
|
+
|
|
12
|
+
# Add more helper methods to be used by all tests here...
|
|
13
|
+
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# remove the js file - this is hard-coded becaues it has to happen before the spec helper is loaded
|
|
2
|
+
require 'fileutils'
|
|
3
|
+
FileUtils.rm_f(File.expand_path(File.dirname(__FILE__) + '/dummy_app/public/javascripts/bigpipe.js'))
|
|
4
|
+
|
|
5
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
|
6
|
+
|
|
7
|
+
describe "BigpipeRails" do
|
|
8
|
+
it "is included in ApplicationHelper" do
|
|
9
|
+
ActionView::Base.new.public_methods.should include :bigpipe
|
|
10
|
+
ActionView::Base.new.public_methods.should include :render_bigpipe
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
it "should move the generated js file into the public directory" do
|
|
14
|
+
# Rails.root is in the dummy app
|
|
15
|
+
File.exists?(File.join(Rails.root,'public','javascripts','bigpipe.js')).should be true
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
|
2
|
+
|
|
3
|
+
describe "BigpipeRails" do
|
|
4
|
+
describe "GET /test" do
|
|
5
|
+
it "displays bigpipe content as a javascript tag" do
|
|
6
|
+
get("/test")
|
|
7
|
+
response.body.should match("Hello!")
|
|
8
|
+
true
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
describe "GET /test_with_exception" do
|
|
12
|
+
it "displays displays bigpipe content even if there is an error later in rendering" do
|
|
13
|
+
get("/test_with_exception")
|
|
14
|
+
response.body.should match("Hello!")
|
|
15
|
+
# should be a 500 page hanging out in there too, that denotes that the output is pushed separately to
|
|
16
|
+
# the browser
|
|
17
|
+
response.body.should match("500.html")
|
|
18
|
+
true
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
|
2
|
+
|
|
3
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
4
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
|
5
|
+
|
|
6
|
+
# get the spec_helper file from our dummy app
|
|
7
|
+
require File.expand_path("../dummy_app/spec/spec_helper.rb", __FILE__)
|
|
8
|
+
# Run any available migration
|
|
9
|
+
ActiveRecord::Migrator.migrate File.expand_path("../dummy_app/db/migrate/", __FILE__)
|
|
10
|
+
|
|
11
|
+
require 'bigpipe_rails'
|
|
12
|
+
|
|
13
|
+
ActionMailer::Base.delivery_method = :test
|
|
14
|
+
ActionMailer::Base.perform_deliveries = true
|
|
15
|
+
ActionMailer::Base.default_url_options[:host] = "test.com"
|
|
16
|
+
|
|
17
|
+
# start the debugger
|
|
18
|
+
require "ruby-debug"
|
|
19
|
+
Debugger.start
|
|
20
|
+
|
|
21
|
+
Rails.backtrace_cleaner.remove_silencers!
|
|
22
|
+
|
|
23
|
+
# Load support files
|
|
24
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
|
25
|
+
|
|
26
|
+
RSpec.configure do |config|
|
|
27
|
+
config.mock_with :mocha
|
|
28
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: bigpipe-rails
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
prerelease:
|
|
5
|
+
version: 0.0.2
|
|
6
|
+
platform: ruby
|
|
7
|
+
authors:
|
|
8
|
+
- Dan Langevin
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
|
|
13
|
+
date: 2011-07-24 00:00:00 Z
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: rails
|
|
17
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
18
|
+
none: false
|
|
19
|
+
requirements:
|
|
20
|
+
- - "="
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 3.1.0.rc4
|
|
23
|
+
type: :runtime
|
|
24
|
+
prerelease: false
|
|
25
|
+
version_requirements: *id001
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: sqlite3
|
|
28
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
29
|
+
none: false
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: "0"
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: *id002
|
|
37
|
+
- !ruby/object:Gem::Dependency
|
|
38
|
+
name: rspec-rails
|
|
39
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
40
|
+
none: false
|
|
41
|
+
requirements:
|
|
42
|
+
- - ">="
|
|
43
|
+
- !ruby/object:Gem::Version
|
|
44
|
+
version: "0"
|
|
45
|
+
type: :development
|
|
46
|
+
prerelease: false
|
|
47
|
+
version_requirements: *id003
|
|
48
|
+
- !ruby/object:Gem::Dependency
|
|
49
|
+
name: bundler
|
|
50
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
|
51
|
+
none: false
|
|
52
|
+
requirements:
|
|
53
|
+
- - ">="
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: "0"
|
|
56
|
+
type: :development
|
|
57
|
+
prerelease: false
|
|
58
|
+
version_requirements: *id004
|
|
59
|
+
- !ruby/object:Gem::Dependency
|
|
60
|
+
name: jeweler
|
|
61
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
|
62
|
+
none: false
|
|
63
|
+
requirements:
|
|
64
|
+
- - ">="
|
|
65
|
+
- !ruby/object:Gem::Version
|
|
66
|
+
version: "0"
|
|
67
|
+
type: :development
|
|
68
|
+
prerelease: false
|
|
69
|
+
version_requirements: *id005
|
|
70
|
+
- !ruby/object:Gem::Dependency
|
|
71
|
+
name: guard-rspec
|
|
72
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
|
73
|
+
none: false
|
|
74
|
+
requirements:
|
|
75
|
+
- - ">="
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: "0"
|
|
78
|
+
type: :development
|
|
79
|
+
prerelease: false
|
|
80
|
+
version_requirements: *id006
|
|
81
|
+
- !ruby/object:Gem::Dependency
|
|
82
|
+
name: guard-coffeescript
|
|
83
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
|
84
|
+
none: false
|
|
85
|
+
requirements:
|
|
86
|
+
- - ">="
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: "0"
|
|
89
|
+
type: :development
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: *id007
|
|
92
|
+
- !ruby/object:Gem::Dependency
|
|
93
|
+
name: ruby-debug19
|
|
94
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
|
95
|
+
none: false
|
|
96
|
+
requirements:
|
|
97
|
+
- - ">="
|
|
98
|
+
- !ruby/object:Gem::Version
|
|
99
|
+
version: "0"
|
|
100
|
+
type: :development
|
|
101
|
+
prerelease: false
|
|
102
|
+
version_requirements: *id008
|
|
103
|
+
- !ruby/object:Gem::Dependency
|
|
104
|
+
name: mocha
|
|
105
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
|
106
|
+
none: false
|
|
107
|
+
requirements:
|
|
108
|
+
- - ">="
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: "0"
|
|
111
|
+
type: :development
|
|
112
|
+
prerelease: false
|
|
113
|
+
version_requirements: *id009
|
|
114
|
+
- !ruby/object:Gem::Dependency
|
|
115
|
+
name: unicorn
|
|
116
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
|
117
|
+
none: false
|
|
118
|
+
requirements:
|
|
119
|
+
- - ">="
|
|
120
|
+
- !ruby/object:Gem::Version
|
|
121
|
+
version: "0"
|
|
122
|
+
type: :development
|
|
123
|
+
prerelease: false
|
|
124
|
+
version_requirements: *id010
|
|
125
|
+
- !ruby/object:Gem::Dependency
|
|
126
|
+
name: factory_girl_rails
|
|
127
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
|
128
|
+
none: false
|
|
129
|
+
requirements:
|
|
130
|
+
- - ">="
|
|
131
|
+
- !ruby/object:Gem::Version
|
|
132
|
+
version: "0"
|
|
133
|
+
type: :development
|
|
134
|
+
prerelease: false
|
|
135
|
+
version_requirements: *id011
|
|
136
|
+
- !ruby/object:Gem::Dependency
|
|
137
|
+
name: rails3-generators
|
|
138
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
|
139
|
+
none: false
|
|
140
|
+
requirements:
|
|
141
|
+
- - ">="
|
|
142
|
+
- !ruby/object:Gem::Version
|
|
143
|
+
version: "0"
|
|
144
|
+
type: :development
|
|
145
|
+
prerelease: false
|
|
146
|
+
version_requirements: *id012
|
|
147
|
+
- !ruby/object:Gem::Dependency
|
|
148
|
+
name: growl
|
|
149
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
|
150
|
+
none: false
|
|
151
|
+
requirements:
|
|
152
|
+
- - ">="
|
|
153
|
+
- !ruby/object:Gem::Version
|
|
154
|
+
version: "0"
|
|
155
|
+
type: :development
|
|
156
|
+
prerelease: false
|
|
157
|
+
version_requirements: *id013
|
|
158
|
+
description: Takes advantage of context switching and provides in Rails 3.1
|
|
159
|
+
email: dan.langevin@gmail.com
|
|
160
|
+
executables: []
|
|
161
|
+
|
|
162
|
+
extensions: []
|
|
163
|
+
|
|
164
|
+
extra_rdoc_files:
|
|
165
|
+
- LICENSE.txt
|
|
166
|
+
- README.md
|
|
167
|
+
- README.rdoc
|
|
168
|
+
files:
|
|
169
|
+
- .document
|
|
170
|
+
- .rspec
|
|
171
|
+
- Gemfile
|
|
172
|
+
- Gemfile.lock
|
|
173
|
+
- Guardfile
|
|
174
|
+
- LICENSE.txt
|
|
175
|
+
- README.md
|
|
176
|
+
- README.rdoc
|
|
177
|
+
- Rakefile
|
|
178
|
+
- VERSION
|
|
179
|
+
- assets/bigpipe.coffee
|
|
180
|
+
- assets/bigpipe.js
|
|
181
|
+
- bigpipe-rails.gemspec
|
|
182
|
+
- lib/bigpipe_rails.rb
|
|
183
|
+
- lib/bigpipe_rails/helper.rb
|
|
184
|
+
- lib/engines.rb
|
|
185
|
+
- qunit/.DS_Store
|
|
186
|
+
- qunit/qunit.css
|
|
187
|
+
- qunit/qunit.js
|
|
188
|
+
- qunit/tests.html
|
|
189
|
+
- spec/dummy_app/.gitignore
|
|
190
|
+
- spec/dummy_app/Gemfile
|
|
191
|
+
- spec/dummy_app/Gemfile.lock
|
|
192
|
+
- spec/dummy_app/README
|
|
193
|
+
- spec/dummy_app/Rakefile
|
|
194
|
+
- spec/dummy_app/app/assets/images/rails.png
|
|
195
|
+
- spec/dummy_app/app/assets/javascripts/application.js
|
|
196
|
+
- spec/dummy_app/app/assets/stylesheets/application.css
|
|
197
|
+
- spec/dummy_app/app/controllers/application_controller.rb
|
|
198
|
+
- spec/dummy_app/app/controllers/test_controller.rb
|
|
199
|
+
- spec/dummy_app/app/helpers/application_helper.rb
|
|
200
|
+
- spec/dummy_app/app/mailers/.gitkeep
|
|
201
|
+
- spec/dummy_app/app/models/.gitkeep
|
|
202
|
+
- spec/dummy_app/app/views/layouts/application.html.erb
|
|
203
|
+
- spec/dummy_app/app/views/test/test.html.erb
|
|
204
|
+
- spec/dummy_app/app/views/test/test_with_exception.html.erb
|
|
205
|
+
- spec/dummy_app/config.ru
|
|
206
|
+
- spec/dummy_app/config/application.rb
|
|
207
|
+
- spec/dummy_app/config/boot.rb
|
|
208
|
+
- spec/dummy_app/config/database.yml
|
|
209
|
+
- spec/dummy_app/config/environment.rb
|
|
210
|
+
- spec/dummy_app/config/environments/development.rb
|
|
211
|
+
- spec/dummy_app/config/environments/production.rb
|
|
212
|
+
- spec/dummy_app/config/environments/test.rb
|
|
213
|
+
- spec/dummy_app/config/initializers/backtrace_silencers.rb
|
|
214
|
+
- spec/dummy_app/config/initializers/inflections.rb
|
|
215
|
+
- spec/dummy_app/config/initializers/mime_types.rb
|
|
216
|
+
- spec/dummy_app/config/initializers/secret_token.rb
|
|
217
|
+
- spec/dummy_app/config/initializers/session_store.rb
|
|
218
|
+
- spec/dummy_app/config/initializers/wrap_parameters.rb
|
|
219
|
+
- spec/dummy_app/config/locales/en.yml
|
|
220
|
+
- spec/dummy_app/config/routes.rb
|
|
221
|
+
- spec/dummy_app/config/unicorn.rb
|
|
222
|
+
- spec/dummy_app/db/seeds.rb
|
|
223
|
+
- spec/dummy_app/lib/tasks/.gitkeep
|
|
224
|
+
- spec/dummy_app/log/.gitkeep
|
|
225
|
+
- spec/dummy_app/public/404.html
|
|
226
|
+
- spec/dummy_app/public/422.html
|
|
227
|
+
- spec/dummy_app/public/500.html
|
|
228
|
+
- spec/dummy_app/public/favicon.ico
|
|
229
|
+
- spec/dummy_app/public/index.html
|
|
230
|
+
- spec/dummy_app/public/javascripts/bigpipe.js
|
|
231
|
+
- spec/dummy_app/public/robots.txt
|
|
232
|
+
- spec/dummy_app/script/rails
|
|
233
|
+
- spec/dummy_app/spec/spec_helper.rb
|
|
234
|
+
- spec/dummy_app/test/fixtures/.gitkeep
|
|
235
|
+
- spec/dummy_app/test/functional/.gitkeep
|
|
236
|
+
- spec/dummy_app/test/integration/.gitkeep
|
|
237
|
+
- spec/dummy_app/test/integration/testabc_test.rb
|
|
238
|
+
- spec/dummy_app/test/performance/browsing_test.rb
|
|
239
|
+
- spec/dummy_app/test/test_helper.rb
|
|
240
|
+
- spec/dummy_app/test/unit/.gitkeep
|
|
241
|
+
- spec/dummy_app/vendor/assets/stylesheets/.gitkeep
|
|
242
|
+
- spec/dummy_app/vendor/plugins/.gitkeep
|
|
243
|
+
- spec/lib/bigpipe_rails_spec.rb
|
|
244
|
+
- spec/requests/bigpipe_request_spec.rb
|
|
245
|
+
- spec/spec_helper.rb
|
|
246
|
+
homepage: http://github.com/dlangevin/bigpipe-rails
|
|
247
|
+
licenses:
|
|
248
|
+
- MIT
|
|
249
|
+
post_install_message:
|
|
250
|
+
rdoc_options: []
|
|
251
|
+
|
|
252
|
+
require_paths:
|
|
253
|
+
- lib
|
|
254
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
255
|
+
none: false
|
|
256
|
+
requirements:
|
|
257
|
+
- - ">="
|
|
258
|
+
- !ruby/object:Gem::Version
|
|
259
|
+
hash: 2541697380420003209
|
|
260
|
+
segments:
|
|
261
|
+
- 0
|
|
262
|
+
version: "0"
|
|
263
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
|
+
none: false
|
|
265
|
+
requirements:
|
|
266
|
+
- - ">="
|
|
267
|
+
- !ruby/object:Gem::Version
|
|
268
|
+
version: "0"
|
|
269
|
+
requirements: []
|
|
270
|
+
|
|
271
|
+
rubyforge_project:
|
|
272
|
+
rubygems_version: 1.7.2
|
|
273
|
+
signing_key:
|
|
274
|
+
specification_version: 3
|
|
275
|
+
summary: Rails Engines Plugin to provide BigPipe functionality
|
|
276
|
+
test_files: []
|
|
277
|
+
|