rails-sandbox-assets 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sandbox_assets/version.rb +1 -1
- data/lib/tasks/sandbox_assets.rake +6 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d812a8df32c8133627e6a26e7495bbd12648c58
|
4
|
+
data.tar.gz: f481cd5554f9107ffdbd21d736b2128de559543d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85f18b40153b426ab699e93554f6a96bd5ac53eb34f65f39535b931a3c43e20e86acff1312629bfb1af8b54a4b2246a8646cc5bd207aaff39ab672e4b97386bd
|
7
|
+
data.tar.gz: c2939b158722280377ea28ca2c21c6e0829c95d7420b691ef0fc89b28e904dc6692585d82a4eb3e881284f86dd980216335595c3b1e578963b1538251909581c
|
@@ -1,11 +1,12 @@
|
|
1
1
|
namespace :sandbox_assets do
|
2
2
|
desc "Run Sandboxed Assets server"
|
3
3
|
task :serve => :environment do
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
Rails.application.tap do |app|
|
5
|
+
app.routes.draw { mount SandboxAssets::Engine => '/' }
|
6
|
+
port = app.config.sandbox_assets.port
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
puts "Your assets will be soon available at http://localhost:#{port}\n\n"
|
9
|
+
Rack::Server.start app: app, Port: port
|
10
|
+
end
|
10
11
|
end
|
11
12
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-sandbox-assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Rosenfeld Rosas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|