diff --git a/Gemfile b/Gemfile index cbfe5a2..3417f61 100644 --- a/Gemfile +++ b/Gemfile @@ -22,7 +22,7 @@ gem 'dynamic_form', '~> 1.1.4' gem 'i18n_country_select', '~> 1.1.5' gem 'active_link_to', '~> 1.0.2' gem 'rmagick', '~> 2.13.4', require: false -gem 'steam-condenser', github: 'koraktor/steam-condenser-ruby' +gem 'steam-condenser', '~> 1.3.11' gem 'test-unit', '~> 3.1.3' # Please install nodejs locally. diff --git a/Gemfile.lock b/Gemfile.lock index 60f692b..94dab91 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,11 +1,3 @@ -GIT - remote: git://github.com/koraktor/steam-condenser-ruby.git - revision: c8a7b69d3dc73d56c1de6b6653ec45491d047db1 - specs: - steam-condenser (1.3.9) - multi_json (~> 1.6) - multi_xml (~> 0.5) - GEM remote: http://rubygems.org/ specs: @@ -234,6 +226,9 @@ GEM net-scp (>= 1.1.2) net-ssh (>= 2.8.0) term-ansicolor + steam-condenser (1.3.11) + multi_json (~> 1.6) + multi_xml (~> 0.5) term-ansicolor (1.3.0) tins (~> 1.0) test-unit (3.1.3) @@ -306,7 +301,7 @@ DEPENDENCIES sass-rails (~> 5.0.3) selenium-webdriver (~> 2.41.0) simplecov (~> 0.7.1) - steam-condenser! + steam-condenser (~> 1.3.11) test-unit (~> 3.1.3) timecop (~> 0.7.1) tinymce-rails (~> 3.5.9) diff --git a/app/controllers/api/v1/users_controller.rb b/app/controllers/api/v1/users_controller.rb index ea0f56b..cb1b11e 100644 --- a/app/controllers/api/v1/users_controller.rb +++ b/app/controllers/api/v1/users_controller.rb @@ -5,7 +5,7 @@ class Api::V1::UsersController < Api::V1::BaseController def show @user = User.find(params[:id]) - @steam = SteamCondenser::Community::SteamId.from_steam_id("STEAM_#{@user.steamid}") + @steam = SteamId.from_steam_id("STEAM_#{@user.steamid}") render json: { id: @user.id,