albacore 2.0.0.rc.1 → 2.0.0.rc.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitattributes +4 -0
- data/.travis.yml +3 -1
- data/README.md +4 -2
- data/Rakefile +1 -0
- data/lib/albacore/task_types/asmver/cs.rb +9 -0
- data/lib/albacore/version.rb +1 -1
- data/spec/asmver_spec.rb +18 -0
- metadata +4 -3
data/.gitattributes
ADDED
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|
This branch is the next official version. It is currently being used for
|
6
6
|
numerous builds for us and is free of known bugs. It works on RMI 1.9.3.
|
7
7
|
|
8
|
+
gem install albacore --prerelease
|
9
|
+
|
8
10
|
## getting started
|
9
11
|
|
10
12
|
In a command prompt, run:
|
@@ -27,7 +29,7 @@ build will use. Create a new file, named `Gemfile`. This file should look like
|
|
27
29
|
this:
|
28
30
|
|
29
31
|
source 'http://rubygems.org'
|
30
|
-
gem
|
32
|
+
gem 'albacore', '2.0.0.rc.1'
|
31
33
|
|
32
34
|
Now, install albacore from this repository by running:
|
33
35
|
|
@@ -45,7 +47,7 @@ require 'albacore/ext/teamcity'
|
|
45
47
|
|
46
48
|
Albacore::Tasks::Versionizer.new :versioning
|
47
49
|
|
48
|
-
desc 'Perform fast build (warn: doesn't d/l deps)'
|
50
|
+
desc 'Perform fast build (warn: doesn\'t d/l deps)'
|
49
51
|
build :quick_build do |b|
|
50
52
|
b.logging = 'detailed'
|
51
53
|
b.sln = 'src/MyProj.sln'
|
data/Rakefile
CHANGED
data/lib/albacore/version.rb
CHANGED
data/spec/asmver_spec.rb
CHANGED
@@ -106,6 +106,9 @@ describe FileGenerator do
|
|
106
106
|
it do
|
107
107
|
subject.should respond_to(:generate)
|
108
108
|
end
|
109
|
+
it 'can be constructed with empty namespace' do
|
110
|
+
FileGenerator.new(Fs.new, '', {})
|
111
|
+
end
|
109
112
|
end
|
110
113
|
describe FileGenerator, 'when generating F# file' do
|
111
114
|
subject do
|
@@ -149,3 +152,18 @@ describe FileGenerator, 'when generating F# file' do
|
|
149
152
|
generated.should =~ /\(\)(\r\n?|\n)$/m
|
150
153
|
end
|
151
154
|
end
|
155
|
+
describe FileGenerator do
|
156
|
+
subject do
|
157
|
+
FileGenerator.new(Cs.new, '', {})
|
158
|
+
end
|
159
|
+
let :generated do
|
160
|
+
subject.generate com_visible: false,
|
161
|
+
assembly_title: 'My.Asm',
|
162
|
+
assembly_version: '0.1.2',
|
163
|
+
custom_thing: %w|a b c|,
|
164
|
+
named_thing: { :b => 3, :c => 'hi' }
|
165
|
+
end
|
166
|
+
it 'should not include \'namespace\'' do
|
167
|
+
generated.should_not include('namespace')
|
168
|
+
end
|
169
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: albacore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.rc.
|
4
|
+
version: 2.0.0.rc.2
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-11-
|
13
|
+
date: 2013-11-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -182,6 +182,7 @@ executables: []
|
|
182
182
|
extensions: []
|
183
183
|
extra_rdoc_files: []
|
184
184
|
files:
|
185
|
+
- .gitattributes
|
185
186
|
- .gitignore
|
186
187
|
- .travis.yml
|
187
188
|
- Gemfile
|
@@ -314,7 +315,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
314
315
|
version: '0'
|
315
316
|
segments:
|
316
317
|
- 0
|
317
|
-
hash:
|
318
|
+
hash: 3605781607407651820
|
318
319
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
319
320
|
none: false
|
320
321
|
requirements:
|