bigpipe-rails 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.1.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bigpipe-rails}
8
- s.version = "0.0.2"
8
+ s.version = "0.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dan Langevin"]
data/lib/engines.rb CHANGED
@@ -8,9 +8,10 @@ module BigpipeRails
8
8
  # include our helper
9
9
  ActionView::Base.send(:include, BigpipeRails::Helper)
10
10
 
11
- # copy over our bigpipe
12
- FileUtils.mkdir_p(File.join(Rails.root, "public", "javascripts"))
13
- FileUtils.cp(File.join(BigpipeRails.root, "assets", "bigpipe.js"), File.join(Rails.root, "public", "javascripts"))
14
-
11
+ initializer("bigpipe_rails.add_bigpipe_js") do
12
+ # copy over our bigpipe
13
+ FileUtils.mkdir_p(File.join(Rails.root, "public", "javascripts"))
14
+ FileUtils.cp(File.join(BigpipeRails.root, "assets", "bigpipe.js"), File.join(Rails.root, "public", "javascripts"))
15
+ end
15
16
  end
16
17
  end
@@ -2,7 +2,7 @@ source 'http://rubygems.org'
2
2
 
3
3
  gem 'rails', '3.1.0.rc4'
4
4
  gem 'sqlite3'
5
- gem 'bigpipe-rails'
5
+ gem 'bigpipe-rails', :require => "bigpipe_rails"
6
6
 
7
7
  # Bundle gems for the local environment. Make sure to
8
8
  # put test-only gems in this group so their generators
@@ -34,6 +34,8 @@ GEM
34
34
  archive-tar-minitar (0.5.2)
35
35
  arel (2.1.3)
36
36
  bcrypt-ruby (2.1.4)
37
+ bigpipe-rails (0.0.2)
38
+ rails (= 3.1.0.rc4)
37
39
  builder (3.0.0)
38
40
  columnize (0.3.4)
39
41
  diff-lcs (1.1.2)
@@ -131,6 +133,7 @@ PLATFORMS
131
133
  ruby
132
134
 
133
135
  DEPENDENCIES
136
+ bigpipe-rails
134
137
  factory_girl_rails
135
138
  growl
136
139
  guard-rspec
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bigpipe-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.1.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dan Langevin
@@ -256,7 +256,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
256
256
  requirements:
257
257
  - - ">="
258
258
  - !ruby/object:Gem::Version
259
- hash: 2541697380420003209
259
+ hash: 863484909136685835
260
260
  segments:
261
261
  - 0
262
262
  version: "0"