bhf 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +10 -10
- data/Gemfile.lock +117 -90
- data/VERSION +1 -1
- data/app/assets/javascripts/bhf/application.js +6 -5
- data/app/controllers/bhf/entries_controller.rb +5 -3
- data/app/views/bhf/{_footer.haml → _footer.html.haml} +0 -0
- data/app/views/bhf/{_user.haml → _user.html.haml} +0 -0
- data/app/views/bhf/application/{index.haml → index.html.haml} +0 -0
- data/app/views/bhf/entries/{_form.haml → _form.html.haml} +6 -6
- data/app/views/bhf/entries/{_validation_errors.haml → _validation_errors.html.haml} +0 -0
- data/app/views/bhf/entries/{edit.haml → edit.html.haml} +0 -0
- data/app/views/bhf/entries/{new.haml → new.html.haml} +0 -0
- data/app/views/bhf/entries/{show.haml → show.html.haml} +0 -0
- data/app/views/bhf/form/belongs_to/{_radio.haml → _radio.html.haml} +0 -0
- data/app/views/bhf/form/belongs_to/{_select.haml → _select.html.haml} +0 -0
- data/app/views/bhf/form/belongs_to/{_static.haml → _static.html.haml} +0 -0
- data/app/views/bhf/form/column/{_array.haml → _array.html.haml} +0 -0
- data/app/views/bhf/form/column/{_boolean.haml → _boolean.html.haml} +0 -0
- data/app/views/bhf/form/column/{_date.haml → _date.html.haml} +0 -0
- data/app/views/bhf/form/column/{_hash.haml → _hash.html.haml} +0 -0
- data/app/views/bhf/form/column/{_mappin.haml → _mappin.html.haml} +0 -0
- data/app/views/bhf/form/column/{_markdown.haml → _markdown.html.haml} +0 -0
- data/app/views/bhf/form/column/{_multiple_fields.haml → _multiple_fields.html.haml} +0 -0
- data/app/views/bhf/form/column/{_number.haml → _number.html.haml} +0 -0
- data/app/views/bhf/form/column/{_paperclip.haml → _paperclip.html.haml} +0 -0
- data/app/views/bhf/form/column/{_password.haml → _password.html.haml} +0 -0
- data/app/views/bhf/form/column/{_static.haml → _static.html.haml} +0 -0
- data/app/views/bhf/form/column/{_string.haml → _string.html.haml} +0 -0
- data/app/views/bhf/form/column/{_text.haml → _text.html.haml} +0 -0
- data/app/views/bhf/form/column/{_wysiwyg.haml → _wysiwyg.html.haml} +0 -0
- data/app/views/bhf/form/embeds_many/{_static.haml → _static.html.haml} +0 -0
- data/app/views/bhf/form/embeds_one/{_static.haml → _static.html.haml} +0 -0
- data/app/views/bhf/form/has_and_belongs_to_many/{_check_box.haml → _check_box.html.haml} +0 -0
- data/app/views/bhf/form/has_and_belongs_to_many/{_static.haml → _static.html.haml} +0 -0
- data/app/views/bhf/form/has_many/{_static.haml → _static.html.haml} +0 -0
- data/app/views/bhf/form/has_one/{_static.haml → _static.html.haml} +0 -0
- data/app/views/bhf/helper/{_definition_item.haml → _definition_item.html.haml} +0 -0
- data/app/views/bhf/helper/{_field_errors.haml → _field_errors.html.haml} +0 -0
- data/app/views/bhf/helper/{_flash.haml → _flash.html.haml} +0 -0
- data/app/views/bhf/helper/{_frontend_edit.haml → _frontend_edit.html.haml} +0 -0
- data/app/views/bhf/helper/{_info.haml → _info.html.haml} +0 -0
- data/app/views/bhf/helper/{_node.haml → _node.html.haml} +0 -0
- data/app/views/bhf/helper/{_reflection_node.haml → _reflection_node.html.haml} +0 -0
- data/app/views/bhf/pages/{_platform.haml → _platform.html.haml} +0 -0
- data/app/views/bhf/pages/{_search.haml → _search.html.haml} +0 -0
- data/app/views/bhf/pages/{show.haml → show.html.haml} +0 -0
- data/app/views/bhf/table/belongs_to/{_default.haml → _default.html.haml} +0 -0
- data/app/views/bhf/table/column/{_array.haml → _array.html.haml} +0 -0
- data/app/views/bhf/table/column/{_boolean.haml → _boolean.html.haml} +0 -0
- data/app/views/bhf/table/column/{_date.haml → _date.html.haml} +0 -0
- data/app/views/bhf/table/column/{_empty.haml → _empty.html.haml} +0 -0
- data/app/views/bhf/table/column/{_extern_link.haml → _extern_link.html.haml} +0 -0
- data/app/views/bhf/table/column/{_file.haml → _file.html.haml} +0 -0
- data/app/views/bhf/table/column/{_hash.haml → _hash.html.haml} +0 -0
- data/app/views/bhf/table/column/{_image.haml → _image.html.haml} +0 -0
- data/app/views/bhf/table/column/{_number.haml → _number.html.haml} +0 -0
- data/app/views/bhf/table/column/{_paperclip.haml → _paperclip.html.haml} +0 -0
- data/app/views/bhf/table/column/{_primary_key.haml → _primary_key.html.haml} +0 -0
- data/app/views/bhf/table/column/{_string.haml → _string.html.haml} +0 -0
- data/app/views/bhf/table/column/{_text.haml → _text.html.haml} +0 -0
- data/app/views/bhf/table/embeds_many/{_default.haml → _default.html.haml} +0 -0
- data/app/views/bhf/table/embeds_one/{_default.haml → _default.html.haml} +0 -0
- data/app/views/bhf/table/has_and_belongs_to_many/{_default.haml → _default.html.haml} +0 -0
- data/app/views/bhf/table/has_many/{_default.haml → _default.html.haml} +0 -0
- data/app/views/bhf/table/has_one/{_default.haml → _default.html.haml} +0 -0
- data/bhf.gemspec +93 -93
- data/lib/bhf/mongoid/document.rb +1 -1
- data/lib/bhf/platform/pagination.rb +7 -4
- metadata +84 -84
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89824fe418339127cfa805a2a783b0257246325a
|
4
|
+
data.tar.gz: e7dcdce38b1f9decf65762548388f943483a5eb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac49b229ffb4f1a076c58d81b5f82be0d2b5483a428593b78ca540d8e3f4cbcdea5b2f324218cb3a83c25847d6e281ede8005097146ae89ea538b45c6ae18f4d
|
7
|
+
data.tar.gz: db8a47b44d37f1c5f8d73d0fd5186f1f0c909cf86f54c2359f8cdbc6605aacf8be45e94ccd4dfbf677e735533d2954fbf574fc2591a02d6c2b06c71f2bee7695
|
data/Gemfile
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
|
3
|
-
gem 'rails', '
|
4
|
-
gem 'turbolinks', '~> 2
|
5
|
-
gem 'kaminari', '~> 0
|
6
|
-
gem 'haml-rails', '~> 0
|
7
|
-
gem 'sass-rails', '~>
|
3
|
+
gem 'rails', '>= 4.2'
|
4
|
+
gem 'turbolinks', '~> 2'
|
5
|
+
gem 'kaminari', '~> 0'
|
6
|
+
gem 'haml-rails', '~> 0'
|
7
|
+
gem 'sass-rails', '~> 5'
|
8
8
|
|
9
9
|
|
10
10
|
group :development do
|
11
|
-
gem 'shoulda', '~> 3
|
12
|
-
gem 'rdoc', '~> 3
|
13
|
-
gem 'bundler', '~> 1
|
14
|
-
gem 'jeweler', '~> 2
|
15
|
-
gem 'simplecov', '~> 0
|
11
|
+
gem 'shoulda', '~> 3'
|
12
|
+
gem 'rdoc', '~> 3'
|
13
|
+
gem 'bundler', '~> 1'
|
14
|
+
gem 'jeweler', '~> 2'
|
15
|
+
gem 'simplecov', '~> 0'
|
16
16
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,69 +1,86 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionmailer (4.
|
5
|
-
actionpack (= 4.
|
6
|
-
actionview (= 4.
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
4
|
+
actionmailer (4.2.0)
|
5
|
+
actionpack (= 4.2.0)
|
6
|
+
actionview (= 4.2.0)
|
7
|
+
activejob (= 4.2.0)
|
8
|
+
mail (~> 2.5, >= 2.5.4)
|
9
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
10
|
+
actionpack (4.2.0)
|
11
|
+
actionview (= 4.2.0)
|
12
|
+
activesupport (= 4.2.0)
|
13
|
+
rack (~> 1.6.0)
|
12
14
|
rack-test (~> 0.6.2)
|
13
|
-
|
14
|
-
|
15
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
16
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
17
|
+
actionview (4.2.0)
|
18
|
+
activesupport (= 4.2.0)
|
15
19
|
builder (~> 3.1)
|
16
20
|
erubis (~> 2.7.0)
|
17
|
-
|
18
|
-
|
21
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
22
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
23
|
+
activejob (4.2.0)
|
24
|
+
activesupport (= 4.2.0)
|
25
|
+
globalid (>= 0.3.0)
|
26
|
+
activemodel (4.2.0)
|
27
|
+
activesupport (= 4.2.0)
|
19
28
|
builder (~> 3.1)
|
20
|
-
activerecord (4.
|
21
|
-
activemodel (= 4.
|
22
|
-
activesupport (= 4.
|
23
|
-
arel (~>
|
24
|
-
activesupport (4.
|
25
|
-
i18n (~> 0.
|
29
|
+
activerecord (4.2.0)
|
30
|
+
activemodel (= 4.2.0)
|
31
|
+
activesupport (= 4.2.0)
|
32
|
+
arel (~> 6.0)
|
33
|
+
activesupport (4.2.0)
|
34
|
+
i18n (~> 0.7)
|
26
35
|
json (~> 1.7, >= 1.7.7)
|
27
36
|
minitest (~> 5.1)
|
28
|
-
thread_safe (~> 0.
|
37
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
29
38
|
tzinfo (~> 1.1)
|
30
|
-
addressable (2.3.
|
31
|
-
arel (
|
39
|
+
addressable (2.3.7)
|
40
|
+
arel (6.0.0)
|
32
41
|
builder (3.2.2)
|
33
|
-
coffee-rails (4.0
|
42
|
+
coffee-rails (4.1.0)
|
34
43
|
coffee-script (>= 2.2.0)
|
35
44
|
railties (>= 4.0.0, < 5.0)
|
36
45
|
coffee-script (2.3.0)
|
37
46
|
coffee-script-source
|
38
47
|
execjs
|
39
|
-
coffee-script-source (1.
|
48
|
+
coffee-script-source (1.9.1)
|
40
49
|
descendants_tracker (0.0.4)
|
41
50
|
thread_safe (~> 0.3, >= 0.3.1)
|
42
51
|
docile (1.1.5)
|
43
52
|
erubis (2.7.0)
|
44
|
-
execjs (2.
|
45
|
-
faraday (0.9.
|
53
|
+
execjs (2.3.0)
|
54
|
+
faraday (0.9.1)
|
46
55
|
multipart-post (>= 1.2, < 3)
|
47
|
-
git (1.2.
|
48
|
-
github_api (0.
|
56
|
+
git (1.2.9.1)
|
57
|
+
github_api (0.12.3)
|
49
58
|
addressable (~> 2.3)
|
50
|
-
descendants_tracker (~> 0.0.
|
59
|
+
descendants_tracker (~> 0.0.4)
|
51
60
|
faraday (~> 0.8, < 0.10)
|
52
|
-
hashie (>=
|
61
|
+
hashie (>= 3.3)
|
53
62
|
multi_json (>= 1.7.5, < 2.0)
|
54
|
-
nokogiri (~> 1.6.
|
63
|
+
nokogiri (~> 1.6.3)
|
55
64
|
oauth2
|
56
|
-
|
65
|
+
globalid (0.3.3)
|
66
|
+
activesupport (>= 4.1.0)
|
67
|
+
haml (4.0.6)
|
57
68
|
tilt
|
58
|
-
haml-rails (0.
|
69
|
+
haml-rails (0.8.2)
|
59
70
|
actionpack (>= 4.0.1)
|
60
71
|
activesupport (>= 4.0.1)
|
61
72
|
haml (>= 3.1, < 5.0)
|
73
|
+
html2haml (>= 1.0.1)
|
62
74
|
railties (>= 4.0.1)
|
63
|
-
hashie (3.
|
64
|
-
highline (1.
|
75
|
+
hashie (3.4.0)
|
76
|
+
highline (1.7.1)
|
65
77
|
hike (1.2.3)
|
66
|
-
|
78
|
+
html2haml (2.0.0)
|
79
|
+
erubis (~> 2.7.0)
|
80
|
+
haml (~> 4.0.0)
|
81
|
+
nokogiri (~> 1.6.0)
|
82
|
+
ruby_parser (~> 3.5)
|
83
|
+
i18n (0.7.0)
|
67
84
|
jeweler (2.0.1)
|
68
85
|
builder
|
69
86
|
bundler (>= 1.0)
|
@@ -73,98 +90,108 @@ GEM
|
|
73
90
|
nokogiri (>= 1.5.10)
|
74
91
|
rake
|
75
92
|
rdoc
|
76
|
-
json (1.8.
|
77
|
-
jwt (1.
|
78
|
-
kaminari (0.16.
|
93
|
+
json (1.8.2)
|
94
|
+
jwt (1.3.0)
|
95
|
+
kaminari (0.16.3)
|
79
96
|
actionpack (>= 3.0.0)
|
80
97
|
activesupport (>= 3.0.0)
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
98
|
+
loofah (2.0.1)
|
99
|
+
nokogiri (>= 1.5.9)
|
100
|
+
mail (2.6.3)
|
101
|
+
mime-types (>= 1.16, < 3)
|
102
|
+
mime-types (2.4.3)
|
103
|
+
mini_portile (0.6.2)
|
104
|
+
minitest (5.5.1)
|
87
105
|
multi_json (1.10.1)
|
88
106
|
multi_xml (0.5.5)
|
89
107
|
multipart-post (2.0.0)
|
90
|
-
nokogiri (1.6.2
|
91
|
-
mini_portile (
|
108
|
+
nokogiri (1.6.6.2)
|
109
|
+
mini_portile (~> 0.6.0)
|
92
110
|
oauth2 (1.0.0)
|
93
111
|
faraday (>= 0.8, < 0.10)
|
94
112
|
jwt (~> 1.0)
|
95
113
|
multi_json (~> 1.3)
|
96
114
|
multi_xml (~> 0.5)
|
97
115
|
rack (~> 1.2)
|
98
|
-
|
99
|
-
rack (
|
100
|
-
rack-test (0.6.2)
|
116
|
+
rack (1.6.0)
|
117
|
+
rack-test (0.6.3)
|
101
118
|
rack (>= 1.0)
|
102
|
-
rails (4.
|
103
|
-
actionmailer (= 4.
|
104
|
-
actionpack (= 4.
|
105
|
-
actionview (= 4.
|
106
|
-
|
107
|
-
|
108
|
-
|
119
|
+
rails (4.2.0)
|
120
|
+
actionmailer (= 4.2.0)
|
121
|
+
actionpack (= 4.2.0)
|
122
|
+
actionview (= 4.2.0)
|
123
|
+
activejob (= 4.2.0)
|
124
|
+
activemodel (= 4.2.0)
|
125
|
+
activerecord (= 4.2.0)
|
126
|
+
activesupport (= 4.2.0)
|
109
127
|
bundler (>= 1.3.0, < 2.0)
|
110
|
-
railties (= 4.
|
111
|
-
sprockets-rails
|
112
|
-
|
113
|
-
|
114
|
-
|
128
|
+
railties (= 4.2.0)
|
129
|
+
sprockets-rails
|
130
|
+
rails-deprecated_sanitizer (1.0.3)
|
131
|
+
activesupport (>= 4.2.0.alpha)
|
132
|
+
rails-dom-testing (1.0.5)
|
133
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
134
|
+
nokogiri (~> 1.6.0)
|
135
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
136
|
+
rails-html-sanitizer (1.0.1)
|
137
|
+
loofah (~> 2.0)
|
138
|
+
railties (4.2.0)
|
139
|
+
actionpack (= 4.2.0)
|
140
|
+
activesupport (= 4.2.0)
|
115
141
|
rake (>= 0.8.7)
|
116
142
|
thor (>= 0.18.1, < 2.0)
|
117
|
-
rake (10.
|
143
|
+
rake (10.4.2)
|
118
144
|
rdoc (3.12.2)
|
119
145
|
json (~> 1.4)
|
120
|
-
|
121
|
-
|
146
|
+
ruby_parser (3.6.4)
|
147
|
+
sexp_processor (~> 4.1)
|
148
|
+
sass (3.4.12)
|
149
|
+
sass-rails (5.0.1)
|
122
150
|
railties (>= 4.0.0, < 5.0)
|
123
|
-
sass (~> 3.
|
124
|
-
sprockets (
|
125
|
-
sprockets-rails (
|
151
|
+
sass (~> 3.1)
|
152
|
+
sprockets (>= 2.8, < 4.0)
|
153
|
+
sprockets-rails (>= 2.0, < 4.0)
|
154
|
+
tilt (~> 1.1)
|
155
|
+
sexp_processor (4.4.5)
|
126
156
|
shoulda (3.5.0)
|
127
157
|
shoulda-context (~> 1.0, >= 1.0.1)
|
128
158
|
shoulda-matchers (>= 1.4.1, < 3.0)
|
129
159
|
shoulda-context (1.2.1)
|
130
|
-
shoulda-matchers (2.
|
160
|
+
shoulda-matchers (2.8.0)
|
131
161
|
activesupport (>= 3.0.0)
|
132
|
-
simplecov (0.
|
162
|
+
simplecov (0.9.2)
|
133
163
|
docile (~> 1.1.0)
|
134
|
-
multi_json
|
135
|
-
simplecov-html (~> 0.
|
136
|
-
simplecov-html (0.
|
137
|
-
sprockets (2.
|
164
|
+
multi_json (~> 1.0)
|
165
|
+
simplecov-html (~> 0.9.0)
|
166
|
+
simplecov-html (0.9.0)
|
167
|
+
sprockets (2.12.3)
|
138
168
|
hike (~> 1.2)
|
139
169
|
multi_json (~> 1.0)
|
140
170
|
rack (~> 1.0)
|
141
171
|
tilt (~> 1.1, != 1.3.0)
|
142
|
-
sprockets-rails (2.
|
172
|
+
sprockets-rails (2.2.4)
|
143
173
|
actionpack (>= 3.0)
|
144
174
|
activesupport (>= 3.0)
|
145
|
-
sprockets (
|
175
|
+
sprockets (>= 2.8, < 4.0)
|
146
176
|
thor (0.19.1)
|
147
177
|
thread_safe (0.3.4)
|
148
178
|
tilt (1.4.1)
|
149
|
-
|
150
|
-
polyglot
|
151
|
-
polyglot (>= 0.3.1)
|
152
|
-
turbolinks (2.2.2)
|
179
|
+
turbolinks (2.5.3)
|
153
180
|
coffee-rails
|
154
|
-
tzinfo (1.2.
|
181
|
+
tzinfo (1.2.2)
|
155
182
|
thread_safe (~> 0.1)
|
156
183
|
|
157
184
|
PLATFORMS
|
158
185
|
ruby
|
159
186
|
|
160
187
|
DEPENDENCIES
|
161
|
-
bundler (~> 1
|
162
|
-
haml-rails (~> 0
|
163
|
-
jeweler (~> 2
|
164
|
-
kaminari (~> 0
|
165
|
-
rails (
|
166
|
-
rdoc (~> 3
|
167
|
-
sass-rails (~>
|
168
|
-
shoulda (~> 3
|
169
|
-
simplecov (~> 0
|
170
|
-
turbolinks (~> 2
|
188
|
+
bundler (~> 1)
|
189
|
+
haml-rails (~> 0)
|
190
|
+
jeweler (~> 2)
|
191
|
+
kaminari (~> 0)
|
192
|
+
rails (>= 4.2)
|
193
|
+
rdoc (~> 3)
|
194
|
+
sass-rails (~> 5)
|
195
|
+
shoulda (~> 3)
|
196
|
+
simplecov (~> 0)
|
197
|
+
turbolinks (~> 2)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.9
|
@@ -65,11 +65,13 @@ Turbolinks.pagesCached(0);
|
|
65
65
|
|
66
66
|
var updateElementsAfterQuickEditSuccess = function(eventNames, linkElem, json){
|
67
67
|
var parent = linkElem.getParent('.quick_edit_block');
|
68
|
-
var entryTemplate = parent.getElement('.quick_edit_template');
|
69
|
-
var newEntryInjectArea = parent.getElement('.quick_edit_inject');
|
70
|
-
var relation = parent.getElement('.relation');
|
71
68
|
var entry = linkElem.getParent('.quick_edit_entry');
|
72
|
-
var parsedTemplate;
|
69
|
+
var entryTemplate, newEntryInjectArea, relation, parsedTemplate;
|
70
|
+
if (parent) {
|
71
|
+
entryTemplate = parent.getElement('.quick_edit_template');
|
72
|
+
newEntryInjectArea = parent.getElement('.quick_edit_inject');
|
73
|
+
relation = parent.getElement('.relation');
|
74
|
+
}
|
73
75
|
if ( ! entry) {
|
74
76
|
entry = parent.getElement('.quick_edit_active');
|
75
77
|
}
|
@@ -113,7 +115,6 @@ Turbolinks.pagesCached(0);
|
|
113
115
|
if (newEntryInjectArea) {
|
114
116
|
newEntryInjectArea.fireEvent('quickEditEntryRemoved');
|
115
117
|
}
|
116
|
-
|
117
118
|
}
|
118
119
|
};
|
119
120
|
|
@@ -110,8 +110,10 @@ class Bhf::EntriesController < Bhf::ApplicationController
|
|
110
110
|
@platform.columns.each_with_object(extra_data) do |column, hash|
|
111
111
|
column_value = @object.send(column.name)
|
112
112
|
unless column.macro == :column && column_value.blank?
|
113
|
-
|
114
|
-
|
113
|
+
with_format :html do
|
114
|
+
p = "bhf/table/#{column.macro}/#{column.display_type}"
|
115
|
+
hash[column.name] = render_to_string partial: p, locals: {object: @object, column_value: column_value, link: false, add_quick_link: false}
|
116
|
+
end
|
115
117
|
end
|
116
118
|
end
|
117
119
|
end
|
@@ -138,7 +140,7 @@ class Bhf::EntriesController < Bhf::ApplicationController
|
|
138
140
|
def manage_many_to_many
|
139
141
|
return unless params[:has_and_belongs_to_many]
|
140
142
|
params[:has_and_belongs_to_many].each_pair do |relation, ids|
|
141
|
-
reflection = @model.reflections[relation
|
143
|
+
reflection = @model.reflections[relation]
|
142
144
|
|
143
145
|
next unless ids.any?
|
144
146
|
relation_array = @object.send(relation)
|
File without changes
|
File without changes
|
File without changes
|
@@ -16,11 +16,11 @@
|
|
16
16
|
.node
|
17
17
|
.label
|
18
18
|
.input
|
19
|
-
- unless @object.
|
19
|
+
- unless (f.object.new_record? && @platform.hide_create) || (!f.object.new_record? && @platform.hide_edit)
|
20
20
|
= f.submit t('bhf.helpers.form.buttons.save', platform_title: @platform.title_singular)
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
- unless @platform.hide_edit
|
22
|
+
= f.submit t('bhf.helpers.form.buttons.and_edit'), name: :return_to_edit, class: 'alt_button'
|
23
|
+
- unless @platform.hide_create
|
24
|
+
= f.submit t('bhf.helpers.form.buttons.and_add'), name: :return_to_new, class: 'alt_button'
|
25
25
|
|
26
|
-
= link_to t('bhf.helpers.entry.cancel'), params[:return_to] ? params[:return_to] : page_path(@platform.page_name), class: 'cancel'
|
26
|
+
= link_to t('bhf.helpers.entry.cancel'), params[:return_to] ? params[:return_to] : page_path(@platform.page_name), class: 'cancel', data: ( {no_turbolink: true} if params[:return_to])
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/bhf.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: bhf 0.9.
|
5
|
+
# stub: bhf 0.9.9 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bhf"
|
9
|
-
s.version = "0.9.
|
9
|
+
s.version = "0.9.9"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Anton Pawlik"]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2015-02-25"
|
15
15
|
s.description = "A simple to use Rails-Engine-Gem that offers an admin interface for trusted user. Easy integratable and highly configurable and agnostic. Works with ActiveRecord and Mongoid."
|
16
16
|
s.email = "anton.pawlik@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -69,66 +69,66 @@ Gem::Specification.new do |s|
|
|
69
69
|
"app/helpers/bhf/entries_helper.rb",
|
70
70
|
"app/helpers/bhf/frontend_helper.rb",
|
71
71
|
"app/helpers/bhf/pages_helper.rb",
|
72
|
-
"app/views/bhf/_footer.haml",
|
73
|
-
"app/views/bhf/_user.haml",
|
74
|
-
"app/views/bhf/application/index.haml",
|
75
|
-
"app/views/bhf/entries/_form.haml",
|
76
|
-
"app/views/bhf/entries/_validation_errors.haml",
|
77
|
-
"app/views/bhf/entries/edit.haml",
|
78
|
-
"app/views/bhf/entries/new.haml",
|
79
|
-
"app/views/bhf/entries/show.haml",
|
80
|
-
"app/views/bhf/form/belongs_to/_radio.haml",
|
81
|
-
"app/views/bhf/form/belongs_to/_select.haml",
|
82
|
-
"app/views/bhf/form/belongs_to/_static.haml",
|
83
|
-
"app/views/bhf/form/column/_array.haml",
|
84
|
-
"app/views/bhf/form/column/_boolean.haml",
|
85
|
-
"app/views/bhf/form/column/_date.haml",
|
86
|
-
"app/views/bhf/form/column/_hash.haml",
|
87
|
-
"app/views/bhf/form/column/_mappin.haml",
|
88
|
-
"app/views/bhf/form/column/_markdown.haml",
|
89
|
-
"app/views/bhf/form/column/_multiple_fields.haml",
|
90
|
-
"app/views/bhf/form/column/_number.haml",
|
91
|
-
"app/views/bhf/form/column/_paperclip.haml",
|
92
|
-
"app/views/bhf/form/column/_password.haml",
|
93
|
-
"app/views/bhf/form/column/_static.haml",
|
94
|
-
"app/views/bhf/form/column/_string.haml",
|
95
|
-
"app/views/bhf/form/column/_text.haml",
|
96
|
-
"app/views/bhf/form/column/_wysiwyg.haml",
|
97
|
-
"app/views/bhf/form/embeds_many/_static.haml",
|
98
|
-
"app/views/bhf/form/embeds_one/_static.haml",
|
99
|
-
"app/views/bhf/form/has_and_belongs_to_many/_check_box.haml",
|
100
|
-
"app/views/bhf/form/has_and_belongs_to_many/_static.haml",
|
101
|
-
"app/views/bhf/form/has_many/_static.haml",
|
102
|
-
"app/views/bhf/form/has_one/_static.haml",
|
103
|
-
"app/views/bhf/helper/_definition_item.haml",
|
104
|
-
"app/views/bhf/helper/_field_errors.haml",
|
105
|
-
"app/views/bhf/helper/_flash.haml",
|
106
|
-
"app/views/bhf/helper/_frontend_edit.haml",
|
107
|
-
"app/views/bhf/helper/_info.haml",
|
108
|
-
"app/views/bhf/helper/_node.haml",
|
109
|
-
"app/views/bhf/helper/_reflection_node.haml",
|
110
|
-
"app/views/bhf/pages/_platform.haml",
|
111
|
-
"app/views/bhf/pages/_search.haml",
|
112
|
-
"app/views/bhf/pages/show.haml",
|
113
|
-
"app/views/bhf/table/belongs_to/_default.haml",
|
114
|
-
"app/views/bhf/table/column/_array.haml",
|
115
|
-
"app/views/bhf/table/column/_boolean.haml",
|
116
|
-
"app/views/bhf/table/column/_date.haml",
|
117
|
-
"app/views/bhf/table/column/_empty.haml",
|
118
|
-
"app/views/bhf/table/column/_extern_link.haml",
|
119
|
-
"app/views/bhf/table/column/_file.haml",
|
120
|
-
"app/views/bhf/table/column/_hash.haml",
|
121
|
-
"app/views/bhf/table/column/_image.haml",
|
122
|
-
"app/views/bhf/table/column/_number.haml",
|
123
|
-
"app/views/bhf/table/column/_paperclip.haml",
|
124
|
-
"app/views/bhf/table/column/_primary_key.haml",
|
125
|
-
"app/views/bhf/table/column/_string.haml",
|
126
|
-
"app/views/bhf/table/column/_text.haml",
|
127
|
-
"app/views/bhf/table/embeds_many/_default.haml",
|
128
|
-
"app/views/bhf/table/embeds_one/_default.haml",
|
129
|
-
"app/views/bhf/table/has_and_belongs_to_many/_default.haml",
|
130
|
-
"app/views/bhf/table/has_many/_default.haml",
|
131
|
-
"app/views/bhf/table/has_one/_default.haml",
|
72
|
+
"app/views/bhf/_footer.html.haml",
|
73
|
+
"app/views/bhf/_user.html.haml",
|
74
|
+
"app/views/bhf/application/index.html.haml",
|
75
|
+
"app/views/bhf/entries/_form.html.haml",
|
76
|
+
"app/views/bhf/entries/_validation_errors.html.haml",
|
77
|
+
"app/views/bhf/entries/edit.html.haml",
|
78
|
+
"app/views/bhf/entries/new.html.haml",
|
79
|
+
"app/views/bhf/entries/show.html.haml",
|
80
|
+
"app/views/bhf/form/belongs_to/_radio.html.haml",
|
81
|
+
"app/views/bhf/form/belongs_to/_select.html.haml",
|
82
|
+
"app/views/bhf/form/belongs_to/_static.html.haml",
|
83
|
+
"app/views/bhf/form/column/_array.html.haml",
|
84
|
+
"app/views/bhf/form/column/_boolean.html.haml",
|
85
|
+
"app/views/bhf/form/column/_date.html.haml",
|
86
|
+
"app/views/bhf/form/column/_hash.html.haml",
|
87
|
+
"app/views/bhf/form/column/_mappin.html.haml",
|
88
|
+
"app/views/bhf/form/column/_markdown.html.haml",
|
89
|
+
"app/views/bhf/form/column/_multiple_fields.html.haml",
|
90
|
+
"app/views/bhf/form/column/_number.html.haml",
|
91
|
+
"app/views/bhf/form/column/_paperclip.html.haml",
|
92
|
+
"app/views/bhf/form/column/_password.html.haml",
|
93
|
+
"app/views/bhf/form/column/_static.html.haml",
|
94
|
+
"app/views/bhf/form/column/_string.html.haml",
|
95
|
+
"app/views/bhf/form/column/_text.html.haml",
|
96
|
+
"app/views/bhf/form/column/_wysiwyg.html.haml",
|
97
|
+
"app/views/bhf/form/embeds_many/_static.html.haml",
|
98
|
+
"app/views/bhf/form/embeds_one/_static.html.haml",
|
99
|
+
"app/views/bhf/form/has_and_belongs_to_many/_check_box.html.haml",
|
100
|
+
"app/views/bhf/form/has_and_belongs_to_many/_static.html.haml",
|
101
|
+
"app/views/bhf/form/has_many/_static.html.haml",
|
102
|
+
"app/views/bhf/form/has_one/_static.html.haml",
|
103
|
+
"app/views/bhf/helper/_definition_item.html.haml",
|
104
|
+
"app/views/bhf/helper/_field_errors.html.haml",
|
105
|
+
"app/views/bhf/helper/_flash.html.haml",
|
106
|
+
"app/views/bhf/helper/_frontend_edit.html.haml",
|
107
|
+
"app/views/bhf/helper/_info.html.haml",
|
108
|
+
"app/views/bhf/helper/_node.html.haml",
|
109
|
+
"app/views/bhf/helper/_reflection_node.html.haml",
|
110
|
+
"app/views/bhf/pages/_platform.html.haml",
|
111
|
+
"app/views/bhf/pages/_search.html.haml",
|
112
|
+
"app/views/bhf/pages/show.html.haml",
|
113
|
+
"app/views/bhf/table/belongs_to/_default.html.haml",
|
114
|
+
"app/views/bhf/table/column/_array.html.haml",
|
115
|
+
"app/views/bhf/table/column/_boolean.html.haml",
|
116
|
+
"app/views/bhf/table/column/_date.html.haml",
|
117
|
+
"app/views/bhf/table/column/_empty.html.haml",
|
118
|
+
"app/views/bhf/table/column/_extern_link.html.haml",
|
119
|
+
"app/views/bhf/table/column/_file.html.haml",
|
120
|
+
"app/views/bhf/table/column/_hash.html.haml",
|
121
|
+
"app/views/bhf/table/column/_image.html.haml",
|
122
|
+
"app/views/bhf/table/column/_number.html.haml",
|
123
|
+
"app/views/bhf/table/column/_paperclip.html.haml",
|
124
|
+
"app/views/bhf/table/column/_primary_key.html.haml",
|
125
|
+
"app/views/bhf/table/column/_string.html.haml",
|
126
|
+
"app/views/bhf/table/column/_text.html.haml",
|
127
|
+
"app/views/bhf/table/embeds_many/_default.html.haml",
|
128
|
+
"app/views/bhf/table/embeds_one/_default.html.haml",
|
129
|
+
"app/views/bhf/table/has_and_belongs_to_many/_default.html.haml",
|
130
|
+
"app/views/bhf/table/has_many/_default.html.haml",
|
131
|
+
"app/views/bhf/table/has_one/_default.html.haml",
|
132
132
|
"app/views/kaminari/bhf/_gap.html.haml",
|
133
133
|
"app/views/kaminari/bhf/_next_page.html.haml",
|
134
134
|
"app/views/kaminari/bhf/_page.html.haml",
|
@@ -167,39 +167,39 @@ Gem::Specification.new do |s|
|
|
167
167
|
s.specification_version = 4
|
168
168
|
|
169
169
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
170
|
-
s.add_runtime_dependency(%q<rails>, ["
|
171
|
-
s.add_runtime_dependency(%q<turbolinks>, ["~> 2
|
172
|
-
s.add_runtime_dependency(%q<kaminari>, ["~> 0
|
173
|
-
s.add_runtime_dependency(%q<haml-rails>, ["~> 0
|
174
|
-
s.add_runtime_dependency(%q<sass-rails>, ["~>
|
175
|
-
s.add_development_dependency(%q<shoulda>, ["~> 3
|
176
|
-
s.add_development_dependency(%q<rdoc>, ["~> 3
|
177
|
-
s.add_development_dependency(%q<bundler>, ["~> 1
|
178
|
-
s.add_development_dependency(%q<jeweler>, ["~> 2
|
179
|
-
s.add_development_dependency(%q<simplecov>, ["~> 0
|
170
|
+
s.add_runtime_dependency(%q<rails>, [">= 4.2"])
|
171
|
+
s.add_runtime_dependency(%q<turbolinks>, ["~> 2"])
|
172
|
+
s.add_runtime_dependency(%q<kaminari>, ["~> 0"])
|
173
|
+
s.add_runtime_dependency(%q<haml-rails>, ["~> 0"])
|
174
|
+
s.add_runtime_dependency(%q<sass-rails>, ["~> 5"])
|
175
|
+
s.add_development_dependency(%q<shoulda>, ["~> 3"])
|
176
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3"])
|
177
|
+
s.add_development_dependency(%q<bundler>, ["~> 1"])
|
178
|
+
s.add_development_dependency(%q<jeweler>, ["~> 2"])
|
179
|
+
s.add_development_dependency(%q<simplecov>, ["~> 0"])
|
180
180
|
else
|
181
|
-
s.add_dependency(%q<rails>, ["
|
182
|
-
s.add_dependency(%q<turbolinks>, ["~> 2
|
183
|
-
s.add_dependency(%q<kaminari>, ["~> 0
|
184
|
-
s.add_dependency(%q<haml-rails>, ["~> 0
|
185
|
-
s.add_dependency(%q<sass-rails>, ["~>
|
186
|
-
s.add_dependency(%q<shoulda>, ["~> 3
|
187
|
-
s.add_dependency(%q<rdoc>, ["~> 3
|
188
|
-
s.add_dependency(%q<bundler>, ["~> 1
|
189
|
-
s.add_dependency(%q<jeweler>, ["~> 2
|
190
|
-
s.add_dependency(%q<simplecov>, ["~> 0
|
181
|
+
s.add_dependency(%q<rails>, [">= 4.2"])
|
182
|
+
s.add_dependency(%q<turbolinks>, ["~> 2"])
|
183
|
+
s.add_dependency(%q<kaminari>, ["~> 0"])
|
184
|
+
s.add_dependency(%q<haml-rails>, ["~> 0"])
|
185
|
+
s.add_dependency(%q<sass-rails>, ["~> 5"])
|
186
|
+
s.add_dependency(%q<shoulda>, ["~> 3"])
|
187
|
+
s.add_dependency(%q<rdoc>, ["~> 3"])
|
188
|
+
s.add_dependency(%q<bundler>, ["~> 1"])
|
189
|
+
s.add_dependency(%q<jeweler>, ["~> 2"])
|
190
|
+
s.add_dependency(%q<simplecov>, ["~> 0"])
|
191
191
|
end
|
192
192
|
else
|
193
|
-
s.add_dependency(%q<rails>, ["
|
194
|
-
s.add_dependency(%q<turbolinks>, ["~> 2
|
195
|
-
s.add_dependency(%q<kaminari>, ["~> 0
|
196
|
-
s.add_dependency(%q<haml-rails>, ["~> 0
|
197
|
-
s.add_dependency(%q<sass-rails>, ["~>
|
198
|
-
s.add_dependency(%q<shoulda>, ["~> 3
|
199
|
-
s.add_dependency(%q<rdoc>, ["~> 3
|
200
|
-
s.add_dependency(%q<bundler>, ["~> 1
|
201
|
-
s.add_dependency(%q<jeweler>, ["~> 2
|
202
|
-
s.add_dependency(%q<simplecov>, ["~> 0
|
193
|
+
s.add_dependency(%q<rails>, [">= 4.2"])
|
194
|
+
s.add_dependency(%q<turbolinks>, ["~> 2"])
|
195
|
+
s.add_dependency(%q<kaminari>, ["~> 0"])
|
196
|
+
s.add_dependency(%q<haml-rails>, ["~> 0"])
|
197
|
+
s.add_dependency(%q<sass-rails>, ["~> 5"])
|
198
|
+
s.add_dependency(%q<shoulda>, ["~> 3"])
|
199
|
+
s.add_dependency(%q<rdoc>, ["~> 3"])
|
200
|
+
s.add_dependency(%q<bundler>, ["~> 1"])
|
201
|
+
s.add_dependency(%q<jeweler>, ["~> 2"])
|
202
|
+
s.add_dependency(%q<simplecov>, ["~> 0"])
|
203
203
|
end
|
204
204
|
end
|
205
205
|
|
data/lib/bhf/mongoid/document.rb
CHANGED
@@ -74,12 +74,15 @@ module Bhf::Platform
|
|
74
74
|
platform_params[:per_page] = load_offset
|
75
75
|
|
76
76
|
direction = plus ? 'more' : 'less'
|
77
|
+
|
78
|
+
parsed_paramas = {
|
79
|
+
bhf_area: template.params[:bhf_area],
|
80
|
+
page: template.params[:page]
|
81
|
+
}.merge(platform.name.to_sym => platform_params)
|
77
82
|
template.link_to(
|
78
83
|
I18n.t("bhf.pagination.load_#{direction}"),
|
79
|
-
template.page_path(
|
80
|
-
|
81
|
-
template.params.merge(platform.name => platform_params)
|
82
|
-
), attributes.merge(class: "load_#{direction}")
|
84
|
+
template.page_path(platform.page_name, parsed_paramas),
|
85
|
+
attributes.merge(class: "load_#{direction}")
|
83
86
|
)
|
84
87
|
end
|
85
88
|
|
metadata
CHANGED
@@ -1,155 +1,155 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bhf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Pawlik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '4'
|
19
|
+
version: '4.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '4'
|
26
|
+
version: '4.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: turbolinks
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '2
|
33
|
+
version: '2'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '2
|
40
|
+
version: '2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: kaminari
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0
|
47
|
+
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: haml-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0
|
61
|
+
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: sass-rails
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '5'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '5'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: shoulda
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '3
|
89
|
+
version: '3'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '3
|
96
|
+
version: '3'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rdoc
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '3
|
103
|
+
version: '3'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '3
|
110
|
+
version: '3'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: bundler
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '1
|
117
|
+
version: '1'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '1
|
124
|
+
version: '1'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: jeweler
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '2
|
131
|
+
version: '2'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '2
|
138
|
+
version: '2'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: simplecov
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '0
|
145
|
+
version: '0'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '0
|
152
|
+
version: '0'
|
153
153
|
description: A simple to use Rails-Engine-Gem that offers an admin interface for trusted
|
154
154
|
user. Easy integratable and highly configurable and agnostic. Works with ActiveRecord
|
155
155
|
and Mongoid.
|
@@ -210,66 +210,66 @@ files:
|
|
210
210
|
- app/helpers/bhf/entries_helper.rb
|
211
211
|
- app/helpers/bhf/frontend_helper.rb
|
212
212
|
- app/helpers/bhf/pages_helper.rb
|
213
|
-
- app/views/bhf/_footer.haml
|
214
|
-
- app/views/bhf/_user.haml
|
215
|
-
- app/views/bhf/application/index.haml
|
216
|
-
- app/views/bhf/entries/_form.haml
|
217
|
-
- app/views/bhf/entries/_validation_errors.haml
|
218
|
-
- app/views/bhf/entries/edit.haml
|
219
|
-
- app/views/bhf/entries/new.haml
|
220
|
-
- app/views/bhf/entries/show.haml
|
221
|
-
- app/views/bhf/form/belongs_to/_radio.haml
|
222
|
-
- app/views/bhf/form/belongs_to/_select.haml
|
223
|
-
- app/views/bhf/form/belongs_to/_static.haml
|
224
|
-
- app/views/bhf/form/column/_array.haml
|
225
|
-
- app/views/bhf/form/column/_boolean.haml
|
226
|
-
- app/views/bhf/form/column/_date.haml
|
227
|
-
- app/views/bhf/form/column/_hash.haml
|
228
|
-
- app/views/bhf/form/column/_mappin.haml
|
229
|
-
- app/views/bhf/form/column/_markdown.haml
|
230
|
-
- app/views/bhf/form/column/_multiple_fields.haml
|
231
|
-
- app/views/bhf/form/column/_number.haml
|
232
|
-
- app/views/bhf/form/column/_paperclip.haml
|
233
|
-
- app/views/bhf/form/column/_password.haml
|
234
|
-
- app/views/bhf/form/column/_static.haml
|
235
|
-
- app/views/bhf/form/column/_string.haml
|
236
|
-
- app/views/bhf/form/column/_text.haml
|
237
|
-
- app/views/bhf/form/column/_wysiwyg.haml
|
238
|
-
- app/views/bhf/form/embeds_many/_static.haml
|
239
|
-
- app/views/bhf/form/embeds_one/_static.haml
|
240
|
-
- app/views/bhf/form/has_and_belongs_to_many/_check_box.haml
|
241
|
-
- app/views/bhf/form/has_and_belongs_to_many/_static.haml
|
242
|
-
- app/views/bhf/form/has_many/_static.haml
|
243
|
-
- app/views/bhf/form/has_one/_static.haml
|
244
|
-
- app/views/bhf/helper/_definition_item.haml
|
245
|
-
- app/views/bhf/helper/_field_errors.haml
|
246
|
-
- app/views/bhf/helper/_flash.haml
|
247
|
-
- app/views/bhf/helper/_frontend_edit.haml
|
248
|
-
- app/views/bhf/helper/_info.haml
|
249
|
-
- app/views/bhf/helper/_node.haml
|
250
|
-
- app/views/bhf/helper/_reflection_node.haml
|
251
|
-
- app/views/bhf/pages/_platform.haml
|
252
|
-
- app/views/bhf/pages/_search.haml
|
253
|
-
- app/views/bhf/pages/show.haml
|
254
|
-
- app/views/bhf/table/belongs_to/_default.haml
|
255
|
-
- app/views/bhf/table/column/_array.haml
|
256
|
-
- app/views/bhf/table/column/_boolean.haml
|
257
|
-
- app/views/bhf/table/column/_date.haml
|
258
|
-
- app/views/bhf/table/column/_empty.haml
|
259
|
-
- app/views/bhf/table/column/_extern_link.haml
|
260
|
-
- app/views/bhf/table/column/_file.haml
|
261
|
-
- app/views/bhf/table/column/_hash.haml
|
262
|
-
- app/views/bhf/table/column/_image.haml
|
263
|
-
- app/views/bhf/table/column/_number.haml
|
264
|
-
- app/views/bhf/table/column/_paperclip.haml
|
265
|
-
- app/views/bhf/table/column/_primary_key.haml
|
266
|
-
- app/views/bhf/table/column/_string.haml
|
267
|
-
- app/views/bhf/table/column/_text.haml
|
268
|
-
- app/views/bhf/table/embeds_many/_default.haml
|
269
|
-
- app/views/bhf/table/embeds_one/_default.haml
|
270
|
-
- app/views/bhf/table/has_and_belongs_to_many/_default.haml
|
271
|
-
- app/views/bhf/table/has_many/_default.haml
|
272
|
-
- app/views/bhf/table/has_one/_default.haml
|
213
|
+
- app/views/bhf/_footer.html.haml
|
214
|
+
- app/views/bhf/_user.html.haml
|
215
|
+
- app/views/bhf/application/index.html.haml
|
216
|
+
- app/views/bhf/entries/_form.html.haml
|
217
|
+
- app/views/bhf/entries/_validation_errors.html.haml
|
218
|
+
- app/views/bhf/entries/edit.html.haml
|
219
|
+
- app/views/bhf/entries/new.html.haml
|
220
|
+
- app/views/bhf/entries/show.html.haml
|
221
|
+
- app/views/bhf/form/belongs_to/_radio.html.haml
|
222
|
+
- app/views/bhf/form/belongs_to/_select.html.haml
|
223
|
+
- app/views/bhf/form/belongs_to/_static.html.haml
|
224
|
+
- app/views/bhf/form/column/_array.html.haml
|
225
|
+
- app/views/bhf/form/column/_boolean.html.haml
|
226
|
+
- app/views/bhf/form/column/_date.html.haml
|
227
|
+
- app/views/bhf/form/column/_hash.html.haml
|
228
|
+
- app/views/bhf/form/column/_mappin.html.haml
|
229
|
+
- app/views/bhf/form/column/_markdown.html.haml
|
230
|
+
- app/views/bhf/form/column/_multiple_fields.html.haml
|
231
|
+
- app/views/bhf/form/column/_number.html.haml
|
232
|
+
- app/views/bhf/form/column/_paperclip.html.haml
|
233
|
+
- app/views/bhf/form/column/_password.html.haml
|
234
|
+
- app/views/bhf/form/column/_static.html.haml
|
235
|
+
- app/views/bhf/form/column/_string.html.haml
|
236
|
+
- app/views/bhf/form/column/_text.html.haml
|
237
|
+
- app/views/bhf/form/column/_wysiwyg.html.haml
|
238
|
+
- app/views/bhf/form/embeds_many/_static.html.haml
|
239
|
+
- app/views/bhf/form/embeds_one/_static.html.haml
|
240
|
+
- app/views/bhf/form/has_and_belongs_to_many/_check_box.html.haml
|
241
|
+
- app/views/bhf/form/has_and_belongs_to_many/_static.html.haml
|
242
|
+
- app/views/bhf/form/has_many/_static.html.haml
|
243
|
+
- app/views/bhf/form/has_one/_static.html.haml
|
244
|
+
- app/views/bhf/helper/_definition_item.html.haml
|
245
|
+
- app/views/bhf/helper/_field_errors.html.haml
|
246
|
+
- app/views/bhf/helper/_flash.html.haml
|
247
|
+
- app/views/bhf/helper/_frontend_edit.html.haml
|
248
|
+
- app/views/bhf/helper/_info.html.haml
|
249
|
+
- app/views/bhf/helper/_node.html.haml
|
250
|
+
- app/views/bhf/helper/_reflection_node.html.haml
|
251
|
+
- app/views/bhf/pages/_platform.html.haml
|
252
|
+
- app/views/bhf/pages/_search.html.haml
|
253
|
+
- app/views/bhf/pages/show.html.haml
|
254
|
+
- app/views/bhf/table/belongs_to/_default.html.haml
|
255
|
+
- app/views/bhf/table/column/_array.html.haml
|
256
|
+
- app/views/bhf/table/column/_boolean.html.haml
|
257
|
+
- app/views/bhf/table/column/_date.html.haml
|
258
|
+
- app/views/bhf/table/column/_empty.html.haml
|
259
|
+
- app/views/bhf/table/column/_extern_link.html.haml
|
260
|
+
- app/views/bhf/table/column/_file.html.haml
|
261
|
+
- app/views/bhf/table/column/_hash.html.haml
|
262
|
+
- app/views/bhf/table/column/_image.html.haml
|
263
|
+
- app/views/bhf/table/column/_number.html.haml
|
264
|
+
- app/views/bhf/table/column/_paperclip.html.haml
|
265
|
+
- app/views/bhf/table/column/_primary_key.html.haml
|
266
|
+
- app/views/bhf/table/column/_string.html.haml
|
267
|
+
- app/views/bhf/table/column/_text.html.haml
|
268
|
+
- app/views/bhf/table/embeds_many/_default.html.haml
|
269
|
+
- app/views/bhf/table/embeds_one/_default.html.haml
|
270
|
+
- app/views/bhf/table/has_and_belongs_to_many/_default.html.haml
|
271
|
+
- app/views/bhf/table/has_many/_default.html.haml
|
272
|
+
- app/views/bhf/table/has_one/_default.html.haml
|
273
273
|
- app/views/kaminari/bhf/_gap.html.haml
|
274
274
|
- app/views/kaminari/bhf/_next_page.html.haml
|
275
275
|
- app/views/kaminari/bhf/_page.html.haml
|