mirror of
https://github.com/samsonjs/simple_oauth.git
synced 2026-04-27 14:57:45 +00:00
Ditched Jeweler for Bundler.
This commit is contained in:
parent
4978f99d6b
commit
e329aaf758
4 changed files with 21 additions and 96 deletions
24
.gitignore
vendored
24
.gitignore
vendored
|
|
@ -1,22 +1,4 @@
|
||||||
## MAC OS
|
|
||||||
.DS_Store
|
|
||||||
|
|
||||||
## TEXTMATE
|
|
||||||
*.tmproj
|
|
||||||
tmtags
|
|
||||||
|
|
||||||
## EMACS
|
|
||||||
*~
|
|
||||||
\#*
|
|
||||||
.\#*
|
|
||||||
|
|
||||||
## VIM
|
|
||||||
*.swp
|
|
||||||
|
|
||||||
## PROJECT::GENERAL
|
|
||||||
coverage
|
|
||||||
rdoc
|
|
||||||
pkg
|
|
||||||
|
|
||||||
## PROJECT::SPECIFIC
|
|
||||||
.bundle
|
.bundle
|
||||||
|
coverage
|
||||||
|
pkg
|
||||||
|
rdoc
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
PATH
|
PATH
|
||||||
remote: .
|
remote: .
|
||||||
specs:
|
specs:
|
||||||
simple_oauth (0.1.0)
|
simple_oauth (0.1.1)
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
remote: http://rubygems.org/
|
remote: http://rubygems.org/
|
||||||
|
|
|
||||||
23
Rakefile
23
Rakefile
|
|
@ -1,26 +1,9 @@
|
||||||
require './lib/simple_oauth'
|
|
||||||
require 'rubygems'
|
|
||||||
require 'rake'
|
require 'rake'
|
||||||
require 'rake/testtask'
|
require 'rake/testtask'
|
||||||
require 'rake/rdoctask'
|
require 'rake/rdoctask'
|
||||||
|
require 'bundler'
|
||||||
|
|
||||||
begin
|
Bundler::GemHelper.install_tasks
|
||||||
require 'jeweler'
|
|
||||||
Jeweler::Tasks.new do |gem|
|
|
||||||
gem.name = 'simple_oauth'
|
|
||||||
gem.version = SimpleOAuth::Version::STRING
|
|
||||||
gem.summary = 'Simply builds and verifies OAuth headers'
|
|
||||||
gem.description = 'Simply builds and verifies OAuth headers'
|
|
||||||
gem.email = 'steve.richert@gmail.com'
|
|
||||||
gem.homepage = 'http://github.com/laserlemon/simple_oauth'
|
|
||||||
gem.authors = ['Steve Richert']
|
|
||||||
gem.add_development_dependency 'mocha'
|
|
||||||
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
|
||||||
end
|
|
||||||
Jeweler::GemcutterTasks.new
|
|
||||||
rescue LoadError
|
|
||||||
puts 'Jeweler is not available. Install it with: gem install jeweler'
|
|
||||||
end
|
|
||||||
|
|
||||||
Rake::TestTask.new do |test|
|
Rake::TestTask.new do |test|
|
||||||
test.libs << 'lib' << 'test'
|
test.libs << 'lib' << 'test'
|
||||||
|
|
@ -28,8 +11,6 @@ Rake::TestTask.new do |test|
|
||||||
test.verbose = true
|
test.verbose = true
|
||||||
end
|
end
|
||||||
|
|
||||||
task :test => :check_dependencies
|
|
||||||
|
|
||||||
task :default => :test
|
task :default => :test
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
|
||||||
|
|
@ -1,56 +1,18 @@
|
||||||
# Generated by jeweler
|
|
||||||
# DO NOT EDIT THIS FILE DIRECTLY
|
|
||||||
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
|
require File.expand_path('../lib/simple_oauth', __FILE__)
|
||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |spec|
|
||||||
s.name = %q{simple_oauth}
|
spec.add_development_dependency('mocha', '>= 0')
|
||||||
s.version = "0.1.1"
|
spec.author = 'Steve Richert'
|
||||||
|
spec.description = 'Simply builds and verifies OAuth headers'
|
||||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
spec.email = 'steve.richert@gmail.com'
|
||||||
s.authors = ["Steve Richert"]
|
spec.extra_rdoc_files = ['README.rdoc']
|
||||||
s.date = %q{2010-10-13}
|
spec.files = `git ls-files`.split("\n")
|
||||||
s.description = %q{Simply builds and verifies OAuth headers}
|
spec.homepage = 'http://github.com/laserlemon/simple_oauth'
|
||||||
s.email = %q{steve.richert@gmail.com}
|
spec.name = 'simple_oauth'
|
||||||
s.extra_rdoc_files = [
|
spec.rdoc_options = ['--charset=UTF-8']
|
||||||
"LICENSE",
|
spec.required_ruby_version = '>= 1.8.7'
|
||||||
"README.rdoc"
|
spec.summary = 'Simply builds and verifies OAuth headers'
|
||||||
]
|
spec.test_files = `git ls-files -- test/**/*_test.rb`.split("\n")
|
||||||
s.files = [
|
spec.version = SimpleOAuth::Version::STRING
|
||||||
".gitignore",
|
|
||||||
"Gemfile",
|
|
||||||
"Gemfile.lock",
|
|
||||||
"LICENSE",
|
|
||||||
"README.rdoc",
|
|
||||||
"Rakefile",
|
|
||||||
"init.rb",
|
|
||||||
"lib/simple_oauth.rb",
|
|
||||||
"simple_oauth.gemspec",
|
|
||||||
"test/helper.rb",
|
|
||||||
"test/rsa_private_key",
|
|
||||||
"test/simple_oauth_test.rb"
|
|
||||||
]
|
|
||||||
s.homepage = %q{http://github.com/laserlemon/simple_oauth}
|
|
||||||
s.rdoc_options = ["--charset=UTF-8"]
|
|
||||||
s.require_paths = ["lib"]
|
|
||||||
s.rubygems_version = %q{1.3.7}
|
|
||||||
s.summary = %q{Simply builds and verifies OAuth headers}
|
|
||||||
s.test_files = [
|
|
||||||
"test/helper.rb",
|
|
||||||
"test/simple_oauth_test.rb"
|
|
||||||
]
|
|
||||||
|
|
||||||
if s.respond_to? :specification_version then
|
|
||||||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
||||||
s.specification_version = 3
|
|
||||||
|
|
||||||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
||||||
s.add_development_dependency(%q<mocha>, [">= 0"])
|
|
||||||
else
|
|
||||||
s.add_dependency(%q<mocha>, [">= 0"])
|
|
||||||
end
|
|
||||||
else
|
|
||||||
s.add_dependency(%q<mocha>, [">= 0"])
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue