inline_forms 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/inline_forms +17 -0
- data/lib/inline_forms/version.rb +1 -1
- metadata +3 -3
data/bin/inline_forms
CHANGED
@@ -118,6 +118,14 @@ else
|
|
118
118
|
username: #{app_name}
|
119
119
|
password: #{app_name}
|
120
120
|
|
121
|
+
"
|
122
|
+
production_stanza = "
|
123
|
+
production:
|
124
|
+
adapter: mysql2
|
125
|
+
database: #{app_name}_production
|
126
|
+
username: #{app_name}
|
127
|
+
password: #{app_name}444
|
128
|
+
|
121
129
|
"
|
122
130
|
File.open( 'config/database.yml', 'w') {|f| f.write(development_stanza) }
|
123
131
|
|
@@ -171,5 +179,14 @@ header_src = "
|
|
171
179
|
FileUtils.mkdir_p 'app/views/inline_forms'
|
172
180
|
File.open( 'app/views/inline_forms/_header.html.erb', 'w') {|f| f.write(header_src) }
|
173
181
|
|
182
|
+
puts "Initializing git...\n"
|
183
|
+
system('git init')
|
184
|
+
system('echo >> .gitignore')
|
185
|
+
system('echo "nbproject" >> .gitignore')
|
186
|
+
system('echo "public/uploads" >> .gitignore')
|
187
|
+
system('echo >> .gitignore')
|
188
|
+
system('git add .')
|
189
|
+
system('git add -a -m " * Initial"')
|
190
|
+
|
174
191
|
puts "\n\nDone! Now make your tables.\n\n\n"
|
175
192
|
|
data/lib/inline_forms/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inline_forms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 6
|
10
|
+
version: 1.1.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ace Suares
|