Permalink
Browse files

version 0.2.3

bugfixes and add specs
  • Loading branch information...
1 parent 346030f commit 5157e5170684b8c29db3f0670a3d88ec197c87b7 nov committed Dec 24, 2008
Showing with 3 additions and 2 deletions.
  1. +1 −1 iknow.gemspec
  2. +1 −1 lib/iknow/core/version.rb
  3. +1 −0 lib/iknow/model/user.rb
View
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{iknow}
- s.version = "0.2.2"
+ s.version = "0.2.3"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["nov"]
@@ -1,7 +1,7 @@
module Iknow::Version
MAJOR = 0
MINOR = 2
- REVISION = 2
+ REVISION = 3
class << self
def to_version
"#{MAJOR}.#{MINOR}.#{REVISION}"
@@ -95,6 +95,7 @@ def friends(params = {})
def study(params = {})
params[:application] ||= 'iknow'
+ return nil unless ['iknow', 'dictation', 'brainspeed', ].include?(params[:application])
hash = Iknow::RestClient::User.study_results(params.merge(:username => self.username))
self.deserialize(hash, :as => Iknow::User::Study)
end

0 comments on commit 5157e51

Please sign in to comment.