bitbucket_rest_api2 0.2.2 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28b1659fe3ae31430e5073167f414165dcf077e00d8e9423837396063d529a6a
4
- data.tar.gz: 457fc2f0e7e66ed59813c5a38674a418b7763da6d4b0b1a1c20c2ad64866826f
3
+ metadata.gz: 045be3f2ccc39c4e17be95cc0521de0dcff26357ea178904a4c7d52546b8bf16
4
+ data.tar.gz: 9693eab36c48f610da08d53497e024528ba636a394ac31fe4a73604d85f391b1
5
5
  SHA512:
6
- metadata.gz: 5641d0d4d4e0e93fddcccd8ff80948d7932ddc7a5e5b8d6cbad4f61eba056e24d5a75c215a63f2597010f04c806f12e65096f45e1a962d0143bdd7c50b4d590c
7
- data.tar.gz: 5e8b73c0db08b157ef4c20ba5f4a6f4ed68182ed1f01054d468eea0ba7f5b1a2e99a047defb1b8ec701c1960505d0176132fa41ce522c85b180af5768c98ced9
6
+ metadata.gz: 3be4afc1904963bbb5eb5a20576ece90661dfc0c4b2e335101b12a2cf5b71f46cd0dcd43cdcaf78ba244cf1e472d161d5422f4ebc9648942505ff64c3571a2e4
7
+ data.tar.gz: 5d93b129e4e95f794ef3a197456afff8d60923729b9fb078acd3da179c4837563e88a3dbdbe58255273c93cf80699fc22ee8fbbee00e17ad9f84544d8525c1d3
@@ -75,7 +75,7 @@ module BitBucket
75
75
  # or has at least read access to.
76
76
  # Use this if you're looking for a full list of all of the repositories associated with a user.
77
77
  def repositories
78
- get_request("/2.0/user/repositories")
78
+ get_request("/2.0/repositories/#{self.user}")
79
79
  end
80
80
 
81
81
  alias :repos :repositories
@@ -86,7 +86,7 @@ module BitBucket
86
86
  # Gets a list of the repositories the account follows.
87
87
  # This is the same list that appears on the Following tab on your account dashboard.
88
88
  def overview
89
- get_request("/2.0/user/repositories/overview")
89
+ get_request("/2.0/repositories/overview")
90
90
  end
91
91
 
92
92
 
@@ -94,7 +94,7 @@ module BitBucket
94
94
  # GET the list of repositories on the dashboard
95
95
  # Gets the repositories list from the account's dashboard.
96
96
  def dashboard
97
- get_request("/2.0/user/repositories/dashboard")
97
+ get_request("/2.0/repositories/dashboard")
98
98
  end
99
99
 
100
100
  end # User
@@ -3,8 +3,8 @@
3
3
  module BitBucket
4
4
  module VERSION
5
5
  MAJOR = 0
6
- MINOR = 2
7
- PATCH = 2
6
+ MINOR = 9
7
+ PATCH = 1
8
8
 
9
9
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitbucket_rest_api2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Cochran
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-31 00:00:00.000000000 Z
11
+ date: 2019-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie