middleman-ganbaruzoi 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/lib/middleman-ganbaruzoi/template.rb +15 -9
- data/lib/middleman-ganbaruzoi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d57ef76c1b00f8a02d680aa410609d00f14f683
|
4
|
+
data.tar.gz: 7351279d0f726108c3ad0c13f908824c6f51de28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 920eef06201c588309a9dee7b0092a793fe2701783d1f7967638c554fb83df9beac3eb7870383b02952cd3d4269ef9a084b39f3c1c4d9d6e2de95b9301c436a0
|
7
|
+
data.tar.gz: 98acda154a8152a621d273a02d3771eaf2aecbba6a8081c70d5eff904b9a516c8a0893cd5034ad180adb577ad4da4ab08135d351648d6d5cf304f4124532bd71
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# middleman-ganbaruzoi
|
2
2
|
|
3
|
+
<a href="https://rubygems.org/gems/middleman-ganbaruzoi"><img src="https://badge.fury.io/rb/middleman-ganbaruzoi.png"></a>
|
4
|
+
|
3
5
|
Middleman-Ganbaruzoi is a boilerplate of middleman using using Slim, Sass and CoffeeScript.
|
4
6
|
|
5
7
|
<img src="http://f.cl.ly/items/00201Z12410h1W2N0r2j/%E5%86%99%E7%9C%9F%202014-06-07%2022%2011%2032_1.png" width="450" alt="今日も一日がんばるぞい!">
|
@@ -45,6 +47,10 @@ Web Designer in Kyoto, Japan.
|
|
45
47
|
|
46
48
|
## Change Log
|
47
49
|
|
50
|
+
### 0.0.3 (2014-08-18)
|
51
|
+
|
52
|
+
* `template.rb`の`js`ディレクトリの設定おかしかったので修正
|
53
|
+
|
48
54
|
### 0.0.2 (2014-08-18)
|
49
55
|
|
50
56
|
* `README.md`修正したやつをrubygems.orgに反映してなかったので、もうよく分からんのでアップデートした
|
@@ -10,6 +10,12 @@ module Middleman
|
|
10
10
|
class_option 'js_dir',
|
11
11
|
default: 'js',
|
12
12
|
desc: 'The path to the javascript files'
|
13
|
+
class_option 'js_core_dir',
|
14
|
+
default: 'js/core',
|
15
|
+
desc: 'The path to the javascript core files'
|
16
|
+
class_option 'js_lib_dir',
|
17
|
+
default: 'js/core',
|
18
|
+
desc: 'The path to the javascript library files'
|
13
19
|
class_option 'images_dir',
|
14
20
|
default: 'img',
|
15
21
|
desc: 'The path to the image files'
|
@@ -38,15 +44,15 @@ module Middleman
|
|
38
44
|
|
39
45
|
empty_directory File.join(location, 'source', options[:js_dir])
|
40
46
|
copy_file 'source/js/all.js.coffee', File.join(location, 'source', options[:js_dir], 'all.js.coffee')
|
41
|
-
empty_directory File.join(location, 'source',
|
42
|
-
copy_file 'source/js/core/jquery-1.11.1.min.js', File.join(location, 'source',
|
43
|
-
copy_file 'source/js/core/jquery-2.1.1.min.js', File.join(location, 'source',
|
44
|
-
copy_file 'source/js/core/jquery.easing-1.3.min.js', File.join(location, 'source',
|
45
|
-
copy_file 'source/js/core/jquery.transit-0.99.min.js', File.join(location, 'source',
|
46
|
-
empty_directory File.join(location, 'source',
|
47
|
-
copy_file 'source/js/lib/cssua.min.js', File.join(location, 'source',
|
48
|
-
copy_file 'source/js/lib/modernizr.min.js', File.join(location, 'source',
|
49
|
-
copy_file 'source/js/lib/retina.min.js', File.join(location, 'source',
|
47
|
+
empty_directory File.join(location, 'source', options[:js_core_dir])
|
48
|
+
copy_file 'source/js/core/jquery-1.11.1.min.js', File.join(location, 'source', options[:js_core_dir], 'jquery-1.11.1.min.js')
|
49
|
+
copy_file 'source/js/core/jquery-2.1.1.min.js', File.join(location, 'source', options[:js_core_dir], 'jquery-2.1.1.min.js')
|
50
|
+
copy_file 'source/js/core/jquery.easing-1.3.min.js', File.join(location, 'source', options[:js_core_dir], 'jquery.easing-1.3.min.js')
|
51
|
+
copy_file 'source/js/core/jquery.transit-0.99.min.js', File.join(location, 'source', options[:js_core_dir], 'jquery.transit-0.99.min.js')
|
52
|
+
empty_directory File.join(location, 'source', options[:js_lib_dir])
|
53
|
+
copy_file 'source/js/lib/cssua.min.js', File.join(location, 'source', options[:js_lib_dir], 'cssua.min.js')
|
54
|
+
copy_file 'source/js/lib/modernizr.min.js', File.join(location, 'source', options[:js_lib_dir], 'modernizr.min.js')
|
55
|
+
copy_file 'source/js/lib/retina.min.js', File.join(location, 'source', options[:js_lib_dir], 'retina.min.js')
|
50
56
|
|
51
57
|
empty_directory File.join(location, 'source', options[:images_dir])
|
52
58
|
end
|