This repository has been archived by the owner on Nov 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from mfo/master
send to pangloss
- Loading branch information
Showing
18 changed files
with
617 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
pkg | ||
coverage | ||
doc | ||
.svn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--colour | ||
--format documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,41 @@ | ||
# -*- ruby -*- | ||
|
||
require 'rubygems' | ||
require 'hoe' | ||
require './lib/ruby_picasa.rb' | ||
require 'spec/rake/spectask' | ||
|
||
Hoe.new('ruby-picasa', RubyPicasa::VERSION) do |p| | ||
p.rubyforge_name = 'ruby-picasa' | ||
p.developer('pangloss', 'darrick@innatesoftware.com') | ||
p.extra_deps = 'objectify-xml' | ||
p.testlib = 'spec' | ||
p.test_globs = 'spec/**/*_spec.rb' | ||
p.remote_rdoc_dir = '' | ||
end | ||
require 'rspec/core/rake_task' | ||
|
||
desc "Run all specifications" | ||
Spec::Rake::SpecTask.new(:spec) do |t| | ||
t.libs = ['lib', 'spec'] | ||
t.spec_opts = ['--colour', '--format', 'specdoc'] | ||
RSpec::Core::RakeTask.new(:spec) do |t| | ||
t.rspec_opts = ['--colour', '--format', 'documentation'] | ||
end | ||
|
||
Rake::Task[:default].clear | ||
task :default => [:spec] | ||
|
||
begin | ||
require "jeweler" | ||
Jeweler::Tasks.new do |gem| | ||
|
||
gem.name = "ruby-picasa" | ||
gem.summary = "Provides a super easy to use object layer for authenticating and accessing Picasa through their API." | ||
gem.description = "Provides a super easy to use object layer for authenticating and accessing Picasa through their API." | ||
gem.email = "fourcade.m+ruby_picasa@gmail.com" | ||
gem.homepage = "http://github.com/mfo/ruby_picasa" | ||
gem.authors = [ | ||
'pangloss', | ||
'darrick@innatesoftware.com', | ||
'fjg@happycoders.org', | ||
'fourcade.m+ruby_picasa@gmail.com' | ||
] | ||
|
||
gem.add_dependency "objectify-xml", ">=0.2.3" | ||
gem.add_dependency "signet", ">= 0.6.0" | ||
gem.add_dependency "activesupport", ">= 3.2" | ||
gem.add_dependency "google-api-client", ">= 0.8.2" | ||
|
||
gem.files.include %w(README.txt History.txt lib/**/** spec/**/**) | ||
end | ||
rescue | ||
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" | ||
end | ||
|
||
# vim: syntax=Ruby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
if config.respond_to?(:gems) | ||
config.gem 'objectify-xml', :version => '>=0.2.3', :lib => 'objectify_xml' | ||
else | ||
begin | ||
require 'objectify_xml' | ||
rescue LoadError | ||
begin | ||
gem 'objectify-xml', '>=0.2.3' | ||
rescue Gem::LoadError | ||
puts "Install the objectify-xml gem to enable piscasa support" | ||
end | ||
end | ||
end | ||
|
||
config.to_prepare do | ||
require "ruby_picasa" | ||
end |
Oops, something went wrong.