onotole 1.0.7 → 1.0.8
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: ddc9c847f5351269fde4990a5bed9e0ff6cd4623
|
4
|
+
data.tar.gz: dbf35516b4a9c84e8e6245a3b17f1acedc8c877b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc9b27921b0794e2b0eafc0d9cec8174d9e149a222bff409ee79206cc4b34a59f979994a9b89a454e6cb70fa1d7b5daeafb84bbaf35fcd159d7b7b7c4bbcd37e
|
7
|
+
data.tar.gz: 2c47b3194d7b4084cdcfadc0904ad7616812ea7eeb41398ab7dc0f648d278518b903faff31934d759719e8a89f53782ee749ed5e4e54581b08fadf586e3df38d
|
data/README.md
CHANGED
@@ -75,7 +75,10 @@ pack will not be installed with any gem option.
|
|
75
75
|
creating elegant backends for website administration.
|
76
76
|
* `*`[rubycritic](https://github.com/whitesmith/rubycritic) A Ruby code quality
|
77
77
|
reporter
|
78
|
-
* [railroady](https://github.com/preston/railroady) Model and controller UML
|
78
|
+
* [railroady](https://github.com/preston/railroady) Model and controller UML
|
79
|
+
class diagram generator. Originally based on the "railroad" plugin
|
80
|
+
* [typus](https://github.com/typus/typus) Ruby on Rails control panel to allow
|
81
|
+
trusted users edit structured content. http://docs.typuscmf.com
|
79
82
|
|
80
83
|
|
81
84
|
Mandatory installation gem list you will find in `Gemfile` section
|
@@ -4,10 +4,10 @@ module Onotole
|
|
4
4
|
def post_init
|
5
5
|
install_queue = [:devise,
|
6
6
|
:responders,
|
7
|
+
:typus,
|
7
8
|
:annotate,
|
8
9
|
:overcommit,
|
9
10
|
:activeadmin,
|
10
|
-
:administrate,
|
11
11
|
:rails_admin,
|
12
12
|
:guard,
|
13
13
|
:guard_rubocop,
|
@@ -133,5 +133,11 @@ end
|
|
133
133
|
def after_install_rails_admin
|
134
134
|
rails_generator 'rails_admin:install'
|
135
135
|
end
|
136
|
+
|
137
|
+
def after_install_typus
|
138
|
+
rails_generator 'typus'
|
139
|
+
rails_generator 'typus:migration'
|
140
|
+
rails_generator 'typus:views'
|
141
|
+
end
|
136
142
|
end
|
137
143
|
end
|
@@ -192,5 +192,9 @@ module Onotole
|
|
192
192
|
inject_into_file('Gemfile', "\n gem 'railroady', :require => false",
|
193
193
|
after: 'group :development do')
|
194
194
|
end
|
195
|
+
|
196
|
+
def add_typus_gem
|
197
|
+
inject_into_file('Gemfile', "\n gem 'typus', github: 'typus/typus'", after: '# user_choice')
|
198
|
+
end
|
195
199
|
end
|
196
200
|
end
|
@@ -31,9 +31,11 @@ module Onotole
|
|
31
31
|
variants = { none: 'None',
|
32
32
|
activeadmin: 'Activeadmin CMS',
|
33
33
|
rails_admin: 'Rails admin CMS',
|
34
|
-
rails_db: 'Rails DB. Simple pretty view in browser & xls export for models'
|
35
|
-
|
34
|
+
rails_db: 'Rails DB. Simple pretty view in browser & xls export for models',
|
35
|
+
typus: 'Typus control panel to allow trusted users edit structured content.' }
|
36
|
+
gem = choice 'Select control panel or CMS: ', variants
|
36
37
|
add_to_user_choise(gem) if gem
|
38
|
+
puts gem
|
37
39
|
end
|
38
40
|
|
39
41
|
def choose_undroup_gems
|
data/lib/onotole/version.rb
CHANGED