visual_studio 0.0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +5 -0
- data/Gemfile +2 -0
- data/README.md +19 -0
- data/Rakefile +2 -0
- data/lib/visual_studio.rb +2 -0
- data/lib/visual_studio/gem/version.rb +13 -0
- data/visual_studio.gemspec +25 -0
- data/visual_studio.sublime-project +19 -0
- metadata +94 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 75645ec6361687d82aefad85257fbb67275722b6
|
4
|
+
data.tar.gz: 35e5558a8d6596a7d4f38822345c2d66f46a28f8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 30ef1aa5fd7bf994f1d68741134f3d2f662ea0e887609d9190277d6ce37bd2d43d6eaf50550be69b9b66f0d2372441ed768e7334861e0e250577af0156703791
|
7
|
+
data.tar.gz: 84a9001a40364500956f6f2db518de866bd03193b5c2ad78f29e7a72c6425dcbc92aa80284be098d32cddb86cb2458e68130ed313eb77198fed561a2fab7da53
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# Visual Studio
|
2
|
+
|
3
|
+
[![Gem Version](https://img.shields.io/gem/v/visual_studio.svg)](https://rubygems.org/gems/visual_studio)
|
4
|
+
[![Build Status](https://img.shields.io/travis/mtwilliams/visual_studio/master.svg)](https://travis-ci.org/mtwilliams/visual_studio)
|
5
|
+
[![Code Climate](https://img.shields.io/codeclimate/github/mtwilliams/visual_studio.svg)](https://codeclimate.com/github/mtwilliams/visual_studio)
|
6
|
+
[![Dependency Status](https://img.shields.io/gemnasium/mtwilliams/visual_studio.svg)](https://gemnasium.com/mtwilliams/visual_studio)
|
7
|
+
|
8
|
+
This will (hopefully) become the de-facto gem for inspecting Visual Studio installs and generating Visual Studio project files. It was created for [Ryb](https://github.com/mtwilliams/ryb), a project file generator similar to Premake.
|
9
|
+
|
10
|
+
Documentation is on the back-burner, so for now:
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
VisualStudio.available? # true
|
14
|
+
vs = VisualStudio.find :vs2015
|
15
|
+
vs.name.pretty # "Visual Studio 2015"
|
16
|
+
vs.name # "vs2015"
|
17
|
+
vs.version # "14.0"
|
18
|
+
vs.install # "C:/Program Files (x86)/Microsoft Visual Studio 14.0/"
|
19
|
+
```
|
data/Rakefile
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
class VisualStudio
|
2
|
+
module Gem
|
3
|
+
module VERSION #:nodoc:
|
4
|
+
MAJOR, MINOR, PATCH, PRE = [0, 0, 0, 0]
|
5
|
+
STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
|
6
|
+
end
|
7
|
+
|
8
|
+
# Returns the semantic version of Visual Studio.
|
9
|
+
def self.version
|
10
|
+
VisualStudio::Gem::VERSION::STRING
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
$:.push File.expand_path(File.join(File.dirname(__FILE__), 'lib'))
|
2
|
+
require 'visual_studio/gem/version'
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = 'visual_studio'
|
6
|
+
s.version = VisualStudio::Gem.version
|
7
|
+
s.platform = Gem::Platform::RUBY
|
8
|
+
s.author = 'Michael Williams'
|
9
|
+
s.email = 'm.t.williams@live.com'
|
10
|
+
s.homepage = 'https://github.com/mtwilliams/visual_studio'
|
11
|
+
s.summary = 'Inspect Visual Studio installs and generate Visual Studio project files.'
|
12
|
+
s.description = 'This will (hopefully) become the de-facto gem for inspecting Visual Studio installs and generating Visual Studio project files.'
|
13
|
+
s.license = 'Public Domain'
|
14
|
+
|
15
|
+
s.required_ruby_version = '>= 1.9.3'
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
+
s.require_paths = %w(lib)
|
21
|
+
|
22
|
+
s.add_development_dependency 'rspec'
|
23
|
+
s.add_development_dependency 'cucumber'
|
24
|
+
s.add_development_dependency 'aruba'
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: visual_studio
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Michael Williams
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-09-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rspec
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: cucumber
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: aruba
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: This will (hopefully) become the de-facto gem for inspecting Visual Studio
|
56
|
+
installs and generating Visual Studio project files.
|
57
|
+
email: m.t.williams@live.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- Gemfile
|
64
|
+
- README.md
|
65
|
+
- Rakefile
|
66
|
+
- lib/visual_studio.rb
|
67
|
+
- lib/visual_studio/gem/version.rb
|
68
|
+
- visual_studio.gemspec
|
69
|
+
- visual_studio.sublime-project
|
70
|
+
homepage: https://github.com/mtwilliams/visual_studio
|
71
|
+
licenses:
|
72
|
+
- Public Domain
|
73
|
+
metadata: {}
|
74
|
+
post_install_message:
|
75
|
+
rdoc_options: []
|
76
|
+
require_paths:
|
77
|
+
- lib
|
78
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.9.3
|
83
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
requirements: []
|
89
|
+
rubyforge_project:
|
90
|
+
rubygems_version: 2.4.5
|
91
|
+
signing_key:
|
92
|
+
specification_version: 4
|
93
|
+
summary: Inspect Visual Studio installs and generate Visual Studio project files.
|
94
|
+
test_files: []
|