Skip to content

Commit

Permalink
Added badges to recipients/users. Tests passing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Skarbek Wazynski committed Jul 21, 2015
1 parent 4230c25 commit 433045a
Show file tree
Hide file tree
Showing 18 changed files with 180 additions and 172 deletions.
2 changes: 1 addition & 1 deletion lib/badgeapi/recipient.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Badgeapi
class Recipient < BadgeapiObject

attr_reader :total_score, :badges_total, :bronze_count, :silver_count, :gold_count, :platinum_count
attr_reader :total_score, :badges_total, :bronze_count, :silver_count, :gold_count, :platinum_count, :badges

class << self

Expand Down
2 changes: 1 addition & 1 deletion lib/badgeapi/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Badgeapi
VERSION = "0.2.2"
VERSION = "0.2.3"
end
8 changes: 4 additions & 4 deletions test/fixtures/all_collection.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions test/fixtures/all_collection_expanded.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions test/fixtures/all_collection_limit.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions test/fixtures/bad_Recipient.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions test/fixtures/collection_error.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions test/fixtures/create_collection.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 20 additions & 20 deletions test/fixtures/create_new_collection_failure.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 433045a

Please sign in to comment.