generic_app 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/generic_app.rb +1 -1
- data/lib/generic_app/version.rb +1 -1
- data/to_add/list_files.sh +15 -15
- 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: f7ab2fc330ae88a14602be7ca8279eff7ca7fc17
|
4
|
+
data.tar.gz: b8ecd95c113b06424833e9a27369478fba6cb534
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7de4d26af249d251954dbab06b1f292945d12c04c00276c0bac65453b84639d201db2b371188dae90bf2187234956b463934f02e131652d5c11636e915ec8b4
|
7
|
+
data.tar.gz: a63ebf3bab8be766ecb3ac6a44e85d6e2390dc54e14338e0f5c5c8064fbcda2f21724b5ea894e64eebb61c986ee3250ac9b84fdb37d02018be75635fddd09572
|
data/.gitignore
CHANGED
data/lib/generic_app.rb
CHANGED
@@ -45,7 +45,7 @@ class GenericApp
|
|
45
45
|
system("cp -r #{dir_main}/to_add/* #{subdir_name}")
|
46
46
|
|
47
47
|
# Adding automated list of files
|
48
|
-
system("cd #{subdir_name} && sh list_files.sh
|
48
|
+
system("cd #{subdir_name} && sh list_files.sh")
|
49
49
|
|
50
50
|
# Initializing Git
|
51
51
|
system("cd #{subdir_name} && rm -rf .git")
|
data/lib/generic_app/version.rb
CHANGED
data/to_add/list_files.sh
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
#!/bin/bash
|
2
2
|
# Proper header for a Bash script.
|
3
3
|
|
4
|
-
echo "This file was AUTOMATICALLY generated by the list_files.sh script."
|
4
|
+
echo "This file was AUTOMATICALLY generated by the list_files.sh script." > notes/file_list.txt
|
5
5
|
|
6
|
-
echo
|
7
|
-
ls -R1 -I concerns app/controllers
|
6
|
+
echo "" >> notes/file_list.txt
|
7
|
+
ls -R1 -I concerns app/controllers >> notes/file_list.txt
|
8
8
|
|
9
|
-
echo
|
10
|
-
ls -R1 -I concerns app/helpers
|
9
|
+
echo "" >> notes/file_list.txt
|
10
|
+
ls -R1 -I concerns app/helpers >> notes/file_list.txt
|
11
11
|
|
12
|
-
echo
|
13
|
-
ls -R1 -I concerns app/mailers
|
12
|
+
echo "" >> notes/file_list.txt
|
13
|
+
ls -R1 -I concerns app/mailers >> notes/file_list.txt
|
14
14
|
|
15
|
-
echo
|
16
|
-
ls -R1 -I concerns app/models
|
15
|
+
echo "" >> notes/file_list.txt
|
16
|
+
ls -R1 -I concerns app/models >> notes/file_list.txt
|
17
17
|
|
18
|
-
echo
|
19
|
-
ls -R1 -I concerns app/views
|
18
|
+
echo "" >> notes/file_list.txt
|
19
|
+
ls -R1 -I concerns app/views >> notes/file_list.txt
|
20
20
|
|
21
|
-
echo
|
22
|
-
ls -R1 -I concerns db
|
21
|
+
echo "" >> notes/file_list.txt
|
22
|
+
ls -R1 -I concerns db >> notes/file_list.txt
|
23
23
|
|
24
|
-
echo
|
25
|
-
ls -R1 -I concerns test
|
24
|
+
echo "" >> notes/file_list.txt
|
25
|
+
ls -R1 -I concerns test >> notes/file_list.txt
|