Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3 from mfo/master
Browse files Browse the repository at this point in the history
send to pangloss
  • Loading branch information
Darrick Wiebe committed Jun 15, 2015
2 parents c92d943 + 87a8157 commit 4691b42
Show file tree
Hide file tree
Showing 18 changed files with 617 additions and 150 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pkg
coverage
doc
.svn
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--colour
--format documentation
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.2.1
4 changes: 1 addition & 3 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ Picasa through their API.

== INSTALL:

* gem install ruby-picasa
* gem install pangloss-ruby-picasa --source http://gems.github.com

* script/plugin install git://github.com/amuino/ruby_picasa.git
== LICENSE:

(The MIT License)
Expand Down
45 changes: 30 additions & 15 deletions Rakefile
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
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.2.3
17 changes: 17 additions & 0 deletions init.rb
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
Loading

0 comments on commit 4691b42

Please sign in to comment.