rubigen 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/config/hoe.rb +1 -1
- data/lib/rubigen/version.rb +1 -1
- data/lib/rubigen.rb +0 -23
- data/test/test_helper.rb +9 -4
- data/website/index.html +1 -1
- data/website/version-raw.js +1 -1
- data/website/version.js +1 -1
- metadata +12 -4
data/History.txt
CHANGED
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
|
-
|
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
|
|
data/lib/rubigen/version.rb
CHANGED
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
|
-
|
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.
|
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
|
|
data/website/version-raw.js
CHANGED
data/website/version.js
CHANGED
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.
|
7
|
-
date: 2007-11-
|
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:
|