onotole 1.1.13 → 1.1.14
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc5709df398191b9698b5467bac8b9246d83bb51
|
4
|
+
data.tar.gz: ec012534ca8c035e1db50f2e3fb7487b5efacf50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f09f311b0f20a9d60d09ab6e95e00c06c4052093a95932a9208f1e450d907fa9ff84d0ff1d35e9feba44f89fb77ed0748ad4e9007a5d84ecfbb56fab639a9cf
|
7
|
+
data.tar.gz: 495d2d5b1fe2aff9934f1dd2a1342b36ef976ee1ae42a3f0aaee54d02074c51b9509a16aa3ff451cfacbf54b1dc96fc3d1b1dd5d32d50bee2b3bd2269c68af34
|
@@ -3,6 +3,7 @@ module Onotole
|
|
3
3
|
module AfterInstallPatch
|
4
4
|
def post_init
|
5
5
|
install_queue = [
|
6
|
+
:ckeditor,
|
6
7
|
:fotoramajs,
|
7
8
|
:underscore_rails,
|
8
9
|
:gmaps4rails,
|
@@ -285,5 +286,9 @@ end
|
|
285
286
|
|
286
287
|
inject_into_class 'config/application.rb', 'Application', config
|
287
288
|
end
|
289
|
+
|
290
|
+
def after_install_ckeditor
|
291
|
+
append_file(AppBuilder.js_file, "\n#= require ckeditor/init")
|
292
|
+
end
|
288
293
|
end
|
289
294
|
end
|
@@ -7,6 +7,7 @@ module Onotole
|
|
7
7
|
graphviz_check
|
8
8
|
image_optim_check
|
9
9
|
rack_cors_check
|
10
|
+
ckeditor_check
|
10
11
|
say_color BOLDGREEN, "Congratulations! Onotole gives you: 'Intellect+= 1'"
|
11
12
|
end
|
12
13
|
|
@@ -37,5 +38,10 @@ module Onotole
|
|
37
38
|
return unless user_choose? :rack_cors
|
38
39
|
say_color YELLOW, 'Check your config/application.rb file for rack-cors settings for security.'
|
39
40
|
end
|
41
|
+
|
42
|
+
def ckeditor_check
|
43
|
+
return unless user_choose? :ckeditor
|
44
|
+
say_color YELLOW, 'Visit ckeditor homepage and install back-end for it.'
|
45
|
+
end
|
40
46
|
end
|
41
47
|
end
|
@@ -185,9 +185,8 @@ end
|
|
185
185
|
end
|
186
186
|
|
187
187
|
def configure_support_path
|
188
|
-
run 'touch app/support'
|
189
|
-
|
190
|
-
append_file 'config/application.rb', app_require_files
|
188
|
+
run 'touch app/support/.keep'
|
189
|
+
copy_file 'support.rb', 'config/initializers/support.rb'
|
191
190
|
|
192
191
|
config = "\n config.autoload_paths << Rails.root.join('app/support')\n"
|
193
192
|
inject_into_class 'config/application.rb', 'Application', config
|
data/lib/onotole/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onotole
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kvokka
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-04-
|
12
|
+
date: 2016-04-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -170,6 +170,7 @@ files:
|
|
170
170
|
- templates/smtp.rb.erb
|
171
171
|
- templates/spec_helper.rb.erb
|
172
172
|
- templates/staging.rb
|
173
|
+
- templates/support.rb
|
173
174
|
- templates/tinymce.yml
|
174
175
|
homepage: http://github.com/kvokka/onotole
|
175
176
|
licenses:
|