yaml_seeder 0.0.2 → 0.1.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/Rakefile +14 -0
- data/VERSION +1 -0
- data/yaml_seeder.gemspec +43 -13
- metadata +13 -12
data/Rakefile
CHANGED
|
@@ -21,3 +21,17 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
|
|
|
21
21
|
rdoc.rdoc_files.include('README')
|
|
22
22
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
23
23
|
end
|
|
24
|
+
|
|
25
|
+
begin
|
|
26
|
+
require 'jeweler'
|
|
27
|
+
Jeweler::Tasks.new do |gemspec|
|
|
28
|
+
gemspec.name = "yaml_seeder"
|
|
29
|
+
gemspec.summary = "Seeds your ActiveRecord models from YAML files."
|
|
30
|
+
gemspec.description = "Seeds your ActiveRecord models from YAML files, when the YAML files are formatted like test fixtures"
|
|
31
|
+
gemspec.homepage = "http://github.com/paulfedory/yaml_seeder"
|
|
32
|
+
gemspec.authors = ["Paul Fedory"]
|
|
33
|
+
end
|
|
34
|
+
Jeweler::GemcutterTasks.new
|
|
35
|
+
rescue LoadError
|
|
36
|
+
puts "Jeweler not available. Install it with: gem install jeweler"
|
|
37
|
+
end
|
data/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.1.0
|
data/yaml_seeder.gemspec
CHANGED
|
@@ -1,18 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
s.
|
|
8
|
-
s.
|
|
1
|
+
# Generated by jeweler
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
|
4
|
+
# -*- encoding: utf-8 -*-
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |s|
|
|
7
|
+
s.name = %q{yaml_seeder}
|
|
8
|
+
s.version = "0.1.0"
|
|
9
|
+
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
+
s.authors = ["Paul Fedory"]
|
|
12
|
+
s.date = %q{2010-01-28}
|
|
13
|
+
s.description = %q{Seeds your ActiveRecord models from YAML files, when the YAML files are formatted like test fixtures}
|
|
9
14
|
s.extra_rdoc_files = [
|
|
10
|
-
|
|
11
|
-
|
|
15
|
+
"README.rdoc"
|
|
16
|
+
]
|
|
17
|
+
s.files = [
|
|
18
|
+
"MIT-LICENSE",
|
|
19
|
+
"README.rdoc",
|
|
20
|
+
"Rakefile",
|
|
21
|
+
"VERSION",
|
|
22
|
+
"lib/yaml_seeder.rb",
|
|
23
|
+
"rails/init.rb",
|
|
24
|
+
"test/test_helper.rb",
|
|
25
|
+
"test/yaml_seeder_test.rb",
|
|
26
|
+
"yaml_seeder.gemspec"
|
|
27
|
+
]
|
|
28
|
+
s.homepage = %q{http://github.com/paulfedory/yaml_seeder}
|
|
29
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
|
30
|
+
s.require_paths = ["lib"]
|
|
31
|
+
s.rubygems_version = %q{1.3.5}
|
|
32
|
+
s.summary = %q{Seeds your ActiveRecord models from YAML files.}
|
|
33
|
+
s.test_files = [
|
|
34
|
+
"test/test_helper.rb",
|
|
35
|
+
"test/yaml_seeder_test.rb"
|
|
12
36
|
]
|
|
13
|
-
s.has_rdoc = true
|
|
14
37
|
|
|
15
|
-
s.
|
|
38
|
+
if s.respond_to? :specification_version then
|
|
39
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
40
|
+
s.specification_version = 3
|
|
16
41
|
|
|
42
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
43
|
+
else
|
|
44
|
+
end
|
|
45
|
+
else
|
|
46
|
+
end
|
|
47
|
+
end
|
|
17
48
|
|
|
18
|
-
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yaml_seeder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Paul Fedory
|
|
@@ -9,35 +9,35 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-01-
|
|
12
|
+
date: 2010-01-28 00:00:00 +00:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
16
|
-
description: Seeds your ActiveRecord models from YAML files, when the YAML files are formatted like test fixtures
|
|
16
|
+
description: Seeds your ActiveRecord models from YAML files, when the YAML files are formatted like test fixtures
|
|
17
17
|
email:
|
|
18
18
|
executables: []
|
|
19
19
|
|
|
20
20
|
extensions: []
|
|
21
21
|
|
|
22
22
|
extra_rdoc_files:
|
|
23
|
-
- MIT-LICENSE
|
|
24
23
|
- README.rdoc
|
|
25
24
|
files:
|
|
25
|
+
- MIT-LICENSE
|
|
26
|
+
- README.rdoc
|
|
27
|
+
- Rakefile
|
|
28
|
+
- VERSION
|
|
26
29
|
- lib/yaml_seeder.rb
|
|
27
30
|
- rails/init.rb
|
|
28
31
|
- test/test_helper.rb
|
|
29
32
|
- test/yaml_seeder_test.rb
|
|
30
|
-
- MIT-LICENSE
|
|
31
|
-
- Rakefile
|
|
32
|
-
- README.rdoc
|
|
33
33
|
- yaml_seeder.gemspec
|
|
34
34
|
has_rdoc: true
|
|
35
35
|
homepage: http://github.com/paulfedory/yaml_seeder
|
|
36
36
|
licenses: []
|
|
37
37
|
|
|
38
38
|
post_install_message:
|
|
39
|
-
rdoc_options:
|
|
40
|
-
|
|
39
|
+
rdoc_options:
|
|
40
|
+
- --charset=UTF-8
|
|
41
41
|
require_paths:
|
|
42
42
|
- lib
|
|
43
43
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
@@ -58,6 +58,7 @@ rubyforge_project:
|
|
|
58
58
|
rubygems_version: 1.3.5
|
|
59
59
|
signing_key:
|
|
60
60
|
specification_version: 3
|
|
61
|
-
summary: Seeds your ActiveRecord models from YAML files
|
|
62
|
-
test_files:
|
|
63
|
-
|
|
61
|
+
summary: Seeds your ActiveRecord models from YAML files.
|
|
62
|
+
test_files:
|
|
63
|
+
- test/test_helper.rb
|
|
64
|
+
- test/yaml_seeder_test.rb
|