rails3-generators 0.1.0 → 0.2.0
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/README.rdoc +8 -2
- data/Rakefile +3 -32
- data/VERSION +1 -1
- data/rails3-generators.gemspec +6 -19
- metadata +9 -22
- data/LICENSE +0 -20
- data/features/support/env.rb +0 -4
- data/spec/rails3-generators_spec.rb +0 -4
- data/spec/spec.opts +0 -1
- data/spec/spec_helper.rb +0 -8
data/README.rdoc
CHANGED
@@ -4,8 +4,14 @@ Rails 3 compatible generators for RSpec, DataMapper, Haml, Factory-girl and Auth
|
|
4
4
|
|
5
5
|
== Note on Patches/Pull Requests
|
6
6
|
|
7
|
+
Fork the repo, add a generator, send a pull request. Pretty simple.
|
8
|
+
|
7
9
|
== Contributors
|
8
10
|
|
9
|
-
|
11
|
+
RSpec and DataMapper generators: Jose Valim
|
12
|
+
|
13
|
+
Haml: Paul Berry, Anuj Dutta, Louis T
|
14
|
+
|
15
|
+
Factory Girl: Paul Berry
|
10
16
|
|
11
|
-
|
17
|
+
Authlogic: Jeff Tucker
|
data/Rakefile
CHANGED
@@ -7,45 +7,16 @@ begin
|
|
7
7
|
gem.name = "rails3-generators"
|
8
8
|
gem.summary = %Q{Rails 3 compatible generators}
|
9
9
|
gem.description = %Q{Rails 3 compatible generators for RSpec, DataMapper, Haml, Factory-girl and Authlogic}
|
10
|
-
gem.email = "
|
11
|
-
gem.homepage = "http://github.com/
|
12
|
-
gem.authors = ["Louis T."]
|
10
|
+
gem.email = "andre@arko.net"
|
11
|
+
gem.homepage = "http://github.com/indirect/rails3-generators"
|
12
|
+
gem.authors = ["Jose Valim", "Anuj Dutta", "Paul Berry", "Jeff Tucker", "Louis T."]
|
13
13
|
gem.add_development_dependency "rspec", ">= 1.2.9"
|
14
|
-
gem.add_development_dependency "cucumber", ">= 0"
|
15
|
-
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
14
|
end
|
17
15
|
Jeweler::GemcutterTasks.new
|
18
16
|
rescue LoadError
|
19
17
|
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
20
18
|
end
|
21
19
|
|
22
|
-
require 'spec/rake/spectask'
|
23
|
-
Spec::Rake::SpecTask.new(:spec) do |spec|
|
24
|
-
spec.libs << 'lib' << 'spec'
|
25
|
-
spec.spec_files = FileList['spec/**/*_spec.rb']
|
26
|
-
end
|
27
|
-
|
28
|
-
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
29
|
-
spec.libs << 'lib' << 'spec'
|
30
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
31
|
-
spec.rcov = true
|
32
|
-
end
|
33
|
-
|
34
|
-
task :spec => :check_dependencies
|
35
|
-
|
36
|
-
begin
|
37
|
-
require 'cucumber/rake/task'
|
38
|
-
Cucumber::Rake::Task.new(:features)
|
39
|
-
|
40
|
-
task :features => :check_dependencies
|
41
|
-
rescue LoadError
|
42
|
-
task :features do
|
43
|
-
abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
task :default => :spec
|
48
|
-
|
49
20
|
require 'rake/rdoctask'
|
50
21
|
Rake::RDocTask.new do |rdoc|
|
51
22
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/rails3-generators.gemspec
CHANGED
@@ -5,24 +5,21 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rails3-generators}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Louis T."]
|
11
|
+
s.authors = ["Jose Valim", "Anuj Dutta", "Paul Berry", "Jeff Tucker", "Louis T."]
|
12
12
|
s.date = %q{2010-01-24}
|
13
13
|
s.description = %q{Rails 3 compatible generators for RSpec, DataMapper, Haml, Factory-girl and Authlogic}
|
14
|
-
s.email = %q{
|
14
|
+
s.email = %q{andre@arko.net}
|
15
15
|
s.extra_rdoc_files = [
|
16
|
-
"
|
17
|
-
"README.rdoc"
|
16
|
+
"README.rdoc"
|
18
17
|
]
|
19
18
|
s.files = [
|
20
19
|
".gitignore",
|
21
|
-
"LICENSE",
|
22
20
|
"README.rdoc",
|
23
21
|
"Rakefile",
|
24
22
|
"VERSION",
|
25
|
-
"features/support/env.rb",
|
26
23
|
"lib/generators/authlogic.rb",
|
27
24
|
"lib/generators/authlogic/session/session_generator.rb",
|
28
25
|
"lib/generators/authlogic/session/templates/session.rb",
|
@@ -82,20 +79,13 @@ Gem::Specification.new do |s|
|
|
82
79
|
"lib/generators/rspec/scaffold/templates/routing_spec.rb",
|
83
80
|
"lib/generators/rspec/scaffold/templates/show_spec.rb",
|
84
81
|
"lib/rails3-generators.rb",
|
85
|
-
"rails3-generators.gemspec"
|
86
|
-
"spec/rails3-generators_spec.rb",
|
87
|
-
"spec/spec.opts",
|
88
|
-
"spec/spec_helper.rb"
|
82
|
+
"rails3-generators.gemspec"
|
89
83
|
]
|
90
|
-
s.homepage = %q{http://github.com/
|
84
|
+
s.homepage = %q{http://github.com/indirect/rails3-generators}
|
91
85
|
s.rdoc_options = ["--charset=UTF-8"]
|
92
86
|
s.require_paths = ["lib"]
|
93
87
|
s.rubygems_version = %q{1.3.5}
|
94
88
|
s.summary = %q{Rails 3 compatible generators}
|
95
|
-
s.test_files = [
|
96
|
-
"spec/rails3-generators_spec.rb",
|
97
|
-
"spec/spec_helper.rb"
|
98
|
-
]
|
99
89
|
|
100
90
|
if s.respond_to? :specification_version then
|
101
91
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
@@ -103,14 +93,11 @@ Gem::Specification.new do |s|
|
|
103
93
|
|
104
94
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
105
95
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
106
|
-
s.add_development_dependency(%q<cucumber>, [">= 0"])
|
107
96
|
else
|
108
97
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
109
|
-
s.add_dependency(%q<cucumber>, [">= 0"])
|
110
98
|
end
|
111
99
|
else
|
112
100
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
113
|
-
s.add_dependency(%q<cucumber>, [">= 0"])
|
114
101
|
end
|
115
102
|
end
|
116
103
|
|
metadata
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails3-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
+
- Jose Valim
|
8
|
+
- Anuj Dutta
|
9
|
+
- Paul Berry
|
10
|
+
- Jeff Tucker
|
7
11
|
- Louis T.
|
8
12
|
autorequire:
|
9
13
|
bindir: bin
|
@@ -22,32 +26,19 @@ dependencies:
|
|
22
26
|
- !ruby/object:Gem::Version
|
23
27
|
version: 1.2.9
|
24
28
|
version:
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: cucumber
|
27
|
-
type: :development
|
28
|
-
version_requirement:
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: "0"
|
34
|
-
version:
|
35
29
|
description: Rails 3 compatible generators for RSpec, DataMapper, Haml, Factory-girl and Authlogic
|
36
|
-
email:
|
30
|
+
email: andre@arko.net
|
37
31
|
executables: []
|
38
32
|
|
39
33
|
extensions: []
|
40
34
|
|
41
35
|
extra_rdoc_files:
|
42
|
-
- LICENSE
|
43
36
|
- README.rdoc
|
44
37
|
files:
|
45
38
|
- .gitignore
|
46
|
-
- LICENSE
|
47
39
|
- README.rdoc
|
48
40
|
- Rakefile
|
49
41
|
- VERSION
|
50
|
-
- features/support/env.rb
|
51
42
|
- lib/generators/authlogic.rb
|
52
43
|
- lib/generators/authlogic/session/session_generator.rb
|
53
44
|
- lib/generators/authlogic/session/templates/session.rb
|
@@ -108,11 +99,8 @@ files:
|
|
108
99
|
- lib/generators/rspec/scaffold/templates/show_spec.rb
|
109
100
|
- lib/rails3-generators.rb
|
110
101
|
- rails3-generators.gemspec
|
111
|
-
- spec/rails3-generators_spec.rb
|
112
|
-
- spec/spec.opts
|
113
|
-
- spec/spec_helper.rb
|
114
102
|
has_rdoc: true
|
115
|
-
homepage: http://github.com/
|
103
|
+
homepage: http://github.com/indirect/rails3-generators
|
116
104
|
licenses: []
|
117
105
|
|
118
106
|
post_install_message:
|
@@ -139,6 +127,5 @@ rubygems_version: 1.3.5
|
|
139
127
|
signing_key:
|
140
128
|
specification_version: 3
|
141
129
|
summary: Rails 3 compatible generators
|
142
|
-
test_files:
|
143
|
-
|
144
|
-
- spec/spec_helper.rb
|
130
|
+
test_files: []
|
131
|
+
|
data/LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright (c) 2009 Louis T.
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/features/support/env.rb
DELETED
data/spec/spec.opts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--color
|