iron_hammer 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/bin/iron +1 -1
- data/lib/iron_hammer/projects/dependency.rb +1 -1
- data/lib/iron_hammer/tasks/test.rb +1 -1
- data/lib/iron_hammer/utils/ivy_builder.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
data/bin/iron
CHANGED
@@ -5,7 +5,7 @@ require 'rake'
|
|
5
5
|
require 'iron_hammer/configuration'
|
6
6
|
|
7
7
|
|
8
|
-
sh "rake -f \"#{IronHammer::Configuration.home}\\rakefile.rb\" iron:#{
|
8
|
+
sh "rake -f \"#{IronHammer::Configuration.home}\\rakefile.rb\" iron:#{ARGV.join ' '}" unless ARGV.empty?
|
9
9
|
|
10
10
|
if ARGV.empty?
|
11
11
|
puts "You must specify a target. Available targets (remove iron: prefix):"
|
@@ -29,7 +29,7 @@ module IronHammer
|
|
29
29
|
raise "Cannot parse version on include: #{includes}" unless version
|
30
30
|
extension = get_extension reference
|
31
31
|
specific_el = reference.elements['SpecificVersion']
|
32
|
-
specific = (specific_el && specific_el.text == 'true') || false
|
32
|
+
specific = (specific_el && specific_el.text.downcase == 'true') || false
|
33
33
|
Dependency.new :name => name, :version => version, :extension => extension, :specific => specific
|
34
34
|
end
|
35
35
|
|
@@ -11,7 +11,7 @@ namespace :iron do
|
|
11
11
|
|
12
12
|
desc 'Runs the integration tests'
|
13
13
|
task :integration => [:build] do
|
14
|
-
command = @hammer.test *@anvil.
|
14
|
+
command = @hammer.test *@anvil.test_projects
|
15
15
|
puts "There are no integration tests to run" unless command
|
16
16
|
sh command if command
|
17
17
|
end
|
@@ -82,7 +82,7 @@ module IronHammer
|
|
82
82
|
|
83
83
|
artifact = "Libraries\\#{name}.#{extension}"
|
84
84
|
end
|
85
|
-
reference.elements['SpecificVersion'] = REXML::Element.new('SpecificVersion').add_text('false')
|
85
|
+
reference.elements['SpecificVersion'] = REXML::Element.new('SpecificVersion').add_text('false') unless reference.elements['SpecificVersion']
|
86
86
|
reference.elements['HintPath'] = REXML::Element.new('HintPath').
|
87
87
|
add_text([relative, "#{artifact}"].flatten.patheticalize)
|
88
88
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iron_hammer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mozair Alves do Carmo Junior
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2010-02-
|
13
|
+
date: 2010-02-23 00:00:00 -03:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|