github-issue-importer 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/github-issue-importer/launchpad.rb +12 -2
- data/lib/github-issue-importer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1bd733521e570924aef4316098894ed10bf6d713
|
|
4
|
+
data.tar.gz: e4332ecf36101ef4f41e492c931556fd64904a18
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cca7e40750a13a618bfa6e8bef1f5ac7ca0b4d2c16c38d11df6b699dddc6e22daa6b5dba62cdc850e1e18626a60e117210d416b118677cb09709ac1db62121d8
|
|
7
|
+
data.tar.gz: 9d9fecc4df34a2d26ddb78e117ffbb6c98dca58b0651c7f75cce7fdffbc8885302b0c91d1fee67413ed2435ec6252a7941779f648ab3ba035e9bb5669ef94293
|
data/CHANGELOG.md
CHANGED
|
@@ -9,8 +9,18 @@ module GithubIssueImporter
|
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
def get_bug_entries(project)
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
entries = []
|
|
13
|
+
|
|
14
|
+
url = "https://api.launchpad.net/1.0/#{project}?ws.op=searchTasks"
|
|
15
|
+
loop do
|
|
16
|
+
bugs = get url
|
|
17
|
+
entries += bugs['entries']
|
|
18
|
+
|
|
19
|
+
url = bugs['next_collection_link']
|
|
20
|
+
break unless url
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
entries
|
|
14
24
|
end
|
|
15
25
|
|
|
16
26
|
def get_bug(id)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: github-issue-importer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Ferlito
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-04-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: octokit
|