nswebgen 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -223,7 +223,7 @@ module Nsweb
|
|
223
223
|
|
224
224
|
def init_nsweb
|
225
225
|
generate(:session_migration)
|
226
|
-
rake
|
226
|
+
bundle_command 'rake nsweb:install:migrations'
|
227
227
|
args = []
|
228
228
|
args << "--backend #{options.backend}"
|
229
229
|
args << "--administration" if options.administration?
|
@@ -237,9 +237,9 @@ module Nsweb
|
|
237
237
|
|
238
238
|
def init_database
|
239
239
|
unless options.skip_db?
|
240
|
-
rake
|
241
|
-
rake
|
242
|
-
rake
|
240
|
+
bundle_command 'rake db:create'
|
241
|
+
bundle_command 'rake db:migrate'
|
242
|
+
bundle_command 'rake db:seed'
|
243
243
|
end
|
244
244
|
end
|
245
245
|
|
data/lib/nswebgen/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nswebgen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-07-
|
13
|
+
date: 2013-07-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
segments:
|
112
112
|
- 0
|
113
|
-
hash:
|
113
|
+
hash: 402531325
|
114
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
115
|
none: false
|
116
116
|
requirements:
|