helena_administration 0.3.1 → 0.3.3

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: a6d8b9df0ddcdf5217f860ffa121773bd15db4d4
4
- data.tar.gz: 72c24cc766e665f2c539d6c8a850e31dc244f43e
3
+ metadata.gz: a5e0ac662485d78277bb161b3978ddab585d2c90
4
+ data.tar.gz: 7497a47944396b67eb99528cd99139393c586c14
5
5
  SHA512:
6
- metadata.gz: 70638e8d3e5a25f34548ebb2c6e2ab0ec1d89431e10275f26816e6e249817100b36bf4254d69dbd3eb413ec6b225a1126ac975ab8e12a225961f1966338cf05e
7
- data.tar.gz: d5756d4e574eb4ef9790286f6420996e60ed5c93265c29bfe95aaac213f494d6bd4a07348555c75a3701b2a193623888265352deecbac1c0757cba9ca8c9072b
6
+ metadata.gz: 0d0c6d3b83216929d03bd0d675703ee720474acaacfe20c2772dba21f6ae7750104a1d1e947bda183e4f66e23aae1e454a384aad3630a7bb1734d4c6a1a73bfc
7
+ data.tar.gz: b70ea7b401c88b5ac1701ad6920dc59e4e8c3967a1acabd4958bc37352a58a1c94e821c50891d6c5d66e48b049ac8ea7ae1f3e02bf8e835ade6f064cfdc40032
data/.rubocop.yml CHANGED
@@ -2,10 +2,11 @@ AllCops:
2
2
  Include:
3
3
  - '**/Rakefile'
4
4
  - '**/config.ru'
5
+ - '**/Gemfile'
5
6
  Exclude:
7
+ - helena_administration.gemspec
6
8
  - bin/**
7
- - spec/dummy/db/schema.rb
8
- - spec/dummy/config/initializers/secret_token.rb
9
+ - spec/**/*
9
10
  - db/migrate/**/*
10
11
  - db/seeds.rb
11
12
  - db/seeds/**/*
data/Gemfile CHANGED
@@ -13,21 +13,16 @@ gemspec
13
13
  gem 'compass-h5bp', group: :assets
14
14
  group :development, :test do
15
15
  gem 'better_errors'
16
- gem 'quiet_assets'
17
- gem 'pry'
18
- gem 'simplecov'
19
- gem 'pry-byebug'
20
- gem 'dotenv-rails'
21
- gem 'mongoid-rspec'
22
- gem 'factory_girl_rails'
16
+ gem 'binding_of_caller'
23
17
  gem 'capybara'
24
- gem 'launchy'
25
- gem 'spork'
26
- gem 'autotest', require: false
27
- gem 'autotest-rails-pure', require: false
28
- gem 'autotest-fsevent', require: false
29
- gem 'autotest-growl', require: false
18
+ gem 'dotenv-rails'
19
+ gem 'factory_bot_rails'
30
20
  gem 'faker'
31
- gem 'binding_of_caller'
21
+ gem 'launchy'
22
+ gem 'mongoid-rspec'
23
+ gem 'pry'
24
+ gem 'pry-byebug'
25
+ gem 'quiet_assets'
32
26
  gem 'responders', '~> 2.0'
27
+ gem 'simplecov'
33
28
  end
data/Gemfile.lock CHANGED
@@ -1,206 +1,197 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- helena_administration (0.3.1)
4
+ helena_administration (0.3.3)
5
5
  bootstrap-sass (~> 3.2)
6
- breadcrumbs_on_rails (~> 2.3)
7
- codemirror-rails (~> 5)
6
+ breadcrumbs_on_rails (>= 3.0.1)
7
+ codemirror-rails (>= 5)
8
8
  coffee-rails (~> 4.1)
9
9
  font-awesome-sass (~> 4.4)
10
- haml-rails (~> 0.5)
11
- helena (~> 1.0)
10
+ haml-rails (>= 0.5)
11
+ helena (~> 1.3)
12
12
  html5-rails (~> 0.1)
13
13
  jquery-rails (~> 4)
14
- kaminari-mongoid (~> 0.1.2)
15
- mongoid (>= 4.0, < 6.0)
14
+ kaminari-actionview
15
+ kaminari-mongoid
16
+ mongoid (>= 4.0)
16
17
  mongoid-simple-tags (~> 0.1)
17
18
  mongoid_orderable (~> 4.1)
18
- rails (~> 4.2)
19
- rails-i18n (~> 4.0)
19
+ rails (>= 4.2)
20
+ rails-i18n
20
21
  responders (~> 2.0)
21
22
  sass-rails (~> 5.0)
22
23
  simple_form (~> 3.2)
23
- slim-rails (~> 3.0)
24
+ slim-rails (>= 3.0)
24
25
 
25
26
  GEM
26
27
  remote: https://rubygems.org/
27
28
  specs:
28
- ZenTest (4.11.1)
29
- actionmailer (4.2.6)
30
- actionpack (= 4.2.6)
31
- actionview (= 4.2.6)
32
- activejob (= 4.2.6)
29
+ actionmailer (4.2.10)
30
+ actionpack (= 4.2.10)
31
+ actionview (= 4.2.10)
32
+ activejob (= 4.2.10)
33
33
  mail (~> 2.5, >= 2.5.4)
34
34
  rails-dom-testing (~> 1.0, >= 1.0.5)
35
- actionpack (4.2.6)
36
- actionview (= 4.2.6)
37
- activesupport (= 4.2.6)
35
+ actionpack (4.2.10)
36
+ actionview (= 4.2.10)
37
+ activesupport (= 4.2.10)
38
38
  rack (~> 1.6)
39
39
  rack-test (~> 0.6.2)
40
40
  rails-dom-testing (~> 1.0, >= 1.0.5)
41
41
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
42
- actionview (4.2.6)
43
- activesupport (= 4.2.6)
42
+ actionview (4.2.10)
43
+ activesupport (= 4.2.10)
44
44
  builder (~> 3.1)
45
45
  erubis (~> 2.7.0)
46
46
  rails-dom-testing (~> 1.0, >= 1.0.5)
47
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
48
- activejob (4.2.6)
49
- activesupport (= 4.2.6)
47
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
48
+ activejob (4.2.10)
49
+ activesupport (= 4.2.10)
50
50
  globalid (>= 0.3.0)
51
- activemodel (4.2.6)
52
- activesupport (= 4.2.6)
51
+ activemodel (4.2.10)
52
+ activesupport (= 4.2.10)
53
53
  builder (~> 3.1)
54
- activerecord (4.2.6)
55
- activemodel (= 4.2.6)
56
- activesupport (= 4.2.6)
54
+ activerecord (4.2.10)
55
+ activemodel (= 4.2.10)
56
+ activesupport (= 4.2.10)
57
57
  arel (~> 6.0)
58
- activesupport (4.2.6)
58
+ activesupport (4.2.10)
59
59
  i18n (~> 0.7)
60
- json (~> 1.7, >= 1.7.7)
61
60
  minitest (~> 5.1)
62
61
  thread_safe (~> 0.3, >= 0.3.4)
63
62
  tzinfo (~> 1.1)
64
- addressable (2.4.0)
65
- arel (6.0.3)
66
- autoprefixer-rails (6.3.6.2)
63
+ addressable (2.5.2)
64
+ public_suffix (>= 2.0.2, < 4.0)
65
+ arel (6.0.4)
66
+ autoprefixer-rails (7.1.6)
67
67
  execjs
68
- autotest (4.4.6)
69
- ZenTest (>= 4.4.1)
70
- autotest-fsevent (0.2.11)
71
- sys-uname
72
- autotest-growl (0.2.16)
73
- autotest-rails-pure (4.1.2)
74
- better_errors (2.1.1)
68
+ better_errors (2.4.0)
75
69
  coderay (>= 1.0.0)
76
- erubis (>= 2.6.6)
70
+ erubi (>= 1.0.0)
77
71
  rack (>= 0.9.0)
78
- binding_of_caller (0.7.2)
72
+ binding_of_caller (0.7.3)
79
73
  debug_inspector (>= 0.0.1)
80
- bootstrap-sass (3.3.6)
74
+ bootstrap-sass (3.3.7)
81
75
  autoprefixer-rails (>= 5.2.1)
82
76
  sass (>= 3.3.4)
83
- breadcrumbs_on_rails (2.3.1)
84
- browser (2.2.0)
85
- bson (4.1.1)
86
- builder (3.2.2)
87
- byebug (9.0.5)
88
- capybara (2.7.1)
77
+ breadcrumbs_on_rails (3.0.1)
78
+ browser (2.5.2)
79
+ bson (4.2.2)
80
+ builder (3.2.3)
81
+ byebug (9.1.0)
82
+ capybara (2.15.4)
89
83
  addressable
90
- mime-types (>= 1.16)
84
+ mini_mime (>= 0.1.3)
91
85
  nokogiri (>= 1.3.3)
92
86
  rack (>= 1.0.0)
93
87
  rack-test (>= 0.5.4)
94
88
  xpath (~> 2.0)
95
- chunky_png (1.3.6)
96
- codemirror-rails (5.11)
97
- railties (>= 3.0, < 5)
98
- coderay (1.1.1)
99
- coffee-rails (4.1.1)
89
+ chunky_png (1.3.8)
90
+ codemirror-rails (5.16.0)
91
+ railties (>= 3.0, < 6.0)
92
+ coderay (1.1.2)
93
+ coffee-rails (4.2.2)
100
94
  coffee-script (>= 2.2.0)
101
- railties (>= 4.0.0, < 5.1.x)
95
+ railties (>= 4.0.0)
102
96
  coffee-script (2.4.1)
103
97
  coffee-script-source
104
98
  execjs
105
- coffee-script-source (1.10.0)
106
- compass (1.0.3)
99
+ coffee-script-source (1.12.2)
100
+ compass (0.12.2)
107
101
  chunky_png (~> 1.2)
108
- compass-core (~> 1.0.2)
109
- compass-import-once (~> 1.0.5)
110
- rb-fsevent (>= 0.9.3)
111
- rb-inotify (>= 0.9)
112
- sass (>= 3.3.13, < 3.5)
113
- compass-core (1.0.3)
114
- multi_json (~> 1.0)
115
- sass (>= 3.3.0, < 3.5)
116
- compass-h5bp (1.0.0)
117
- compass (~> 1.0, >= 1.0.3)
118
- compass-import-once (1.0.5)
119
- sass (>= 3.2, < 3.5)
120
- concurrent-ruby (1.0.2)
121
- debug_inspector (0.0.2)
122
- diff-lcs (1.2.5)
102
+ fssm (>= 0.2.7)
103
+ sass (~> 3.1)
104
+ compass-h5bp (0.1.2)
105
+ compass
106
+ concurrent-ruby (1.0.5)
107
+ crass (1.0.2)
108
+ debug_inspector (0.0.3)
109
+ diff-lcs (1.3)
123
110
  docile (1.1.5)
124
- dotenv (2.1.1)
125
- dotenv-rails (2.1.1)
126
- dotenv (= 2.1.1)
127
- railties (>= 4.0, < 5.1)
111
+ dotenv (2.2.1)
112
+ dotenv-rails (2.2.1)
113
+ dotenv (= 2.2.1)
114
+ railties (>= 3.2, < 5.2)
115
+ erubi (1.7.0)
128
116
  erubis (2.7.0)
129
117
  execjs (2.7.0)
130
- factory_girl (4.7.0)
118
+ factory_bot (4.8.2)
131
119
  activesupport (>= 3.0.0)
132
- factory_girl_rails (4.7.0)
133
- factory_girl (~> 4.7.0)
120
+ factory_bot_rails (4.8.2)
121
+ factory_bot (~> 4.8.2)
134
122
  railties (>= 3.0.0)
135
- faker (1.6.3)
123
+ faker (1.8.4)
136
124
  i18n (~> 0.5)
137
- ffi (1.9.10)
138
- font-awesome-sass (4.6.2)
125
+ ffi (1.9.18)
126
+ font-awesome-sass (4.7.0)
139
127
  sass (>= 3.2)
140
- globalid (0.3.6)
141
- activesupport (>= 4.1.0)
142
- haml (4.0.7)
128
+ fssm (0.2.10)
129
+ globalid (0.4.1)
130
+ activesupport (>= 4.2.0)
131
+ haml (5.0.4)
132
+ temple (>= 0.8.0)
143
133
  tilt
144
- haml-rails (0.9.0)
134
+ haml-rails (1.0.0)
145
135
  actionpack (>= 4.0.1)
146
136
  activesupport (>= 4.0.1)
147
- haml (>= 4.0.6, < 5.0)
137
+ haml (>= 4.0.6, < 6.0)
148
138
  html2haml (>= 1.0.1)
149
139
  railties (>= 4.0.1)
150
- helena (1.1.0)
140
+ helena (1.3.0)
151
141
  bootstrap-sass (~> 3.2)
152
- breadcrumbs_on_rails (~> 2.3)
153
142
  browser (~> 2.0)
154
- haml-rails (~> 0.9)
143
+ haml-rails (~> 1.0)
155
144
  jquery-rails (~> 4.0)
156
- mongoid (>= 4.0, < 6.0)
157
- mongoid-simple-tags (~> 0.1)
145
+ mongoid (>= 4.0)
146
+ mongoid-simple-tags (>= 0.1.3)
158
147
  mongoid-tree (~> 2.0)
159
148
  mongoid_orderable (~> 4.1)
160
- rails (~> 4.2)
161
- rails-i18n (~> 4.0)
149
+ rails (>= 4.2)
150
+ rails-i18n (>= 4.0)
162
151
  responders (~> 2.0)
163
152
  sass-rails (~> 5.0)
164
153
  simple_form (~> 3.2)
165
154
  slim (~> 3.0)
166
- html2haml (2.0.0)
155
+ html2haml (2.2.0)
167
156
  erubis (~> 2.7.0)
168
- haml (~> 4.0.0)
169
- nokogiri (~> 1.6.0)
157
+ haml (>= 4.0, < 6)
158
+ nokogiri (>= 1.6.0)
170
159
  ruby_parser (~> 3.5)
171
160
  html5-rails (0.1.0)
172
161
  jquery-rails (>= 2.0)
173
162
  railties (>= 3.2)
174
163
  thor (~> 0.14)
175
- i18n (0.7.0)
176
- jquery-rails (4.1.1)
164
+ i18n (0.9.1)
165
+ concurrent-ruby (~> 1.0)
166
+ jquery-rails (4.3.1)
177
167
  rails-dom-testing (>= 1, < 3)
178
168
  railties (>= 4.2.0)
179
169
  thor (>= 0.14, < 2.0)
180
- json (1.8.3)
181
- kaminari (0.17.0)
182
- actionpack (>= 3.0.0)
183
- activesupport (>= 3.0.0)
184
- kaminari-mongoid (0.1.2)
185
- kaminari
170
+ json (1.8.6)
171
+ kaminari-actionview (1.1.1)
172
+ actionview
173
+ kaminari-core (= 1.1.1)
174
+ kaminari-core (1.1.1)
175
+ kaminari-mongoid (1.0.1)
176
+ kaminari-core (~> 1.0)
177
+ mongoid
186
178
  launchy (2.4.3)
187
179
  addressable (~> 2.3)
188
- loofah (2.0.3)
180
+ loofah (2.1.1)
181
+ crass (~> 1.0.2)
189
182
  nokogiri (>= 1.5.9)
190
- mail (2.6.4)
191
- mime-types (>= 1.16, < 4)
192
- method_source (0.8.2)
193
- mime-types (3.1)
194
- mime-types-data (~> 3.2015)
195
- mime-types-data (3.2016.0521)
196
- mini_portile2 (2.1.0)
197
- minitest (5.9.0)
198
- mongo (2.2.5)
199
- bson (~> 4.0)
200
- mongoid (5.1.3)
183
+ mail (2.7.0)
184
+ mini_mime (>= 0.1.1)
185
+ method_source (0.9.0)
186
+ mini_mime (0.1.4)
187
+ mini_portile2 (2.3.0)
188
+ minitest (5.10.3)
189
+ mongo (2.4.3)
190
+ bson (>= 4.2.1, < 5.0.0)
191
+ mongoid (5.2.1)
201
192
  activemodel (~> 4.0)
202
- mongo (~> 2.1)
203
- origin (~> 2.2)
193
+ mongo (>= 2.4.1, < 3.0.0)
194
+ origin (~> 2.3)
204
195
  tzinfo (>= 0.3.37)
205
196
  mongoid-rspec (3.0.0)
206
197
  mongoid (~> 5.0)
@@ -209,143 +200,137 @@ GEM
209
200
  mongoid-simple-tags (0.1.3)
210
201
  json (~> 1.8)
211
202
  mongoid (>= 3.0.3)
212
- mongoid-tree (2.0.1)
213
- mongoid (>= 4.0, < 6.0)
203
+ mongoid-tree (2.1.0)
204
+ mongoid (>= 4.0, < 7.0)
214
205
  mongoid_orderable (4.1.1)
215
206
  mongoid
216
- multi_json (1.12.1)
217
- nokogiri (1.6.8)
218
- mini_portile2 (~> 2.1.0)
219
- pkg-config (~> 1.1.7)
220
- origin (2.2.0)
221
- pkg-config (1.1.7)
222
- pry (0.10.3)
207
+ nokogiri (1.8.1)
208
+ mini_portile2 (~> 2.3.0)
209
+ origin (2.3.1)
210
+ pry (0.11.2)
223
211
  coderay (~> 1.1.0)
224
- method_source (~> 0.8.1)
225
- slop (~> 3.4)
226
- pry-byebug (3.4.0)
227
- byebug (~> 9.0)
212
+ method_source (~> 0.9.0)
213
+ pry-byebug (3.5.0)
214
+ byebug (~> 9.1)
228
215
  pry (~> 0.10)
216
+ public_suffix (3.0.0)
229
217
  quiet_assets (1.1.0)
230
218
  railties (>= 3.1, < 5.0)
231
- rack (1.6.4)
219
+ rack (1.6.8)
232
220
  rack-test (0.6.3)
233
221
  rack (>= 1.0)
234
- rails (4.2.6)
235
- actionmailer (= 4.2.6)
236
- actionpack (= 4.2.6)
237
- actionview (= 4.2.6)
238
- activejob (= 4.2.6)
239
- activemodel (= 4.2.6)
240
- activerecord (= 4.2.6)
241
- activesupport (= 4.2.6)
222
+ rails (4.2.10)
223
+ actionmailer (= 4.2.10)
224
+ actionpack (= 4.2.10)
225
+ actionview (= 4.2.10)
226
+ activejob (= 4.2.10)
227
+ activemodel (= 4.2.10)
228
+ activerecord (= 4.2.10)
229
+ activesupport (= 4.2.10)
242
230
  bundler (>= 1.3.0, < 2.0)
243
- railties (= 4.2.6)
231
+ railties (= 4.2.10)
244
232
  sprockets-rails
245
233
  rails-deprecated_sanitizer (1.0.3)
246
234
  activesupport (>= 4.2.0.alpha)
247
- rails-dom-testing (1.0.7)
235
+ rails-dom-testing (1.0.8)
248
236
  activesupport (>= 4.2.0.beta, < 5.0)
249
- nokogiri (~> 1.6.0)
237
+ nokogiri (~> 1.6)
250
238
  rails-deprecated_sanitizer (>= 1.0.1)
251
239
  rails-html-sanitizer (1.0.3)
252
240
  loofah (~> 2.0)
253
- rails-i18n (4.0.8)
241
+ rails-i18n (4.0.9)
254
242
  i18n (~> 0.7)
255
243
  railties (~> 4.0)
256
- railties (4.2.6)
257
- actionpack (= 4.2.6)
258
- activesupport (= 4.2.6)
244
+ railties (4.2.10)
245
+ actionpack (= 4.2.10)
246
+ activesupport (= 4.2.10)
259
247
  rake (>= 0.8.7)
260
248
  thor (>= 0.18.1, < 2.0)
261
- rake (11.2.2)
262
- rb-fsevent (0.9.7)
263
- rb-inotify (0.9.7)
264
- ffi (>= 0.5.0)
265
- responders (2.2.0)
266
- railties (>= 4.2.0, < 5.1)
267
- rspec (3.4.0)
268
- rspec-core (~> 3.4.0)
269
- rspec-expectations (~> 3.4.0)
270
- rspec-mocks (~> 3.4.0)
271
- rspec-collection_matchers (1.1.2)
249
+ rake (12.2.1)
250
+ rb-fsevent (0.10.2)
251
+ rb-inotify (0.9.10)
252
+ ffi (>= 0.5.0, < 2)
253
+ responders (2.4.0)
254
+ actionpack (>= 4.2.0, < 5.3)
255
+ railties (>= 4.2.0, < 5.3)
256
+ rspec (3.7.0)
257
+ rspec-core (~> 3.7.0)
258
+ rspec-expectations (~> 3.7.0)
259
+ rspec-mocks (~> 3.7.0)
260
+ rspec-collection_matchers (1.1.3)
272
261
  rspec-expectations (>= 2.99.0.beta1)
273
- rspec-core (3.4.4)
274
- rspec-support (~> 3.4.0)
275
- rspec-expectations (3.4.0)
262
+ rspec-core (3.7.0)
263
+ rspec-support (~> 3.7.0)
264
+ rspec-expectations (3.7.0)
276
265
  diff-lcs (>= 1.2.0, < 2.0)
277
- rspec-support (~> 3.4.0)
278
- rspec-mocks (3.4.1)
266
+ rspec-support (~> 3.7.0)
267
+ rspec-mocks (3.7.0)
279
268
  diff-lcs (>= 1.2.0, < 2.0)
280
- rspec-support (~> 3.4.0)
281
- rspec-rails (3.4.2)
282
- actionpack (>= 3.0, < 4.3)
283
- activesupport (>= 3.0, < 4.3)
284
- railties (>= 3.0, < 4.3)
285
- rspec-core (~> 3.4.0)
286
- rspec-expectations (~> 3.4.0)
287
- rspec-mocks (~> 3.4.0)
288
- rspec-support (~> 3.4.0)
289
- rspec-support (3.4.1)
290
- ruby_parser (3.8.2)
291
- sexp_processor (~> 4.1)
292
- sass (3.4.22)
293
- sass-rails (5.0.4)
294
- railties (>= 4.0.0, < 5.0)
269
+ rspec-support (~> 3.7.0)
270
+ rspec-rails (3.7.1)
271
+ actionpack (>= 3.0)
272
+ activesupport (>= 3.0)
273
+ railties (>= 3.0)
274
+ rspec-core (~> 3.7.0)
275
+ rspec-expectations (~> 3.7.0)
276
+ rspec-mocks (~> 3.7.0)
277
+ rspec-support (~> 3.7.0)
278
+ rspec-support (3.7.0)
279
+ ruby_parser (3.10.1)
280
+ sexp_processor (~> 4.9)
281
+ sass (3.5.3)
282
+ sass-listen (~> 4.0.0)
283
+ sass-listen (4.0.0)
284
+ rb-fsevent (~> 0.9, >= 0.9.4)
285
+ rb-inotify (~> 0.9, >= 0.9.7)
286
+ sass-rails (5.0.6)
287
+ railties (>= 4.0.0, < 6)
295
288
  sass (~> 3.1)
296
289
  sprockets (>= 2.8, < 4.0)
297
290
  sprockets-rails (>= 2.0, < 4.0)
298
291
  tilt (>= 1.1, < 3)
299
- sexp_processor (4.7.0)
300
- simple_form (3.2.1)
301
- actionpack (> 4, < 5.1)
302
- activemodel (> 4, < 5.1)
303
- simplecov (0.11.2)
292
+ sexp_processor (4.10.0)
293
+ simple_form (3.5.0)
294
+ actionpack (> 4, < 5.2)
295
+ activemodel (> 4, < 5.2)
296
+ simplecov (0.15.1)
304
297
  docile (~> 1.1.0)
305
- json (~> 1.8)
298
+ json (>= 1.8, < 3)
306
299
  simplecov-html (~> 0.10.0)
307
- simplecov-html (0.10.0)
308
- slim (3.0.7)
309
- temple (~> 0.7.6)
300
+ simplecov-html (0.10.2)
301
+ slim (3.0.9)
302
+ temple (>= 0.7.6, < 0.9)
310
303
  tilt (>= 1.3.3, < 2.1)
311
- slim-rails (3.1.0)
304
+ slim-rails (3.1.3)
312
305
  actionpack (>= 3.1)
313
306
  railties (>= 3.1)
314
307
  slim (~> 3.0)
315
- slop (3.6.0)
316
- spork (0.9.2)
317
- sprockets (3.6.2)
308
+ sprockets (3.7.1)
318
309
  concurrent-ruby (~> 1.0)
319
310
  rack (> 1, < 3)
320
- sprockets-rails (3.1.1)
311
+ sprockets-rails (3.2.1)
321
312
  actionpack (>= 4.0)
322
313
  activesupport (>= 4.0)
323
314
  sprockets (>= 3.0.0)
324
- sys-uname (1.0.2)
325
- ffi (>= 1.0.0)
326
- temple (0.7.7)
327
- thor (0.19.1)
328
- thread_safe (0.3.5)
329
- tilt (2.0.5)
330
- tzinfo (1.2.2)
315
+ temple (0.8.0)
316
+ thor (0.20.0)
317
+ thread_safe (0.3.6)
318
+ tilt (2.0.8)
319
+ tzinfo (1.2.4)
331
320
  thread_safe (~> 0.1)
332
- xpath (2.0.0)
321
+ xpath (2.1.0)
333
322
  nokogiri (~> 1.3)
334
323
 
335
324
  PLATFORMS
336
325
  ruby
337
326
 
338
327
  DEPENDENCIES
339
- autotest
340
- autotest-fsevent
341
- autotest-growl
342
- autotest-rails-pure
343
328
  better_errors
344
329
  binding_of_caller
345
330
  capybara
346
331
  compass-h5bp
347
332
  dotenv-rails
348
- factory_girl_rails
333
+ factory_bot_rails
349
334
  faker
350
335
  helena_administration!
351
336
  launchy
@@ -357,4 +342,6 @@ DEPENDENCIES
357
342
  rspec-collection_matchers (~> 1)
358
343
  rspec-rails (~> 3)
359
344
  simplecov
360
- spork
345
+
346
+ BUNDLED WITH
347
+ 1.16.0.pre.3
@@ -15,7 +15,7 @@ module HelenaAdministration
15
15
  Helena::SurveyImporter.new @import_survey_form.script
16
16
  flash[:success] = t('shared.actions.created')
17
17
  redirect_to surveys_path
18
- rescue => e
18
+ rescue StandardError => e
19
19
  @error = e
20
20
 
21
21
  render 'new'
@@ -3,7 +3,7 @@ module HelenaAdministration
3
3
  respond_to :html
4
4
 
5
5
  before_action :load_version, :add_breadcrumbs
6
- before_action :load_question_group, only: [:destroy, :edit, :update, :show]
6
+ before_action :load_question_group, only: %i[destroy edit update show]
7
7
 
8
8
  def show
9
9
  add_breadcrumb @question_group.title
@@ -4,7 +4,7 @@ module HelenaAdministration
4
4
  private
5
5
 
6
6
  def permited_params
7
- [:default_value, :required]
7
+ %i[default_value required]
8
8
  end
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module HelenaAdministration
4
4
  private
5
5
 
6
6
  def permited_params
7
- [:default_value, :required]
7
+ %i[default_value required]
8
8
  end
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module HelenaAdministration
4
4
  private
5
5
 
6
6
  def permited_params
7
- [:default_value, :required]
7
+ %i[default_value required]
8
8
  end
9
9
  end
10
10
  end
@@ -3,7 +3,7 @@ module HelenaAdministration
3
3
  respond_to :html
4
4
 
5
5
  before_action :load_question_group, :add_breadcrumbs
6
- before_action :load_question, only: [:destroy, :edit, :update, :show]
6
+ before_action :load_question, only: %i[destroy edit update show]
7
7
 
8
8
  def show
9
9
  add_breadcrumb @question.code
@@ -71,23 +71,22 @@ module HelenaAdministration
71
71
  end
72
72
 
73
73
  def labels_attributes
74
- [:id, :position, :text, :value, :preselected, :_destroy]
74
+ %i[id position text value preselected _destroy]
75
75
  end
76
76
 
77
77
  def sub_questions_attributes
78
- [:id, :position, :code, :text, :value, :preselected, :_destroy]
78
+ %i[id position code text value preselected _destroy]
79
79
  end
80
80
 
81
81
  def question_params
82
- required_param.permit(permited_params + [:position, :question_text, :code, :_type])
82
+ required_param.permit(permited_params + %i[position question_text code _type])
83
83
  end
84
84
 
85
85
  def permited_params
86
86
  []
87
87
  end
88
88
 
89
- def add_ressources
90
- end
89
+ def add_ressources; end
91
90
 
92
91
  def required_param
93
92
  param_name = self.class == QuestionsController ? :question : "questions_#{controller_name.singularize}"
@@ -6,7 +6,7 @@ module HelenaAdministration
6
6
  respond_to :html, :json, :csv
7
7
 
8
8
  before_filter :load_survey, :add_breadcrumbs
9
- before_filter :load_session, only: [:edit, :update, :destroy]
9
+ before_filter :load_session, only: %i[edit update destroy]
10
10
 
11
11
  def index
12
12
  respond_to do |format|
@@ -66,7 +66,7 @@ module HelenaAdministration
66
66
 
67
67
  def answer_values(session)
68
68
  answers = Hash[session.answers.map { |answer| [answer.code, answer.value] }]
69
- question_codes.map { |code| answers[code] }
69
+ question_codes.map { |code| answers[code] }
70
70
  end
71
71
 
72
72
  def add_breadcrumbs
@@ -4,7 +4,7 @@ module HelenaAdministration
4
4
 
5
5
  before_action :add_breadcrumbs
6
6
 
7
- before_action :load_resources, only: [:destroy, :edit, :update, :show]
7
+ before_action :load_resources, only: %i[destroy edit update show]
8
8
 
9
9
  def index
10
10
  @surveys = Helena::Survey.asc(:position)
@@ -62,8 +62,6 @@ module HelenaAdministration
62
62
  add_breadcrumb Helena::Survey.model_name.human(count: 2), surveys_path
63
63
  end
64
64
 
65
- private
66
-
67
65
  def survey_params
68
66
  params.require(:survey).permit(:name, :tag_list, :language)
69
67
  end
@@ -3,7 +3,7 @@ module HelenaAdministration
3
3
  respond_to :html
4
4
 
5
5
  before_action :load_survey, :add_breadcrumbs
6
- before_action :load_version, only: [:edit, :update, :show]
6
+ before_action :load_version, only: %i[edit update show]
7
7
 
8
8
  def show
9
9
  add_breadcrumb t 'helena_administration.versions.version', version: @version.version
@@ -69,7 +69,7 @@ module HelenaAdministration
69
69
  def version_params
70
70
  params.require(:version).permit(:parent, :notes, :session_report, :active,
71
71
  settings: [:display_progressbar],
72
- survey_detail_attributes: [:title, :description])
72
+ survey_detail_attributes: %i[title description])
73
73
  end
74
74
 
75
75
  def build_version
data/config/routes.rb CHANGED
@@ -3,7 +3,7 @@ HelenaAdministration::Engine.routes.draw do
3
3
 
4
4
  root 'dashboard#index'
5
5
 
6
- resource :import_survey, only: [:new, :create]
6
+ resource :import_survey, only: %i[new create]
7
7
  resources :surveys do
8
8
  resources :sessions
9
9
  resources :versions do
@@ -14,29 +14,30 @@ Gem::Specification.new do |s|
14
14
  s.description = 'Helena Administration is a simple rails application that provides a user interface to manage apps running with the Helena framework.'
15
15
  s.license = 'GPL3'
16
16
 
17
- s.files = `git ls-files`.split("\n")
18
- s.test_files = `git ls-files -- {spec}/*`.split("\n")
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {spec}/*`.split("\n")
19
19
 
20
- s.add_runtime_dependency 'kaminari-mongoid', '~> 0.1.2'
21
- s.add_runtime_dependency 'rails', '~> 4.2'
22
- s.add_runtime_dependency 'slim-rails', '~> 3.0'
23
- s.add_runtime_dependency 'codemirror-rails', '~> 5'
24
- s.add_dependency 'helena', '~> 1.0'
25
- s.add_dependency 'mongoid', ['< 6.0', '>= 4.0']
26
- s.add_dependency 'mongoid_orderable', '~> 4.1'
20
+ s.add_runtime_dependency 'codemirror-rails', '>= 5'
21
+ s.add_runtime_dependency 'kaminari-actionview'
22
+ s.add_runtime_dependency 'kaminari-mongoid'
23
+ s.add_runtime_dependency 'rails', '>= 4.2'
24
+ s.add_runtime_dependency 'slim-rails', '>= 3.0'
25
+ s.add_dependency 'haml-rails', '>= 0.5'
26
+ s.add_dependency 'helena', '~> 1.3'
27
+ s.add_dependency 'mongoid', ['>= 4.0']
27
28
  s.add_dependency 'mongoid-simple-tags', '~> 0.1'
28
- s.add_dependency 'haml-rails', '~> 0.5'
29
+ s.add_dependency 'mongoid_orderable', '~> 4.1'
29
30
  s.add_runtime_dependency 'html5-rails', '~> 0.1'
30
31
  s.add_dependency 'jquery-rails', '~> 4'
31
32
  s.add_runtime_dependency 'sass-rails', '~> 5.0'
32
33
  s.add_dependency 'bootstrap-sass', '~> 3.2'
34
+ s.add_dependency 'breadcrumbs_on_rails', '>= 3.0.1'
35
+ s.add_dependency 'rails-i18n'
33
36
  s.add_dependency 'simple_form', '~> 3.2'
34
- s.add_dependency 'breadcrumbs_on_rails', '~> 2.3'
35
- s.add_dependency 'rails-i18n', '~> 4.0'
36
- s.add_runtime_dependency 'font-awesome-sass', '~> 4.4'
37
37
  s.add_runtime_dependency 'coffee-rails', '~> 4.1'
38
+ s.add_runtime_dependency 'font-awesome-sass', '~> 4.4'
38
39
  s.add_dependency 'responders', '~> 2.0'
39
-
40
- s.add_development_dependency 'rspec-rails', '~> 3'
40
+
41
41
  s.add_development_dependency 'rspec-collection_matchers', '~> 1'
42
+ s.add_development_dependency 'rspec-rails', '~> 3'
42
43
  end
@@ -9,7 +9,8 @@ require 'helena'
9
9
  require 'mongoid'
10
10
  require 'mongoid_orderable'
11
11
  require 'mongoid-simple-tags'
12
- require 'kaminari'
12
+ require 'kaminari/mongoid'
13
+ require 'kaminari/actionview'
13
14
 
14
15
  module HelenaAdministration
15
16
  end
@@ -2,7 +2,7 @@ module HelenaAdministration
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace HelenaAdministration
4
4
  config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.{rb,yml}').to_s]
5
- config.assets.precompile += %w( helena_administration.js helena_administration.css )
5
+ config.assets.precompile += %w[helena_administration.js helena_administration.css]
6
6
 
7
7
  config.to_prepare do
8
8
  Dir.glob(Rails.root + 'app/decorators/**/*_decorator*.rb').each do |c|
@@ -1,3 +1,3 @@
1
1
  module HelenaAdministration
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.3'.freeze
3
3
  end
@@ -17,7 +17,6 @@ feature 'Versions ' do
17
17
 
18
18
  scenario 'User publish a new version' do
19
19
  visit survey_path(survey)
20
-
21
20
  within 'table.versions' do
22
21
  click_link 'New'
23
22
  end
data/spec/spec_helper.rb CHANGED
@@ -5,7 +5,7 @@ ENV['RAILS_ENV'] ||= 'test'
5
5
  require File.expand_path('../dummy/config/environment.rb', __FILE__)
6
6
 
7
7
  require 'rspec/rails'
8
- require 'factory_girl_rails'
8
+ require 'factory_bot_rails'
9
9
  require 'mongoid-rspec'
10
10
  require 'capybara/rspec'
11
11
  require 'rspec/collection_matchers'
@@ -28,8 +28,8 @@ RSpec.configure do |config|
28
28
 
29
29
  config.include Mongoid::Matchers, type: :model
30
30
 
31
- # We don't want write FactoryGirl all the time
32
- config.include FactoryGirl::Syntax::Methods
31
+ # We don't want write FactoryBot all the time
32
+ config.include FactoryBot::Syntax::Methods
33
33
 
34
34
  config.infer_spec_type_from_file_location!
35
35
 
metadata CHANGED
@@ -1,92 +1,117 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helena_administration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Graf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-29 00:00:00.000000000 Z
11
+ date: 2017-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: codemirror-rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '5'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: kaminari-actionview
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: kaminari-mongoid
15
43
  requirement: !ruby/object:Gem::Requirement
16
44
  requirements:
17
- - - "~>"
45
+ - - ">="
18
46
  - !ruby/object:Gem::Version
19
- version: 0.1.2
47
+ version: '0'
20
48
  type: :runtime
21
49
  prerelease: false
22
50
  version_requirements: !ruby/object:Gem::Requirement
23
51
  requirements:
24
- - - "~>"
52
+ - - ">="
25
53
  - !ruby/object:Gem::Version
26
- version: 0.1.2
54
+ version: '0'
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: rails
29
57
  requirement: !ruby/object:Gem::Requirement
30
58
  requirements:
31
- - - "~>"
59
+ - - ">="
32
60
  - !ruby/object:Gem::Version
33
61
  version: '4.2'
34
62
  type: :runtime
35
63
  prerelease: false
36
64
  version_requirements: !ruby/object:Gem::Requirement
37
65
  requirements:
38
- - - "~>"
66
+ - - ">="
39
67
  - !ruby/object:Gem::Version
40
68
  version: '4.2'
41
69
  - !ruby/object:Gem::Dependency
42
70
  name: slim-rails
43
71
  requirement: !ruby/object:Gem::Requirement
44
72
  requirements:
45
- - - "~>"
73
+ - - ">="
46
74
  - !ruby/object:Gem::Version
47
75
  version: '3.0'
48
76
  type: :runtime
49
77
  prerelease: false
50
78
  version_requirements: !ruby/object:Gem::Requirement
51
79
  requirements:
52
- - - "~>"
80
+ - - ">="
53
81
  - !ruby/object:Gem::Version
54
82
  version: '3.0'
55
83
  - !ruby/object:Gem::Dependency
56
- name: codemirror-rails
84
+ name: haml-rails
57
85
  requirement: !ruby/object:Gem::Requirement
58
86
  requirements:
59
- - - "~>"
87
+ - - ">="
60
88
  - !ruby/object:Gem::Version
61
- version: '5'
89
+ version: '0.5'
62
90
  type: :runtime
63
91
  prerelease: false
64
92
  version_requirements: !ruby/object:Gem::Requirement
65
93
  requirements:
66
- - - "~>"
94
+ - - ">="
67
95
  - !ruby/object:Gem::Version
68
- version: '5'
96
+ version: '0.5'
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: helena
71
99
  requirement: !ruby/object:Gem::Requirement
72
100
  requirements:
73
101
  - - "~>"
74
102
  - !ruby/object:Gem::Version
75
- version: '1.0'
103
+ version: '1.3'
76
104
  type: :runtime
77
105
  prerelease: false
78
106
  version_requirements: !ruby/object:Gem::Requirement
79
107
  requirements:
80
108
  - - "~>"
81
109
  - !ruby/object:Gem::Version
82
- version: '1.0'
110
+ version: '1.3'
83
111
  - !ruby/object:Gem::Dependency
84
112
  name: mongoid
85
113
  requirement: !ruby/object:Gem::Requirement
86
114
  requirements:
87
- - - "<"
88
- - !ruby/object:Gem::Version
89
- version: '6.0'
90
115
  - - ">="
91
116
  - !ruby/object:Gem::Version
92
117
  version: '4.0'
@@ -94,26 +119,9 @@ dependencies:
94
119
  prerelease: false
95
120
  version_requirements: !ruby/object:Gem::Requirement
96
121
  requirements:
97
- - - "<"
98
- - !ruby/object:Gem::Version
99
- version: '6.0'
100
122
  - - ">="
101
123
  - !ruby/object:Gem::Version
102
124
  version: '4.0'
103
- - !ruby/object:Gem::Dependency
104
- name: mongoid_orderable
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '4.1'
110
- type: :runtime
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: '4.1'
117
125
  - !ruby/object:Gem::Dependency
118
126
  name: mongoid-simple-tags
119
127
  requirement: !ruby/object:Gem::Requirement
@@ -129,19 +137,19 @@ dependencies:
129
137
  - !ruby/object:Gem::Version
130
138
  version: '0.1'
131
139
  - !ruby/object:Gem::Dependency
132
- name: haml-rails
140
+ name: mongoid_orderable
133
141
  requirement: !ruby/object:Gem::Requirement
134
142
  requirements:
135
143
  - - "~>"
136
144
  - !ruby/object:Gem::Version
137
- version: '0.5'
145
+ version: '4.1'
138
146
  type: :runtime
139
147
  prerelease: false
140
148
  version_requirements: !ruby/object:Gem::Requirement
141
149
  requirements:
142
150
  - - "~>"
143
151
  - !ruby/object:Gem::Version
144
- version: '0.5'
152
+ version: '4.1'
145
153
  - !ruby/object:Gem::Dependency
146
154
  name: html5-rails
147
155
  requirement: !ruby/object:Gem::Requirement
@@ -199,75 +207,75 @@ dependencies:
199
207
  - !ruby/object:Gem::Version
200
208
  version: '3.2'
201
209
  - !ruby/object:Gem::Dependency
202
- name: simple_form
210
+ name: breadcrumbs_on_rails
203
211
  requirement: !ruby/object:Gem::Requirement
204
212
  requirements:
205
- - - "~>"
213
+ - - ">="
206
214
  - !ruby/object:Gem::Version
207
- version: '3.2'
215
+ version: 3.0.1
208
216
  type: :runtime
209
217
  prerelease: false
210
218
  version_requirements: !ruby/object:Gem::Requirement
211
219
  requirements:
212
- - - "~>"
220
+ - - ">="
213
221
  - !ruby/object:Gem::Version
214
- version: '3.2'
222
+ version: 3.0.1
215
223
  - !ruby/object:Gem::Dependency
216
- name: breadcrumbs_on_rails
224
+ name: rails-i18n
217
225
  requirement: !ruby/object:Gem::Requirement
218
226
  requirements:
219
- - - "~>"
227
+ - - ">="
220
228
  - !ruby/object:Gem::Version
221
- version: '2.3'
229
+ version: '0'
222
230
  type: :runtime
223
231
  prerelease: false
224
232
  version_requirements: !ruby/object:Gem::Requirement
225
233
  requirements:
226
- - - "~>"
234
+ - - ">="
227
235
  - !ruby/object:Gem::Version
228
- version: '2.3'
236
+ version: '0'
229
237
  - !ruby/object:Gem::Dependency
230
- name: rails-i18n
238
+ name: simple_form
231
239
  requirement: !ruby/object:Gem::Requirement
232
240
  requirements:
233
241
  - - "~>"
234
242
  - !ruby/object:Gem::Version
235
- version: '4.0'
243
+ version: '3.2'
236
244
  type: :runtime
237
245
  prerelease: false
238
246
  version_requirements: !ruby/object:Gem::Requirement
239
247
  requirements:
240
248
  - - "~>"
241
249
  - !ruby/object:Gem::Version
242
- version: '4.0'
250
+ version: '3.2'
243
251
  - !ruby/object:Gem::Dependency
244
- name: font-awesome-sass
252
+ name: coffee-rails
245
253
  requirement: !ruby/object:Gem::Requirement
246
254
  requirements:
247
255
  - - "~>"
248
256
  - !ruby/object:Gem::Version
249
- version: '4.4'
257
+ version: '4.1'
250
258
  type: :runtime
251
259
  prerelease: false
252
260
  version_requirements: !ruby/object:Gem::Requirement
253
261
  requirements:
254
262
  - - "~>"
255
263
  - !ruby/object:Gem::Version
256
- version: '4.4'
264
+ version: '4.1'
257
265
  - !ruby/object:Gem::Dependency
258
- name: coffee-rails
266
+ name: font-awesome-sass
259
267
  requirement: !ruby/object:Gem::Requirement
260
268
  requirements:
261
269
  - - "~>"
262
270
  - !ruby/object:Gem::Version
263
- version: '4.1'
271
+ version: '4.4'
264
272
  type: :runtime
265
273
  prerelease: false
266
274
  version_requirements: !ruby/object:Gem::Requirement
267
275
  requirements:
268
276
  - - "~>"
269
277
  - !ruby/object:Gem::Version
270
- version: '4.1'
278
+ version: '4.4'
271
279
  - !ruby/object:Gem::Dependency
272
280
  name: responders
273
281
  requirement: !ruby/object:Gem::Requirement
@@ -283,33 +291,33 @@ dependencies:
283
291
  - !ruby/object:Gem::Version
284
292
  version: '2.0'
285
293
  - !ruby/object:Gem::Dependency
286
- name: rspec-rails
294
+ name: rspec-collection_matchers
287
295
  requirement: !ruby/object:Gem::Requirement
288
296
  requirements:
289
297
  - - "~>"
290
298
  - !ruby/object:Gem::Version
291
- version: '3'
299
+ version: '1'
292
300
  type: :development
293
301
  prerelease: false
294
302
  version_requirements: !ruby/object:Gem::Requirement
295
303
  requirements:
296
304
  - - "~>"
297
305
  - !ruby/object:Gem::Version
298
- version: '3'
306
+ version: '1'
299
307
  - !ruby/object:Gem::Dependency
300
- name: rspec-collection_matchers
308
+ name: rspec-rails
301
309
  requirement: !ruby/object:Gem::Requirement
302
310
  requirements:
303
311
  - - "~>"
304
312
  - !ruby/object:Gem::Version
305
- version: '1'
313
+ version: '3'
306
314
  type: :development
307
315
  prerelease: false
308
316
  version_requirements: !ruby/object:Gem::Requirement
309
317
  requirements:
310
318
  - - "~>"
311
319
  - !ruby/object:Gem::Version
312
- version: '1'
320
+ version: '3'
313
321
  description: Helena Administration is a simple rails application that provides a user
314
322
  interface to manage apps running with the Helena framework.
315
323
  email:
@@ -507,10 +515,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
507
515
  version: '0'
508
516
  requirements: []
509
517
  rubyforge_project:
510
- rubygems_version: 2.4.5
518
+ rubygems_version: 2.6.11
511
519
  signing_key:
512
520
  specification_version: 4
513
521
  summary: Helena Administration is a simple rails application that provides a user
514
522
  interface to manage apps running with the Helena framework.
515
523
  test_files: []
516
- has_rdoc: