generic_app 1.0.2 → 1.0.3

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: d7fd06aa9d58922cf9688ac51c18a3ff980f1537
4
- data.tar.gz: 0b0edbb493e11eb6a79626b29364820dc5ccd65e
3
+ metadata.gz: d984b62d3d34f4e64d4e849537abb78933dd008e
4
+ data.tar.gz: 587a226f2dc9375382954e98e0c977319e00bb62
5
5
  SHA512:
6
- metadata.gz: a2ac976717b13c130e9f71e44b8c935b22faf809c45d0ebc38b2270759b4141db1621c87dc21a8a7defc7396775ffe700b5972e70b5a119167d2eb89f8ad99d1
7
- data.tar.gz: beb6a7580d359f3bdb7e599af04b18975905b30ac04390965699956d8cd68a694032583454c3542c4343aae823dccd97880bbf5ac44f516b793fb362104f5c0d
6
+ metadata.gz: b82565b8df5e03795aada66d79ced42f59f50c5f7fd1bc5318ff8c407043c8db307cd642a24b38f81b96176e221f95afba7396171f06fffabbfe33a8c5eed4fa
7
+ data.tar.gz: 65ccadf29c4645a913d46fd7d52153949269b19b1d42d8f7f62f4090cb418598218e04c403a55fe24cc8c72296ff99cd140d69cb036f12cb10bd5dde2683d9c0
data/gem_test.sh CHANGED
@@ -18,6 +18,7 @@ echo ''
18
18
  echo '*************'
19
19
  echo 'BEGIN TEST 1A'
20
20
  echo 'Creating new Rails app'
21
+ cd $DIR_PARENT/tmp1 && spring stop
21
22
  cd $DIR_PARENT/tmp1 && sh test_app.sh 2>&1 | tee $DIR_GENERIC_APP/log/tmp1A.txt
22
23
  echo 'FINISHED TEST1A'
23
24
  echo '***************'
@@ -32,6 +33,7 @@ echo ''
32
33
  echo '*************'
33
34
  echo 'BEGIN TEST 2A'
34
35
  echo 'Adding Generic App features to legacy Rails app'
36
+ cd $DIR_PARENT/tmp2 && spring stop
35
37
  cd $DIR_PARENT/tmp2 && sh test_app.sh 2>&1 | tee $DIR_GENERIC_APP/log/tmp2A.txt
36
38
  echo 'FINISHED TEST 2A'
37
39
  echo '****************'
@@ -1,3 +1,3 @@
1
1
  module GenericApp
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
data/lib/generic_app.rb CHANGED
@@ -52,6 +52,8 @@ module GenericApp
52
52
  self.add_to_file_if("#{subdir_name}/.gitignore", 'gemsurance_report.html')
53
53
  path_gemfile = "#{subdir_name}/Gemfile"
54
54
  self.add_to_file_always(path_gemfile, '# Gems added by generic_app')
55
+ self.add_to_file_if(path_gemfile, "gem 'string_in_file'")
56
+ self.add_to_file_if(path_gemfile, "gem 'line_containing'")
55
57
  self.add_to_file_always(path_gemfile, 'group :development, :test do')
56
58
 
57
59
  self.add_to_file_if(path_gemfile, "gem 'sandi_meter'")
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.2
4
+ version: 1.0.3
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-09-21 00:00:00.000000000 Z
11
+ date: 2015-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  version: '0'
116
116
  requirements: []
117
117
  rubyforge_project:
118
- rubygems_version: 2.4.8
118
+ rubygems_version: 2.4.5.1
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: Save time by instantly create a generic Rails app.