veye 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +48 -41
- data/README.md +36 -17
- data/bin/veye +176 -47
- data/bundle +0 -0
- data/changelogs.md +19 -0
- data/lib/veye/api/package.rb +16 -2
- data/lib/veye/api/project.rb +41 -6
- data/lib/veye/base_executor.rb +81 -16
- data/lib/veye/github/delete.rb +2 -4
- data/lib/veye/github/import.rb +3 -4
- data/lib/veye/package/follow.rb +9 -9
- data/lib/veye/package/info.rb +4 -4
- data/lib/veye/package/references.rb +4 -6
- data/lib/veye/package/search.rb +2 -1
- data/lib/veye/package/versions.rb +37 -0
- data/lib/veye/package.rb +2 -0
- data/lib/veye/project/check.rb +19 -9
- data/lib/veye/project.rb +86 -2
- data/lib/veye/version.rb +1 -1
- data/lib/veye/views/base_csv.rb +1 -1
- data/lib/veye/views/github/info_csv.rb +1 -1
- data/lib/veye/views/github/info_pretty.rb +1 -1
- data/lib/veye/views/github/info_table.rb +2 -2
- data/lib/veye/views/package/info_csv.rb +4 -3
- data/lib/veye/views/package/info_pretty.rb +4 -2
- data/lib/veye/views/package/info_table.rb +4 -1
- data/lib/veye/views/package/versions_csv.rb +24 -0
- data/lib/veye/views/package/versions_json.rb +15 -0
- data/lib/veye/views/package/versions_pretty.rb +23 -0
- data/lib/veye/views/package/versions_table.rb +27 -0
- data/lib/veye/views/package.rb +4 -0
- data/lib/veye/views/project/dependency_csv.rb +18 -10
- data/lib/veye/views/project/dependency_pretty.rb +13 -2
- data/lib/veye/views/project/dependency_table.rb +8 -2
- data/lib/veye/views/project/info_csv.rb +9 -3
- data/lib/veye/views/project/info_markdown.rb +7 -2
- data/lib/veye/views/project/info_pretty.rb +6 -1
- data/lib/veye/views/project/info_table.rb +8 -3
- data/lib/veye.rb +26 -3
- data/test/api/package_test.rb +15 -0
- data/test/api/project_test.rb +83 -19
- data/test/base/base_executor_test.rb +87 -0
- data/test/fixtures/vcr_cassettes/github_delete.yml +7 -7
- data/test/fixtures/vcr_cassettes/github_import.yml +11 -13
- data/test/fixtures/vcr_cassettes/github_info.yml +10 -10
- data/test/fixtures/vcr_cassettes/github_list.yml +12 -12
- data/test/fixtures/vcr_cassettes/github_sync.yml +7 -7
- data/test/fixtures/vcr_cassettes/package_follow.yml +10 -10
- data/test/fixtures/vcr_cassettes/package_follow_status.yml +7 -7
- data/test/fixtures/vcr_cassettes/package_info.yml +17 -18
- data/test/fixtures/vcr_cassettes/package_info_default.yml +54 -0
- data/test/fixtures/vcr_cassettes/package_info_versioned.yml +54 -0
- data/test/fixtures/vcr_cassettes/package_reference.yml +8 -8
- data/test/fixtures/vcr_cassettes/package_search.yml +8 -8
- data/test/fixtures/vcr_cassettes/package_unfollow.yml +7 -7
- data/test/fixtures/vcr_cassettes/package_versions.yml +44 -0
- data/test/fixtures/vcr_cassettes/project_check_new.yml +33 -30
- data/test/fixtures/vcr_cassettes/project_check_update.yml +29 -30
- data/test/fixtures/vcr_cassettes/project_delete.yml +8 -8
- data/test/fixtures/vcr_cassettes/project_delete_for_licenses.yml +48 -0
- data/test/fixtures/vcr_cassettes/project_delete_for_update.yml +46 -0
- data/test/fixtures/vcr_cassettes/project_delete_merge_child.yml +46 -0
- data/test/fixtures/vcr_cassettes/project_delete_merge_parent.yml +46 -0
- data/test/fixtures/vcr_cassettes/project_get.yml +11 -12
- data/test/fixtures/vcr_cassettes/project_license.yml +11 -12
- data/test/fixtures/vcr_cassettes/project_license_command.yml +49 -0
- data/test/fixtures/vcr_cassettes/project_list.yml +14 -14
- data/test/fixtures/vcr_cassettes/project_merge.yml +46 -0
- data/test/fixtures/vcr_cassettes/project_unmerge.yml +46 -0
- data/test/fixtures/vcr_cassettes/project_update.yml +15 -16
- data/test/fixtures/vcr_cassettes/project_upload.yml +17 -16
- data/test/fixtures/vcr_cassettes/project_upload_for_licenses.yml +107 -0
- data/test/fixtures/vcr_cassettes/project_upload_for_update.yml +105 -0
- data/test/fixtures/vcr_cassettes/project_upload_merge_child.yml +65 -0
- data/test/fixtures/vcr_cassettes/project_upload_merge_parent.yml +104 -0
- data/test/fixtures/vcr_cassettes/project_upload_with_args.yml +106 -0
- data/test/fixtures/vcr_cassettes/services_ping.yml +6 -8
- data/test/fixtures/vcr_cassettes/user_get_favorites.yml +10 -10
- data/test/fixtures/vcr_cassettes/user_get_profile.yml +10 -10
- data/test/github_delete_test.rb +5 -3
- data/test/github_import_test.rb +8 -15
- data/test/github_info_test.rb +2 -2
- data/test/package_follow_test.rb +3 -3
- data/test/package_info_test.rb +16 -15
- data/test/package_reference_test.rb +4 -4
- data/test/package_search_test.rb +4 -4
- data/test/package_versions_test.rb +73 -0
- data/test/project_check_test.rb +107 -79
- data/test/project_license_test.rb +29 -11
- data/test/project_test.rb +59 -0
- data/test/user_me_test.rb +4 -4
- data/veye.gemspec +10 -8
- data/veye.log +11 -0
- metadata +73 -20
@@ -0,0 +1,87 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class BaseExecutorTest < Minitest::Test
|
4
|
+
|
5
|
+
def setup
|
6
|
+
@dep1 = {
|
7
|
+
'prod_key' => "prod1",
|
8
|
+
'outdated' => true,
|
9
|
+
:upgrade => {dv_major: 1, dv_minor: 0, dv_patch: 0, dv_score: 1}
|
10
|
+
}
|
11
|
+
@dep2 = {
|
12
|
+
'prod_key' => 'prod2',
|
13
|
+
'outdated' => true,
|
14
|
+
:upgrade => {dv_major: 0, dv_minor: 1, dv_patch: 0, dv_score: 1}
|
15
|
+
}
|
16
|
+
@dep3 = {
|
17
|
+
'prod_key' => 'prod3',
|
18
|
+
'outdated' => true,
|
19
|
+
:upgrade => {dv_major: 0, dv_minor: 0, dv_patch: 1, dv_score: 1}
|
20
|
+
}
|
21
|
+
@dep4 = {
|
22
|
+
'prod_key' => 'prod4',
|
23
|
+
'outdated' => true,
|
24
|
+
:upgrade => {dv_major: 0, dv_minor: 1, dv_patch: 2, dv_score: 2}
|
25
|
+
}
|
26
|
+
|
27
|
+
@deps = [@dep1, @dep2, @dep3, @dep4]
|
28
|
+
|
29
|
+
end
|
30
|
+
|
31
|
+
def test_filter_dependencies_with_all_active
|
32
|
+
#it should return all the dependencies
|
33
|
+
res = BaseExecutor.filter_dependencies(@deps, {all: true})
|
34
|
+
assert_equal false, res.empty?
|
35
|
+
assert_equal 4, res.size
|
36
|
+
end
|
37
|
+
|
38
|
+
def test_filter_dependencies_without_options
|
39
|
+
#it should return only outdated dep
|
40
|
+
res = BaseExecutor.filter_dependencies(@deps, {patch: false})
|
41
|
+
assert_equal false, res.empty?
|
42
|
+
assert_equal 4, res.size
|
43
|
+
assert_equal @dep1['prod_key'], res.first['prod_key']
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_filter_dependencies_with_major_flag
|
47
|
+
#it should return only dep1
|
48
|
+
res = BaseExecutor.filter_dependencies(@deps, {major: true})
|
49
|
+
assert_equal false, res.empty?
|
50
|
+
assert_equal 1, res.size
|
51
|
+
assert_equal @dep1['prod_key'], res.first['prod_key']
|
52
|
+
end
|
53
|
+
|
54
|
+
def test_filter_dependencies_with_minor_flag
|
55
|
+
#it should return dep2 and dep4 and no duplications
|
56
|
+
res = BaseExecutor.filter_dependencies(@deps, {minor: true})
|
57
|
+
assert_equal false, res.empty?
|
58
|
+
assert_equal 2, res.size
|
59
|
+
assert_equal @dep2['prod_key'], res[0]['prod_key']
|
60
|
+
assert_equal @dep4['prod_key'], res[1]['prod_key']
|
61
|
+
end
|
62
|
+
|
63
|
+
def test_filter_dependencies_with_patch_flag
|
64
|
+
# it should return dep3 and dep4 and no duplications
|
65
|
+
res = BaseExecutor.filter_dependencies(@deps, {patch: true})
|
66
|
+
assert_equal false, res.empty?
|
67
|
+
assert_equal 1, res.size
|
68
|
+
assert_equal @dep3['prod_key'], res[0]['prod_key']
|
69
|
+
end
|
70
|
+
|
71
|
+
def test_filter_dependencies_with_multiple_filter_flags
|
72
|
+
# it shows all the dependencies which have minor and patch changes
|
73
|
+
res = BaseExecutor.filter_dependencies(@deps, {minor: true, patch: true})
|
74
|
+
assert_equal false, res.empty?
|
75
|
+
assert_equal 3, res.size
|
76
|
+
assert_equal @dep2['prod_key'], res[0]['prod_key']
|
77
|
+
assert_equal @dep4['prod_key'], res[1]['prod_key']
|
78
|
+
assert_equal @dep3['prod_key'], res[2]['prod_key']
|
79
|
+
end
|
80
|
+
|
81
|
+
def test_filter_dependencies_filters_out_all_the_duplicates
|
82
|
+
res = BaseExecutor.filter_dependencies([@dep1, @dep1, @dep1], {major: true})
|
83
|
+
assert_equal false, res.empty?
|
84
|
+
assert_equal 1, res.size
|
85
|
+
assert_equal @dep1['prod_key'], res[0]['prod_key']
|
86
|
+
end
|
87
|
+
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: delete
|
5
|
-
uri: https://www.versioneye.com/api/v2/github/versioneye:veye?api_key=
|
5
|
+
uri: https://www.versioneye.com/api/v2/github/versioneye:veye?api_key=f82943fbd363bc640782&branch=master
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -19,9 +19,9 @@ http_interactions:
|
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
21
|
Server:
|
22
|
-
- nginx/1.
|
22
|
+
- nginx/1.10.0 (Ubuntu)
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Mon, 29 Aug 2016 08:34:33 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Content-Length:
|
@@ -29,18 +29,18 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Set-Cookie:
|
32
|
-
- api_key=
|
32
|
+
- api_key=f82943fbd363bc640782
|
33
33
|
Etag:
|
34
34
|
- W/"7363e85fe9edee6f053a4b319588c086"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- a8546d86-e4be-4d63-be11-b4bcecd0e6cb
|
39
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.177030'
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"success":true}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Mon, 29 Aug 2016 08:34:33 GMT
|
46
46
|
recorded_with: VCR 3.0.1
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://www.versioneye.com/api/v2/github/versioneye:veye
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
|
-
string: api_key=
|
8
|
+
string: api_key=f82943fbd363bc640782&branch=master&file=Gemfile.lock
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
@@ -23,31 +23,29 @@ http_interactions:
|
|
23
23
|
message: Created
|
24
24
|
headers:
|
25
25
|
Server:
|
26
|
-
- nginx/1.
|
26
|
+
- nginx/1.10.0 (Ubuntu)
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 29 Aug 2016 08:34:33 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json
|
31
31
|
Content-Length:
|
32
|
-
- '
|
32
|
+
- '1425'
|
33
33
|
Connection:
|
34
34
|
- keep-alive
|
35
|
-
Strict-Transport-Security:
|
36
|
-
- max-age=31536000
|
37
35
|
Set-Cookie:
|
38
|
-
- api_key=
|
36
|
+
- api_key=f82943fbd363bc640782
|
39
37
|
Etag:
|
40
|
-
- W/"
|
38
|
+
- W/"41258e8c5045e2ad16def5153b3515ee"
|
41
39
|
Cache-Control:
|
42
40
|
- max-age=0, private, must-revalidate
|
43
41
|
X-Request-Id:
|
44
|
-
-
|
42
|
+
- 648ea50f-48ec-443a-874c-d57e3c6ad378
|
45
43
|
X-Runtime:
|
46
|
-
- '
|
44
|
+
- '4.552390'
|
47
45
|
body:
|
48
46
|
encoding: UTF-8
|
49
47
|
string: '{"repo":{"name":"veye","fullname":"versioneye/veye","language":"ruby","owner_login":"versioneye","owner_type":"organization","description":"VersionEye
|
50
|
-
command line tool ","private":false,"fork":false,"branches":null,"git_url":"git://github.com/versioneye/veye.git","html_url":"https://github.com/versioneye/veye","created_at":"2012-12-27T11:15:03.000+00:00","cached_at":"
|
48
|
+
command line tool implemented in Ruby","private":false,"fork":false,"branches":null,"git_url":"git://github.com/versioneye/veye.git","html_url":"https://github.com/versioneye/veye","created_at":"2012-12-27T11:15:03.000+00:00","cached_at":"2016-08-23T13:37:23.241+00:00","size":365,"homepage":"https://www.versioneye.com"},"imported_projects":[{"id":"57c3f017864739000eca5357","name":"versioneye/veye","project_type":"RubyGem","organisation":{"name":"private","company":"private","location":""},"public":true,"private_scm":false,"period":"daily","source":"github","dep_number":46,"out_number":26,"licenses_red":0,"licenses_unknown":3,"sv_count":0,"created_at":"2016-08-29T08:19:35.015Z","updated_at":"2016-08-29T08:34:33.066Z","license_whitelist":null,"child_ids":["57c3f39712b5260016707bea"],"parent_id":null},{"id":"57c3f39712b5260016707bea","name":"versioneye/veye","project_type":"RubyGem","organisation":{"name":"private","company":"private","location":""},"public":true,"private_scm":false,"period":"daily","source":"github","dep_number":46,"out_number":26,"licenses_red":0,"licenses_unknown":3,"sv_count":0,"created_at":"2016-08-29T08:34:31.020Z","updated_at":"2016-08-29T08:34:33.027Z","license_whitelist":null,"child_ids":[],"parent_id":"57c3f017864739000eca5357"}]}'
|
51
49
|
http_version:
|
52
|
-
recorded_at:
|
53
|
-
recorded_with: VCR
|
50
|
+
recorded_at: Mon, 29 Aug 2016 08:34:33 GMT
|
51
|
+
recorded_with: VCR 3.0.1
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://www.versioneye.com/api/v2/github/versioneye:veye?api_key=
|
5
|
+
uri: https://www.versioneye.com/api/v2/github/versioneye:veye?api_key=f82943fbd363bc640782
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -19,29 +19,29 @@ http_interactions:
|
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
21
|
Server:
|
22
|
-
- nginx/1.
|
22
|
+
- nginx/1.10.0 (Ubuntu)
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Mon, 29 Aug 2016 07:48:52 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Content-Length:
|
28
|
-
- '
|
28
|
+
- '496'
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Set-Cookie:
|
32
|
-
- api_key=
|
32
|
+
- api_key=f82943fbd363bc640782
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"0fa998e852c7615b4f0ade6bd3f6c09c"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- 02f816c0-b29c-4b83-8987-9ec38a9bfcce
|
39
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.018354'
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"repo":{"name":"veye","fullname":"versioneye/veye","language":"ruby","owner_login":"versioneye","owner_type":"organization","description":"VersionEye
|
44
|
-
command line tool ","private":false,"fork":false,"branches":null,"git_url":"git://github.com/versioneye/veye.git","html_url":"https://github.com/versioneye/veye","created_at":"2012-12-27T11:15:03.000+00:00","cached_at":"2016-
|
44
|
+
command line tool implemented in Ruby","private":false,"fork":false,"branches":null,"git_url":"git://github.com/versioneye/veye.git","html_url":"https://github.com/versioneye/veye","created_at":"2012-12-27T11:15:03.000+00:00","cached_at":"2016-08-23T13:37:23.241+00:00","size":340,"homepage":"https://www.versioneye.com"},"imported_projects":[]}'
|
45
45
|
http_version:
|
46
|
-
recorded_at:
|
46
|
+
recorded_at: Mon, 29 Aug 2016 07:48:53 GMT
|
47
47
|
recorded_with: VCR 3.0.1
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://www.versioneye.com/api/v2/github?api_key=
|
5
|
+
uri: https://www.versioneye.com/api/v2/github?api_key=f82943fbd363bc640782&page=1&private=false
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -19,25 +19,25 @@ http_interactions:
|
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
21
|
Server:
|
22
|
-
- nginx/1.
|
22
|
+
- nginx/1.10.0 (Ubuntu)
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Mon, 29 Aug 2016 07:48:34 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Content-Length:
|
28
|
-
- '
|
28
|
+
- '7175'
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Set-Cookie:
|
32
|
-
- api_key=
|
32
|
+
- api_key=f82943fbd363bc640782
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"29ee7380f253fffbe8e189e2b3c1be58"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- 437db0af-3efb-4924-bc5a-8161d932fab7
|
39
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.062098'
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"repos":[{"name":"clj-docker","fullname":"tauho/clj-docker","language":"clojure","owner_login":"tauho","owner_type":"organization","description":"A
|
@@ -56,7 +56,8 @@ http_interactions:
|
|
56
56
|
for tauho","private":false,"fork":false,"branches":null},{"name":"weebu","fullname":"tauho/weebu","language":"clojure","owner_login":"tauho","owner_type":"organization","description":"Webfrontend
|
57
57
|
for TauhoDB","private":false,"fork":false,"branches":null},{"name":"aifh","fullname":"timgluz/aifh","language":"c#","owner_login":"timgluz","owner_type":"user","description":"Artificial
|
58
58
|
Intelligence for Humans","private":false,"fork":true,"branches":null},{"name":"backbone_test","fullname":"timgluz/backbone_test","language":"javascript","owner_login":"timgluz","owner_type":"user","description":"Backbone+Require.JS
|
59
|
-
\u0026 Highchart to build dashboards","private":false,"fork":false,"branches":null},{"name":"
|
59
|
+
\u0026 Highchart to build dashboards","private":false,"fork":false,"branches":null},{"name":"catacumba","fullname":"timgluz/catacumba","language":"clojure","owner_login":"timgluz","owner_type":"user","description":"Asynchronous
|
60
|
+
web toolkit for clojure built on top of Ratpack / Netty","private":false,"fork":true,"branches":null},{"name":"chat-client","fullname":"timgluz/chat-client","language":"javascript","owner_login":"timgluz","owner_type":"user","description":"webchat
|
60
61
|
client for Igeolise demo-server","private":false,"fork":false,"branches":null},{"name":"chord","fullname":"timgluz/chord","language":"clojure","owner_login":"timgluz","owner_type":"user","description":"A
|
61
62
|
library designed to bridge the gap between the triad of CLJ/CLJS, web-sockets
|
62
63
|
and core.async.","private":false,"fork":true,"branches":null},{"name":"clj-http","fullname":"timgluz/clj-http","language":"clojure","owner_login":"timgluz","owner_type":"user","description":"An
|
@@ -72,8 +73,7 @@ http_interactions:
|
|
72
73
|
presentation for CLJ/FIN with getting started examples.","private":false,"fork":false,"branches":null},{"name":"diff-match-patch","fullname":"timgluz/diff-match-patch","language":"java","owner_login":"timgluz","owner_type":"user","description":"Clojure
|
73
74
|
wrappers and helpers for google''s diff-match-patch Java libirary. ","private":false,"fork":false,"branches":null},{"name":"elasticsearch_example","fullname":"timgluz/elasticsearch_example","language":"javascript","owner_login":"timgluz","owner_type":"user","description":"","private":false,"fork":false,"branches":null},{"name":"elastisch","fullname":"timgluz/elastisch","language":"clojure","owner_login":"timgluz","owner_type":"user","description":"A
|
74
75
|
minimalistic Clojure client for ElasticSearch, supports both HTTP and native
|
75
|
-
transports","private":false,"fork":true,"branches":null},
|
76
|
-
site for Elastisch","private":false,"fork":true,"branches":null}],"paging":{"current_page":1,"per_page":30,"total_pages":3,"total_entries":82}}'
|
76
|
+
transports","private":false,"fork":true,"branches":null}],"paging":{"current_page":1,"per_page":30,"total_pages":3,"total_entries":76}}'
|
77
77
|
http_version:
|
78
|
-
recorded_at:
|
78
|
+
recorded_at: Mon, 29 Aug 2016 07:48:34 GMT
|
79
79
|
recorded_with: VCR 3.0.1
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://www.versioneye.com/api/v2/github/sync?api_key=
|
5
|
+
uri: https://www.versioneye.com/api/v2/github/sync?api_key=f82943fbd363bc640782&force=false
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -19,9 +19,9 @@ http_interactions:
|
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
21
|
Server:
|
22
|
-
- nginx/1.
|
22
|
+
- nginx/1.10.0 (Ubuntu)
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Mon, 29 Aug 2016 07:54:39 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Content-Length:
|
@@ -29,18 +29,18 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Set-Cookie:
|
32
|
-
- api_key=
|
32
|
+
- api_key=f82943fbd363bc640782
|
33
33
|
Etag:
|
34
34
|
- W/"8fa085613a894ef3df0d3b493671a171"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- 7bf22373-9205-45f4-8c60-6f5e007e8025
|
39
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.049877'
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"status":"running"}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Mon, 29 Aug 2016 07:54:39 GMT
|
46
46
|
recorded_with: VCR 3.0.1
|
@@ -2,17 +2,17 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://www.versioneye.com/api/v2/products/ruby/ruby/follow.json?api_key=
|
5
|
+
uri: https://www.versioneye.com/api/v2/products/ruby/ruby/follow.json?api_key=f82943fbd363bc640782
|
6
6
|
body:
|
7
|
-
encoding:
|
8
|
-
string:
|
7
|
+
encoding: ASCII-8BIT
|
8
|
+
string: ''
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
Content-Length:
|
15
|
-
- '
|
15
|
+
- '0'
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
User-Agent:
|
@@ -23,9 +23,9 @@ http_interactions:
|
|
23
23
|
message: Created
|
24
24
|
headers:
|
25
25
|
Server:
|
26
|
-
- nginx/1.
|
26
|
+
- nginx/1.10.0 (Ubuntu)
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Fri, 26 Aug 2016 13:07:08 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json
|
31
31
|
Content-Length:
|
@@ -33,18 +33,18 @@ http_interactions:
|
|
33
33
|
Connection:
|
34
34
|
- keep-alive
|
35
35
|
Set-Cookie:
|
36
|
-
- api_key=
|
36
|
+
- api_key=f82943fbd363bc640782
|
37
37
|
Etag:
|
38
38
|
- W/"9d6323eb43938b708cb2b4b1d86ed307"
|
39
39
|
Cache-Control:
|
40
40
|
- max-age=0, private, must-revalidate
|
41
41
|
X-Request-Id:
|
42
|
-
-
|
42
|
+
- bd35ff01-5c1d-4102-8086-6538b28ae9f2
|
43
43
|
X-Runtime:
|
44
|
-
- '0.
|
44
|
+
- '0.045398'
|
45
45
|
body:
|
46
46
|
encoding: UTF-8
|
47
47
|
string: '{"username":"timgluz","prod_key":"ruby","follows":true}'
|
48
48
|
http_version:
|
49
|
-
recorded_at:
|
49
|
+
recorded_at: Fri, 26 Aug 2016 13:07:08 GMT
|
50
50
|
recorded_with: VCR 3.0.1
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://www.versioneye.com/api/v2/products/ruby/ruby/follow.json?api_key=
|
5
|
+
uri: https://www.versioneye.com/api/v2/products/ruby/ruby/follow.json?api_key=f82943fbd363bc640782
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -19,9 +19,9 @@ http_interactions:
|
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
21
|
Server:
|
22
|
-
- nginx/1.
|
22
|
+
- nginx/1.10.0 (Ubuntu)
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Fri, 26 Aug 2016 13:07:08 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Content-Length:
|
@@ -29,18 +29,18 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Set-Cookie:
|
32
|
-
- api_key=
|
32
|
+
- api_key=f82943fbd363bc640782
|
33
33
|
Etag:
|
34
34
|
- W/"8ab7070f3b063b2378ca199ebe369d32"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- f5173c8c-da0d-435c-af3f-53c3e515dd43
|
39
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.426928'
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"username":"timgluz","prod_key":"ruby","follows":false}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Fri, 26 Aug 2016 13:07:08 GMT
|
46
46
|
recorded_with: VCR 3.0.1
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://www.versioneye.com/api/v2/products/ruby/veye?api_key=
|
5
|
+
uri: https://www.versioneye.com/api/v2/products/ruby/veye?api_key=f82943fbd363bc640782
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -19,37 +19,36 @@ http_interactions:
|
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
21
|
Server:
|
22
|
-
- nginx/1.
|
22
|
+
- nginx/1.10.0 (Ubuntu)
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Mon, 29 Aug 2016 15:54:00 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Content-Length:
|
28
|
-
- '
|
28
|
+
- '1737'
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Etag:
|
32
|
-
- W/"
|
32
|
+
- W/"e322b0170bf7c1b18464729e3792c927"
|
33
33
|
Cache-Control:
|
34
34
|
- max-age=0, private, must-revalidate
|
35
35
|
X-Request-Id:
|
36
|
-
-
|
36
|
+
- e27ab59d-a9d2-4832-a469-5b13bef60dea
|
37
37
|
X-Runtime:
|
38
|
-
- '0.
|
38
|
+
- '0.048023'
|
39
39
|
body:
|
40
40
|
encoding: UTF-8
|
41
|
-
string: '{"name":"veye","language":"ruby","prod_key":"veye","version":"0.
|
41
|
+
string: '{"name":"veye","language":"ruby","prod_key":"veye","version":"0.2.1","prod_type":"RubyGem","group_id":null,"artifact_id":null,"license_info":"MIT","description":"\n Veye
|
42
42
|
is commandline tool like Heroku has own ToolBelt, \n and purpose of this
|
43
43
|
tool is to make developer''s life even\n more simpler and keep you up-to-date
|
44
|
-
with freshest packages.\n ","updated_at":"2016-
|
45
|
-
1.6","parsed_version":"1.
|
46
|
-
|
47
|
-
2.
|
48
|
-
|
49
|
-
|
50
|
-
1.
|
51
|
-
|
52
|
-
Page","link":"https://rubygems.org/gems/veye"}],"archives":[{"name":"veye-0.1.1.gem","link":"https://rubygems.org/gems/veye-0.1.1.gem"}]}'
|
44
|
+
with freshest packages.\n ","updated_at":"2016-06-20T20:08:16.152Z","released_at":"2016-03-15T00:00:00.000+00:00","dependencies":[{"name":"awesome_print","dep_prod_key":"awesome_print","version":"~\u003e
|
45
|
+
1.6","parsed_version":"1.7.0","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"gli","dep_prod_key":"gli","version":"=
|
46
|
+
2.13.4","parsed_version":"2.13.4","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"rainbow","dep_prod_key":"rainbow","version":"~\u003e
|
47
|
+
2.0","parsed_version":"2.1.0","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"render-as-markdown","dep_prod_key":"render-as-markdown","version":"~\u003e
|
48
|
+
0","parsed_version":"0.0.6","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"rest-client","dep_prod_key":"rest-client","version":"~\u003e
|
49
|
+
1.8","parsed_version":"1.8.0","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"terminal-table","dep_prod_key":"terminal-table","version":"~\u003e
|
50
|
+
1.4","parsed_version":"1.6.0","group_id":null,"artifact_id":null,"scope":"runtime"}],"licenses":[{"name":"MIT","url":null}],"security_vulnerabilities":null,"links":[{"name":"Homepage","link":"https://github.com/versioneye/veye"},{"name":"Project","link":"http://rubygems.org/gems/veye"},{"name":"RubyGem
|
51
|
+
Page","link":"https://rubygems.org/gems/veye"}],"archives":[{"name":"veye-0.2.1.gem","link":"https://rubygems.org/gems/veye-0.2.1.gem"}]}'
|
53
52
|
http_version:
|
54
|
-
recorded_at:
|
53
|
+
recorded_at: Mon, 29 Aug 2016 15:54:00 GMT
|
55
54
|
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.versioneye.com/api/v2/products/ruby/veye?api_key=f82943fbd363bc640782
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx/1.10.0 (Ubuntu)
|
23
|
+
Date:
|
24
|
+
- Fri, 26 Aug 2016 13:05:15 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Content-Length:
|
28
|
+
- '1737'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Etag:
|
32
|
+
- W/"e322b0170bf7c1b18464729e3792c927"
|
33
|
+
Cache-Control:
|
34
|
+
- max-age=0, private, must-revalidate
|
35
|
+
X-Request-Id:
|
36
|
+
- f8e2d03b-3e71-481a-98a9-b49e5a9025e8
|
37
|
+
X-Runtime:
|
38
|
+
- '0.049045'
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"name":"veye","language":"ruby","prod_key":"veye","version":"0.2.1","prod_type":"RubyGem","group_id":null,"artifact_id":null,"license_info":"MIT","description":"\n Veye
|
42
|
+
is commandline tool like Heroku has own ToolBelt, \n and purpose of this
|
43
|
+
tool is to make developer''s life even\n more simpler and keep you up-to-date
|
44
|
+
with freshest packages.\n ","updated_at":"2016-06-20T20:08:16.152Z","released_at":"2016-03-15T00:00:00.000+00:00","dependencies":[{"name":"awesome_print","dep_prod_key":"awesome_print","version":"~\u003e
|
45
|
+
1.6","parsed_version":"1.7.0","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"gli","dep_prod_key":"gli","version":"=
|
46
|
+
2.13.4","parsed_version":"2.13.4","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"rainbow","dep_prod_key":"rainbow","version":"~\u003e
|
47
|
+
2.0","parsed_version":"2.1.0","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"render-as-markdown","dep_prod_key":"render-as-markdown","version":"~\u003e
|
48
|
+
0","parsed_version":"0.0.6","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"rest-client","dep_prod_key":"rest-client","version":"~\u003e
|
49
|
+
1.8","parsed_version":"1.8.0","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"terminal-table","dep_prod_key":"terminal-table","version":"~\u003e
|
50
|
+
1.4","parsed_version":"1.6.0","group_id":null,"artifact_id":null,"scope":"runtime"}],"licenses":[{"name":"MIT","url":null}],"security_vulnerabilities":null,"links":[{"name":"Homepage","link":"https://github.com/versioneye/veye"},{"name":"Project","link":"http://rubygems.org/gems/veye"},{"name":"RubyGem
|
51
|
+
Page","link":"https://rubygems.org/gems/veye"}],"archives":[{"name":"veye-0.2.1.gem","link":"https://rubygems.org/gems/veye-0.2.1.gem"}]}'
|
52
|
+
http_version:
|
53
|
+
recorded_at: Fri, 26 Aug 2016 13:05:15 GMT
|
54
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.versioneye.com/api/v2/products/ruby/veye?api_key=f82943fbd363bc640782&prod_version=0.2.1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx/1.10.0 (Ubuntu)
|
23
|
+
Date:
|
24
|
+
- Fri, 26 Aug 2016 13:05:15 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Content-Length:
|
28
|
+
- '1737'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Etag:
|
32
|
+
- W/"e322b0170bf7c1b18464729e3792c927"
|
33
|
+
Cache-Control:
|
34
|
+
- max-age=0, private, must-revalidate
|
35
|
+
X-Request-Id:
|
36
|
+
- dc86dc75-8f6c-40a1-8c40-95801255f01e
|
37
|
+
X-Runtime:
|
38
|
+
- '0.054639'
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"name":"veye","language":"ruby","prod_key":"veye","version":"0.2.1","prod_type":"RubyGem","group_id":null,"artifact_id":null,"license_info":"MIT","description":"\n Veye
|
42
|
+
is commandline tool like Heroku has own ToolBelt, \n and purpose of this
|
43
|
+
tool is to make developer''s life even\n more simpler and keep you up-to-date
|
44
|
+
with freshest packages.\n ","updated_at":"2016-06-20T20:08:16.152Z","released_at":"2016-03-15T00:00:00.000+00:00","dependencies":[{"name":"awesome_print","dep_prod_key":"awesome_print","version":"~\u003e
|
45
|
+
1.6","parsed_version":"1.7.0","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"gli","dep_prod_key":"gli","version":"=
|
46
|
+
2.13.4","parsed_version":"2.13.4","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"rainbow","dep_prod_key":"rainbow","version":"~\u003e
|
47
|
+
2.0","parsed_version":"2.1.0","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"render-as-markdown","dep_prod_key":"render-as-markdown","version":"~\u003e
|
48
|
+
0","parsed_version":"0.0.6","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"rest-client","dep_prod_key":"rest-client","version":"~\u003e
|
49
|
+
1.8","parsed_version":"1.8.0","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"terminal-table","dep_prod_key":"terminal-table","version":"~\u003e
|
50
|
+
1.4","parsed_version":"1.6.0","group_id":null,"artifact_id":null,"scope":"runtime"}],"licenses":[{"name":"MIT","url":null}],"security_vulnerabilities":null,"links":[{"name":"Homepage","link":"https://github.com/versioneye/veye"},{"name":"Project","link":"http://rubygems.org/gems/veye"},{"name":"RubyGem
|
51
|
+
Page","link":"https://rubygems.org/gems/veye"}],"archives":[{"name":"veye-0.2.1.gem","link":"https://rubygems.org/gems/veye-0.2.1.gem"}]}'
|
52
|
+
http_version:
|
53
|
+
recorded_at: Fri, 26 Aug 2016 13:05:15 GMT
|
54
|
+
recorded_with: VCR 3.0.1
|