rails-sandbox-assets 0.1.0 → 0.1.1

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: 4077420e306bf38918ede39e3a318e419f120b6b
4
- data.tar.gz: de4f7c6c255dfb036cfb8e39e7a8a359e7907a1b
3
+ metadata.gz: 3b769fabdc29fdf41fd4ca44666385150ef5f305
4
+ data.tar.gz: a53dc702f4b54fbdcbf56e35a6ac5e071be21938
5
5
  SHA512:
6
- metadata.gz: 07ff7b16ac8e95f3938b58f4f2725f8c8c845780c7686b61c86c749a0ce8496e46ea9b305698b7f90fb99d5ccd9d9ed6f966f0a1d6e544c225f962b2d5a2bdf3
7
- data.tar.gz: 21a942556025db6ff62c673e9ebb37c0c4c58a87a71a7d4494e0bb7d65b0bc11464dfa6345e4ba54b75c296d6cea526423abd6dc4677c8c2020a985db0f7845a
6
+ metadata.gz: 63283310102d5c38a569a53babf0e00d0183acefd91b839ea3bfb4b93d4f8e013b0f99fc583831789263146872eaa9da6da275e8a1af839833758fda856ffa46
7
+ data.tar.gz: 6177866ac7794172130c9bd3eace01b1bc069973d6688f67cedfc148ca6d04a0218c181f1542352efa3d470638d561291d5dbbaec1845b567d5afbc209e3c13f
@@ -12,6 +12,10 @@ module SandboxAssets
12
12
  @template = template
13
13
  end
14
14
 
15
+ def iframe_template=(template)
16
+ @iframe_template = template
17
+ end
18
+
15
19
  protected
16
20
 
17
21
  def find_tests
@@ -1,3 +1,3 @@
1
1
  module SandboxAssets
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -3,6 +3,7 @@ namespace :sandbox_assets do
3
3
  task :serve => :environment do
4
4
  app = SandboxAssets::Engine
5
5
  port = app.config.sandbox_assets.port
6
+ app.routes.define_mounted_helper 'sandbox_assets_engine'
6
7
 
7
8
  puts "Your assets will be soon available at http://localhost:#{port}\n\n"
8
9
  Rack::Server.start app: app, Port: port
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-sandbox-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Rosenfeld Rosas