vfastdev 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/vfastdev +7 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8dc83f88d2acf880b7b49008ae4f34f1c0cd199
4
- data.tar.gz: 8c8419c09f9fce2a35458406cbfecf3e7c5e60d7
3
+ metadata.gz: 5e6ea8b62491ffa846dd406a267fe62f81d542a5
4
+ data.tar.gz: 4d77feeb69a7749d83570de95f5f7f3397763a01
5
5
  SHA512:
6
- metadata.gz: 3f3c801714e63e4cf7a48814397f9def1c6c006c36ee23a1de03435acd4a3609480f636f6741cd920e3343091d73913379596f6f31d146789cfadae3c878ae47
7
- data.tar.gz: cdba467d2399c84caf7443f7a211502d22eb10a3a75fb1d31fbfb648be3f3f701caffad26874f4f44d3328d3e4e416b5710af2babe18be4d4e058425683ee8bf
6
+ metadata.gz: 33b9faf510ef0e19e1e0ec68defcfb268a2808f65820c2439e1eb32151f44a8d71659094a1f992767619d4e09b080029271539fde1988114cdcecfde8a1c3fb7
7
+ data.tar.gz: 99069271d35b6c877d10b3ee0c7ca6a952414b57ae3dbbc919eef692934a2403818ae65ed32600376d59bb8209981d76c216834de775300f4ca3fc6ecf599c5b
data/bin/vfastdev CHANGED
@@ -49,7 +49,7 @@ EOF
49
49
 
50
50
  class VFastDev
51
51
  def initialize(options)
52
- @version = '0.1.3'
52
+ @version = '0.1.4'
53
53
  @vs_project_names = parse_vs_project_names
54
54
  @vs_framework_dir = 'VSFrameworks'
55
55
  @fastdev_dir = 'FastDev'
@@ -234,7 +234,11 @@ XML
234
234
  # 输出静态库版本信息
235
235
  def print_version_info
236
236
  begin
237
- open('http://192.168.33.79:8000/lib/latest_framework_info?app_id=Spec') do |f|
237
+ url = 'http://192.168.33.79:8000/lib/latest_framework_info?app_id=Spec'
238
+ unless @commit_hash.nil?
239
+ url = "http://192.168.33.79:8000/lib/framework_info?app_id=Spec&git_commit_hash=#{@commit_hash}"
240
+ end
241
+ open(url) do |f|
238
242
  puts "静态库版本信息: " + f.read
239
243
  end
240
244
  rescue StandardError, Timeout::Error, SystemCallError, Errno::ECONNREFUSED
@@ -332,7 +336,7 @@ option_parser = OptionParser.new do |opts|
332
336
  dev_opts[:no_download_lib] = true
333
337
  end
334
338
 
335
- opts.on('-c', '--commit-hash ', '指定库版本') do |hash|
339
+ opts.on('-c', '--commit-hash hash', '指定库版本') do |hash|
336
340
  dev_opts[:commit_hash] = hash
337
341
  end
338
342
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vfastdev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sen.Mao