Skip to content

Instantly share code, notes, and snippets.

@gingerlime
Last active December 10, 2015 23:59
Show Gist options
  • Save gingerlime/4513317 to your computer and use it in GitHub Desktop.
Save gingerlime/4513317 to your computer and use it in GitHub Desktop.
*.gem
*.rbc
.bundle
.config
.yardoc
Gemfile.lock
InstalledFiles
_yardoc
coverage
doc/
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp

Xyz

TODO: Write a gem description

Installation

Add this line to your application's Gemfile:

gem 'xyz'

And then execute:

$ bundle

Or install it yourself as:

$ gem install xyz

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
source 'https://rubygems.org'
# Specify your gem's dependencies in xyz.gemspec
gemspec
Copyright (c) 2013 Yoav
MIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
require "bundler/gem_tasks"
module Xyz
VERSION = "0.0.1"
end
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'xyz/version'
Gem::Specification.new do |gem|
gem.name = "xyz"
gem.version = Xyz::VERSION
gem.authors = ["Yoav"]
gem.email = ["yoav@gingerlime.com"]
gem.description = %q{webmock openid test}
gem.summary = %q{webmock openid test}
gem.homepage = ""
gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.add_runtime_dependency "rack"
gem.add_runtime_dependency "omniauth-openid"
gem.add_runtime_dependency "webmock"
end
require "xyz/version"
require 'openid'
require 'webmock'
module Xyz
session = {}
consumer = ::OpenID::Consumer.new(session, nil)
consumer.begin('https://www.google.com/accounts/o8/id')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment