rails_admin_featured_content 1.0.5 → 1.0.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/.gitignore +1 -2
- data/README.md +9 -11
- data/lib/rails_admin_featured_content/version.rb +1 -1
- data/spec/version_spec.rb +1 -1
- metadata +43 -43
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8dad50bd8e3012c375dbeaa550a5187039c3bde
|
4
|
+
data.tar.gz: 8344db0de84b07d72390941bc3184ec5446ed305
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd722b185447abd5e63b1bc7232d2572262233ccf49c76b84223f088df86794b97f57aa88643dc7494d45ba484afad1a89830c43ab133338c9adc434147b45cb
|
7
|
+
data.tar.gz: 53a65f43786bf525669be2cd8e383796f04022ebc821f079d35ba2ff51fb0f38e49481a290b67f217e98774c36bc54a2ec12d5cbefd973e9d1d00d3307d81247
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Rails Admin Featured Content
|
2
2
|
|
3
3
|
[](https://badge.fury.io/rb/rails_admin_content_builder)
|
4
4
|
[](https://codeclimate.com/github/luizpicolo/rails_admin_featured_content)
|
@@ -6,15 +6,20 @@
|
|
6
6
|
[](https://codeclimate.com/github/luizpicolo/rails_admin_featured_content)
|
7
7
|
[](https://travis-ci.org/luizpicolo/rails_admin_featured_content)
|
8
8
|
|
9
|
-
An easy way for creating Featured Content using rails_admin
|
9
|
+
An easy way for creating Featured Content using [rails_admin](https://github.com/sferik/rails_admin).
|
10
10
|
|
11
11
|
## Preview
|
12
12
|
|
13
|
-

|
14
|
+
|
15
|
+
### Demonstration
|
16
|
+
|
17
|
+
[Featured Content](https://example-cb-fc.herokuapp.com/admin/rails_admin_featured_content~featured_content/4/featured_content)
|
18
|
+
[Featured generated](https://example-cb-fc.herokuapp.com/)
|
14
19
|
|
15
20
|
## Important
|
16
21
|
|
17
|
-
First, make sure that the gem [rails_admin_content_builder](https://github.com/luizpicolo/rails_admin_content_builder) is installed and working properly
|
22
|
+
First, make sure that the gem [rails_admin_content_builder](https://github.com/luizpicolo/rails_admin_content_builder) is installed and working properly.
|
18
23
|
|
19
24
|
## Installation
|
20
25
|
|
@@ -87,13 +92,6 @@ In your show featured content view:
|
|
87
92
|
<%= @featured.featured_sanitized %>
|
88
93
|
```
|
89
94
|
|
90
|
-
# Demonstration
|
91
|
-
|
92
|
-
Featured Content:
|
93
|
-
[link](https://example-cb-fc.herokuapp.com/)
|
94
|
-
Rails Admin:
|
95
|
-
[link](https://example-cb-fc.herokuapp.com/admin/rails_admin_featured_content~featured_content/1/featured_content)
|
96
|
-
|
97
95
|
## Requirements
|
98
96
|
|
99
97
|
Dependencies:
|
data/spec/version_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_featured_content
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luiz Picolo
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-11-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -492,63 +492,63 @@ signing_key:
|
|
492
492
|
specification_version: 4
|
493
493
|
summary: Easy way for create featured contents using rails_admin
|
494
494
|
test_files:
|
495
|
-
- spec/spec_helper.rb
|
496
|
-
- spec/version_spec.rb
|
497
|
-
- spec/fixtures/assets/example.jpg
|
498
495
|
- spec/controllers/rails_admin_featured_content/featured_content_controller_spec.rb
|
499
|
-
- spec/
|
500
|
-
- spec/
|
496
|
+
- spec/dummy/app/assets/javascripts/application.js
|
497
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
498
|
+
- spec/dummy/app/controllers/application_controller.rb
|
499
|
+
- spec/dummy/app/helpers/application_helper.rb
|
500
|
+
- spec/dummy/app/uploaders/content_builder_image_uploader.rb
|
501
|
+
- spec/dummy/app/uploaders/featured_content_image_uploader.rb
|
502
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
503
|
+
- spec/dummy/bin/bundle
|
501
504
|
- spec/dummy/bin/rails
|
502
|
-
- spec/dummy/bin/setup
|
503
505
|
- spec/dummy/bin/rake
|
504
|
-
- spec/dummy/bin/
|
505
|
-
- spec/dummy/
|
506
|
-
- spec/dummy/
|
507
|
-
- spec/dummy/config.
|
506
|
+
- spec/dummy/bin/setup
|
507
|
+
- spec/dummy/config/application.rb
|
508
|
+
- spec/dummy/config/boot.rb
|
509
|
+
- spec/dummy/config/database.yml
|
510
|
+
- spec/dummy/config/environment.rb
|
511
|
+
- spec/dummy/config/environments/development.rb
|
512
|
+
- spec/dummy/config/environments/production.rb
|
513
|
+
- spec/dummy/config/environments/test.rb
|
514
|
+
- spec/dummy/config/initializers/assets.rb
|
515
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
508
516
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
509
|
-
- spec/dummy/config/initializers/
|
510
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
517
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
511
518
|
- spec/dummy/config/initializers/inflections.rb
|
512
|
-
- spec/dummy/config/initializers/
|
513
|
-
- spec/dummy/config/initializers/simple_form.rb
|
519
|
+
- spec/dummy/config/initializers/mime_types.rb
|
514
520
|
- spec/dummy/config/initializers/rails_admin.rb
|
515
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
516
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
517
521
|
- spec/dummy/config/initializers/rails_admin_content_builder.rb
|
522
|
+
- spec/dummy/config/initializers/rails_admin_featured_content.rb
|
518
523
|
- spec/dummy/config/initializers/session_store.rb
|
519
|
-
- spec/dummy/config/initializers/
|
520
|
-
- spec/dummy/config/
|
521
|
-
- spec/dummy/config/secrets.yml
|
522
|
-
- spec/dummy/config/application.rb
|
523
|
-
- spec/dummy/config/locales/simple_form.en.yml
|
524
|
+
- spec/dummy/config/initializers/simple_form.rb
|
525
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
524
526
|
- spec/dummy/config/locales/en.yml
|
525
|
-
- spec/dummy/config/
|
526
|
-
- spec/dummy/config/database.yml
|
527
|
+
- spec/dummy/config/locales/simple_form.en.yml
|
527
528
|
- spec/dummy/config/routes.rb
|
528
|
-
- spec/dummy/config/
|
529
|
-
- spec/dummy/config
|
530
|
-
- spec/dummy/
|
531
|
-
- spec/dummy/
|
532
|
-
- spec/dummy/Gemfile.lock
|
533
|
-
- spec/dummy/Rakefile
|
529
|
+
- spec/dummy/config/secrets.yml
|
530
|
+
- spec/dummy/config.ru
|
531
|
+
- spec/dummy/db/migrate/20160729105801_create_content_builder_categories.rb
|
532
|
+
- spec/dummy/db/migrate/20160729105802_create_content_builders.rb
|
534
533
|
- spec/dummy/db/migrate/20160729105803_create_content_builder_images.rb
|
535
534
|
- spec/dummy/db/migrate/20160729105947_create_featured_contents.rb
|
536
|
-
- spec/dummy/db/migrate/20160729105802_create_content_builders.rb
|
537
535
|
- spec/dummy/db/migrate/20160729105948_create_featured_content_images.rb
|
538
|
-
- spec/dummy/db/migrate/20160729105801_create_content_builder_categories.rb
|
539
536
|
- spec/dummy/db/schema.rb
|
540
537
|
- spec/dummy/db/test.sqlite3
|
541
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
542
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
543
|
-
- spec/dummy/app/assets/javascripts/application.js
|
544
|
-
- spec/dummy/app/helpers/application_helper.rb
|
545
|
-
- spec/dummy/app/controllers/application_controller.rb
|
546
|
-
- spec/dummy/app/uploaders/featured_content_image_uploader.rb
|
547
|
-
- spec/dummy/app/uploaders/content_builder_image_uploader.rb
|
548
538
|
- spec/dummy/Gemfile
|
549
|
-
- spec/dummy/
|
550
|
-
- spec/dummy/
|
539
|
+
- spec/dummy/Gemfile.lock
|
540
|
+
- spec/dummy/lib/templates/erb/scaffold/_form.html.erb
|
541
|
+
- spec/dummy/log/development.log
|
542
|
+
- spec/dummy/log/test.log
|
551
543
|
- spec/dummy/public/404.html
|
552
|
-
- spec/dummy/public/favicon.ico
|
553
544
|
- spec/dummy/public/422.html
|
554
545
|
- spec/dummy/public/500.html
|
546
|
+
- spec/dummy/public/favicon.ico
|
547
|
+
- spec/dummy/public/uploads/rails_admin_featured_content/featured_content_image/image/1/example.jpg
|
548
|
+
- spec/dummy/public/uploads/rails_admin_featured_content/featured_content_image/image/1/thumb_example.jpg
|
549
|
+
- spec/dummy/Rakefile
|
550
|
+
- spec/factories/featured_content.rb
|
551
|
+
- spec/factories/featured_content_image.rb
|
552
|
+
- spec/fixtures/assets/example.jpg
|
553
|
+
- spec/spec_helper.rb
|
554
|
+
- spec/version_spec.rb
|