r5 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/r5/installations/default.rb +2 -0
- data/lib/r5/starter.rb +5 -0
- data/lib/r5/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: f2fe3c1fe8a3497514c1d369f89be7da8b55468e
|
4
|
+
data.tar.gz: aabe9cee584561fa57c95ee7f394ac96acf3ec4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18d6d0d4d57bfe75621159002b6f01a69644eab0d74ad440ddb43a4d8a6ccca462da3a040ae5ec9ae077e115fc0acf9cad3cf8ca101ea329af0f33db35098663
|
7
|
+
data.tar.gz: 78a1d9ef28d78aa75037f2d361d064f500b805e4fd03da5429238871476504dd93fc979726919fb7c214af52ee31841bb7ecbfcc0b99ebb8effb7737d74144d7
|
@@ -10,6 +10,8 @@ copy 'app/assets/stylesheets/theme.css'
|
|
10
10
|
copy 'app/assets/stylesheets/custom.css.scss'
|
11
11
|
copy 'app/assets/stylesheets/timepress.css.scss'
|
12
12
|
|
13
|
+
my_directory 'app/assets/fonts'
|
14
|
+
|
13
15
|
remove 'app/views/layouts/application.html.erb'
|
14
16
|
copy 'app/views/layouts/application.html.erb'
|
15
17
|
|
data/lib/r5/starter.rb
CHANGED
@@ -102,6 +102,11 @@ class Starter < Thor
|
|
102
102
|
copy_file filename, "#{@project_path}/#{filename}"
|
103
103
|
end
|
104
104
|
|
105
|
+
def my_directory path
|
106
|
+
# rewriting thor directory method
|
107
|
+
directory path, "#{@project_path}/#{path}"
|
108
|
+
end
|
109
|
+
|
105
110
|
def remove filename
|
106
111
|
remove_file "#{@project_path}/#{filename}"
|
107
112
|
end
|
data/lib/r5/version.rb
CHANGED