docomo_css 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/docomo_css.gemspec +1 -1
- data/lib/docomo_css/stylesheet.rb +1 -1
- data/test/docomo_css/stylesheet_test.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.4
|
data/docomo_css.gemspec
CHANGED
@@ -13,7 +13,7 @@ module DocomoCss
|
|
13
13
|
private
|
14
14
|
|
15
15
|
def path_from_href(href)
|
16
|
-
base_path = href.gsub(
|
16
|
+
base_path = href.gsub(ActionController::Base.asset_host, '').
|
17
17
|
gsub(/\?\d+/, '')
|
18
18
|
File.join(Rails.root, 'public', base_path)
|
19
19
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'test/unit'
|
2
2
|
require File.join File.dirname(__FILE__), '..', '..', 'lib', 'docomo_css', 'stylesheet'
|
3
3
|
|
4
|
-
module ActionController; module Base; def self.asset_host; "assets.example.com"; end; end; end
|
4
|
+
module ActionController; module Base; def self.asset_host; "http://assets.example.com"; end; end; end
|
5
5
|
|
6
6
|
class DocomoCss::StylesheetTest < Test::Unit::TestCase
|
7
7
|
def test_css_path
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docomo_css
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 4
|
10
|
+
version: 0.2.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- milk1000cc
|