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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1114674038b10667980e9b42e27cbab74446215c
4
- data.tar.gz: 4342aa70fe18a6306776dda16e40b203c718be1e
3
+ metadata.gz: f7ab2fc330ae88a14602be7ca8279eff7ca7fc17
4
+ data.tar.gz: b8ecd95c113b06424833e9a27369478fba6cb534
5
5
  SHA512:
6
- metadata.gz: aa23ee68dba82f8542b407a7dda33016f03335f83da3b6d4cc15a110a8d784eafc6c25a3499f1b3cdc3976fffcda95a64f3cc3aa32e81cb6fe455634d646b80d
7
- data.tar.gz: a71e65ad38b9aec7e19d30866bab3ccf3c08d5549a1cb5150bd89d7906cb9382b5b2f60b1d1b88031ab4ca41611d75693260d2b0c1fe1b2f200cd0dd43bd4fd0
6
+ metadata.gz: b7de4d26af249d251954dbab06b1f292945d12c04c00276c0bac65453b84639d201db2b371188dae90bf2187234956b463934f02e131652d5c11636e915ec8b4
7
+ data.tar.gz: a63ebf3bab8be766ecb3ac6a44e85d6e2390dc54e14338e0f5c5c8064fbcda2f21724b5ea894e64eebb61c986ee3250ac9b84fdb37d02018be75635fddd09572
data/.gitignore CHANGED
@@ -12,3 +12,4 @@
12
12
  *.o
13
13
  *.a
14
14
  mkmf.log
15
+ *.gem
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 >> notes/list_files.txt")
48
+ system("cd #{subdir_name} && sh list_files.sh")
49
49
 
50
50
  # Initializing Git
51
51
  system("cd #{subdir_name} && rm -rf .git")
@@ -1,3 +1,3 @@
1
1
  class GenericApp
2
- VERSION = "0.0.0"
2
+ VERSION = "0.0.1"
3
3
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: generic_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Hsu