veye 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +48 -41
  3. data/README.md +36 -17
  4. data/bin/veye +176 -47
  5. data/bundle +0 -0
  6. data/changelogs.md +19 -0
  7. data/lib/veye/api/package.rb +16 -2
  8. data/lib/veye/api/project.rb +41 -6
  9. data/lib/veye/base_executor.rb +81 -16
  10. data/lib/veye/github/delete.rb +2 -4
  11. data/lib/veye/github/import.rb +3 -4
  12. data/lib/veye/package/follow.rb +9 -9
  13. data/lib/veye/package/info.rb +4 -4
  14. data/lib/veye/package/references.rb +4 -6
  15. data/lib/veye/package/search.rb +2 -1
  16. data/lib/veye/package/versions.rb +37 -0
  17. data/lib/veye/package.rb +2 -0
  18. data/lib/veye/project/check.rb +19 -9
  19. data/lib/veye/project.rb +86 -2
  20. data/lib/veye/version.rb +1 -1
  21. data/lib/veye/views/base_csv.rb +1 -1
  22. data/lib/veye/views/github/info_csv.rb +1 -1
  23. data/lib/veye/views/github/info_pretty.rb +1 -1
  24. data/lib/veye/views/github/info_table.rb +2 -2
  25. data/lib/veye/views/package/info_csv.rb +4 -3
  26. data/lib/veye/views/package/info_pretty.rb +4 -2
  27. data/lib/veye/views/package/info_table.rb +4 -1
  28. data/lib/veye/views/package/versions_csv.rb +24 -0
  29. data/lib/veye/views/package/versions_json.rb +15 -0
  30. data/lib/veye/views/package/versions_pretty.rb +23 -0
  31. data/lib/veye/views/package/versions_table.rb +27 -0
  32. data/lib/veye/views/package.rb +4 -0
  33. data/lib/veye/views/project/dependency_csv.rb +18 -10
  34. data/lib/veye/views/project/dependency_pretty.rb +13 -2
  35. data/lib/veye/views/project/dependency_table.rb +8 -2
  36. data/lib/veye/views/project/info_csv.rb +9 -3
  37. data/lib/veye/views/project/info_markdown.rb +7 -2
  38. data/lib/veye/views/project/info_pretty.rb +6 -1
  39. data/lib/veye/views/project/info_table.rb +8 -3
  40. data/lib/veye.rb +26 -3
  41. data/test/api/package_test.rb +15 -0
  42. data/test/api/project_test.rb +83 -19
  43. data/test/base/base_executor_test.rb +87 -0
  44. data/test/fixtures/vcr_cassettes/github_delete.yml +7 -7
  45. data/test/fixtures/vcr_cassettes/github_import.yml +11 -13
  46. data/test/fixtures/vcr_cassettes/github_info.yml +10 -10
  47. data/test/fixtures/vcr_cassettes/github_list.yml +12 -12
  48. data/test/fixtures/vcr_cassettes/github_sync.yml +7 -7
  49. data/test/fixtures/vcr_cassettes/package_follow.yml +10 -10
  50. data/test/fixtures/vcr_cassettes/package_follow_status.yml +7 -7
  51. data/test/fixtures/vcr_cassettes/package_info.yml +17 -18
  52. data/test/fixtures/vcr_cassettes/package_info_default.yml +54 -0
  53. data/test/fixtures/vcr_cassettes/package_info_versioned.yml +54 -0
  54. data/test/fixtures/vcr_cassettes/package_reference.yml +8 -8
  55. data/test/fixtures/vcr_cassettes/package_search.yml +8 -8
  56. data/test/fixtures/vcr_cassettes/package_unfollow.yml +7 -7
  57. data/test/fixtures/vcr_cassettes/package_versions.yml +44 -0
  58. data/test/fixtures/vcr_cassettes/project_check_new.yml +33 -30
  59. data/test/fixtures/vcr_cassettes/project_check_update.yml +29 -30
  60. data/test/fixtures/vcr_cassettes/project_delete.yml +8 -8
  61. data/test/fixtures/vcr_cassettes/project_delete_for_licenses.yml +48 -0
  62. data/test/fixtures/vcr_cassettes/project_delete_for_update.yml +46 -0
  63. data/test/fixtures/vcr_cassettes/project_delete_merge_child.yml +46 -0
  64. data/test/fixtures/vcr_cassettes/project_delete_merge_parent.yml +46 -0
  65. data/test/fixtures/vcr_cassettes/project_get.yml +11 -12
  66. data/test/fixtures/vcr_cassettes/project_license.yml +11 -12
  67. data/test/fixtures/vcr_cassettes/project_license_command.yml +49 -0
  68. data/test/fixtures/vcr_cassettes/project_list.yml +14 -14
  69. data/test/fixtures/vcr_cassettes/project_merge.yml +46 -0
  70. data/test/fixtures/vcr_cassettes/project_unmerge.yml +46 -0
  71. data/test/fixtures/vcr_cassettes/project_update.yml +15 -16
  72. data/test/fixtures/vcr_cassettes/project_upload.yml +17 -16
  73. data/test/fixtures/vcr_cassettes/project_upload_for_licenses.yml +107 -0
  74. data/test/fixtures/vcr_cassettes/project_upload_for_update.yml +105 -0
  75. data/test/fixtures/vcr_cassettes/project_upload_merge_child.yml +65 -0
  76. data/test/fixtures/vcr_cassettes/project_upload_merge_parent.yml +104 -0
  77. data/test/fixtures/vcr_cassettes/project_upload_with_args.yml +106 -0
  78. data/test/fixtures/vcr_cassettes/services_ping.yml +6 -8
  79. data/test/fixtures/vcr_cassettes/user_get_favorites.yml +10 -10
  80. data/test/fixtures/vcr_cassettes/user_get_profile.yml +10 -10
  81. data/test/github_delete_test.rb +5 -3
  82. data/test/github_import_test.rb +8 -15
  83. data/test/github_info_test.rb +2 -2
  84. data/test/package_follow_test.rb +3 -3
  85. data/test/package_info_test.rb +16 -15
  86. data/test/package_reference_test.rb +4 -4
  87. data/test/package_search_test.rb +4 -4
  88. data/test/package_versions_test.rb +73 -0
  89. data/test/project_check_test.rb +107 -79
  90. data/test/project_license_test.rb +29 -11
  91. data/test/project_test.rb +59 -0
  92. data/test/user_me_test.rb +4 -4
  93. data/veye.gemspec +10 -8
  94. data/veye.log +11 -0
  95. 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=316dbd6b80b053f5b1e5&branch=master
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.4.6 (Ubuntu)
22
+ - nginx/1.10.0 (Ubuntu)
23
23
  Date:
24
- - Sat, 12 Mar 2016 18:45:38 GMT
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=316dbd6b80b053f5b1e5
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
- - 3dc80523-b4a4-4112-90f6-bc99e3af1e0d
38
+ - a8546d86-e4be-4d63-be11-b4bcecd0e6cb
39
39
  X-Runtime:
40
- - '0.269159'
40
+ - '0.177030'
41
41
  body:
42
42
  encoding: UTF-8
43
43
  string: '{"success":true}'
44
44
  http_version:
45
- recorded_at: Sat, 12 Mar 2016 18:38:17 GMT
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=ba7d93beb5de7820764e&branch=master&file=Gemfile.lock
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.4.6 (Ubuntu)
26
+ - nginx/1.10.0 (Ubuntu)
27
27
  Date:
28
- - Fri, 14 Aug 2015 15:13:33 GMT
28
+ - Mon, 29 Aug 2016 08:34:33 GMT
29
29
  Content-Type:
30
30
  - application/json
31
31
  Content-Length:
32
- - '821'
32
+ - '1425'
33
33
  Connection:
34
34
  - keep-alive
35
- Strict-Transport-Security:
36
- - max-age=31536000
37
35
  Set-Cookie:
38
- - api_key=ba7d93beb5de7820764e; secure
36
+ - api_key=f82943fbd363bc640782
39
37
  Etag:
40
- - W/"2f06df5540d8ed9db0699f432ca1c462"
38
+ - W/"41258e8c5045e2ad16def5153b3515ee"
41
39
  Cache-Control:
42
40
  - max-age=0, private, must-revalidate
43
41
  X-Request-Id:
44
- - 982539e7-0de1-4454-aa63-5ee5e4aaf49b
42
+ - 648ea50f-48ec-443a-874c-d57e3c6ad378
45
43
  X-Runtime:
46
- - '5.444198'
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":"2015-08-13T10:42:23.754+00:00","size":706,"homepage":null},"imported_projects":[{"id":"55ce0593cb3745000b00369d","project_key":"rubygem_versioneye_veye_1","name":"versioneye/veye","project_type":"RubyGem","public":true,"private_scm":false,"period":"daily","source":"github","dep_number":37,"out_number":7,"licenses_red":0,"licenses_unknown":3,"created_at":"2015-08-14T15:13:23.112Z","updated_at":"2015-08-14T15:13:24.471Z","license_whitelist":null}]}'
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: Fri, 14 Aug 2015 15:13:24 GMT
53
- recorded_with: VCR 2.9.3
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=316dbd6b80b053f5b1e5
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.4.6 (Ubuntu)
22
+ - nginx/1.10.0 (Ubuntu)
23
23
  Date:
24
- - Sat, 12 Mar 2016 18:48:21 GMT
24
+ - Mon, 29 Aug 2016 07:48:52 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Content-Length:
28
- - '453'
28
+ - '496'
29
29
  Connection:
30
30
  - keep-alive
31
31
  Set-Cookie:
32
- - api_key=316dbd6b80b053f5b1e5
32
+ - api_key=f82943fbd363bc640782
33
33
  Etag:
34
- - W/"f66ca9e1f4d09b82bfe661be75934fe5"
34
+ - W/"0fa998e852c7615b4f0ade6bd3f6c09c"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - 6c3c14ee-5136-44ab-9446-e57a03d7dfb0
38
+ - 02f816c0-b29c-4b83-8987-9ec38a9bfcce
39
39
  X-Runtime:
40
- - '0.050714'
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-02-24T10:25:53.782+00:00","size":832,"homepage":null},"imported_projects":[]}'
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: Sat, 12 Mar 2016 18:41:00 GMT
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=316dbd6b80b053f5b1e5&page=1&private=false
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.4.6 (Ubuntu)
22
+ - nginx/1.10.0 (Ubuntu)
23
23
  Date:
24
- - Sat, 12 Mar 2016 18:23:33 GMT
24
+ - Mon, 29 Aug 2016 07:48:34 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Content-Length:
28
- - '7146'
28
+ - '7175'
29
29
  Connection:
30
30
  - keep-alive
31
31
  Set-Cookie:
32
- - api_key=316dbd6b80b053f5b1e5
32
+ - api_key=f82943fbd363bc640782
33
33
  Etag:
34
- - W/"266776c599ae0cd92e385dc43b3e0f72"
34
+ - W/"29ee7380f253fffbe8e189e2b3c1be58"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - 96ea074f-13f3-44a9-888b-ee953e6755c8
38
+ - 437db0af-3efb-4924-bc5a-8161d932fab7
39
39
  X-Runtime:
40
- - '0.146659'
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":"chat-client","fullname":"timgluz/chat-client","language":"javascript","owner_login":"timgluz","owner_type":"user","description":"webchat
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},{"name":"elastisch.docs","fullname":"timgluz/elastisch.docs","language":"html","owner_login":"timgluz","owner_type":"user","description":"Documentation
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: Sat, 12 Mar 2016 18:16:13 GMT
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=316dbd6b80b053f5b1e5&force=false
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.4.6 (Ubuntu)
22
+ - nginx/1.10.0 (Ubuntu)
23
23
  Date:
24
- - Sat, 12 Mar 2016 18:58:25 GMT
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=316dbd6b80b053f5b1e5
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
- - 5590e68f-d3cc-49fe-b4a0-bdbaa528bf52
38
+ - 7bf22373-9205-45f4-8c60-6f5e007e8025
39
39
  X-Runtime:
40
- - '0.137247'
40
+ - '0.049877'
41
41
  body:
42
42
  encoding: UTF-8
43
43
  string: '{"status":"running"}'
44
44
  http_version:
45
- recorded_at: Sat, 12 Mar 2016 18:51:04 GMT
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=316dbd6b80b053f5b1e5
5
+ uri: https://www.versioneye.com/api/v2/products/ruby/ruby/follow.json?api_key=f82943fbd363bc640782
6
6
  body:
7
- encoding: US-ASCII
8
- string: params[api_key]=316dbd6b80b053f5b1e5
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
- - '36'
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.4.6 (Ubuntu)
26
+ - nginx/1.10.0 (Ubuntu)
27
27
  Date:
28
- - Sat, 12 Mar 2016 19:54:59 GMT
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=316dbd6b80b053f5b1e5
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
- - 7ed16b27-9f07-4e23-8540-fb517d3a7303
42
+ - bd35ff01-5c1d-4102-8086-6538b28ae9f2
43
43
  X-Runtime:
44
- - '0.067363'
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: Sat, 12 Mar 2016 19:47:38 GMT
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=316dbd6b80b053f5b1e5
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.4.6 (Ubuntu)
22
+ - nginx/1.10.0 (Ubuntu)
23
23
  Date:
24
- - Sat, 12 Mar 2016 19:54:58 GMT
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=316dbd6b80b053f5b1e5
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
- - 66273def-95b3-4f4b-829f-edc92439f590
38
+ - f5173c8c-da0d-435c-af3f-53c3e515dd43
39
39
  X-Runtime:
40
- - '0.784801'
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: Sat, 12 Mar 2016 19:47:37 GMT
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=316dbd6b80b053f5b1e5
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.4.6 (Ubuntu)
22
+ - nginx/1.10.0 (Ubuntu)
23
23
  Date:
24
- - Sat, 12 Mar 2016 19:38:49 GMT
24
+ - Mon, 29 Aug 2016 15:54:00 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Content-Length:
28
- - '1860'
28
+ - '1737'
29
29
  Connection:
30
30
  - keep-alive
31
31
  Etag:
32
- - W/"91ac872b6f8e462061b3ac2c43b2f365"
32
+ - W/"e322b0170bf7c1b18464729e3792c927"
33
33
  Cache-Control:
34
34
  - max-age=0, private, must-revalidate
35
35
  X-Request-Id:
36
- - 65c03d8b-3f03-43a3-bc81-5d510088e208
36
+ - e27ab59d-a9d2-4832-a469-5b13bef60dea
37
37
  X-Runtime:
38
- - '0.087500'
38
+ - '0.048023'
39
39
  body:
40
40
  encoding: UTF-8
41
- string: '{"name":"veye","language":"ruby","prod_key":"veye","version":"0.1.1","prod_type":"RubyGem","group_id":null,"artifact_id":null,"license_info":"MIT","description":"\n Veye
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-03-12T18:59:06.314Z","released_at":"2015-10-20T00:00:00.000+00:00","dependencies":[{"name":"awesome_print","dep_prod_key":"awesome_print","version":"\u003e=
45
- 1.6","parsed_version":"1.6.1","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"contracts","dep_prod_key":"contracts","version":"\u003e=
46
- 0.11","parsed_version":"0.13.0","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"gli","dep_prod_key":"gli","version":"\u003e
47
- 2.13","parsed_version":"2.13.4","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"rainbow","dep_prod_key":"rainbow","version":"\u003e=
48
- 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=
49
- 0","parsed_version":"0.0.6","group_id":null,"artifact_id":null,"scope":"runtime"},{"name":"rest-client","dep_prod_key":"rest-client","version":"\u003e=
50
- 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=
51
- 1.4","parsed_version":"1.5.2","group_id":null,"artifact_id":null,"scope":"runtime"}],"licenses":[{"name":"MIT","url":null}],"links":[{"name":"Homepage","link":"https://github.com/versioneye/veye"},{"name":"Project","link":"http://rubygems.org/gems/veye"},{"name":"RubyGem
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: Sat, 12 Mar 2016 19:31:28 GMT
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