pullentity-client 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/pullentity-client/helpers.rb +2 -10
- data/lib/pullentity-client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDZiNDE5NGM5ZWE3NDhiZDk2YjgxNGJkOTA5YzU3ZDg3MDk2YWEwZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Y2ZkZTBlNmVmNzM0ZGNhMGI2MGE0ZTFkNTdiZDNkYzczYTQwZjQwMA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2U1MjA3OWZhYjkwMTBiOTc2YzEyOTg2ODM5YTk0MjQ1MmRiMzY4NTIyM2Q3
|
10
|
+
MWQyMjIyYTc4YmM0OTVlOWE3ZmU5ODkxNTU2NGMyODcwYWVkYTU5Zjk5MGEx
|
11
|
+
M2M4YTE5NDdlNmQ3NDRhNGJlMzkwYmI0NWE1MmY1MDcwMzJjMGE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDdjOGI2NWNhOTM4ZjgyNjA4MDc1MzEyOGIwODg1NGMyNWYzY2EzMWFmNWJk
|
14
|
+
YzFhOTgxMjdjMjVmYjQ0MDJjYjAyNmFjNmQwYWY4NDZmMWJiODIxNWZjODVl
|
15
|
+
NjE4YzViNTlkNTkxNTFhZTE2ZGM5ZjFiOGY1ZDRkZTI4YWMyNTg=
|
@@ -9,7 +9,7 @@ module Pullentity::Client::Helpers
|
|
9
9
|
def javascript_include_tag(file)
|
10
10
|
if target?(:pullentity)
|
11
11
|
path = "#{URL_REMOTE}/uploads/theme_asset/#{site_name}/theme/#{theme_name}/assets/#{file}"
|
12
|
-
"<script src='#{path}.js' type='text/javascript'></script>"
|
12
|
+
"<script src='#{path}.js?#{Time.now.to_i}' type='text/javascript'></script>"
|
13
13
|
else
|
14
14
|
super
|
15
15
|
end
|
@@ -18,7 +18,7 @@ module Pullentity::Client::Helpers
|
|
18
18
|
def stylesheet_link_tag(file)
|
19
19
|
if target?(:pullentity)
|
20
20
|
path = "#{URL_REMOTE}/uploads/theme_asset/#{site_name}/theme/#{theme_name}/assets/#{file}"
|
21
|
-
"<link href='#{path}.css' media='screen' rel='stylesheet' type='text/css' />"
|
21
|
+
"<link href='#{path}.css?#{Time.now.to_i}' media='screen' rel='stylesheet' type='text/css' />"
|
22
22
|
else
|
23
23
|
super
|
24
24
|
end
|
@@ -44,14 +44,6 @@ module Pullentity::Client::Helpers
|
|
44
44
|
@location ||= Pathname.new(Dir.pwd)
|
45
45
|
end
|
46
46
|
|
47
|
-
def asset_pathxxxx(file)
|
48
|
-
if target?(:pullentity)
|
49
|
-
'yea'
|
50
|
-
else
|
51
|
-
super
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
47
|
end
|
56
48
|
|
57
49
|
# config.rb
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pullentity-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- miguel michelson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-script
|