Socket
Book a DemoInstallSign in
Socket

nanoc_fuel

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanoc_fuel

0.0.4
bundlerRubygems
Version published
Maintainers
2
Created
Source

Nanoc Fuel

Nanoc Fuel is a nanoc gem that adds a bunch of useful helpers.

Installation

  • You need Nanoc 3.1.6 or above
  • This gem requires haml 3.1.1 or above

If you're using bundler, just add this to your Gemfile:

gem 'nanoc_fuel'

Otherwise, you can just install the gem manually:

gem install nanoc_fuel

and then in your nanoc project, put this in lib/default.rb:

require 'nanoc_fuel/tasks'

Usage

For the Facebook/Google helpers:

In your nanoc project's lib/helpers.rb file, include one of the helpers:

include NanocFuel::Helpers::Facebook  
include NanocFuel::Helpers::Google

Then, in your layout add any of these:

fb_init("FB APP ID HERE")

fb_comments("url", "num_posts", "width")

fb_like_btn("standard", "450", "true", "true")

ga_tracking("UA-XXXXX")

Contact

You can reach me at jack@jackchu.com.

FAQs

Package last updated on 16 May 2011

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.