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.
- data/History.txt +7 -0
- data/Rakefile +9 -4
- data/lib/magic_model_generator/version.rb +1 -1
- data/website/index.html +1 -1
- metadata +3 -3
data/History.txt
CHANGED
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 = "
|
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
|
-
|
80
|
-
|
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'
|
data/website/index.html
CHANGED
@@ -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.
|
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.
|
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
|
-
-
|
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:
|