wp-fire 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,10 +10,7 @@ if ( ! function_exists( '<%= theme_id %>_enqueue_scripts' ) ) :
|
|
10
10
|
function <%= theme_id %>_enqueue_scripts() {
|
11
11
|
|
12
12
|
if ( ! is_admin() ) {
|
13
|
-
|
14
|
-
'<%= theme_id %>-style',
|
15
|
-
get_bloginfo( 'stylesheet_url' )
|
16
|
-
);
|
13
|
+
wp_enqueue_script('theme', get_stylesheet_directory_uri() . '/theme.js', 'jquery', null);
|
17
14
|
}
|
18
15
|
|
19
16
|
}
|
data/lib/wp_fire/compiler.rb
CHANGED
@@ -25,6 +25,9 @@ module WpFire
|
|
25
25
|
elsif [".jpg",".jpeg",".png",".gif",".ico"].include?(extname)
|
26
26
|
Dir.mkdir File.join(build_path, "images") unless File.directory?(File.join(build_path, "images"))
|
27
27
|
FileUtils.cp filename, File.join(build_path, "images", File.basename(filename))
|
28
|
+
elsif [".ttf",".eot",".woff",".svg",".otf"].include?(extname)
|
29
|
+
Dir.mkdir File.join(build_path, "fonts") unless File.directory?(File.join(build_path, "fonts"))
|
30
|
+
FileUtils.cp filename, File.join(build_path, "fonts", File.basename(filename))
|
28
31
|
end
|
29
32
|
end
|
30
33
|
|
data/lib/wp_fire/generator.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wp-fire
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -122,7 +122,8 @@ files:
|
|
122
122
|
- generators/wp_fire/stylesheets/style.css.scss.erb
|
123
123
|
- generators/wp_fire/stylesheets/_header.scss.erb
|
124
124
|
homepage: https://github.com/maintux/wp-fire
|
125
|
-
licenses:
|
125
|
+
licenses:
|
126
|
+
- GPL-2
|
126
127
|
post_install_message:
|
127
128
|
rdoc_options: []
|
128
129
|
require_paths:
|