Skip to content

Commit

Permalink
Remove ID and secret from code
Browse files Browse the repository at this point in the history
  • Loading branch information
marocchino committed Nov 22, 2016
1 parent e8fbcd1 commit 8cbe68b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions naver_map.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "rest-client", "~> 2.0", ">= 2.0.0"

spec.add_development_dependency "bundler", "~> 1.13"
spec.add_development_dependency "dotenv", "~> 2.1.1"
spec.add_development_dependency "minitest", "~> 5.8", ">= 5.8.3"
spec.add_development_dependency "rake", "~> 11.2", ">= 11.2.2"
end
3 changes: 2 additions & 1 deletion test/naver_map_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

class TestNaverMap < Minitest::Test
def setup
@naver_map = NaverMap.new('9t01a7LRijYCbU1PEOlR', 'VY9dCKWgEa')
@naver_map = NaverMap.new(ENV['NAVER_MAP_CLIENT_ID'],
ENV['NAVER_MAP_CLIENT_SECRET'])
end

def test_address_to_coordinates
Expand Down

0 comments on commit 8cbe68b

Please sign in to comment.