Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

search_yt

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

search_yt

  • 0.1.7
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

SearchYt

Welcome to your new gem!

This generates files that bases its functionality on the search of YouTube videos through its API

Installation

Add this line to your application's Gemfile:

gem 'search_yt'

And then execute:

$ bundle

Or install it yourself as:

$ gem install search_yt

Usage

Add in Gemfile: ``` gem 'jquery-rails'


Add ```//= require jquery``` in app/assets/javascripts/application.js

Add ```<script src="https://apis.google.com/js/client.js?onload=onClientLoad" type="text/javascript"></script>``` in app/views/layouts/application.html.erb

To execute the functionality of this gem you should use:

  $ rails generate youtube:search

This will generate:       
        app / assets / javascripts / search_youtube / search.js
        app / controllers / search_controller.rb
        app / views / search_yt / index.html.erb


Add in ``` config/routes.rb ``` the next line:
``` get 'search/index' ```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Training-Sena/search_yt. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

## Code of Conduct

Everyone interacting in the SearchYt project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Training-Sena/search_yt/blob/master/CODE_OF_CONDUCT.md).

FAQs

Package last updated on 05 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc