livereload_rails 1.0.1 → 1.0.2

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: 1fb17dd63c953822f1f662144af51c69b689f8fc
4
- data.tar.gz: 64ae48328e25307b3bea5698f3eacc81ad9d9103
3
+ metadata.gz: 650678dedb683a2563478069fdc0057d9aacc60b
4
+ data.tar.gz: f476e29f7c33926a98c2b5e8a22aa218140a1b0b
5
5
  SHA512:
6
- metadata.gz: 0fa6c65dc3cb5351873409540a47954a8a357505204930363cdc0f17464cef0d83e6ff408f1463f3c748aceca9b30f0a4e8234db5f1031bdb85dccaa9da94534
7
- data.tar.gz: a8f0841f13e2aa36d399796777a3c805cc5f91379b8d557731950fa52f440ce4ba7a9abc7df3c85d9b1f4f991b28905f27b20798f3f90a07999bf82eca7dbef7
6
+ metadata.gz: aced287f8b0d26b427b2e181162d6a19aaf17fbbb0dbf66e8bc3cf5e102e7b7faa2d3786027278126c6ce942dad12c5d2807a62b72a67ed6460597f9bc6848f5
7
+ data.tar.gz: 9175037b06a5d00ce85c16dc51b2b2b5e244c0ba9d879cbbff932b4b060dbd6534df9ad064c8f66e3fb56f9062e3c58920b7c0e944163660e8a376b02ceb98c0
@@ -1,10 +1,11 @@
1
1
  require "livereload_rails"
2
2
  require "rails/engine"
3
+ require "rails/commands/server"
3
4
  require "rack-livereload"
4
5
 
5
6
  module LivereloadRails
6
7
  class Railtie < ::Rails::Engine
7
- config.app_middleware.use Rack::LiveReload, live_reload_port: Rails::Server.new.options[:Port]
8
+ config.app_middleware.use Rack::LiveReload, live_reload_port: ::Rails::Server.new.options[:Port]
8
9
  config.app_middleware.use LivereloadRails::Middleware, assets: config.assets
9
10
  end
10
11
  end
@@ -1,3 +1,3 @@
1
1
  module LivereloadRails
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livereload_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kim Burgestrand