udongo 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 862a0cb3d6ea0e463ba97f1e97c1f522dfecc3c7
|
|
4
|
+
data.tar.gz: 30045dd0c52ea3fdcb94b4e68b9880364a4bbdeb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 08700b68fb9a32e796bdfe61d297d88964bd81a158e6e5a6411d8164158113eccc4300f5533fb2b8856a7033a3d377a2a5a54323804cbabc57bd3b1dde240c7d
|
|
7
|
+
data.tar.gz: 1e41de0286e96867df2f4b7fe5b061e2c831d21f643a327388c2f3d68cd8ee16fd957fb87691dbfdbe8fad3e7b4b6586cc7a8d61bd904a324414279044840850
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
<li class="nav-item pull-xs-right">
|
|
38
38
|
<%= form_tag backend_search_path, method: :get, id: 'search', class: 'form-inline my-2 my-lg-0' do %>
|
|
39
|
-
<%= text_field_tag :term, params[:term], class: 'form-control mr-sm-2', placeholder: t('b.search') %>
|
|
39
|
+
<%= text_field_tag :term, params[:term], class: 'form-control mr-sm-2 no-focus', placeholder: t('b.search') %>
|
|
40
40
|
<% end %>
|
|
41
41
|
</li>
|
|
42
42
|
</ul>
|
data/changelog.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
5.0.1 - 2017-02-13
|
|
2
|
+
--
|
|
3
|
+
* Make sure the search field in the top navigation doesn't steal the focus.
|
|
4
|
+
* Add missing class for vertical file inputs for Simple Form.
|
|
5
|
+
* Remove the search partial file checks.
|
|
6
|
+
|
|
7
|
+
|
|
1
8
|
5.0.0 - 2017-02-12
|
|
2
9
|
--
|
|
3
10
|
* Added a general ```User``` model which you can extend in your own app.
|
|
@@ -25,7 +25,7 @@ SimpleForm.setup do |config|
|
|
|
25
25
|
b.optional :readonly
|
|
26
26
|
b.use :label, class: 'control-label'
|
|
27
27
|
|
|
28
|
-
b.use :input
|
|
28
|
+
b.use :input, class: 'form-control-file'
|
|
29
29
|
b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
|
30
30
|
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
|
31
31
|
end
|
|
@@ -32,18 +32,9 @@ module Udongo
|
|
|
32
32
|
# problem by letting the dev decide how the row should look.
|
|
33
33
|
#
|
|
34
34
|
def build_html
|
|
35
|
-
unless File.exists?(full_partial)
|
|
36
|
-
raise(InterfaceNotImplementedError, "In order to display formatted HTML for search results, the build_html method expects for a partial to exist in #{full_partial}")
|
|
37
|
-
end
|
|
38
|
-
|
|
39
35
|
ApplicationController.render(partial: partial, locals: locals)
|
|
40
36
|
end
|
|
41
37
|
|
|
42
|
-
def full_partial
|
|
43
|
-
root = Rails.root.to_s.gsub('spec/dummy', '')
|
|
44
|
-
File.join(root, 'app/views', partial_path, "_#{partial_target}.html.erb")
|
|
45
|
-
end
|
|
46
|
-
|
|
47
38
|
def hidden?
|
|
48
39
|
searchable.respond_to?(:visible) && searchable.hidden?
|
|
49
40
|
end
|
data/lib/udongo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: udongo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.0.
|
|
4
|
+
version: 5.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Davy Hellemans
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-02-
|
|
12
|
+
date: 2017-02-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|