Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: spier/gem_yql_simple
base: 42ad6589e4
...
head fork: spier/gem_yql_simple
compare: 6bb4ebf988
Checking mergeability… Don't worry, you can still create the pull request.
  • 3 commits
  • 7 files changed
  • 0 commit comments
  • 1 contributor
View
1  .gitignore
@@ -3,3 +3,4 @@
Gemfile.lock
pkg/*
doc
+ignore
View
9 Gemfile
@@ -1,10 +1,3 @@
source :rubygems
-gemspec
-
-
-# where else to add gems for testing?
-# group :test do
-# gem "rspec"
-# gem "rake"
-# end
+gemspec
View
17 README.md
@@ -63,13 +63,16 @@ This will output something like this:
[2011-05-15 12:27] Elusive_Joe: I'm not entirely successfully installed gitorious at work. It seems this is the problem of #gitorious with #ruby 1.9.2
-TODO
+Releases
-----------------------------
-* implement OAuth with YQL (will give the user more calls to YQL)
-* add more test
-* make the desired node in the YQL response selectable e.g. query/results/item
-* add [YQL Streaming](http://developer.yahoo.com/yql/guide/yql-odt-streaming.html)
+0.0.2
+- added OAuth supported for 2-legged OAuth with YQL
+
+0.0.1 (unreleased)
+- added minimal RDoc documentation
+- RDoc will be generated with `rake rdoc` or when installing the gem
+- test installation via bundler and :git
Notes for Contributors
@@ -90,6 +93,10 @@ Notes for Contributors
* get a list of rake tasks
rake -T
+
+* building the gem
+ gem build yql_simple.gemspec
+
Alternative Gems
View
3  Rakefile
@@ -7,13 +7,12 @@ require 'rspec/core/rake_task'
# see example
# https://github.com/twitter/twitter-text-rb/blob/master/Rakefile
desc 'generate API documentation to doc/rdocs/index.html'
-require 'rake/rdoctask'
+require 'rdoc/task'
Rake::RDocTask.new do |rd|
namespace :doc do
rd.main = "README.rdoc"
rd.rdoc_dir = 'doc'
- # rd.rdoc_files.include("lib/**/*.rb")
rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
rd.options << '--inline-source'
View
28 TODO.md
@@ -1,35 +1,21 @@
-# CHANGES
-- added minimal RDoc documentation
-- RDoc will be generated with `rake rdoc` or when installing the gem
-- test installation via bundler and :git
-
-
+- implement OAuth with YQL (will give the user more calls to YQL)
+- how to test the validity of the OAuth parameters?
+- add more test
-# TODO
+- make the desired node in the YQL response selectable e.g. query/results/item
+- add [YQL Streaming](http://developer.yahoo.com/yql/guide/yql-odt-streaming.html)
- how to properly raise exceptions?
- https://github.com/outsidein/api-rb/blob/master/lib/outside_in/resource/base.rb#L46
-
-- how to test the validity of the OAuth parameters?
+ https://github.com/outsidein/api-rb/blob/master/lib/outside_in/resource/base.rb#L46
-- switch to Httparty
-
-- Use OAuth with YQL, otherwise you only have 1000 calls/IP/day !!!
- http://developer.yahoo.com/yql/faq/
- Fix YqlSimple to respect this!
-
-
- get a YQL application key here
https://developer.apps.yahoo.com/projects
-
-
- externalize the env= URL parameter and allow the use of other customer YQL tables that are not part of the YQL community tables (they can already be used in the YQL query itself but not via an URL parameter)
- enable switching SSL on/off
- should the top level wrapper of YqlSimple be a class or a module?
- handle YQL status codes (which indicate errors)
- write some tests for YQL exceptions
-- currently the ./examples folder is added to the gem. not really good. how to exclude it?
-
+- currently the ./examples folder is added to the gem. not really good. how to exclude it?
View
4 examples/Gemfile
@@ -1,3 +1,3 @@
-# source "http://rubygems.org"
+source :rubygems
-gem "yql_simple", :git => "git://github.com/spier/gem_yql_simple.git"
+gemspec
View
17 yql_simple.gemspec
@@ -6,27 +6,22 @@ Gem::Specification.new do |s|
# general gem information
s.name = "yql_simple"
s.version = YqlSimple::VERSION
+ s.platform = Gem::Platform::RUBY
s.authors = ["Sebastian Spier"]
s.email = ["blog@airness.de"]
- s.homepage = ""
+ s.homepage = "https://github.com/spier/gem_yql_simple"
s.description = s.summary = %q{Simple wrapper for calls to YQL}
-
- s.platform = Gem::Platform::RUBY
-
- # NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01.
- # s.has_rdoc = true
-
- s.rdoc_options << '--title' << '--main' << 'README.rdoc' << '--line-numbers' << '--inline-source'
+ s.rdoc_options << '--title' << '--main' << 'README.rdoc' << '--line-numbers' << '--inline-source'
#s.rubyforge_project = "yql_simple"
-
+
# all dependencies of this gem
# s.add_dependency "nokogiri"
s.add_dependency "json"
# s.add_dependency "curb"
s.add_dependency "httparty"
s.add_dependency "oauth"
-
+
# dependencies when developing this gem
s.add_development_dependency "rspec"
s.add_development_dependency "rake"
@@ -36,4 +31,4 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
-end
+end

No commit comments for this range

Something went wrong with that request. Please try again.