generic_app 0.1.0 → 0.1.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: 2869a56b7b1f7a2c19145e9e8ed38d24d4684c1e
4
- data.tar.gz: 002831a504c9195d6f3751e1ee9e384f1a3eb80f
3
+ metadata.gz: eed7416e2a8fe4d4cea0f0f28c5c9f0ab9e2ae3c
4
+ data.tar.gz: 4785ed26af66531afd9ac09c9da542a7be4999eb
5
5
  SHA512:
6
- metadata.gz: 914826899f90b1c63c3c65feb93e9e6a09277f77266b47d407feab3097fbc7b4c4500ae637fa38327acc82753ef560682565a4887beaa04757354e2b8bfed7b9
7
- data.tar.gz: 305f11a464b078fa7b0318cdeefdfa317e4250a027e16926ee3871d5f4f8bb8119d150cf9e562af083dd7720f4f70d2ea32d0cd755c9324e178203c3061eaa43
6
+ metadata.gz: 4f86509f577cf802a1db9730d7308fa61376eeaf3395a7eeb70937726a0b3b1b87f1d9d40ac10862286952539269a8343bda84ca8d0404160ead56208d14a9af
7
+ data.tar.gz: f3b6d24ca3a84c965ab77705921d7c01b229665041189696e72a27fd2b2c2a5e64be8e7fb7241542aa5fe6aef0a30803d84256c4ccdb073ded5001985c194dad
data/README.md CHANGED
@@ -18,6 +18,10 @@ Go to the directory where you keep your Rails projects and enter the command "ge
18
18
  <br><br>
19
19
  After you have provided all of the necessary parameters, your generic Rails project will not only be created for you but automatically tested as well. All this takes a few minutes instead of several long and grueling hours.
20
20
 
21
+ ### Adding Generic App Features To An Existing Project
22
+
23
+ Go to the parent of the app's root directory. Enter the command "generic_app_add". You will be shown a list of all sub-directories within your present working directory. Pick the sub-directory corresponding to your target app. The Bash scripts and the list of directories and files within the project will be added. Please note that you may need to revise the test.sh script created in the project, which is designed around the railstutorial.org Sample App.
24
+
21
25
  ## What's the point?
22
26
 
23
27
  Welcome to Ruby On HIGH SPEED Rails! The GenericApp gem saves you time by automatically providing the basic
@@ -57,6 +61,14 @@ features:
57
61
  4. Guard automatically runs tests upon startup.
58
62
  5. If you choose PostgreSQL (instead of SQLite) as your development environment database, the parameters are automatically set on your machine AND in the app for you, and the username and password are EXCLUDED from the source code saved with Git.
59
63
 
64
+ ## Development
65
+
66
+ ### Testing GenericApp
67
+ Download this GitHub repository, cd into the source code, and enter the command "sh gem_test.sh". The screen output is saved to the log files in the log directory. If all goes well, every test is completed with 0 or 31m0 failures and 0 errors.
68
+
69
+ ### Special Note on Figaro
70
+ The Figaro gem is used for this gem AND any PostgreSQL projects created. In the interest of avoiding confusion, the same versions of Figaro are specified in the GenericApp gemspec AND in the Gemfile of PostgreSQL-based projects created with this gem.
71
+
60
72
  ## Contributing
61
73
 
62
74
  1. Fork it ( https://github.com/jhsu802701/generic_app/fork )
data/generic_app.gemspec CHANGED
@@ -23,5 +23,5 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_runtime_dependency "string_in_file"
25
25
  spec.add_runtime_dependency "line_containing"
26
- spec.add_runtime_dependency "figaro"
26
+ spec.add_runtime_dependency "figaro", "1.1.0"
27
27
  end
@@ -1,3 +1,3 @@
1
1
  module GenericApp
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/generic_app.rb CHANGED
@@ -134,7 +134,7 @@ module GenericApp
134
134
  LineContaining.delete("gem 'pg'", "#{subdir_name}/Gemfile")
135
135
  open("#{subdir_name}/Gemfile", 'a') {|f|
136
136
  f << "\n\ngem 'pg'\n"
137
- f << "gem 'figaro'\n"
137
+ f << "gem 'figaro', '1.1.0'\n"
138
138
  }
139
139
  end
140
140
 
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: 0.1.0
4
+ version: 0.1.1
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-03-29 00:00:00.000000000 Z
11
+ date: 2015-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: figaro
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 1.1.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 1.1.0
83
83
  description: Instead of creating your Rails app from scratch, start with a generic
84
84
  app.
85
85
  email: