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 23, 2016
1 parent e8fbcd1 commit f40e7cf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ GEM
specs:
domain_name (0.5.20161021)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.1.1)
http-cookie (1.0.3)
domain_name (~> 0.5)
mime-types (3.1)
Expand All @@ -30,6 +31,7 @@ PLATFORMS

DEPENDENCIES
bundler (~> 1.13)
dotenv (~> 2.1.1)
minitest (~> 5.8, >= 5.8.3)
naver_map!
rake (~> 11.2, >= 11.2.2)
Expand Down
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 f40e7cf

Please sign in to comment.