generic_app 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d984b62d3d34f4e64d4e849537abb78933dd008e
4
- data.tar.gz: 587a226f2dc9375382954e98e0c977319e00bb62
3
+ metadata.gz: 31f775611caa10bdaa430cdc406ba7b31d569353
4
+ data.tar.gz: 91270cc88abfdc5d91e7e85b6fe0d6ac399d4a2b
5
5
  SHA512:
6
- metadata.gz: b82565b8df5e03795aada66d79ced42f59f50c5f7fd1bc5318ff8c407043c8db307cd642a24b38f81b96176e221f95afba7396171f06fffabbfe33a8c5eed4fa
7
- data.tar.gz: 65ccadf29c4645a913d46fd7d52153949269b19b1d42d8f7f62f4090cb418598218e04c403a55fe24cc8c72296ff99cd140d69cb036f12cb10bd5dde2683d9c0
6
+ metadata.gz: 1cc5bf6c7e392379d92d8db6eaf0640ed11cd3312f9d64a6d741b5fc75a3351fd3eb75d5ce85d090a2c0d16862245a2e18b106adce94093d50418d9190ee5c05
7
+ data.tar.gz: d968517570dee60145633a778827fb04301141e96e6ac8375f58547eeafbcd55789e70d5e2c0e9acfdafb983c1e1d96e7eb5af141cf1947979848edcd285ea99
data/gem_test.sh CHANGED
@@ -48,8 +48,11 @@ echo
48
48
  echo '***********************************'
49
49
  echo 'The locations of the test logs are:'
50
50
  echo "GEM TEST: $DIR_GENERIC_APP/log/generic_app.txt"
51
- echo "TEST 1 (new app): $DIR_GENERIC_APP/log/tmp1.txt"
52
- echo "TEST 2 (legacy app): $DIR_GENERIC_APP/log/tmp2.txt"
51
+ echo "TEST 1A (new app): $DIR_GENERIC_APP/log/tmp1A.txt"
52
+ echo "TEST 1B (new app): $DIR_GENERIC_APP/log/tmp1B.txt"
53
+ echo "TEST 2A (legacy app): $DIR_GENERIC_APP/log/tmp2A.txt"
54
+ echo "TEST 2B (legacy app): $DIR_GENERIC_APP/log/tmp2B.txt"
53
55
  echo
54
- echo "If all went well, the results at the end of each test show 0 or 31m0 failures and 0 errors."
56
+ echo "If all went well, the results at the end of tests 1A and 2A show 0 or 31m0 failures and 0 errors."
57
+ echo 'Test 2B may show vulnerabilities in some gems. This is normal for the legacy app.'
55
58
  echo
@@ -1,3 +1,3 @@
1
1
  module GenericApp
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -23,7 +23,7 @@ describe GenericApp do
23
23
  it "Bash scripts should be provided" do
24
24
  expect(StringInFile.present("heroku run rake db:migrate", "#{dir_app_1}/heroku_upload.sh")).to eq(true)
25
25
  expect(StringInFile.present("pkill", "#{dir_app_1}/kill_spring.sh")).to eq(true)
26
- expect(StringInFile.present("ls -R1 -I concerns app/controllers", "#{dir_app_1}/list_files.sh")).to eq(true)
26
+ expect(StringInFile.present("ls -R1 -I concerns app/controllers", "#{dir_app_1}/outline.sh")).to eq(true)
27
27
  expect(StringInFile.present("rails console --sandbox", "#{dir_app_1}/sandbox.sh")).to eq(true)
28
28
  expect(StringInFile.present("rake db:seed", "#{dir_app_1}/seed.sh")).to eq(true)
29
29
  expect(StringInFile.present("rails server -b 0.0.0.0", "#{dir_app_1}/server.sh")).to eq(true)
@@ -31,7 +31,7 @@ describe GenericApp do
31
31
  end
32
32
 
33
33
  it "New README.md file should be provided" do
34
- expect(StringInFile.present("list_files.sh", "#{dir_app_1}/README.md")).to eq(true)
34
+ expect(StringInFile.present("outline.sh", "#{dir_app_1}/README.md")).to eq(true)
35
35
  end
36
36
 
37
37
  it "Guardfile should be set to automatically run tests upon startup" do
@@ -60,7 +60,6 @@ describe GenericApp do
60
60
 
61
61
  it "The notes/1-file_list-misc.txt file should be in place" do
62
62
  expect(StringInFile.present("application_helper.rb", "#{dir_app_1}/notes/1-file_list-misc.txt")).to eq(true)
63
- expect(StringInFile.present("users_helper.rb", "#{dir_app_1}/notes/1-file_list-misc.txt")).to eq(true)
64
63
  end
65
64
 
66
65
  it "The notes/1-file_list-models.txt file should be in place" do
@@ -31,7 +31,7 @@ describe GenericApp do
31
31
  it "Bash scripts should be provided" do
32
32
  expect(StringInFile.present("heroku run rake db:migrate", "#{dir_app_2}/heroku_upload.sh")).to eq(true)
33
33
  expect(StringInFile.present("pkill", "#{dir_app_2}/kill_spring.sh")).to eq(true)
34
- expect(StringInFile.present("ls -R1 -I concerns app/controllers", "#{dir_app_2}/list_files.sh")).to eq(true)
34
+ expect(StringInFile.present("ls -R1 -I concerns app/controllers", "#{dir_app_2}/outline.sh")).to eq(true)
35
35
  expect(StringInFile.present("rails console --sandbox", "#{dir_app_2}/sandbox.sh")).to eq(true)
36
36
  expect(StringInFile.present("rake db:seed", "#{dir_app_2}/seed.sh")).to eq(true)
37
37
  expect(StringInFile.present("rails server -b 0.0.0.0", "#{dir_app_2}/server.sh")).to eq(true)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: generic_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Hsu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-03 00:00:00.000000000 Z
11
+ date: 2015-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake