veye 0.0.8 → 0.0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile.lock +22 -20
- data/README.md +20 -4
- data/bin/veye +26 -17
- data/lib/veye/api/base_resource.rb +1 -1
- data/lib/veye/api/resource.rb +6 -2
- data/lib/veye/base_executor.rb +2 -2
- data/lib/veye/github/delete.rb +2 -2
- data/lib/veye/github/list.rb +1 -1
- data/lib/veye/github/sync.rb +2 -2
- data/lib/veye/helpers/format_helpers.rb +3 -1
- data/lib/veye/package/follow.rb +1 -1
- data/lib/veye/package/info.rb +1 -1
- data/lib/veye/pagination/pagination_pretty.rb +2 -1
- data/lib/veye/project/check.rb +9 -8
- data/lib/veye/project/licence.rb +1 -1
- data/lib/veye/project.rb +0 -2
- data/lib/veye/service.rb +3 -3
- data/lib/veye/version.rb +1 -1
- data/lib/veye/views/base_pretty.rb +2 -1
- data/lib/veye/views/github/info_pretty.rb +1 -1
- data/lib/veye/views/github/list_pretty.rb +1 -1
- data/lib/veye/views/github/search_pretty.rb +1 -1
- data/lib/veye/views/package/info_pretty.rb +1 -1
- data/lib/veye/views/package/search_pretty.rb +2 -2
- data/lib/veye/views/project/dependency_pretty.rb +4 -4
- data/lib/veye/views/project/dependency_table.rb +2 -2
- data/lib/veye/views/project/info_csv.rb +2 -2
- data/lib/veye/views/project/info_pretty.rb +4 -4
- data/lib/veye/views/project/licence_pretty.rb +1 -1
- data/lib/veye/views/project.rb +1 -1
- data/lib/veye/views/user/favorite_pretty.rb +1 -1
- data/lib/veye/views/user/profile_pretty.rb +1 -1
- data/lib/veye.rb +5 -6
- metadata +70 -90
- /data/test/files/{maven-1.0.1.pom → maven-1.0.1.pom.xml} +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8417e37216d48d74634953437a828cdfae51a0ec
|
4
|
+
data.tar.gz: e9df1c912c93a2e6ccebc7c13639c5ab1378ea58
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c52077bcd76e3a439a793f0153f654634458d6bb7597f94022fc15dbff8e94c7a2df04b452ac8466782e653ddaf1ce2bda96f38d38ebd3942420fbde24a1f175
|
7
|
+
data.tar.gz: 46d504467244d8bfb323acaa36300579fecf97b2d366308e6366a2734ac63622ce0b3d2306354cd9fb9bdf691a4a784153fb7421e000de3d9c8a91b8a20e0b54
|
data/Gemfile.lock
CHANGED
@@ -1,56 +1,58 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
veye (0.0.8)
|
4
|
+
veye (0.0.8.1)
|
5
5
|
awesome_print (~> 1.2.0)
|
6
|
-
gli (~> 2.
|
7
|
-
rainbow (~>
|
8
|
-
render-as-markdown (~> 0.0.
|
6
|
+
gli (~> 2.11.0)
|
7
|
+
rainbow (~> 2.0.0)
|
8
|
+
render-as-markdown (~> 0.0.6)
|
9
9
|
rest-client (~> 1.6.7)
|
10
10
|
terminal-table (~> 1.4.5)
|
11
11
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
aruba (0.
|
15
|
+
aruba (0.6.0)
|
16
16
|
childprocess (>= 0.3.6)
|
17
17
|
cucumber (>= 1.1.1)
|
18
18
|
rspec-expectations (>= 2.7.0)
|
19
19
|
awesome_print (1.2.0)
|
20
20
|
builder (3.2.2)
|
21
|
-
childprocess (0.3
|
21
|
+
childprocess (0.5.3)
|
22
22
|
ffi (~> 1.0, >= 1.0.11)
|
23
|
-
cucumber (1.3.
|
23
|
+
cucumber (1.3.15)
|
24
24
|
builder (>= 2.1.2)
|
25
25
|
diff-lcs (>= 1.1.3)
|
26
26
|
gherkin (~> 2.12)
|
27
27
|
multi_json (>= 1.7.5, < 2.0)
|
28
|
-
multi_test (>= 0.
|
28
|
+
multi_test (>= 0.1.1)
|
29
29
|
diff-lcs (1.2.5)
|
30
30
|
ffi (1.9.3)
|
31
31
|
gherkin (2.12.2)
|
32
32
|
multi_json (~> 1.3)
|
33
|
-
gli (2.
|
33
|
+
gli (2.11.0)
|
34
34
|
json (1.8.1)
|
35
|
-
mime-types (2.
|
36
|
-
multi_json (1.
|
37
|
-
multi_test (0.
|
38
|
-
rainbow (
|
39
|
-
rake (10.
|
40
|
-
rdoc (4.1.
|
35
|
+
mime-types (2.3)
|
36
|
+
multi_json (1.10.1)
|
37
|
+
multi_test (0.1.1)
|
38
|
+
rainbow (2.0.0)
|
39
|
+
rake (10.3.2)
|
40
|
+
rdoc (4.1.1)
|
41
41
|
json (~> 1.4)
|
42
42
|
render-as-markdown (0.0.6)
|
43
43
|
rest-client (1.6.7)
|
44
44
|
mime-types (>= 1.16)
|
45
|
-
rspec-expectations (
|
46
|
-
diff-lcs (>= 1.
|
45
|
+
rspec-expectations (3.0.2)
|
46
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
47
|
+
rspec-support (~> 3.0.0)
|
48
|
+
rspec-support (3.0.2)
|
47
49
|
terminal-table (1.4.5)
|
48
50
|
|
49
51
|
PLATFORMS
|
50
52
|
ruby
|
51
53
|
|
52
54
|
DEPENDENCIES
|
53
|
-
aruba (~> 0.
|
54
|
-
rake (~> 10.
|
55
|
-
rdoc (~> 4.
|
55
|
+
aruba (~> 0.6.0)
|
56
|
+
rake (~> 10.3.2)
|
57
|
+
rdoc (~> 4.1.1)
|
56
58
|
veye!
|
data/README.md
CHANGED
@@ -67,7 +67,7 @@ The tool will raise exception when a configuration file is missing. The tool nee
|
|
67
67
|
|
68
68
|
###### add key
|
69
69
|
|
70
|
-
Please visit your settings page on VersionEye for api-key and then use command `veye change_key` to save your api key.
|
70
|
+
Please visit [your settings page](https://www.versioneye.com/settings/api) on VersionEye for the api-key and then use command `veye change_key` to save your api key.
|
71
71
|
|
72
72
|
```
|
73
73
|
$> veye change_key abj23j2bj33k14
|
@@ -194,6 +194,22 @@ For example to override a number of port, when doing search:
|
|
194
194
|
$> veye --port=4567 search json --lang=php,nodejs
|
195
195
|
```
|
196
196
|
|
197
|
+
###### Timeouts
|
198
|
+
|
199
|
+
The best place to manage timeouts for a single run is to use commandline flags.
|
200
|
+
|
201
|
+
```
|
202
|
+
$> veye --timeout=100 --open_timeout=10 ping
|
203
|
+
```
|
204
|
+
|
205
|
+
**NB!** unit of timeout is a second and it's doesnt accepts milliseconds. Therefore smallest timeout is 1second and you can use -1 as infinite timeout.
|
206
|
+
|
207
|
+
If you want to change timeout settings permanently, then you shall change timeout values in your `.veye.rc` file.
|
208
|
+
|
209
|
+
###### Updating options file
|
210
|
+
|
211
|
+
There may be a situation when you need to update/re-write saved config file. Then you you can use `veye initconfig --force` command to re-write already existing configuration file.
|
212
|
+
|
197
213
|
### Package information
|
198
214
|
|
199
215
|
Ok, thats most trickiest part of our tool. You need to prepend a language of package just before product's key. For example, if you have Java package with product key junit/junit, then you have to encode this value as: `java/junit/junit`.
|
@@ -295,9 +311,9 @@ This command removes the specified project from your project's list.
|
|
295
311
|
$> veye me
|
296
312
|
```
|
297
313
|
|
298
|
-
|
314
|
+
###### Favorite packages
|
299
315
|
|
300
|
-
`me` command has a `favorite`
|
316
|
+
`me` command has a `favorite` subcommand, which returns all packages you're currently following.
|
301
317
|
|
302
318
|
```
|
303
319
|
$> veye me favorites
|
@@ -368,4 +384,4 @@ This command makes authorized request to the Github search api for repositories
|
|
368
384
|
$> veye github search versioneye
|
369
385
|
$> veye github search json --language=php --page=2 ;; filter results by language
|
370
386
|
$> veye github search veye --user versioneye ;; filter results by users
|
371
|
-
```
|
387
|
+
```
|
data/bin/veye
CHANGED
@@ -4,13 +4,14 @@ require 'gli'
|
|
4
4
|
require 'rest_client'
|
5
5
|
require 'json'
|
6
6
|
require 'rainbow'
|
7
|
+
require 'rainbow/ext/string'
|
7
8
|
|
8
9
|
require 'veye'
|
9
10
|
|
10
11
|
include GLI::App
|
11
12
|
|
12
13
|
program_desc 'VersionEye commandline tool'
|
13
|
-
program_long_desc Veye::BIGEYE.
|
14
|
+
program_long_desc Rainbow(Veye::BIGEYE).green
|
14
15
|
|
15
16
|
wrap_help_text :verbatim
|
16
17
|
version Veye::VERSION
|
@@ -40,6 +41,12 @@ flag :ssl_path, :default_value => "~/.ssh"
|
|
40
41
|
desc "don't use colors"
|
41
42
|
switch 'color', :default_value => true, :negetable => true
|
42
43
|
|
44
|
+
desc 'force timeout (in seconds)'
|
45
|
+
flag :timeout, :default_value => 180
|
46
|
+
|
47
|
+
desc 'force open timeout (in seconds)'
|
48
|
+
flag :open_timeout, :default_value => 20
|
49
|
+
|
43
50
|
pre do |global_options, command, args|
|
44
51
|
check_config_file
|
45
52
|
$global_options = init_environment
|
@@ -87,7 +94,8 @@ command :search do |c|
|
|
87
94
|
:negatable => true
|
88
95
|
|
89
96
|
c.action do |global_options, options, args|
|
90
|
-
|
97
|
+
error_msg = "the search term is mandatory.".color(:red)
|
98
|
+
help_now!(error_msg) if args.empty?
|
91
99
|
search_term = args.shift
|
92
100
|
Veye::Package::Search.search(search_term, options)
|
93
101
|
end
|
@@ -100,7 +108,8 @@ command :info do |c|
|
|
100
108
|
c.flag [:format, 'format-name'], :default_value => 'pretty'
|
101
109
|
|
102
110
|
c.action do |global_options, options, args|
|
103
|
-
|
111
|
+
error_msg = Rainbow("package_key is missing").red
|
112
|
+
help_now!(error_msg) if args.empty?
|
104
113
|
package_key = args.shift
|
105
114
|
response = Veye::Package::Info.get_package(package_key, options)
|
106
115
|
end
|
@@ -114,7 +123,7 @@ command :check do |c|
|
|
114
123
|
c.flag [:format, 'format-name'], :default_value => 'pretty'
|
115
124
|
|
116
125
|
c.action do |global_options, options, args|
|
117
|
-
help_now!("Project file is missing.".
|
126
|
+
help_now!("Project file is missing.".color(:red)) if args.empty?
|
118
127
|
file_name = args.shift
|
119
128
|
api_key = global_options[:api_key]
|
120
129
|
response = Veye::Project::Check.upload(file_name, api_key, options)
|
@@ -140,7 +149,7 @@ command :projects do |c|
|
|
140
149
|
c.arg_name "project_key"
|
141
150
|
c.command :info do |info|
|
142
151
|
info.action do |global_options, options, args|
|
143
|
-
help_now!("Project_key is unspecified".
|
152
|
+
help_now!("Project_key is unspecified".color(:red)) if args.empty?
|
144
153
|
proj_key = args.shift
|
145
154
|
api_key = global_options[:api_key]
|
146
155
|
Veye::Project::Check.get_project(proj_key, api_key, options)
|
@@ -151,7 +160,7 @@ command :projects do |c|
|
|
151
160
|
c.arg_name "filepath"
|
152
161
|
c.command :upload do |upload|
|
153
162
|
upload.action do |global_options, options, args|
|
154
|
-
help_now!("The filepath is missing.".
|
163
|
+
help_now!("The filepath is missing.".color(:red)) if args.empty?
|
155
164
|
filename = args.shift
|
156
165
|
api_key = global_options[:api_key]
|
157
166
|
Veye::Project::Check.upload(filename, api_key, options)
|
@@ -162,8 +171,8 @@ command :projects do |c|
|
|
162
171
|
c.arg_name "project_key_and_filepath", multiple: true
|
163
172
|
c.command :update do |update|
|
164
173
|
update.action do |global_options, options, args|
|
165
|
-
help_now!("The project key and the filepath are missing".
|
166
|
-
help_now!("One argument is missing: a project key or filepath".
|
174
|
+
help_now!("The project key and the filepath are missing".color(:red)) if args.empty?
|
175
|
+
help_now!("One argument is missing: a project key or filepath".color(:red)) if args.count == 1
|
167
176
|
|
168
177
|
project_key, filename = args
|
169
178
|
api_key = global_options[:api_key]
|
@@ -175,7 +184,7 @@ command :projects do |c|
|
|
175
184
|
c.arg_name "project_key"
|
176
185
|
c.command :licenses do |licences|
|
177
186
|
licences.action do |global_options, options, args|
|
178
|
-
help_now!("Project's key is unspecified".
|
187
|
+
help_now!("Project's key is unspecified".color(:red)) if args.empty?
|
179
188
|
proj_key = args.shift
|
180
189
|
api_key = global_options[:api_key]
|
181
190
|
Veye::Project::Licence.get_project(proj_key, api_key, options)
|
@@ -186,7 +195,7 @@ command :projects do |c|
|
|
186
195
|
c.arg_name "project_key"
|
187
196
|
c.command :delete do |delete|
|
188
197
|
delete.action do |global_options, options, args|
|
189
|
-
help_now!("Project is missing".
|
198
|
+
help_now!("Project is missing".color(:red)) if args.empty?
|
190
199
|
proj_key = args.shift
|
191
200
|
api_key = global_options[:api_key]
|
192
201
|
Veye::Project::Check.delete_project(proj_key, api_key)
|
@@ -203,7 +212,7 @@ command :products do |c|
|
|
203
212
|
c.arg_name "prod_key"
|
204
213
|
c.command :following do |following|
|
205
214
|
following.action do |global_options, options, args|
|
206
|
-
help_now!("Product's key is missing".
|
215
|
+
help_now!("Product's key is missing".color(:red)) if args.empty?
|
207
216
|
prod_key = args.shift
|
208
217
|
api_key = global_options[:api_key]
|
209
218
|
Veye::Package::Follow.get_follow_status(prod_key, api_key)
|
@@ -214,7 +223,7 @@ command :products do |c|
|
|
214
223
|
c.arg_name "prod_key"
|
215
224
|
c.command :follow do |follow|
|
216
225
|
follow.action do |global_options, options, args|
|
217
|
-
help_now!("Product's key is missing".
|
226
|
+
help_now!("Product's key is missing".color(:red)) if args.empty?
|
218
227
|
prod_key = args.shift
|
219
228
|
api_key = global_options[:api_key]
|
220
229
|
Veye::Package::Follow.follow(prod_key, api_key)
|
@@ -225,7 +234,7 @@ command :products do |c|
|
|
225
234
|
c.arg_name "prod_key"
|
226
235
|
c.command :unfollow do |unfollow|
|
227
236
|
unfollow.action do |global_options, options, args|
|
228
|
-
help_now!("Product's key is missing".
|
237
|
+
help_now!("Product's key is missing".color(:red)) if args.empty?
|
229
238
|
prod_key = args.shift
|
230
239
|
api_key = global_options[:api_key]
|
231
240
|
Veye::Package::Follow.unfollow(prod_key, api_key)
|
@@ -318,7 +327,7 @@ command :github do |c|
|
|
318
327
|
c.arg_name "search_term"
|
319
328
|
c.command :search do |gsearch|
|
320
329
|
gsearch.action do |global_options, options, args|
|
321
|
-
help_now!("the search term is mandatory.".
|
330
|
+
help_now!("the search term is mandatory.".color(:red)) if args.empty?
|
322
331
|
search_term = args.shift
|
323
332
|
api_key = global_options[:api_key]
|
324
333
|
Veye::Github::Search.search(api_key, search_term, options)
|
@@ -329,7 +338,7 @@ command :github do |c|
|
|
329
338
|
c.arg_name "repo_name"
|
330
339
|
c.command :info do |info|
|
331
340
|
info.action do |global_options, options, args|
|
332
|
-
help_now!("the name of repository is mandatory".
|
341
|
+
help_now!("the name of repository is mandatory".color(:red)) if args.empty?
|
333
342
|
repo_name = args.shift
|
334
343
|
api_key = global_options[:api_key]
|
335
344
|
Veye::Github::Info.get_repo(api_key, repo_name, options)
|
@@ -340,7 +349,7 @@ command :github do |c|
|
|
340
349
|
c.arg_name "repo_name"
|
341
350
|
c.command :import do |imp|
|
342
351
|
imp.action do |global_options, options, args|
|
343
|
-
help_now!("the name of repository is mandatory".
|
352
|
+
help_now!("the name of repository is mandatory".color(:red)) if args.empty?
|
344
353
|
repo_name = args.shift
|
345
354
|
api_key = global_options[:api_key]
|
346
355
|
Veye::Github::Import.import_repo(api_key, repo_name, options)
|
@@ -351,7 +360,7 @@ command :github do |c|
|
|
351
360
|
c.arg_name "repo_name"
|
352
361
|
c.command :delete do |del|
|
353
362
|
del.action do |global_options, options, args|
|
354
|
-
help_now!("the name of repository is mandatory".
|
363
|
+
help_now!("the name of repository is mandatory".color(:red)) if args.empty?
|
355
364
|
repo_name = args.shift
|
356
365
|
api_key = global_options[:api_key]
|
357
366
|
Veye::Github::Delete.delete_repo(api_key, repo_name, options)
|
data/lib/veye/api/resource.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
require 'rest_client'
|
2
2
|
require_relative 'base_resource.rb'
|
3
3
|
|
4
|
-
|
5
4
|
#for ssl keys:
|
6
5
|
#openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -nodes
|
7
6
|
module Veye
|
@@ -10,7 +9,12 @@ module Veye
|
|
10
9
|
def initialize(path = nil)
|
11
10
|
super(path)
|
12
11
|
ssl_path = File.expand_path($global_options[:ssl_path])
|
13
|
-
|
12
|
+
timeout = $global_options[:timeout].to_i || 90
|
13
|
+
open_timeout = $global_options[:open_timeout].to_i || 10
|
14
|
+
|
15
|
+
@resource = RestClient::Resource.new(@full_path,
|
16
|
+
timeout: timeout,
|
17
|
+
open_timeout: open_timeout)
|
14
18
|
end
|
15
19
|
end
|
16
20
|
end
|
data/lib/veye/base_executor.rb
CHANGED
@@ -16,9 +16,9 @@ class BaseExecutor
|
|
16
16
|
def self.catch_request_error(response, msg)
|
17
17
|
if response.nil? or not response.success
|
18
18
|
error_msg = sprintf("%s\n%s\n",
|
19
|
-
"#{msg}".
|
19
|
+
"#{msg}".color(:red),
|
20
20
|
"#{response.data}")
|
21
21
|
exit_now! error_msg
|
22
22
|
end
|
23
23
|
end
|
24
|
-
end
|
24
|
+
end
|
data/lib/veye/github/delete.rb
CHANGED
@@ -23,10 +23,10 @@ module Veye
|
|
23
23
|
|
24
24
|
def self.show_result(response)
|
25
25
|
unless response.success
|
26
|
-
printf("Cant delete - %s\n%s\n", response.message.
|
26
|
+
printf("Cant delete - %s\n%s\n", response.message.color(:red),
|
27
27
|
response.data['error'])
|
28
28
|
else
|
29
|
-
printf "Deleted\n".
|
29
|
+
printf "Deleted\n".color(:green)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
data/lib/veye/github/list.rb
CHANGED
@@ -19,7 +19,7 @@ module Veye
|
|
19
19
|
params[:page] = options[:page] || 1
|
20
20
|
params[:lang] = options[:lang].to_s.downcase if options[:lang]
|
21
21
|
unless options[:private].nil?
|
22
|
-
params[:private] = (options[:private] == 'true') || (options[:private] == 't')
|
22
|
+
params[:private] = (options[:private] == 'true') || (options[:private] == 't')
|
23
23
|
end
|
24
24
|
params[:org_name] = options[:org] if options[:org]
|
25
25
|
params[:org_type] = options['org-type'] if options['org-type']
|
data/lib/veye/github/sync.rb
CHANGED
@@ -22,10 +22,10 @@ module Veye
|
|
22
22
|
def self.show_result(response)
|
23
23
|
unless response.data["changed"]
|
24
24
|
printf("%s - %s\n",
|
25
|
-
"No changes.".
|
25
|
+
"No changes.".color(:red),
|
26
26
|
"Use `force` flag if you want to reload everything.")
|
27
27
|
else
|
28
|
-
printf "Imported. #{response.data['msg']}\n".
|
28
|
+
printf "Imported. #{response.data['msg']}\n".color(:green)
|
29
29
|
end
|
30
30
|
end
|
31
31
|
end
|
@@ -1,10 +1,12 @@
|
|
1
|
+
require 'rainbow/ext/string'
|
2
|
+
|
1
3
|
module FormatHelpers
|
2
4
|
def supported_format?(output_formats, format)
|
3
5
|
if output_formats.nil?
|
4
6
|
exit_now! "Executor doesnt have any formattor defined."
|
5
7
|
end
|
6
8
|
unless output_formats.has_key?(format)
|
7
|
-
msg = "This command doesnt support output format: `#{format}`\n".
|
9
|
+
msg = "This command doesnt support output format: `#{format}`\n".color(:red)
|
8
10
|
msg += "Supported formats: #{output_formats.keys.join(', ')}\n"
|
9
11
|
exit_now! msg
|
10
12
|
end
|
data/lib/veye/package/follow.rb
CHANGED
@@ -58,7 +58,7 @@ module Veye
|
|
58
58
|
def self.show_result(response)
|
59
59
|
result = response.data
|
60
60
|
return if result.nil?
|
61
|
-
printf "Following `#{result['prod_key']}`: #{result['follows']}\n".
|
61
|
+
printf "Following `#{result['prod_key']}`: #{result['follows']}\n".color(:green)
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|
data/lib/veye/package/info.rb
CHANGED
@@ -24,7 +24,7 @@ module Veye
|
|
24
24
|
Example: clojure/ztellman/aleph, which as required structure <prog lang>/<product_code>
|
25
25
|
]
|
26
26
|
error_msg = sprrintf("%s. \n%s",
|
27
|
-
"Error: Malformed key.".
|
27
|
+
"Error: Malformed key.".color(:red),
|
28
28
|
msg)
|
29
29
|
exit_now!(error_msg)
|
30
30
|
end
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'rainbow'
|
2
|
+
require 'rainbow/ext/string'
|
2
3
|
|
3
4
|
module Veye
|
4
5
|
module Pagination
|
@@ -8,7 +9,7 @@ module Veye
|
|
8
9
|
|
9
10
|
def format(paging)
|
10
11
|
printf("\t%15s - %s\n",
|
11
|
-
"Current page".
|
12
|
+
"Current page".color(:green).bright,
|
12
13
|
"#{paging['current_page']}".bright)
|
13
14
|
puts "\t-------------------------"
|
14
15
|
printf("\t%-15s: %s\n", "Per page", paging['per_page'])
|
data/lib/veye/project/check.rb
CHANGED
@@ -41,9 +41,8 @@ module Veye
|
|
41
41
|
|
42
42
|
unless File.exists?(file_path)
|
43
43
|
error_msg = sprintf("%s: Cant read file `%s`",
|
44
|
-
"Error".
|
45
|
-
"#{filename}".
|
46
|
-
)
|
44
|
+
"Error".color(:red),
|
45
|
+
"#{filename}".color(:yellow))
|
47
46
|
exit_now!(error_msg)
|
48
47
|
end
|
49
48
|
|
@@ -53,6 +52,8 @@ module Veye
|
|
53
52
|
end
|
54
53
|
|
55
54
|
project_api = API::Resource.new(RESOURCE_PATH)
|
55
|
+
puts "built new project_api successfully"
|
56
|
+
|
56
57
|
file_obj = File.open(file_path, 'rb')
|
57
58
|
|
58
59
|
upload_data = {
|
@@ -75,8 +76,8 @@ module Veye
|
|
75
76
|
|
76
77
|
unless File.exists?(file_path)
|
77
78
|
error_msg = sprintf("%s: Cant read file `%s`",
|
78
|
-
"Error".
|
79
|
-
"#{filename}".
|
79
|
+
"Error".color(:red),
|
80
|
+
"#{filename}".color(:yellow)
|
80
81
|
)
|
81
82
|
exit_now!(error_msg)
|
82
83
|
end
|
@@ -106,7 +107,7 @@ module Veye
|
|
106
107
|
|
107
108
|
if project_key.nil? or project_key.empty?
|
108
109
|
error_msg = sprintf("%s: %s",
|
109
|
-
"Error".
|
110
|
+
"Error".color(:red),
|
110
111
|
"Not valid project_key: `#{project_key}`")
|
111
112
|
exit_now! error_msg
|
112
113
|
end
|
@@ -151,10 +152,10 @@ module Veye
|
|
151
152
|
def self.show_message(results, success_msg, fail_msg)
|
152
153
|
unless results.success
|
153
154
|
printf("Error: %s\n%s\n",
|
154
|
-
fail_message.
|
155
|
+
fail_message.color(:red),
|
155
156
|
response.data['error'])
|
156
157
|
else
|
157
|
-
printf "#{success_msg}\n".
|
158
|
+
printf "#{success_msg}\n".color(:green)
|
158
159
|
end
|
159
160
|
end
|
160
161
|
end
|
data/lib/veye/project/licence.rb
CHANGED
data/lib/veye/project.rb
CHANGED
data/lib/veye/service.rb
CHANGED
@@ -13,12 +13,12 @@ module Veye
|
|
13
13
|
|
14
14
|
def self.show_result(result)
|
15
15
|
if result.success
|
16
|
-
puts "#{result.data['message']}".
|
16
|
+
puts "#{result.data['message']}".color(:green)
|
17
17
|
else
|
18
18
|
printf(
|
19
19
|
"VersionEye didnt recognized secret word.Answered %s, %s\n",
|
20
|
-
result.code.to_s.
|
21
|
-
"#{result.message}".
|
20
|
+
result.code.to_s.color(:red),
|
21
|
+
"#{result.message}".color(:yellow)
|
22
22
|
)
|
23
23
|
end
|
24
24
|
end
|
data/lib/veye/version.rb
CHANGED
@@ -11,7 +11,7 @@ module Veye
|
|
11
11
|
printf(
|
12
12
|
"%3d - %s\n",
|
13
13
|
index + 1,
|
14
|
-
"#{result['name']}".
|
14
|
+
"#{result['name']}".color(:green).bright
|
15
15
|
)
|
16
16
|
printf("\t%-15s: %s\n", "Language", result['language'])
|
17
17
|
printf("\t%-15s: %s\n", "Owner name", result['owner_login'])
|
@@ -13,7 +13,7 @@ module Veye
|
|
13
13
|
printf(
|
14
14
|
"%3d - %s\n",
|
15
15
|
index + 1,
|
16
|
-
"#{result["name"]}".
|
16
|
+
"#{result["name"]}".color(:green).bright
|
17
17
|
)
|
18
18
|
printf("\t%-15s: %s\n", 'language', result['language'])
|
19
19
|
printf("\t%-15s: %s\n", 'owner_name', result['owner_name'])
|
@@ -7,7 +7,7 @@ module Veye
|
|
7
7
|
result = results
|
8
8
|
return if result.nil?
|
9
9
|
|
10
|
-
printf("\t%15s - %s\n", "#{result['name']}".
|
10
|
+
printf("\t%15s - %s\n", "#{result['name']}".color(:green).bright,
|
11
11
|
"#{result['version'].bright}")
|
12
12
|
printf("\t%-15s: %s\n", "Language", result["language"])
|
13
13
|
printf("\t%-15s: %s\n", "License", result["license_info"])
|
@@ -10,10 +10,10 @@ module Veye
|
|
10
10
|
items.each_with_index do |result, index|
|
11
11
|
printf("%3d - %s\n",
|
12
12
|
index + 1,
|
13
|
-
"#{result["name"]}".
|
13
|
+
"#{result["name"]}".color(:green).bright)
|
14
14
|
printf("\t%-15s: %s\n", "Product key", result["prod_key"])
|
15
15
|
printf("\t%-15s: %s\n", "Latest version",
|
16
|
-
|
16
|
+
"#{result["version"]}".color(:green).bright)
|
17
17
|
printf("\t%-15s: %s\n", "Language", result["language"])
|
18
18
|
|
19
19
|
if result.has_key? "group_id" and not result["group_id"].empty?
|
@@ -7,16 +7,16 @@ module Veye
|
|
7
7
|
return if results.nil?
|
8
8
|
results = [results] if results.is_a?(Hash)
|
9
9
|
results.each_with_index do |result, index|
|
10
|
-
project_name = "#{result['name']}".
|
10
|
+
project_name = "#{result['name']}".color(:green).bright
|
11
11
|
printf("%3d - %s\n", index + 1, project_name)
|
12
12
|
printf("\t%-15s: %s\n", "Product key", result["prod_key"])
|
13
13
|
|
14
|
-
|
14
|
+
color_code = (result["outdated"] == true) ? :red : :green
|
15
15
|
printf("\t%-15s: %s\n", "Outdated",
|
16
|
-
"#{result['outdated']}".
|
16
|
+
"#{result['outdated']}".color(color_code))
|
17
17
|
|
18
18
|
printf("\t%-15s: %s\n", "Current version",
|
19
|
-
"#{result['version_current']}".
|
19
|
+
"#{result['version_current']}".color(color_code))
|
20
20
|
|
21
21
|
printf("\t%-15s: %s\n", "Requested version", result["version_requested"])
|
22
22
|
printf("\t%-15s: %s\n", "License", result["license"])
|
@@ -4,7 +4,7 @@ module Veye
|
|
4
4
|
module Project
|
5
5
|
class DependencyTable < BaseTable
|
6
6
|
def initialize
|
7
|
-
headings = %w{index name prod_key
|
7
|
+
headings = %w{index name prod_key version_current version_requested outdated stable license}
|
8
8
|
super("Project dependencies", headings)
|
9
9
|
end
|
10
10
|
def format(results)
|
@@ -16,7 +16,7 @@ module Veye
|
|
16
16
|
result["prod_key"],
|
17
17
|
result["version_current"],
|
18
18
|
result["version_requested"],
|
19
|
-
result["outdated"] ? "outdated":"",
|
19
|
+
result["outdated"] ? "outdated":"no",
|
20
20
|
result["stable"] ? "stable": "unstable",
|
21
21
|
result["license"]]
|
22
22
|
@table << row
|
@@ -4,7 +4,7 @@ module Veye
|
|
4
4
|
module Project
|
5
5
|
class InfoCSV < BaseCSV
|
6
6
|
def initialize
|
7
|
-
headers = "nr,name,project_key,
|
7
|
+
headers = "nr,name,project_key,public,period,source,dep_number,out_number,created_at"
|
8
8
|
super(headers)
|
9
9
|
end
|
10
10
|
def format(results)
|
@@ -16,7 +16,7 @@ module Veye
|
|
16
16
|
index + 1,
|
17
17
|
result['name'],
|
18
18
|
result['project_key'],
|
19
|
-
result['
|
19
|
+
result['public'],
|
20
20
|
result['period'],
|
21
21
|
result['source'],
|
22
22
|
result['dep_number'],
|
@@ -9,15 +9,15 @@ module Veye
|
|
9
9
|
results = [results] if results.is_a? Hash
|
10
10
|
|
11
11
|
results.each_with_index do |result, index|
|
12
|
-
project_name = "#{result['name']}".
|
12
|
+
project_name = "#{result['name']}".color(:green).bright
|
13
13
|
printf("%3d - %s\n", index + 1, project_name)
|
14
14
|
printf("\t%-15s: %s\n", "Project key", "#{result['project_key']}".bright)
|
15
15
|
printf("\t%-15s: %s\n", "Project type", result['project_type'])
|
16
|
-
printf("\t%-15s: %s\n", "
|
16
|
+
printf("\t%-15s: %s\n", "Public", result['public'])
|
17
17
|
printf("\t%-15s: %s\n", "Period", result['period'])
|
18
18
|
printf("\t%-15s: %s\n", "Source", result['source'])
|
19
|
-
printf("\t%-15s: %s\n", "Dependencies", result['dep_number'])
|
20
|
-
printf("\t%-15s: %s\n", "Outdated", result['out_number'])
|
19
|
+
printf("\t%-15s: %s\n", "Dependencies", result['dep_number'].to_s.bright)
|
20
|
+
printf("\t%-15s: %s\n", "Outdated", result['out_number'].to_s.color(:red))
|
21
21
|
printf("\t%-15s: %s\n", "Created", result['created_at'])
|
22
22
|
|
23
23
|
end
|
@@ -9,7 +9,7 @@ module Veye
|
|
9
9
|
n = 1
|
10
10
|
results["licenses"].each_pair do |licence, products|
|
11
11
|
product_keys = products.map {|prod| prod["prod_key"]}
|
12
|
-
licence_name = "#{licence}".
|
12
|
+
licence_name = "#{licence}".color(:green).bright
|
13
13
|
printf("%3d - %s\n", n, licence_name)
|
14
14
|
printf("\t%-15s : %s\n", "Products", product_keys.join(", "))
|
15
15
|
|
data/lib/veye/views/project.rb
CHANGED
@@ -5,7 +5,7 @@ module Veye
|
|
5
5
|
class ProfilePretty < BasePretty
|
6
6
|
def print_row(profile, index = 1)
|
7
7
|
printf("\t%15s - %s\n",
|
8
|
-
"#{profile['username']}".
|
8
|
+
"#{profile['username']}".color(:green).bright,
|
9
9
|
"#{profile['fullname'].bright}")
|
10
10
|
printf("\t%-15s: %s\n", "Email", profile['email'])
|
11
11
|
printf("\t%-15s: %s\n", "Plan name", profile['plan_name_id'])
|
data/lib/veye.rb
CHANGED
@@ -30,7 +30,7 @@ end
|
|
30
30
|
def check_config_file
|
31
31
|
unless config_exists?
|
32
32
|
msg = sprintf("%s: %s\n",
|
33
|
-
"config file doesnt exist. ".
|
33
|
+
"config file doesnt exist. ".color(:red),
|
34
34
|
"Use `veye initconfig` to initialize settings file.")
|
35
35
|
exit_now!(msg)
|
36
36
|
end
|
@@ -48,11 +48,10 @@ end
|
|
48
48
|
|
49
49
|
def init_environment
|
50
50
|
#sets up required variables and modules to work on IRB or unittest
|
51
|
-
config_file = get_config_fullpath
|
51
|
+
config_file = get_config_fullpath
|
52
52
|
$global_options = YAML.load_file(config_file)
|
53
|
-
$global_options[:config_file] = config_file
|
53
|
+
$global_options[:config_file] = config_file
|
54
54
|
$global_options[:url] = Veye::API::Resource.build_url($global_options)
|
55
|
-
|
56
55
|
$global_options
|
57
56
|
end
|
58
57
|
|
@@ -60,7 +59,7 @@ def check_api_key(global_opts)
|
|
60
59
|
result = false
|
61
60
|
if global_opts[:api_key].nil? or global_opts[:api_key].match("add your api key")
|
62
61
|
msg = sprintf("%s: %s\n",
|
63
|
-
"Warning: API key is missing.".
|
62
|
+
"Warning: API key is missing.".color(:yellow),
|
64
63
|
"You cant access private data.")
|
65
64
|
print msg
|
66
65
|
else
|
@@ -108,7 +107,7 @@ def save_configs
|
|
108
107
|
f.puts $global_options.to_yaml
|
109
108
|
end
|
110
109
|
msg = sprintf("%s: %s",
|
111
|
-
"Success".
|
110
|
+
"Success".color(:green),
|
112
111
|
"new settings are saved into file: `#{filepath}`\n")
|
113
112
|
print msg
|
114
113
|
end
|
metadata
CHANGED
@@ -1,166 +1,147 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: veye
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.8
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.8.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- VersionEye GMBH
|
9
|
-
-
|
10
|
-
-
|
8
|
+
- "@timgluz"
|
9
|
+
- "@robertreiz"
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date: 2014-
|
13
|
+
date: 2014-07-02 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: rake
|
18
17
|
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
18
|
requirements:
|
21
|
-
- - ~>
|
19
|
+
- - "~>"
|
22
20
|
- !ruby/object:Gem::Version
|
23
|
-
version: 10.
|
21
|
+
version: '10.3'
|
24
22
|
type: :development
|
25
23
|
prerelease: false
|
26
24
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
25
|
requirements:
|
29
|
-
- - ~>
|
26
|
+
- - "~>"
|
30
27
|
- !ruby/object:Gem::Version
|
31
|
-
version: 10.
|
28
|
+
version: '10.3'
|
32
29
|
- !ruby/object:Gem::Dependency
|
33
30
|
name: rdoc
|
34
31
|
requirement: !ruby/object:Gem::Requirement
|
35
|
-
none: false
|
36
32
|
requirements:
|
37
|
-
- - ~>
|
33
|
+
- - "~>"
|
38
34
|
- !ruby/object:Gem::Version
|
39
|
-
version: '4.
|
35
|
+
version: '4.1'
|
40
36
|
type: :development
|
41
37
|
prerelease: false
|
42
38
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
39
|
requirements:
|
45
|
-
- - ~>
|
40
|
+
- - "~>"
|
46
41
|
- !ruby/object:Gem::Version
|
47
|
-
version: '4.
|
42
|
+
version: '4.1'
|
48
43
|
- !ruby/object:Gem::Dependency
|
49
44
|
name: aruba
|
50
45
|
requirement: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
46
|
requirements:
|
53
|
-
- - ~>
|
47
|
+
- - "~>"
|
54
48
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
49
|
+
version: '0.6'
|
56
50
|
type: :development
|
57
51
|
prerelease: false
|
58
52
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
53
|
requirements:
|
61
|
-
- - ~>
|
54
|
+
- - "~>"
|
62
55
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.
|
56
|
+
version: '0.6'
|
64
57
|
- !ruby/object:Gem::Dependency
|
65
58
|
name: gli
|
66
59
|
requirement: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
60
|
requirements:
|
69
|
-
- - ~>
|
61
|
+
- - "~>"
|
70
62
|
- !ruby/object:Gem::Version
|
71
|
-
version: 2.
|
63
|
+
version: '2.11'
|
72
64
|
type: :runtime
|
73
65
|
prerelease: false
|
74
66
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
67
|
requirements:
|
77
|
-
- - ~>
|
68
|
+
- - "~>"
|
78
69
|
- !ruby/object:Gem::Version
|
79
|
-
version: 2.
|
70
|
+
version: '2.11'
|
80
71
|
- !ruby/object:Gem::Dependency
|
81
72
|
name: rest-client
|
82
73
|
requirement: !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
74
|
requirements:
|
85
|
-
- - ~>
|
75
|
+
- - "~>"
|
86
76
|
- !ruby/object:Gem::Version
|
87
|
-
version: 1.6
|
77
|
+
version: '1.6'
|
88
78
|
type: :runtime
|
89
79
|
prerelease: false
|
90
80
|
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
none: false
|
92
81
|
requirements:
|
93
|
-
- - ~>
|
82
|
+
- - "~>"
|
94
83
|
- !ruby/object:Gem::Version
|
95
|
-
version: 1.6
|
84
|
+
version: '1.6'
|
96
85
|
- !ruby/object:Gem::Dependency
|
97
86
|
name: awesome_print
|
98
87
|
requirement: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
88
|
requirements:
|
101
|
-
- - ~>
|
89
|
+
- - "~>"
|
102
90
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.2
|
91
|
+
version: '1.2'
|
104
92
|
type: :runtime
|
105
93
|
prerelease: false
|
106
94
|
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
95
|
requirements:
|
109
|
-
- - ~>
|
96
|
+
- - "~>"
|
110
97
|
- !ruby/object:Gem::Version
|
111
|
-
version: 1.2
|
98
|
+
version: '1.2'
|
112
99
|
- !ruby/object:Gem::Dependency
|
113
100
|
name: rainbow
|
114
101
|
requirement: !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
102
|
requirements:
|
117
|
-
- - ~>
|
103
|
+
- - "~>"
|
118
104
|
- !ruby/object:Gem::Version
|
119
|
-
version:
|
105
|
+
version: '2.0'
|
120
106
|
type: :runtime
|
121
107
|
prerelease: false
|
122
108
|
version_requirements: !ruby/object:Gem::Requirement
|
123
|
-
none: false
|
124
109
|
requirements:
|
125
|
-
- - ~>
|
110
|
+
- - "~>"
|
126
111
|
- !ruby/object:Gem::Version
|
127
|
-
version:
|
112
|
+
version: '2.0'
|
128
113
|
- !ruby/object:Gem::Dependency
|
129
114
|
name: terminal-table
|
130
115
|
requirement: !ruby/object:Gem::Requirement
|
131
|
-
none: false
|
132
116
|
requirements:
|
133
|
-
- - ~>
|
117
|
+
- - "~>"
|
134
118
|
- !ruby/object:Gem::Version
|
135
|
-
version: 1.4
|
119
|
+
version: '1.4'
|
136
120
|
type: :runtime
|
137
121
|
prerelease: false
|
138
122
|
version_requirements: !ruby/object:Gem::Requirement
|
139
|
-
none: false
|
140
123
|
requirements:
|
141
|
-
- - ~>
|
124
|
+
- - "~>"
|
142
125
|
- !ruby/object:Gem::Version
|
143
|
-
version: 1.4
|
126
|
+
version: '1.4'
|
144
127
|
- !ruby/object:Gem::Dependency
|
145
128
|
name: render-as-markdown
|
146
129
|
requirement: !ruby/object:Gem::Requirement
|
147
|
-
none: false
|
148
130
|
requirements:
|
149
|
-
- - ~>
|
131
|
+
- - "~>"
|
150
132
|
- !ruby/object:Gem::Version
|
151
|
-
version: 0.0
|
133
|
+
version: '0.0'
|
152
134
|
type: :runtime
|
153
135
|
prerelease: false
|
154
136
|
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
none: false
|
156
137
|
requirements:
|
157
|
-
- - ~>
|
138
|
+
- - "~>"
|
158
139
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0.0
|
160
|
-
description:
|
140
|
+
version: '0.0'
|
141
|
+
description: "\n Veye is commandline tool like Heroku has own ToolBelt,\n and
|
161
142
|
purpose of this tool is to make developer's life even\n more simpler and keep
|
162
143
|
you up-to-date with freshest packages.\n "
|
163
|
-
email:
|
144
|
+
email: reiz@versioneye.com
|
164
145
|
executables:
|
165
146
|
- veye
|
166
147
|
extensions: []
|
@@ -168,43 +149,52 @@ extra_rdoc_files:
|
|
168
149
|
- README.rdoc
|
169
150
|
- veye.rdoc
|
170
151
|
files:
|
152
|
+
- DEPENDENCIES.md
|
153
|
+
- Gemfile
|
154
|
+
- Gemfile.lock
|
155
|
+
- Makefile
|
156
|
+
- README.md
|
157
|
+
- README.rdoc
|
158
|
+
- Rakefile
|
159
|
+
- bin/veye
|
171
160
|
- lib/veye.rb
|
161
|
+
- lib/veye/api.rb
|
172
162
|
- lib/veye/api/base_resource.rb
|
173
163
|
- lib/veye/api/json_response.rb
|
174
164
|
- lib/veye/api/resource.rb
|
175
|
-
- lib/veye/api.rb
|
176
165
|
- lib/veye/base_executor.rb
|
166
|
+
- lib/veye/github.rb
|
177
167
|
- lib/veye/github/delete.rb
|
178
168
|
- lib/veye/github/import.rb
|
179
169
|
- lib/veye/github/info.rb
|
180
170
|
- lib/veye/github/list.rb
|
181
171
|
- lib/veye/github/search.rb
|
182
172
|
- lib/veye/github/sync.rb
|
183
|
-
- lib/veye/github.rb
|
184
173
|
- lib/veye/helpers/format_helpers.rb
|
185
174
|
- lib/veye/helpers/repo_helpers.rb
|
175
|
+
- lib/veye/package.rb
|
186
176
|
- lib/veye/package/follow.rb
|
187
177
|
- lib/veye/package/info.rb
|
188
178
|
- lib/veye/package/search.rb
|
189
|
-
- lib/veye/
|
179
|
+
- lib/veye/pagination.rb
|
190
180
|
- lib/veye/pagination/pagination_csv.rb
|
191
181
|
- lib/veye/pagination/pagination_json.rb
|
192
182
|
- lib/veye/pagination/pagination_pretty.rb
|
193
183
|
- lib/veye/pagination/pagination_table.rb
|
194
184
|
- lib/veye/pagination/show.rb
|
195
|
-
- lib/veye/
|
185
|
+
- lib/veye/project.rb
|
196
186
|
- lib/veye/project/check.rb
|
197
187
|
- lib/veye/project/licence.rb
|
198
|
-
- lib/veye/project.rb
|
199
188
|
- lib/veye/service.rb
|
200
|
-
- lib/veye/user/me.rb
|
201
189
|
- lib/veye/user.rb
|
190
|
+
- lib/veye/user/me.rb
|
202
191
|
- lib/veye/version.rb
|
203
192
|
- lib/veye/views/base_csv.rb
|
204
193
|
- lib/veye/views/base_json.rb
|
205
194
|
- lib/veye/views/base_markdown.rb
|
206
195
|
- lib/veye/views/base_pretty.rb
|
207
196
|
- lib/veye/views/base_table.rb
|
197
|
+
- lib/veye/views/github.rb
|
208
198
|
- lib/veye/views/github/info_csv.rb
|
209
199
|
- lib/veye/views/github/info_json.rb
|
210
200
|
- lib/veye/views/github/info_pretty.rb
|
@@ -217,7 +207,7 @@ files:
|
|
217
207
|
- lib/veye/views/github/search_json.rb
|
218
208
|
- lib/veye/views/github/search_pretty.rb
|
219
209
|
- lib/veye/views/github/search_table.rb
|
220
|
-
- lib/veye/views/
|
210
|
+
- lib/veye/views/package.rb
|
221
211
|
- lib/veye/views/package/info_csv.rb
|
222
212
|
- lib/veye/views/package/info_json.rb
|
223
213
|
- lib/veye/views/package/info_pretty.rb
|
@@ -226,7 +216,7 @@ files:
|
|
226
216
|
- lib/veye/views/package/search_json.rb
|
227
217
|
- lib/veye/views/package/search_pretty.rb
|
228
218
|
- lib/veye/views/package/search_table.rb
|
229
|
-
- lib/veye/views/
|
219
|
+
- lib/veye/views/project.rb
|
230
220
|
- lib/veye/views/project/dependency_csv.rb
|
231
221
|
- lib/veye/views/project/dependency_json.rb
|
232
222
|
- lib/veye/views/project/dependency_markdown.rb
|
@@ -241,7 +231,7 @@ files:
|
|
241
231
|
- lib/veye/views/project/licence_json.rb
|
242
232
|
- lib/veye/views/project/licence_pretty.rb
|
243
233
|
- lib/veye/views/project/licence_table.rb
|
244
|
-
- lib/veye/views/
|
234
|
+
- lib/veye/views/user.rb
|
245
235
|
- lib/veye/views/user/favorite_csv.rb
|
246
236
|
- lib/veye/views/user/favorite_json.rb
|
247
237
|
- lib/veye/views/user/favorite_pretty.rb
|
@@ -250,49 +240,39 @@ files:
|
|
250
240
|
- lib/veye/views/user/profile_json.rb
|
251
241
|
- lib/veye/views/user/profile_pretty.rb
|
252
242
|
- lib/veye/views/user/profile_table.rb
|
253
|
-
- lib/veye/views/user.rb
|
254
|
-
- bin/veye
|
255
|
-
- DEPENDENCIES.md
|
256
|
-
- Gemfile
|
257
|
-
- Gemfile.lock
|
258
|
-
- Makefile
|
259
|
-
- README.md
|
260
|
-
- README.rdoc
|
261
|
-
- Rakefile
|
262
243
|
- test/default_test.rb
|
263
244
|
- test/files/Gemfile
|
264
|
-
- test/files/maven-1.0.1.pom
|
245
|
+
- test/files/maven-1.0.1.pom.xml
|
265
246
|
- test/test_helper.rb
|
266
247
|
- veye.rdoc
|
267
248
|
homepage: https://github.com/versioneye/veye
|
268
249
|
licenses:
|
269
250
|
- MIT
|
270
|
-
|
251
|
+
metadata: {}
|
252
|
+
post_install_message: 'Thanks for installing! To get more info, use: veye help'
|
271
253
|
rdoc_options:
|
272
|
-
- --title
|
254
|
+
- "--title"
|
273
255
|
- veye
|
274
|
-
- --main
|
256
|
+
- "--main"
|
275
257
|
- README.rdoc
|
276
|
-
- -ri
|
258
|
+
- "-ri"
|
277
259
|
require_paths:
|
278
260
|
- lib
|
279
261
|
- lib
|
280
262
|
required_ruby_version: !ruby/object:Gem::Requirement
|
281
|
-
none: false
|
282
263
|
requirements:
|
283
|
-
- -
|
264
|
+
- - ">="
|
284
265
|
- !ruby/object:Gem::Version
|
285
266
|
version: '0'
|
286
267
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
287
|
-
none: false
|
288
268
|
requirements:
|
289
|
-
- -
|
269
|
+
- - ">="
|
290
270
|
- !ruby/object:Gem::Version
|
291
271
|
version: '0'
|
292
272
|
requirements: []
|
293
273
|
rubyforge_project:
|
294
|
-
rubygems_version:
|
274
|
+
rubygems_version: 2.2.2
|
295
275
|
signing_key:
|
296
|
-
specification_version:
|
276
|
+
specification_version: 4
|
297
277
|
summary: Commandline tool for VersionEye
|
298
278
|
test_files: []
|
File without changes
|