Sha256: bb18efcc959a324527715ff312ab46bb34a88e8629c23bff8ef7a3c697fa23e4
Contents?: true
Size: 644 Bytes
Versions: 4
Compression:
Stored size: 644 Bytes
Contents
require 'generators/happy_seed/omniauth/omniauth_generator' module HappySeed module Generators class InstagramGenerator < HappySeedGenerator source_root File.expand_path('../templates', __FILE__) def self.fingerprint gem_available? 'omniauth-instagram' end def install_instagram return if already_installed require_generator OmniauthGenerator gem 'omniauth-instagram' gem 'instagram' Bundler.with_clean_env do run "bundle install --without production" end directory "docs" add_omniauth :instagram end end end end
Version data entries
4 entries across 4 versions & 1 rubygems