public
Rubygem
Description: DataMapper - Core
Homepage: http://datamapper.org
Clone URL: git://github.com/sam/dm-core.git
Altering the Rakefile/hoe setup to be more portable
Bernerd Schaefer (author)
Mon Jul 14 11:51:29 -0700 2008
commit  e5bc97342e6a6bc97e8a0e8ece423a35674717f5
tree    c9647e4196b0b30bef862649fab4b5b96549cd5d
parent  f16545bcafa91c3029b90c4353967c89370b27fc
...
13
14
15
16
17
 
 
 
 
 
 
 
 
18
19
20
...
13
14
15
 
 
16
17
18
19
20
21
22
23
24
25
26
0
@@ -13,8 +13,14 @@ AUTHOR = "Sam Smoot"
0
 EMAIL = "ssmoot@gmail.com"
0
 GEM_NAME = "dm-core"
0
 GEM_VERSION = DataMapper::VERSION
0
-RUBYFORGE_PROJECT = "datamapper"
0
-HOMEPATH = "http://datamapper.org"
0
+GEM_DEPENDENCIES = ["data_objects", GEM_VERSION], ["extlib", GEM_VERSION],
0
+ ["rspec", ">=1.1.3"], ["addressable", ">=1.0.4"]
0
+
0
+
0
+PROJECT_NAME = "datamapper"
0
+PROJECT_DESCRIPTION = "Faster, Better, Simpler."
0
+PROJECT_SUMMARY = "An Object/Relational Mapper for Ruby"
0
+PROJECT_URL = "http://datamapper.org"
0
 
0
 require ROOT + 'tasks/hoe'
0
 require ROOT + 'tasks/install'
...
23
24
25
26
27
28
 
 
 
29
30
 
31
32
33
34
35
36
37
38
 
 
 
39
40
41
...
23
24
25
 
 
 
26
27
28
29
 
30
31
 
32
33
 
 
 
 
34
35
36
37
38
39
0
@@ -23,18 +23,16 @@ hoe = Hoe.new(GEM_NAME, GEM_VERSION) do |p|
0
 
0
   p.developer(AUTHOR, EMAIL)
0
 
0
- p.description = "Faster, Better, Simpler."
0
- p.summary = "An Object/Relational Mapper for Ruby"
0
- p.url = HOMEPATH
0
+ p.description = PROJECT_DESCRIPTION
0
+ p.summary = PROJECT_SUMMARY
0
+ p.url = PROJECT_URL
0
 
0
- p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT
0
+ p.rubyforge_name = PROJECT_NAME if PROJECT_NAME
0
 
0
- p.test_globs = ["spec/**/*_spec.rb"]
0
   p.clean_globs |= ["{coverage,doc,log}/", "profile_results.*", "**/.*.sw?", "*.gem", ".config", "**/.DS_Store"]
0
 
0
- p.extra_deps << ["data_objects", p.version]
0
- p.extra_deps << ["extlib", p.version]
0
- p.extra_deps << ["rspec", ">=1.1.3"]
0
- p.extra_deps << ["addressable", ">=1.0.4"]
0
+ GEM_DEPENDENCIES.each do |dep|
0
+ p.extra_deps << dep
0
+ end
0
 
0
 end
0
\ No newline at end of file

Comments

    No one has commented yet.