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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f794e8f92593ff587d49b62174df33192e8eb8c
4
- data.tar.gz: b25a82ca04b40b67bd376202d9071fc9d9c48317
3
+ metadata.gz: a8dad50bd8e3012c375dbeaa550a5187039c3bde
4
+ data.tar.gz: 8344db0de84b07d72390941bc3184ec5446ed305
5
5
  SHA512:
6
- metadata.gz: 1ded74b6d5ccbd5c9945bd6b4d057732060c482650136e707c44713e374faac3e493e9d153594a17302a329bf4b74b7bebb93cdee2e22a6d538257d7227b08f3
7
- data.tar.gz: f41d0940590a3e03b88362cab66d680538416389e4fa87dbbdc8862fc9f2f33730bdb9a397f86f22e329598683c685e98321409ee57707dde5f46f1f58536a43
6
+ metadata.gz: dd722b185447abd5e63b1bc7232d2572262233ccf49c76b84223f088df86794b97f57aa88643dc7494d45ba484afad1a89830c43ab133338c9adc434147b45cb
7
+ data.tar.gz: 53a65f43786bf525669be2cd8e383796f04022ebc821f079d35ba2ff51fb0f38e49481a290b67f217e98774c36bc54a2ec12d5cbefd973e9d1d00d3307d81247
data/.gitignore CHANGED
@@ -14,6 +14,5 @@ spec/dummy/log/test.log
14
14
  spec/dummy/db/test.sqlite3
15
15
  spec/dummy/db/development.sqlite3
16
16
  spec/dummy/log/development.log
17
- spec/dummy/public/uploads/rails_admin_featured_content/*
18
- spec/dummy/public/uploads/tmp/*
17
+ spec/dummy/public/uploads/
19
18
  *.gem
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # RailsAdminFeaturedContent
1
+ # Rails Admin Featured Content
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/rails_admin_content_builder.svg)](https://badge.fury.io/rb/rails_admin_content_builder)
4
4
  [![Code Climate](https://codeclimate.com/github/luizpicolo/rails_admin_featured_content/badges/gpa.svg)](https://codeclimate.com/github/luizpicolo/rails_admin_featured_content)
@@ -6,15 +6,20 @@
6
6
  [![Issue Count](https://codeclimate.com/github/luizpicolo/rails_admin_featured_content/badges/issue_count.svg)](https://codeclimate.com/github/luizpicolo/rails_admin_featured_content)
7
7
  [![Build Status](https://travis-ci.org/luizpicolo/rails_admin_featured_content.svg?branch=master)](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
- ![preview](https://raw.githubusercontent.com/luizpicolo/rails_admin_featured_content/master/screenshots/image-1.png)
13
+ ![featured-min](https://cloud.githubusercontent.com/assets/2979365/20011773/7b5a7544-a28b-11e6-950c-3b47f4556b98.jpg)
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:
@@ -1,3 +1,3 @@
1
1
  module RailsAdminFeaturedContent
2
- VERSION = "1.0.5".freeze
2
+ VERSION = "1.0.6".freeze
3
3
  end
data/spec/version_spec.rb CHANGED
@@ -2,6 +2,6 @@ require 'spec_helper'
2
2
 
3
3
  describe RailsAdminFeaturedContent do
4
4
  it 'has a version number' do
5
- expect(RailsAdminFeaturedContent::VERSION).to eq('1.0.5')
5
+ expect(RailsAdminFeaturedContent::VERSION).to eq('1.0.6')
6
6
  end
7
7
  end
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.5
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-10-26 00:00:00.000000000 Z
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/factories/featured_content.rb
500
- - spec/factories/featured_content_image.rb
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/bundle
505
- - spec/dummy/log/test.log
506
- - spec/dummy/log/development.log
507
- - spec/dummy/config.ru
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/mime_types.rb
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/rails_admin_featured_content.rb
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/assets.rb
520
- - spec/dummy/config/environment.rb
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/boot.rb
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/environments/production.rb
529
- - spec/dummy/config/environments/test.rb
530
- - spec/dummy/config/environments/development.rb
531
- - spec/dummy/lib/templates/erb/scaffold/_form.html.erb
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/public/uploads/rails_admin_featured_content/featured_content_image/image/1/thumb_example.jpg
550
- - spec/dummy/public/uploads/rails_admin_featured_content/featured_content_image/image/1/example.jpg
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