theme 0.2.2 → 0.2.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65e814ce4cf0e4f13e837df06427eae320041851
4
- data.tar.gz: 63b1f45ff3d5d28f8cd8d71ff1ad54aa2c262690
3
+ metadata.gz: 2306555fa9e5b0fff654b068d1b162aae662b5ae
4
+ data.tar.gz: 2833979bf8f60a7394ce964a49fecadd046ed796
5
5
  SHA512:
6
- metadata.gz: b20e6a94f3c40bf6eb2a8d418c1545d74f805e5c03b2411cd0ef14e903478c5799b383ea318b2163ef09bfc539d46a988cf7d9a4624f8f6cdea50d80df44a793
7
- data.tar.gz: b170492f4baeac91535cbff1eea46b93253850160491014a53dfdc55adfb45fd16c3e3930d856a63fa539ac46aaba036fdc8c8800e22c004d7ef9b3ef2c06ab5
6
+ metadata.gz: c3d4b50a481ad66fa7d380220aeb839b800bbdd4f64bf3cfdf3220acc39c0e6e7938e89409679c628e6af6f66887b735f91c0be734cb5ac2dbf4f81bb6fdc35e
7
+ data.tar.gz: 9f4ee0fea08d42636dbb121b8b3bf947cf323d2fc947dc82d025d4abfb6812f846578e29035e118d5addda485dffc5cabac7a0cc5bf00f60fbc7a2233c315143
@@ -21,9 +21,9 @@ module Theme
21
21
  url = Theme.config.asset_url
22
22
 
23
23
  if Theme.config.assets_compiled
24
- options[:href] = "#{url}/css/all-#{sha}.css"
24
+ options[:href] = "#{url}/css/theme-compiled-#{sha}.css"
25
25
  else
26
- options[:href] = "#{url}/css/all.css"
26
+ options[:href] = "#{url}/css/theme.css"
27
27
  end
28
28
 
29
29
  Theme.mab { link options }
@@ -37,9 +37,9 @@ module Theme
37
37
  url = Theme.config.asset_url
38
38
 
39
39
  if Theme.config.assets_compiled
40
- options[:src] = "#{url}/js/all-#{sha}.js"
40
+ options[:src] = "#{url}/js/theme-compiled-#{sha}.js"
41
41
  else
42
- options[:src] = "#{url}/js/all.js"
42
+ options[:src] = "#{url}/js/theme.js"
43
43
  end
44
44
 
45
45
  Theme.mab { script options }
@@ -55,9 +55,9 @@ module Theme
55
55
  path = "#{type_path}/#{file}"
56
56
  content += Theme.load_file path
57
57
  end
58
- tmp_path = "#{type_path}/tmp.dominate-compiled.#{type}"
58
+ tmp_path = "#{type_path}/tmp.theme-compiled.#{type}"
59
59
  File.write tmp_path, content
60
- system "minify #{tmp_path} > #{type_path}/dominate-compiled.#{type}"
60
+ system "minify #{tmp_path} > #{type_path}/theme-compiled-#{sha}.#{type}"
61
61
  File.delete tmp_path
62
62
  end
63
63
  end
@@ -1,3 +1,3 @@
1
1
  module Theme
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-06 00:00:00.000000000 Z
11
+ date: 2014-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tilt