buildr-iidea 0.0.5 → 0.0.6

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/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 0.0.6 (June 5, 2010)
2
+ * Fixed: Correctly fixed the default value of iml.local_repository_env_override setting to
3
+ match documentation.
4
+
1
5
  0.0.5 (June 5, 2010)
2
6
  * Changed: The documentation indicated that the iml.local_repository_env_override value
3
7
  defaulted to nil while the code defaulted the value to M2_REPO. The code was changed to
@@ -2,7 +2,7 @@ module Buildr
2
2
  module IntellijIdea
3
3
  class IdeaModule < IdeaFile
4
4
  DEFAULT_TYPE = "JAVA_MODULE"
5
- DEFAULT_LOCAL_REPOSITORY_ENV_OVERRIDE = nil
5
+ DEFAULT_LOCAL_REPOSITORY_ENV_OVERRIDE = "MAVEN_REPOSITORY"
6
6
 
7
7
  attr_accessor :type
8
8
  attr_accessor :local_repository_env_override
@@ -3,7 +3,7 @@ module Buildr
3
3
  class Version
4
4
  MAJOR = "0"
5
5
  MINOR = "0"
6
- MICRO = "5"
6
+ MICRO = "6"
7
7
 
8
8
  STRING = "#{MAJOR}.#{MINOR}.#{MICRO}"
9
9
  end
@@ -0,0 +1,15 @@
1
+ require File.expand_path('../../../spec_helper', __FILE__)
2
+
3
+ describe "Buildr::IntellijIdea::IdeaModule" do
4
+ before do
5
+ @foo = define "foo"
6
+ end
7
+
8
+ it "has correct default iml.type setting" do
9
+ @foo.iml.type.should == "JAVA_MODULE"
10
+ end
11
+
12
+ it "has correct default iml.local_repository_env_override setting" do
13
+ @foo.iml.local_repository_env_override.should == "MAVEN_REPOSITORY"
14
+ end
15
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 5
9
- version: 0.0.5
8
+ - 6
9
+ version: 0.0.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Rhett Sutphin
@@ -51,6 +51,7 @@ files:
51
51
  - spec/buildr/intellij_idea/project_extension_spec.rb
52
52
  - spec/buildr/intellij_idea/module_property_inheritance_spec.rb
53
53
  - spec/buildr/intellij_idea/idea_file_generation_spec.rb
54
+ - spec/buildr/intellij_idea/module_defaults.rb
54
55
  - spec/buildr/intellij_idea/group_spec.rb
55
56
  - spec/buildr/intellij_idea/extra_modules_spec.rb
56
57
  - spec/buildr/intellij_idea/initial_components_spec.rb
@@ -71,12 +72,13 @@ licenses: []
71
72
  post_install_message: Thanks for installing the Intellij IDEA extension for Buildr
72
73
  rdoc_options:
73
74
  - --title
74
- - buildr-iidea 0.0.5
75
+ - buildr-iidea 0.0.6
75
76
  - --main
76
77
  - README.rdoc
77
78
  require_paths:
78
79
  - lib
79
80
  required_ruby_version: !ruby/object:Gem::Requirement
81
+ none: false
80
82
  requirements:
81
83
  - - ">="
82
84
  - !ruby/object:Gem::Version
@@ -84,6 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
86
  - 0
85
87
  version: "0"
86
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
+ none: false
87
90
  requirements:
88
91
  - - ">="
89
92
  - !ruby/object:Gem::Version
@@ -93,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
96
  requirements: []
94
97
 
95
98
  rubyforge_project:
96
- rubygems_version: 1.3.6
99
+ rubygems_version: 1.3.7
97
100
  signing_key:
98
101
  specification_version: 3
99
102
  summary: Buildr tasks to generate Intellij IDEA project files