Skip to content

Commit c7af028

Browse files
committed
Merge pull request #30 from wadewinningham/master
Update hashie gem version.
2 parents f12ecb5 + 1c05a9b commit c7af028

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PATH
44
bitbucket_rest_api (0.1.2)
55
faraday (~> 0.8.1)
66
faraday_middleware (~> 0.9.0)
7-
hashie (~> 2.0.5)
7+
hashie (~> 2.1.1)
88
multi_json (~> 1.3)
99
nokogiri (~> 1.5.2)
1010
simple_oauth
@@ -38,7 +38,7 @@ GEM
3838
guard (>= 0.8.3)
3939
guard-rspec (0.5.7)
4040
guard (>= 0.8.4)
41-
hashie (2.0.5)
41+
hashie (2.1.1)
4242
json (1.6.6)
4343
multi_json (1.3.2)
4444
multipart-post (1.2.0)

bitbucket_rest_api.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
1414
gem.files = Dir['Rakefile', '{features,lib,spec}/**/*', 'README*', 'LICENSE*']
1515
gem.require_paths = %w[ lib ]
1616

17-
gem.add_dependency 'hashie', '~> 2.0.5'
17+
gem.add_dependency 'hashie', '~> 2.1.1'
1818
gem.add_dependency 'faraday', '~> 0.9.0'
1919
gem.add_dependency 'multi_json', '~> 1.3'
2020
gem.add_dependency 'faraday_middleware', '~> 0.9.0'

lib/bitbucket_rest_api/users/account.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ def plan(accountname)
1919
response = get_request("/users/#{accountname}/plan")
2020
end
2121

22+
# GET the emails
23+
def emails(accountname)
24+
response = get_request("/users/#{accountname}/emails")
25+
end
26+
2227
# GET the followers
2328
def followers(accountname)
2429
response = get_request("/users/#{accountname}/followers")

0 commit comments

Comments
 (0)