inline_forms 1.1.5 → 1.1.6

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.
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
 
@@ -1,3 +1,3 @@
1
1
  module InlineForms
2
- VERSION = "1.1.5"
2
+ VERSION = "1.1.6"
3
3
  end
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: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 5
10
- version: 1.1.5
9
+ - 6
10
+ version: 1.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ace Suares