albacore 2.0.0.rc.1 → 2.0.0.rc.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,4 @@
1
+ text eol=lf
2
+
3
+ *.csproj false
4
+ *.fsproj false
@@ -23,7 +23,9 @@ script: ./travis.sh
23
23
 
24
24
  rvm:
25
25
  - 1.9.3
26
- - 2.0.0
26
+ # 2.0 seems to be experiencing issues with subclasses not saying that they respond_to(:baseclass_method)
27
+ # so that's for another day to fix
28
+ # - 2.0.0
27
29
  # - jruby
28
30
 
29
31
  branches:
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 "albacore", :git => "git://github.com/Albacore/albacore.git", :branch => 'clean_slate'
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
@@ -1,3 +1,4 @@
1
+ require 'bundler/setup'
1
2
  require 'rubygems/tasks'
2
3
  Gem::Tasks.new
3
4
 
@@ -13,5 +13,14 @@ module Albacore::Asmver
13
13
  def build_attribute_re(attr_name)
14
14
  /^\[assembly: #{attr_name}(.+)/
15
15
  end
16
+
17
+ # no namespaces
18
+ def namespace_start *_
19
+ ""
20
+ end
21
+
22
+ def namespace_end
23
+ ""
24
+ end
16
25
  end
17
26
  end
@@ -1,3 +1,3 @@
1
1
  module Albacore
2
- VERSION = "2.0.0.rc.1"
2
+ VERSION = "2.0.0.rc.2"
3
3
  end
@@ -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.1
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-06 00:00:00.000000000 Z
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: 3717636837739165241
318
+ hash: 3605781607407651820
318
319
  required_rubygems_version: !ruby/object:Gem::Requirement
319
320
  none: false
320
321
  requirements: