factory_girl_generator 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -11
- data/Rakefile +6 -18
- data/lib/factory_girl_generator/railtie.rb +3 -2
- data/lib/factory_girl_generator/version.rb +3 -0
- metadata +17 -46
- data/.document +0 -5
- data/.gitignore +0 -22
- data/.rvmrc +0 -1
- data/VERSION +0 -1
data/Gemfile.lock
CHANGED
@@ -1,24 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
factory_girl_generator (0.0.
|
4
|
+
factory_girl_generator (0.0.2)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: http://rubygems.org/
|
8
8
|
specs:
|
9
|
-
gemcutter (0.6.1)
|
10
|
-
git (1.2.5)
|
11
|
-
jeweler (1.4.0)
|
12
|
-
gemcutter (>= 0.1.0)
|
13
|
-
git (>= 1.2.5)
|
14
|
-
rubyforge (>= 2.0.0)
|
15
|
-
json_pure (1.4.6)
|
16
|
-
rubyforge (2.0.4)
|
17
|
-
json_pure (>= 1.1.7)
|
18
9
|
|
19
10
|
PLATFORMS
|
20
11
|
ruby
|
21
12
|
|
22
13
|
DEPENDENCIES
|
23
14
|
factory_girl_generator!
|
24
|
-
jeweler (>= 1.4.0)
|
data/Rakefile
CHANGED
@@ -1,26 +1,14 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'rake'
|
3
|
+
require 'rake/rdoctask'
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
gem.summary = %Q{Rails 3 generator for factory_girl}
|
9
|
-
gem.description = %Q{Rails 3 generator for factory_girl}
|
10
|
-
gem.email = "leshill@gmail.com"
|
11
|
-
gem.homepage = "http://github.com/leshill/factory_girl_generator"
|
12
|
-
gem.authors = ["Les Hill"]
|
13
|
-
gem.files.include "lib/**/*.rb"
|
14
|
-
gem.add_development_dependency "jeweler", ">= 1.4.0"
|
15
|
-
end
|
16
|
-
Jeweler::GemcutterTasks.new
|
17
|
-
rescue LoadError
|
18
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
19
|
-
end
|
5
|
+
lib = File.expand_path('../lib/', __FILE__)
|
6
|
+
$:.unshift lib unless $:.include?(lib)
|
7
|
+
|
8
|
+
require 'factory_girl_generator/version'
|
20
9
|
|
21
|
-
require 'rake/rdoctask'
|
22
10
|
Rake::RDocTask.new do |rdoc|
|
23
|
-
version =
|
11
|
+
version = FactoryGirlGenerator::VERSION
|
24
12
|
|
25
13
|
rdoc.rdoc_dir = 'rdoc'
|
26
14
|
rdoc.title = "factory_girl_generator #{version}"
|
@@ -1,6 +1,7 @@
|
|
1
1
|
module FactoryGirlGenerator
|
2
2
|
class Railtie < ::Rails::Railtie
|
3
|
-
config.
|
4
|
-
|
3
|
+
generators = config.respond_to?(:app_generators) ? config.app_generators : config.generators
|
4
|
+
generators.fixture_replacement :factory_girl
|
5
|
+
generators.test_unit[:fixture_replacement] = :factory_girl
|
5
6
|
end
|
6
7
|
end
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: factory_girl_generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 1
|
10
|
-
version: 0.0.1
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.2
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Les Hill
|
@@ -15,25 +10,10 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2010-08-17 00:00:00 -
|
13
|
+
date: 2010-08-17 00:00:00 -05:00
|
19
14
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
22
|
-
name: jeweler
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 7
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 4
|
33
|
-
- 0
|
34
|
-
version: 1.4.0
|
35
|
-
type: :development
|
36
|
-
version_requirements: *id001
|
15
|
+
dependencies: []
|
16
|
+
|
37
17
|
description: Rails 3 generator for factory_girl
|
38
18
|
email: leshill@gmail.com
|
39
19
|
executables: []
|
@@ -44,27 +24,24 @@ extra_rdoc_files:
|
|
44
24
|
- LICENSE
|
45
25
|
- README.rdoc
|
46
26
|
files:
|
47
|
-
- .document
|
48
|
-
- .gitignore
|
49
|
-
- .rvmrc
|
50
|
-
- Gemfile
|
51
|
-
- Gemfile.lock
|
52
|
-
- LICENSE
|
53
|
-
- README.rdoc
|
54
|
-
- Rakefile
|
55
|
-
- VERSION
|
56
|
-
- lib/factory_girl_generator.rb
|
57
27
|
- lib/factory_girl_generator/railtie.rb
|
58
|
-
- lib/
|
28
|
+
- lib/factory_girl_generator/version.rb
|
29
|
+
- lib/factory_girl_generator.rb
|
59
30
|
- lib/generators/factory_girl/model/model_generator.rb
|
60
31
|
- lib/generators/factory_girl/model/templates/factory.rb
|
32
|
+
- lib/generators/factory_girl.rb
|
33
|
+
- LICENSE
|
34
|
+
- README.rdoc
|
35
|
+
- Gemfile
|
36
|
+
- Gemfile.lock
|
37
|
+
- Rakefile
|
61
38
|
has_rdoc: true
|
62
39
|
homepage: http://github.com/leshill/factory_girl_generator
|
63
40
|
licenses: []
|
64
41
|
|
65
42
|
post_install_message:
|
66
|
-
rdoc_options:
|
67
|
-
|
43
|
+
rdoc_options: []
|
44
|
+
|
68
45
|
require_paths:
|
69
46
|
- lib
|
70
47
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -72,23 +49,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
72
49
|
requirements:
|
73
50
|
- - ">="
|
74
51
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 3
|
76
|
-
segments:
|
77
|
-
- 0
|
78
52
|
version: "0"
|
79
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
54
|
none: false
|
81
55
|
requirements:
|
82
56
|
- - ">="
|
83
57
|
- !ruby/object:Gem::Version
|
84
|
-
|
85
|
-
segments:
|
86
|
-
- 0
|
87
|
-
version: "0"
|
58
|
+
version: 1.3.6
|
88
59
|
requirements: []
|
89
60
|
|
90
61
|
rubyforge_project:
|
91
|
-
rubygems_version: 1.
|
62
|
+
rubygems_version: 1.6.2
|
92
63
|
signing_key:
|
93
64
|
specification_version: 3
|
94
65
|
summary: Rails 3 generator for factory_girl
|
data/.document
DELETED
data/.gitignore
DELETED
data/.rvmrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rvm gemset use factory_girl_generator
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.0.1
|