magic_model_generator 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,10 @@
1
+ *** 0.4.2 / 2007-5-23
2
+
3
+ + 1 minor DOH!! moment
4
+ + Changed dependency to dr_nic_magic_models (>=0.9.2)
5
+ + 1 irrelevant improvement
6
+ + deploy task outputs the svn command to tag the release
7
+
1
8
  *** 0.4.1 / 2007-5-23
2
9
 
3
10
  + 1 minor bugfix
data/Rakefile CHANGED
@@ -11,11 +11,12 @@ require 'hoe'
11
11
  include FileUtils
12
12
  require File.join(File.dirname(__FILE__), 'lib', 'magic_model_generator', 'version')
13
13
 
14
- AUTHOR = "nicwilliams" # can also be an array of Authors
14
+ AUTHOR = "Dr Nic Williams" # can also be an array of Authors
15
15
  EMAIL = "drnicwilliams@gmail.com"
16
16
  DESCRIPTION = "Generates Rails models from the target database... magically! Validations and associations included."
17
17
  GEM_NAME = "magic_model_generator" # what ppl will type to install your gem
18
18
  RUBYFORGE_PROJECT = "magicmodels" # The unix name for your project
19
+ RUBYFORGE_USERNAME = "nicwilliams"
19
20
  HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
20
21
 
21
22
 
@@ -51,7 +52,7 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
51
52
 
52
53
  # == Optional
53
54
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
54
- p.extra_deps = [['dr_nic_magic_models','0.9.1']] #An array of rubygem dependencies.
55
+ p.extra_deps = [['dr_nic_magic_models','>=0.9.1']] #An array of rubygem dependencies.
55
56
  #p.spec_extras - A hash of extra values to set in the gemspec.
56
57
  end
57
58
 
@@ -76,8 +77,12 @@ task :website => [:website_generate, :website_upload]
76
77
 
77
78
  desc 'Release the website and new gem version'
78
79
  task :deploy => [:check_version, :website, :release] do
79
- # Create SVN tag
80
- puts "Remember to create SVN tag /tags/REL-#{ENV['VERSION']}"
80
+ version_changes = hoe.paragraphs_of("History.txt", 0..1).join("\n\n")
81
+
82
+ puts "Remember to create SVN tag:"
83
+ puts "svn copy svn+ssh://#{RUBYFORGE_USERNAME}@rubyforge.org/var/svn/#{RUBYFORGE_PROJECT}/#{NAME}/trunk " +
84
+ "svn+ssh://#{RUBYFORGE_USERNAME}@rubyforge.org/var/svn/#{RUBYFORGE_PROJECT}/#{NAME}/tags/REL-#{VERS} " +
85
+ "-m \"Tagging release #{version_changes}\""
81
86
  end
82
87
 
83
88
  desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
@@ -2,7 +2,7 @@ module MagicModelsGenerator #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 4
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -33,7 +33,7 @@
33
33
  <h1 class=primary>Magic Model Generator</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/magicmodels"; return false'>
35
35
  Get Version
36
- <a href="http://rubyforge.org/projects/magicmodels" class="numbers">0.4.1</a>
36
+ <a href="http://rubyforge.org/projects/magicmodels" class="numbers">0.4.2</a>
37
37
  </div>
38
38
  <h1>./script/generate magic_model</h1>
39
39
 
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: magic_model_generator
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.4.1
6
+ version: 0.4.2
7
7
  date: 2007-05-23 00:00:00 +02:00
8
8
  summary: Generates Rails models from the target database... magically! Validations and associations included.
9
9
  require_paths:
@@ -27,7 +27,7 @@ signing_key:
27
27
  cert_chain:
28
28
  post_install_message:
29
29
  authors:
30
- - nicwilliams
30
+ - Dr Nic Williams
31
31
  files:
32
32
  - CHANGELOG
33
33
  - History.txt
@@ -135,7 +135,7 @@ dependencies:
135
135
  version_requirement:
136
136
  version_requirements: !ruby/object:Gem::Version::Requirement
137
137
  requirements:
138
- - - "="
138
+ - - ">="
139
139
  - !ruby/object:Gem::Version
140
140
  version: 0.9.1
141
141
  version: