nike 0.2.2 → 0.2.3

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.
Files changed (3) hide show
  1. data/lib/nike/client.rb +1 -1
  2. data/lib/nike/version.rb +1 -1
  3. metadata +1 -1
data/lib/nike/client.rb CHANGED
@@ -77,7 +77,7 @@ private
77
77
  end
78
78
 
79
79
  def fetch_user_data(opts)
80
- type = opts[:type].to_sym || :run
80
+ type = (opts[:type] || :run).to_sym
81
81
  cache(type) do
82
82
  wrap get_authorized(ACTIVITIES_URLS[type], query: { indexStart: 0, indexEnd: 999999})
83
83
  end
data/lib/nike/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nike
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nike
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: