o2webappizer 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/o2webappizer/app_builder.rb +15 -18
- data/lib/o2webappizer/version.rb +1 -1
- data/templates/README.md.tt +6 -0
- data/templates/{schedule.rb → config/schedule.rb} +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9d72e4715cd2e3aeeaa67d02d304c668f6a5d93
|
4
|
+
data.tar.gz: 7383a2cbfb54064afaa1f713d0db760890421dc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67c1e7c26330330a4d24dd32c138ad99d0d2a43a072c8b567239e297324975ef9871a12b83d7b1b68d4c5e19dad1cb2e0a1fd60beddf9b9c88c6971956775386
|
7
|
+
data.tar.gz: 4ed10cb05363252462a053795af5e70adbb4a1d0fa60ea3dddf0c5ea107b3bdd696ca0176dfdaf17c33cc278d6c0743bb60e59e6dd5aa3f30ac7a26e88e7b1e6
|
@@ -38,20 +38,8 @@ module O2webappizer
|
|
38
38
|
inside 'config' do
|
39
39
|
directory 'Backup'
|
40
40
|
directory 'deploy'
|
41
|
-
directory 'sunzi'
|
42
|
-
template 'deploy.rb'
|
43
|
-
copy_file 'nginx.app.conf.erb'
|
44
|
-
copy_file 'nginx.conf.erb'
|
45
|
-
|
46
|
-
template 'routes.rb'
|
47
|
-
template 'application.rb'
|
48
|
-
configure_application
|
49
|
-
template 'database.yml'
|
50
|
-
template 'environment.rb'
|
51
|
-
template 'secrets.yml'
|
52
41
|
directory 'environments'
|
53
|
-
|
54
|
-
inside 'environments' do
|
42
|
+
inside 'environments' do
|
55
43
|
configure_development
|
56
44
|
configure_production
|
57
45
|
template 'production.rb', 'staging.rb'
|
@@ -61,16 +49,14 @@ module O2webappizer
|
|
61
49
|
end
|
62
50
|
directory 'initializers'
|
63
51
|
directory 'initializers_tt', 'initializers'
|
64
|
-
|
65
|
-
inside 'initializers' do
|
52
|
+
inside 'initializers' do
|
66
53
|
unless options.solidus?
|
67
54
|
remove_file 'spree.rb'
|
68
55
|
remove_file 'devise.rb'
|
69
56
|
end
|
70
57
|
end
|
71
58
|
directory 'locales'
|
72
|
-
|
73
|
-
inside 'locales' do
|
59
|
+
inside 'locales' do
|
74
60
|
options.locales.reject{ |l| l == 'en' }.each do |locale|
|
75
61
|
duplicate_locale locale
|
76
62
|
duplicate_locale locale, 'routes'
|
@@ -79,6 +65,18 @@ module O2webappizer
|
|
79
65
|
duplicate_locale locale, 'simple_form'
|
80
66
|
end
|
81
67
|
end
|
68
|
+
directory 'sunzi'
|
69
|
+
template 'application.rb'
|
70
|
+
configure_application
|
71
|
+
template 'database.yml'
|
72
|
+
template 'deploy.rb'
|
73
|
+
template 'environment.rb'
|
74
|
+
copy_file 'monitrc.erb'
|
75
|
+
copy_file 'nginx.app.conf.erb'
|
76
|
+
copy_file 'nginx.conf.erb'
|
77
|
+
template 'routes.rb'
|
78
|
+
copy_file 'schedule.rb'
|
79
|
+
template 'secrets.yml'
|
82
80
|
end
|
83
81
|
end
|
84
82
|
|
@@ -117,7 +115,6 @@ module O2webappizer
|
|
117
115
|
def leftovers
|
118
116
|
template '.ruby-version'
|
119
117
|
copy_file 'Capfile'
|
120
|
-
copy_file 'schedule.rb'
|
121
118
|
template 'Vagrantfile'
|
122
119
|
|
123
120
|
after_bundle do
|
data/lib/o2webappizer/version.rb
CHANGED
data/templates/README.md.tt
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: o2webappizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrice Lebel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -131,6 +131,7 @@ files:
|
|
131
131
|
- templates/config/nginx.app.conf.erb
|
132
132
|
- templates/config/nginx.conf.erb
|
133
133
|
- templates/config/routes.rb.tt
|
134
|
+
- templates/config/schedule.rb
|
134
135
|
- templates/config/secrets.yml.tt
|
135
136
|
- templates/config/sunzi/files/authorized_keys
|
136
137
|
- templates/config/sunzi/files/rails_logs
|
@@ -174,7 +175,6 @@ files:
|
|
174
175
|
- templates/public/images/small/missing.png
|
175
176
|
- templates/public/images/thumb/missing.png
|
176
177
|
- templates/public/robots.txt.tt
|
177
|
-
- templates/schedule.rb
|
178
178
|
- templates/vendor/assets/javascripts/jquery.lazyload.js
|
179
179
|
- templates/vendor/assets/javascripts/modernizr.custom.js
|
180
180
|
- templates/vendor/assets/javascripts/rails_admin/custom/ui.js.coffee
|