physique 0.2.2

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.
@@ -0,0 +1,22 @@
1
+ require 'physique'
2
+
3
+ include Physique::ToolLocator
4
+
5
+ describe Physique::ToolLocator do
6
+ if ::Rake::Win32.windows?
7
+ it 'should find tools on the path' do
8
+ result = which('ruby')
9
+ expect(result).to eq('ruby')
10
+ end
11
+
12
+ it 'should find tool based on file spec' do
13
+ result = locate_tool('C:/Program Files/Microsoft SQL Server/**/Tools/Binn/SQLCMD.EXE')
14
+ expect(result).to eq('C:/Program Files/Microsoft SQL Server/110/Tools/Binn/SQLCMD.EXE')
15
+ end
16
+
17
+ it 'should find tool based on file spec' do
18
+ result = Physique::ToolLocator.locate_tool('C:/Windows/Microsoft.NET/Framework/**/msbuild.exe')
19
+ expect(result).to match(%r{v4.0}i)
20
+ end
21
+ end
22
+ end
metadata ADDED
@@ -0,0 +1,151 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: physique
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.2
5
+ platform: ruby
6
+ authors:
7
+ - Robert Scaduto
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-07-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
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: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 2.14.1
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 2.14.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: activesupport
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '4.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '4.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: map
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '6.5'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '6.5'
69
+ - !ruby/object:Gem::Dependency
70
+ name: albacore
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 2.0.0.rc.12
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 2.0.0.rc.12
83
+ description: Beautiful builds for .NET projects
84
+ email:
85
+ - rscaduto@thirdwave.it
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - .gitignore
91
+ - Gemfile
92
+ - Gemfile.lock
93
+ - README.md
94
+ - Rakefile
95
+ - lib/physique.rb
96
+ - lib/physique/config.rb
97
+ - lib/physique/dsl.rb
98
+ - lib/physique/project.rb
99
+ - lib/physique/solution.rb
100
+ - lib/physique/task_builders/build.rb
101
+ - lib/physique/task_builders/default.rb
102
+ - lib/physique/task_builders/fluent_migrator.rb
103
+ - lib/physique/task_builders/nuget.rb
104
+ - lib/physique/task_builders/octopus.rb
105
+ - lib/physique/task_builders/publish_nugets.rb
106
+ - lib/physique/task_builders/test.rb
107
+ - lib/physique/tasks/fluent_migrator.rb
108
+ - lib/physique/tasks/nugets_pack.rb
109
+ - lib/physique/tasks/octopus_pack.rb
110
+ - lib/physique/tasks/sqlcmd.rb
111
+ - lib/physique/tasks/versionizer.rb
112
+ - lib/physique/tasks_builder.rb
113
+ - lib/physique/tool_locator.rb
114
+ - lib/physique/version.rb
115
+ - physique.gemspec
116
+ - spec/config_spec.rb
117
+ - spec/project_spec.rb
118
+ - spec/solution_spec.rb
119
+ - spec/sqlcmd_spec.rb
120
+ - spec/tool_locator_spec.rb
121
+ homepage: http://github.com/scardetto/physique
122
+ licenses:
123
+ - MIT
124
+ metadata: {}
125
+ post_install_message:
126
+ rdoc_options: []
127
+ require_paths:
128
+ - lib
129
+ required_ruby_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ required_rubygems_version: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ requirements: []
140
+ rubyforge_project:
141
+ rubygems_version: 2.4.1
142
+ signing_key:
143
+ specification_version: 4
144
+ summary: A conventional build framework supporting NUnit, FluentMigrator and Octopus
145
+ Deploy
146
+ test_files:
147
+ - spec/config_spec.rb
148
+ - spec/project_spec.rb
149
+ - spec/solution_spec.rb
150
+ - spec/sqlcmd_spec.rb
151
+ - spec/tool_locator_spec.rb