rubigen 1.1.0 → 1.1.1

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/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 1.1.1 2007-11-08
2
+
3
+ * active_support is now a dependency of this gem on install (it was being used
4
+ but wasn't a dependency)
5
+
1
6
  == 1.1.0 2007-11-05
2
7
 
3
8
  * Promoted 'application_generator' and 'component_generator' to Rubigen
data/config/hoe.rb CHANGED
@@ -62,7 +62,7 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
62
62
 
63
63
  # == Optional
64
64
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\\n\\n")
65
- #p.extra_deps = [] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
65
+ p.extra_deps = [ ['activesupport', '>= 1.4.4'] ] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
66
66
 
67
67
  #p.spec_extras = {} # A hash of extra values to set in the gemspec.
68
68
 
@@ -2,7 +2,7 @@ module Rubigen #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 1
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/lib/rubigen.rb CHANGED
@@ -1,26 +1,3 @@
1
- #--
2
- # Copyright (c) 2004 Jeremy Kemper
3
- #
4
- # Permission is hereby granted, free of charge, to any person obtaining
5
- # a copy of this software and associated documentation files (the
6
- # "Software"), to deal in the Software without restriction, including
7
- # without limitation the rights to use, copy, modify, merge, publish,
8
- # distribute, sublicense, and/or sell copies of the Software, and to
9
- # permit persons to whom the Software is furnished to do so, subject to
10
- # the following conditions:
11
- #
12
- # The above copyright notice and this permission notice shall be
13
- # included in all copies or substantial portions of the Software.
14
- #
15
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
- # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
- # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
- # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
- # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
- #++
23
-
24
1
  $:.unshift(File.dirname(__FILE__))
25
2
 
26
3
  begin
data/test/test_helper.rb CHANGED
@@ -3,9 +3,7 @@ require File.dirname(__FILE__) + '/../lib/rubigen'
3
3
  require 'rubigen/helpers/generator_test_helper'
4
4
  include RubiGen
5
5
 
6
- begin
7
- gem 'mocha'
8
- rescue LoadError
6
+ def load_mocha
9
7
  require 'rubygems'
10
8
  begin
11
9
  gem 'mocha'
@@ -18,5 +16,12 @@ This RubyGem is required to run the tests.
18
16
  Install: gem install mocha
19
17
  EOS
20
18
  end
19
+ require 'mocha'
20
+ end
21
+ begin
22
+ gem 'mocha'
23
+ rescue LoadError
24
+ load_mocha
25
+ rescue NoMethodError
26
+ load_mocha
21
27
  end
22
- require 'mocha'
data/website/index.html CHANGED
@@ -31,7 +31,7 @@
31
31
  <h1>rubigen</h1>
32
32
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/rubigen"; return false'>
33
33
  <p>Get Version</p>
34
- <a href="http://rubyforge.org/projects/rubigen" class="numbers">1.1.0</a>
34
+ <a href="http://rubyforge.org/projects/rubigen" class="numbers">1.1.1</a>
35
35
  </div>
36
36
  <h1>Ruby Generator Framework</h1>
37
37
 
@@ -1,3 +1,3 @@
1
1
  // Announcement JS file
2
- var version = "1.1.0";
2
+ var version = "1.1.1";
3
3
  MagicAnnouncement.show('compositekeys', version);
data/website/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // Version JS file
2
- var version = "1.1.0";
2
+ var version = "1.1.1";
3
3
 
4
4
  document.write(" - " + version);
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4.3
3
3
  specification_version: 1
4
4
  name: rubigen
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.1.0
7
- date: 2007-11-05 00:00:00 -08:00
6
+ version: 1.1.1
7
+ date: 2007-11-08 00:00:00 +10:00
8
8
  summary: "A framework to allow Ruby applications to generate file/folder stubs (like the rails command does for Ruby on Rails, and the \xE2\x80\x98script/generate\xE2\x80\x99 command within a Rails application during development)."
9
9
  require_paths:
10
10
  - lib
@@ -145,5 +145,13 @@ extensions: []
145
145
 
146
146
  requirements: []
147
147
 
148
- dependencies: []
149
-
148
+ dependencies:
149
+ - !ruby/object:Gem::Dependency
150
+ name: activesupport
151
+ version_requirement:
152
+ version_requirements: !ruby/object:Gem::Version::Requirement
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: 1.4.4
157
+ version: