social_snippet-registry_core 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YWZmOWVmZDhiMjZkNzY1YzM5YjdiNWJjNGE1NmFlNmE3Zjc3MDFhNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGYzNmRkNDNkMzNiOWJjMDcyMTA2M2U4YzhkMmZhOTBiNDFjMWY4Mw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWU3MDNlZTNhMzgzMTQ3OGViYWQ4YTJhNzlkM2U5Y2UzNDFiZDI4OTI5MDNk
|
10
|
+
ZWUxMmRkMTY4ZDI4YjU1OTNhZGVkNmExZmJkNTAxY2RiMmE0OTM4N2JjNDZj
|
11
|
+
MjlhMGRhODhhOTc5MzM1YTA3M2ViZjExYjZiZjVjYWJmMDE0MTk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTBkOTM2NTVkNDE2NzEwMTk0Y2MwMmQxMGRkOWJmZGVmNmFiMThhYzI0NGMz
|
14
|
+
ZGQwNGQ1N2ViYjViMjU0MzM0NTllMmUzYzQzZDExMDVmMDZjYmM2ZGNiMjZi
|
15
|
+
OTk4ZmExY2I3Y2YyODU0Mjg2MzI2M2EzYTU1NjgzY2ZlMzFiN2Q=
|
@@ -17,7 +17,7 @@ module SocialSnippet::Registry::WebAPI
|
|
17
17
|
end.to_json
|
18
18
|
end
|
19
19
|
|
20
|
-
|
20
|
+
put "/repositories", :provides => :json do
|
21
21
|
client = ::Octokit::Client.new(:access_token => current_account.github_access_token)
|
22
22
|
client.auto_paginate = true
|
23
23
|
repos = SortedSet.new
|
@@ -41,7 +41,11 @@ module SocialSnippet::Registry::WebAPI
|
|
41
41
|
|
42
42
|
current_account.update_attributes :github_repos => repos.to_a
|
43
43
|
|
44
|
-
|
44
|
+
current_account.github_repos.map do |repo_name|
|
45
|
+
{
|
46
|
+
:name => repo_name,
|
47
|
+
}
|
48
|
+
end.to_json
|
45
49
|
end
|
46
50
|
|
47
51
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_snippet-registry_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroyuki Sano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|