savagery 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/savagery/helpers/rails.rb +1 -1
- data/lib/savagery/version.rb +1 -1
- data/spec/helpers/rails_spec.rb +3 -3
- 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: 767ed4a1bf7218b6c226106f16d9b0cabad38d24
|
4
|
+
data.tar.gz: 1680f3af8f6a82d912dfa7fa42c06446b0f59495
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65c25a0a4e108d343f6104dc8285835cd937f2ff1763296039b9dfdafdac9d91ba93ed420306c23b6e7b7c1ed32ec239030b5ec0f79be3ca0edffeffb5a7492f
|
7
|
+
data.tar.gz: 8797918371e227c28e247a37cebbc8dc20dcce9fc0b6f44cb02b3010503ae1412911ecf53899da953753116918d7cc4e5ba7bb20b85431468a85ca7f15feb9ee
|
data/lib/savagery/version.rb
CHANGED
data/spec/helpers/rails_spec.rb
CHANGED
@@ -25,12 +25,12 @@ describe Savagery::Helpers::Rails do
|
|
25
25
|
end
|
26
26
|
|
27
27
|
describe "#svg_sprite_use" do
|
28
|
-
let(:request) { double(
|
28
|
+
let(:request) { double(original_url: "http://example.com/omg/wtf") }
|
29
29
|
|
30
30
|
before { subject.stub(request: request) }
|
31
31
|
|
32
|
-
it "delegates to helpers with current_url set to request.
|
33
|
-
helpers.should_receive(:svg_sprite_use).with("test", current_url: "/omg/wtf")
|
32
|
+
it "delegates to helpers with current_url set to request.original_url" do
|
33
|
+
helpers.should_receive(:svg_sprite_use).with("test", current_url: "http://example.com/omg/wtf")
|
34
34
|
subject.svg_sprite_use("test").should == "<svg_sprite_use />"
|
35
35
|
end
|
36
36
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: savagery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Geisel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ember-rails-assets
|