trophy_api_client 1.0.32 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e8eb5e832f3fed9bedb450cff8e7b9871c1a0abc5c05acfc83afd154a92c9a3
4
- data.tar.gz: 9b7e52702a6d4b009e995c06b5e6cf46bd663c9dc03380047827cf765cc49f6c
3
+ metadata.gz: c366f7c278a1c8b7f7698f91cc5f448abe91920b95de8e2121d59b96167d5990
4
+ data.tar.gz: 4f78d0b2180d000591f917d5bad471dde99320a6760b1f1607408a482b8fb39c
5
5
  SHA512:
6
- metadata.gz: a0bd2b1d3ee672308e7bcdca87092c30ec5173b1ef0c31219968aa9c20e53a93857cb76b0d1da3a9fe9ce05fb58c0bbc3304df5f4e263a59aad85aaf7e167ccd
7
- data.tar.gz: 42d1f56df6f7c37ba0d06a85a211b434b5215f14c8bbf869f6d2dc21644bd3e21abed4e986b343d2a4a35ef7ebec5ceaa732168f74c8d1f660bc8a340e2b517f
6
+ metadata.gz: 23b37ab57e5d7fd361ffc96e303949452eb625a528430d728eef81c36d59323afb7a5cfe6dfcafdee57890bbe7fef33a81d82d18efa6f0874cc33a33fc98b835
7
+ data.tar.gz: 379550d242727643d53856cc6e8880ccb2f918e6feaf844535589f7473e18a3877b6a71a89c1ce540fd0081a796742f9b108ec0dd533823c50dfbe9aec24f97b
data/lib/gemconfig.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  module TrophyApiClient
4
4
  module Gemconfig
5
- VERSION = "1.0.32"
5
+ VERSION = "1.0.34"
6
6
  AUTHORS = ["Trophy Labs, Inc"].freeze
7
7
  EMAIL = ""
8
8
  SUMMARY = "Ruby library for the Trophy API."
@@ -17,9 +17,11 @@ module TrophyApiClient
17
17
  attr_reader :achievements
18
18
  # @return [TrophyApiClient::MetricEventStreakResponse] The user's current streak.
19
19
  attr_reader :current_streak
20
- # @return [Hash{String => TrophyApiClient::MetricEventPointsResponse}] A map of points systems by key.
20
+ # @return [Hash{String => TrophyApiClient::MetricEventPointsResponse}] A map of points systems by key. Only contains points systems that were affected
21
+ # by the event.
21
22
  attr_reader :points
22
- # @return [Hash{String => TrophyApiClient::MetricEventLeaderboardResponse}] A map of leaderboards by key.
23
+ # @return [Hash{String => TrophyApiClient::MetricEventLeaderboardResponse}] A map of leaderboards by key. Only contains leaderboards that were affected by
24
+ # the event.
23
25
  attr_reader :leaderboards
24
26
  # @return [String] The idempotency key used for the event, if one was provided.
25
27
  attr_reader :idempotency_key
@@ -38,8 +40,10 @@ module TrophyApiClient
38
40
  # @param total [Float] The user's new total progress against the metric.
39
41
  # @param achievements [Array<TrophyApiClient::CompletedAchievementResponse>] Achievements completed as a result of this event.
40
42
  # @param current_streak [TrophyApiClient::MetricEventStreakResponse] The user's current streak.
41
- # @param points [Hash{String => TrophyApiClient::MetricEventPointsResponse}] A map of points systems by key.
42
- # @param leaderboards [Hash{String => TrophyApiClient::MetricEventLeaderboardResponse}] A map of leaderboards by key.
43
+ # @param points [Hash{String => TrophyApiClient::MetricEventPointsResponse}] A map of points systems by key. Only contains points systems that were affected
44
+ # by the event.
45
+ # @param leaderboards [Hash{String => TrophyApiClient::MetricEventLeaderboardResponse}] A map of leaderboards by key. Only contains leaderboards that were affected by
46
+ # the event.
43
47
  # @param idempotency_key [String] The idempotency key used for the event, if one was provided.
44
48
  # @param idempotent_replayed [Boolean] Whether the event was replayed due to idempotency.
45
49
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
@@ -5,6 +5,5 @@ module TrophyApiClient
5
5
  DAILY = "daily"
6
6
  WEEKLY = "weekly"
7
7
  MONTHLY = "monthly"
8
- YEARLY = "yearly"
9
8
  end
10
9
  end
@@ -1,3 +1,3 @@
1
1
  module MyGem
2
- VERSION = "1.0.32"
2
+ VERSION = "1.0.34"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trophy_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.32
4
+ version: 1.0.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trophy Labs, Inc