physique 0.3.4 → 0.3.5
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.
- checksums.yaml +8 -8
- data/FLUENT_MIGRATOR.md +301 -0
- data/Gemfile.lock +2 -1
- data/README.md +338 -15
- data/RUBY_SETUP.md +40 -0
- data/lib/physique/{project.rb → project_path_resolver.rb} +15 -3
- data/lib/physique/task_builders/build.rb +12 -5
- data/lib/physique/task_builders/default.rb +11 -0
- data/lib/physique/task_builders/fluent_migrator.rb +42 -19
- data/lib/physique/task_builders/octopus.rb +5 -5
- data/lib/physique/tool_locator.rb +8 -0
- data/lib/physique/version.rb +1 -1
- data/physique.gemspec +1 -0
- data/spec/fluent_migrator_config_spec.rb +1 -3
- data/spec/project_spec.rb +25 -8
- data/spec/task_builders/build_spec.rb +2 -2
- data/spec/task_builders/fluent_migrator_spec.rb +48 -0
- data/spec/test_data/solutions/fluent-migrator/.semver +6 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/Basic.Migrations.csproj +64 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/Properties/AssemblyInfo.cs +36 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/TestMigration.cs +19 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/create.sql +2 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/drop.sql +5 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/seed.sql +2 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.Migrations/packages.config +4 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.Specs/Basic.Specs.csproj +60 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.Specs/Class1.cs +12 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.Specs/DebuggerShim.cs +42 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.Specs/Properties/AssemblyInfo.cs +36 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.Specs/packages.config +4 -0
- data/spec/test_data/solutions/fluent-migrator/Basic.sln +39 -0
- data/spec/test_data/solutions/fluent-migrator/Basic/Basic.csproj +56 -0
- data/spec/test_data/solutions/fluent-migrator/Basic/Class1.cs +12 -0
- data/spec/test_data/solutions/fluent-migrator/Basic/Properties/AssemblyInfo.cs +36 -0
- data/spec/test_data/solutions/fluent-migrator/Basic/packages.config +3 -0
- data/spec/test_data/solutions/fluent-migrator/Rakefile.rb +20 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/.semver +6 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Basic.Migrations1.csproj +53 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Class1.cs +12 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Properties/AssemblyInfo.cs +36 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Basic.Migrations2.csproj +53 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Class1.cs +12 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Properties/AssemblyInfo.cs +36 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Basic.Specs.csproj +60 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Class1.cs +12 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/DebuggerShim.cs +42 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Properties/AssemblyInfo.cs +36 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/packages.config +4 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic.sln +45 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic/Basic.csproj +56 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic/Class1.cs +12 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic/Properties/AssemblyInfo.cs +36 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Basic/packages.config +3 -0
- data/spec/test_data/solutions/multiple-fluent-migrator/Rakefile.rb +28 -0
- metadata +95 -3
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'physique'
|
2
|
+
|
3
|
+
Physique::Solution.new do |s|
|
4
|
+
s.file = 'Basic.sln'
|
5
|
+
|
6
|
+
s.use_nuget do |n|
|
7
|
+
n.exe = '../.nuget/nuget.exe'
|
8
|
+
n.restore_location = 'packages'
|
9
|
+
end
|
10
|
+
|
11
|
+
s.run_tests do |t|
|
12
|
+
t.runner = :nspec
|
13
|
+
end
|
14
|
+
|
15
|
+
s.fluently_migrate do |t|
|
16
|
+
t.task_alias = 'client'
|
17
|
+
t.instance = '(local)'
|
18
|
+
t.name = 'MyDatabase'
|
19
|
+
t.project = 'Basic.Migrations1\Basic.Migrations1.csproj'
|
20
|
+
end
|
21
|
+
|
22
|
+
s.fluently_migrate do |t|
|
23
|
+
t.task_alias = 'server'
|
24
|
+
t.instance = '(local)'
|
25
|
+
t.name = 'MyDatabase'
|
26
|
+
t.project = 'Basic.Migrations2\Basic.Migrations2.csproj'
|
27
|
+
end
|
28
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: physique
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Scaduto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: semver2
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.4'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.4'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: activesupport
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -102,14 +116,16 @@ extensions: []
|
|
102
116
|
extra_rdoc_files: []
|
103
117
|
files:
|
104
118
|
- .gitignore
|
119
|
+
- FLUENT_MIGRATOR.md
|
105
120
|
- Gemfile
|
106
121
|
- Gemfile.lock
|
107
122
|
- README.md
|
123
|
+
- RUBY_SETUP.md
|
108
124
|
- Rakefile
|
109
125
|
- lib/physique.rb
|
110
126
|
- lib/physique/config.rb
|
111
127
|
- lib/physique/dsl.rb
|
112
|
-
- lib/physique/
|
128
|
+
- lib/physique/project_path_resolver.rb
|
113
129
|
- lib/physique/solution.rb
|
114
130
|
- lib/physique/task_builders/build.rb
|
115
131
|
- lib/physique/task_builders/default.rb
|
@@ -135,6 +151,7 @@ files:
|
|
135
151
|
- spec/support/shared_contexts/rake.rb
|
136
152
|
- spec/task_builders/build_spec.rb
|
137
153
|
- spec/task_builders/default_spec.rb
|
154
|
+
- spec/task_builders/fluent_migrator_spec.rb
|
138
155
|
- spec/task_builders/nspec_spec.rb
|
139
156
|
- spec/task_builders/nuget_spec.rb
|
140
157
|
- spec/test_data/solutions/.nuget/NuGet.Config
|
@@ -152,6 +169,43 @@ files:
|
|
152
169
|
- spec/test_data/solutions/basic/Basic/Properties/AssemblyInfo.cs
|
153
170
|
- spec/test_data/solutions/basic/Rakefile.rb
|
154
171
|
- spec/test_data/solutions/basic/packages.config
|
172
|
+
- spec/test_data/solutions/fluent-migrator/.semver
|
173
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/Basic.Migrations.csproj
|
174
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/Properties/AssemblyInfo.cs
|
175
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/TestMigration.cs
|
176
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/create.sql
|
177
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/drop.sql
|
178
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/seed.sql
|
179
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/packages.config
|
180
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Specs/Basic.Specs.csproj
|
181
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Specs/Class1.cs
|
182
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Specs/DebuggerShim.cs
|
183
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Specs/Properties/AssemblyInfo.cs
|
184
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Specs/packages.config
|
185
|
+
- spec/test_data/solutions/fluent-migrator/Basic.sln
|
186
|
+
- spec/test_data/solutions/fluent-migrator/Basic/Basic.csproj
|
187
|
+
- spec/test_data/solutions/fluent-migrator/Basic/Class1.cs
|
188
|
+
- spec/test_data/solutions/fluent-migrator/Basic/Properties/AssemblyInfo.cs
|
189
|
+
- spec/test_data/solutions/fluent-migrator/Basic/packages.config
|
190
|
+
- spec/test_data/solutions/fluent-migrator/Rakefile.rb
|
191
|
+
- spec/test_data/solutions/multiple-fluent-migrator/.semver
|
192
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Basic.Migrations1.csproj
|
193
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Class1.cs
|
194
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Properties/AssemblyInfo.cs
|
195
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Basic.Migrations2.csproj
|
196
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Class1.cs
|
197
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Properties/AssemblyInfo.cs
|
198
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Basic.Specs.csproj
|
199
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Class1.cs
|
200
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/DebuggerShim.cs
|
201
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Properties/AssemblyInfo.cs
|
202
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/packages.config
|
203
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.sln
|
204
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic/Basic.csproj
|
205
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic/Class1.cs
|
206
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic/Properties/AssemblyInfo.cs
|
207
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic/packages.config
|
208
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Rakefile.rb
|
155
209
|
- spec/test_data/solutions/nspec/.semver
|
156
210
|
- spec/test_data/solutions/nspec/Basic.Specs/Basic.Specs.csproj
|
157
211
|
- spec/test_data/solutions/nspec/Basic.Specs/Class1.cs
|
@@ -202,6 +256,7 @@ test_files:
|
|
202
256
|
- spec/support/shared_contexts/rake.rb
|
203
257
|
- spec/task_builders/build_spec.rb
|
204
258
|
- spec/task_builders/default_spec.rb
|
259
|
+
- spec/task_builders/fluent_migrator_spec.rb
|
205
260
|
- spec/task_builders/nspec_spec.rb
|
206
261
|
- spec/task_builders/nuget_spec.rb
|
207
262
|
- spec/test_data/solutions/.nuget/NuGet.Config
|
@@ -219,6 +274,43 @@ test_files:
|
|
219
274
|
- spec/test_data/solutions/basic/Basic/Properties/AssemblyInfo.cs
|
220
275
|
- spec/test_data/solutions/basic/Rakefile.rb
|
221
276
|
- spec/test_data/solutions/basic/packages.config
|
277
|
+
- spec/test_data/solutions/fluent-migrator/.semver
|
278
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/Basic.Migrations.csproj
|
279
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/Properties/AssemblyInfo.cs
|
280
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/TestMigration.cs
|
281
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/create.sql
|
282
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/drop.sql
|
283
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/_Scripts/seed.sql
|
284
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Migrations/packages.config
|
285
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Specs/Basic.Specs.csproj
|
286
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Specs/Class1.cs
|
287
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Specs/DebuggerShim.cs
|
288
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Specs/Properties/AssemblyInfo.cs
|
289
|
+
- spec/test_data/solutions/fluent-migrator/Basic.Specs/packages.config
|
290
|
+
- spec/test_data/solutions/fluent-migrator/Basic.sln
|
291
|
+
- spec/test_data/solutions/fluent-migrator/Basic/Basic.csproj
|
292
|
+
- spec/test_data/solutions/fluent-migrator/Basic/Class1.cs
|
293
|
+
- spec/test_data/solutions/fluent-migrator/Basic/Properties/AssemblyInfo.cs
|
294
|
+
- spec/test_data/solutions/fluent-migrator/Basic/packages.config
|
295
|
+
- spec/test_data/solutions/fluent-migrator/Rakefile.rb
|
296
|
+
- spec/test_data/solutions/multiple-fluent-migrator/.semver
|
297
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Basic.Migrations1.csproj
|
298
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Class1.cs
|
299
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations1/Properties/AssemblyInfo.cs
|
300
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Basic.Migrations2.csproj
|
301
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Class1.cs
|
302
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Migrations2/Properties/AssemblyInfo.cs
|
303
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Basic.Specs.csproj
|
304
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Class1.cs
|
305
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/DebuggerShim.cs
|
306
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/Properties/AssemblyInfo.cs
|
307
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.Specs/packages.config
|
308
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic.sln
|
309
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic/Basic.csproj
|
310
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic/Class1.cs
|
311
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic/Properties/AssemblyInfo.cs
|
312
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Basic/packages.config
|
313
|
+
- spec/test_data/solutions/multiple-fluent-migrator/Rakefile.rb
|
222
314
|
- spec/test_data/solutions/nspec/.semver
|
223
315
|
- spec/test_data/solutions/nspec/Basic.Specs/Basic.Specs.csproj
|
224
316
|
- spec/test_data/solutions/nspec/Basic.Specs/Class1.cs
|