Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make tests run under ree, jruby and rbx.

for ruby in ree 1.9.2 1.9.3 jruby rbx; do rvm $ruby@google_plus --create && rvm-prompt && (bundle check || bundle) && rake test; done
  • Loading branch information...
commit 1caad371c3009f9b4d3b195f489ad1a1481e88f0 1 parent f94a7e6
@splattael splattael authored
Showing with 12 additions and 0 deletions.
  1. +5 −0 Gemfile
  2. +1 −0  google_plus.gemspec
  3. +6 −0 lib/google_plus/entity.rb
View
5 Gemfile
@@ -1,2 +1,7 @@
source :rubygems
+
+group :test do
+ gem 'jruby-openssl', :platform => 'jruby'
+end
+
gemspec
View
1  google_plus.gemspec
@@ -7,6 +7,7 @@ spec = Gem::Specification.new do |s|
s.email = 'john.crepezzi@gmail.com'
s.add_development_dependency 'rspec', '~> 2.6.0'
s.add_dependency 'rest-client', '~> 1.6.1'
+ s.add_dependency 'json'
s.files = Dir['lib/**/*.rb'] + ['README.md']
s.has_rdoc = true
s.homepage = 'http://github.com/seejohnrun/google_plus'
View
6 lib/google_plus/entity.rb
@@ -3,6 +3,12 @@ module GooglePlus
# A mixin that allows retrieval of nested attributes
module Entity
+ def self.included(base)
+ base.instance_eval do
+ undef_method :id if method_defined? :id
+ end
+ end
+
# Access an attribute of the Entity
def method_missing(method, *arguments, &block)
method_s = method.to_s

0 comments on commit 1caad37

Please sign in to comment.
Something went wrong with that request. Please try again.