volt 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/volt/page/page.rb +2 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce5de012118df819a1b118e4c0423d1cc40263d5
4
- data.tar.gz: f3c2b624894a4e9acea4c944ccb75bc56ab1da0c
3
+ metadata.gz: 29180fc02e7a72b3d68a1b31aede35a996306284
4
+ data.tar.gz: e59b97e68a70e77bdb57de21c01a31dab8cfb56f
5
5
  SHA512:
6
- metadata.gz: f56e99671b92edc3d445a8a98003acf60e94ac4c88922cb29b83eee3e5b45d7300e4c780f546e3136d56fe2628c38517c12657ef5e1ab87a296a04fb0d69f08e
7
- data.tar.gz: 89ef29f602ee597f261444ab158990edf65722a3ed23bedea47fbaa94552b429e1c6a24c92157ad7fd41de7bb15a14dae922976f10c7f48cdf17fc1ba58ec3f9
6
+ metadata.gz: e891700baf727e09b5a15b6e492ef4605a0f0ed8951d9e4a584e60d90255806dbd64e01357542aef44806e531e2e6c265f6e69291b9e1ca6b89af010533ee687
7
+ data.tar.gz: 955f35535c1752da24362ae5f2f14b1adae3176dd1789d1711fb2357d473df254eabd71edad0d6692cc2f90aa1a7278e4c31c1c2c2e32dd3d7d09dac47b229e0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.3
1
+ 0.4.4
@@ -81,7 +81,8 @@ class Page
81
81
 
82
82
  # Normalize url
83
83
  Benchmark.bm(1) do
84
- @url.parse("http://localhost:3000" + url)
84
+ host = `document.location.host`
85
+ @url.parse("http://#{host}" + url)
85
86
  end
86
87
  end
87
88
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Stout