kilt-cms 0.9.5 → 0.9.6
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 +4 -4
- data/app/views/kilt/kilt/_form.html.erb +1 -0
- data/lib/kilt/object_collection.rb +2 -2
- metadata +1 -7
- data/lib/generators/kilt/templates/frontend/assets/images/sprite/empty +0 -0
- data/lib/generators/kilt/templates/frontend/assets/images/sprite/retina/empty +0 -0
- data/test/dummy/config/kilt/creds.yml +0 -7
- data/test/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 61bbf42c9795d7449acaf0171775752ef96de3b6
|
|
4
|
+
data.tar.gz: 06d671b4660cb1224e1d482ffdf04f376a367662
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de0011a3b116563c87d3f4c5cdf6c86b698f1b56e97c54d4125fb03adc5c1a15e7c9ba885776596e7c2bf5eb3cf5cd707dd55d701d9878e02ff34dba821d137a
|
|
7
|
+
data.tar.gz: 54c5fe9754e9adacd46c8755868bf3a3c5484b6960bf08f002eddc82f50cf3e1f5d4728f5d2dd46b11a56a1a72e3894b7cf33ea608cc6a2253115382ed858894
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
<div class="page-actions">
|
|
7
7
|
<%= link_to "← Back to #{@type.pluralize.capitalize}", list_path(@type), :class => 'button back' %>
|
|
8
|
+
<%= link_to "New #{@type.capitalize}", new_object_path(@type), :class => 'button back' if !@object.empty? %>
|
|
8
9
|
</div>
|
|
9
10
|
|
|
10
11
|
<% if flash[:error] -%>
|
|
@@ -17,8 +17,8 @@ module Kilt
|
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def order(key = 'name', direction = 'ASC')
|
|
20
|
-
values = @values.sort_by { |hash| hash[key] }
|
|
21
|
-
direction == 'DESC' ? values.reverse! : values
|
|
20
|
+
@values = @values.sort_by { |hash| hash[key] }
|
|
21
|
+
direction == 'DESC' ? @values.reverse! : values
|
|
22
22
|
return self
|
|
23
23
|
end
|
|
24
24
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kilt-cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ashe Avenue
|
|
@@ -227,8 +227,6 @@ files:
|
|
|
227
227
|
- lib/generators/kilt/templates/backend/creds.yml.example
|
|
228
228
|
- lib/generators/kilt/templates/backend/kilt.rb
|
|
229
229
|
- lib/generators/kilt/templates/frontend/application.html.erb
|
|
230
|
-
- lib/generators/kilt/templates/frontend/assets/images/sprite/empty
|
|
231
|
-
- lib/generators/kilt/templates/frontend/assets/images/sprite/retina/empty
|
|
232
230
|
- lib/generators/kilt/templates/frontend/assets/javascripts/application.js
|
|
233
231
|
- lib/generators/kilt/templates/frontend/assets/javascripts/html5shiv.js
|
|
234
232
|
- lib/generators/kilt/templates/frontend/assets/javascripts/mediaqueries.js
|
|
@@ -276,7 +274,6 @@ files:
|
|
|
276
274
|
- test/dummy/config/initializers/session_store.rb
|
|
277
275
|
- test/dummy/config/initializers/wrap_parameters.rb
|
|
278
276
|
- test/dummy/config/kilt/config.yml
|
|
279
|
-
- test/dummy/config/kilt/creds.yml
|
|
280
277
|
- test/dummy/config/kilt/creds.yml.example
|
|
281
278
|
- test/dummy/config/routes.rb
|
|
282
279
|
- test/dummy/config.ru
|
|
@@ -351,7 +348,6 @@ files:
|
|
|
351
348
|
- test/dummy/tmp/data/meta_request/d13bda5a-d4fd-42de-838d-7db1589aa91e.json
|
|
352
349
|
- test/dummy/tmp/data/meta_request/f243c710-5403-4c9d-aefd-87bd8b03c3cd.json
|
|
353
350
|
- test/dummy/tmp/data/meta_request/fc7e86ef-8a52-406e-8ce6-1aa3efba9a9a.json
|
|
354
|
-
- test/dummy/tmp/pids/server.pid
|
|
355
351
|
- test/kilt/form_spec.rb
|
|
356
352
|
- test/minitest_helper.rb
|
|
357
353
|
homepage: http://community.asheavenue.com
|
|
@@ -406,7 +402,6 @@ test_files:
|
|
|
406
402
|
- test/dummy/config/initializers/session_store.rb
|
|
407
403
|
- test/dummy/config/initializers/wrap_parameters.rb
|
|
408
404
|
- test/dummy/config/kilt/config.yml
|
|
409
|
-
- test/dummy/config/kilt/creds.yml
|
|
410
405
|
- test/dummy/config/kilt/creds.yml.example
|
|
411
406
|
- test/dummy/config/routes.rb
|
|
412
407
|
- test/dummy/config.ru
|
|
@@ -481,6 +476,5 @@ test_files:
|
|
|
481
476
|
- test/dummy/tmp/data/meta_request/d13bda5a-d4fd-42de-838d-7db1589aa91e.json
|
|
482
477
|
- test/dummy/tmp/data/meta_request/f243c710-5403-4c9d-aefd-87bd8b03c3cd.json
|
|
483
478
|
- test/dummy/tmp/data/meta_request/fc7e86ef-8a52-406e-8ce6-1aa3efba9a9a.json
|
|
484
|
-
- test/dummy/tmp/pids/server.pid
|
|
485
479
|
- test/kilt/form_spec.rb
|
|
486
480
|
- test/minitest_helper.rb
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
36020
|