iron_hammer 1.1.0 → 1.1.1

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.
data/Rakefile CHANGED
@@ -9,12 +9,13 @@ Hoe.plugin :newgem
9
9
  $hoe = Hoe.spec 'iron_hammer' do
10
10
  self.developer 'Mozair Alves do Carmo Junior', 'macskeptic@gmail.com'
11
11
  self.developer 'Lucas Cavalcanti', 'lucasmrtuner@gmail.com'
12
+ self.developer 'Adolfo Sousa', 'adolfosousa@gmail.com'
12
13
 
13
14
  self.post_install_message = File.read('PostInstall.txt')
14
15
  self.rubyforge_name = self.name
15
16
  self.extra_deps = [['rubyzip2','>= 2.0.1'],
16
17
  ['builder', '>= 2.1.2']]
17
- self.version = '1.1.0'
18
+ self.version = '1.1.1'
18
19
  end
19
20
 
20
21
  require 'newgem/tasks'
@@ -3,12 +3,18 @@ $:.unshift(File.dirname(__FILE__)) unless
3
3
 
4
4
  module IronHammer
5
5
  module Defaults
6
+ require 'rexml/document'
6
7
  CONFIGURATION_RUN = 'Release'
7
8
  DELIVERY_DIRECTORY = 'delivery'
8
9
  TEST_CONFIG = 'LocalTestRun.testrunconfig'
9
10
  ENVIRONMENT = 'local'
10
11
  SYSTEM_ROOT = 'c:\\Windows'
11
12
  PROGRAM_FILES = 'c:\\Program Files'
13
+ REXML::Attribute.class_eval( %q^
14
+ def to_string
15
+ %Q[#@expanded_name="#{to_s().gsub(/\"/, '"')}"]
16
+ end
17
+ ^ )
12
18
  end unless defined? IronHammer::Defaults
13
19
  end
14
20
 
@@ -13,6 +13,7 @@ module IronHammer
13
13
  'latest.build' => '\\1.\\2.\\3.+',
14
14
  'specific' => '\\1.\\2.\\3.\\4'
15
15
  }
16
+
16
17
  def initialize params={}
17
18
  @project = params[:project] || raise('You must specify a project')
18
19
  @config = params[:config] || raise('You must specify a config')
@@ -84,7 +85,7 @@ module IronHammer
84
85
  end
85
86
  reference.elements['SpecificVersion'] = REXML::Element.new('SpecificVersion').add_text('false') unless reference.elements['SpecificVersion']
86
87
  reference.elements['HintPath'] = REXML::Element.new('HintPath').
87
- add_text([relative, "#{artifact}"].flatten.patheticalize)
88
+ add_text([relative, "#{artifact}"].flatten.patheticalize)
88
89
  end
89
90
 
90
91
  FileSystem.write! :path => @project.path, :name => @project.csproj, :content => doc.to_s
@@ -93,7 +94,7 @@ module IronHammer
93
94
  def self.rename_artifacts
94
95
  Dir["Libraries/*.{dll,exe}"].each do |file|
95
96
  file.scan(/Libraries\/(.*)-([\d\.]*)\.(.*)/) do |name, version, extension|
96
- FileUtils.mv(file, "Libraries\\#{name}.#{extension}")
97
+ FileUtils.mv(file, "Libraries\\#{name}.#{extension}")
97
98
  end
98
99
  end
99
100
  end
@@ -7,13 +7,10 @@ module IronHammer
7
7
  attr_accessor :ivy_settings
8
8
  attr_accessor :retrieve_version
9
9
 
10
-
11
-
12
10
  def self.builder_for project
13
11
  IvyBuilder.new :config => instance, :project => project
14
12
  end
15
13
 
16
-
17
14
  def self.instance
18
15
  @@instance ||= IvyConfiguration.new
19
16
  end
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_hammer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mozair Alves do Carmo Junior
8
8
  - Lucas Cavalcanti
9
+ - Adolfo Sousa
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
13
 
13
- date: 2010-02-26 00:00:00 -03:00
14
+ date: 2010-03-30 00:00:00 -03:00
14
15
  default_executable:
15
16
  dependencies:
16
17
  - !ruby/object:Gem::Dependency
@@ -41,7 +42,7 @@ dependencies:
41
42
  requirements:
42
43
  - - ">="
43
44
  - !ruby/object:Gem::Version
44
- version: 2.0.3
45
+ version: 2.0.4
45
46
  version:
46
47
  - !ruby/object:Gem::Dependency
47
48
  name: gemcutter
@@ -51,7 +52,7 @@ dependencies:
51
52
  requirements:
52
53
  - - ">="
53
54
  - !ruby/object:Gem::Version
54
- version: 0.3.0
55
+ version: 0.5.0
55
56
  version:
56
57
  - !ruby/object:Gem::Dependency
57
58
  name: hoe
@@ -67,6 +68,7 @@ description: "Iron Hammer gathers together three components to help automate the
67
68
  email:
68
69
  - macskeptic@gmail.com
69
70
  - lucasmrtuner@gmail.com
71
+ - adolfosousa@gmail.com
70
72
  executables:
71
73
  - ivy
72
74
  - bump