objectreload-foreign_key_extensions 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -2
- data/Gemfile +4 -0
- data/Rakefile +2 -56
- data/lib/version.rb +3 -0
- data/objectreload-foreign_key_extensions.gemspec +20 -0
- metadata +43 -17
- data/VERSION +0 -1
data/.gitignore
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
pkg/*
|
2
|
+
*.gem
|
3
|
+
.bundle
|
data/Gemfile
ADDED
data/Rakefile
CHANGED
@@ -1,56 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require 'rake'
|
4
|
-
|
5
|
-
begin
|
6
|
-
require 'jeweler'
|
7
|
-
Jeweler::Tasks.new do |gem|
|
8
|
-
gem.name = "objectreload-foreign_key_extensions"
|
9
|
-
gem.summary = "Simple way to create foreign keys in migration files."
|
10
|
-
gem.email = "gems@objectreload.com"
|
11
|
-
gem.homepage = "http://github.com/objectreload/foreign_key_extensions"
|
12
|
-
gem.authors = ["Mateusz Drożdżyński"]
|
13
|
-
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
14
|
-
end
|
15
|
-
Jeweler::GemcutterTasks.new
|
16
|
-
rescue LoadError
|
17
|
-
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
18
|
-
end
|
19
|
-
|
20
|
-
require 'rake/testtask'
|
21
|
-
Rake::TestTask.new(:test) do |test|
|
22
|
-
test.libs << 'lib' << 'test'
|
23
|
-
test.pattern = 'test/**/*_test.rb'
|
24
|
-
test.verbose = true
|
25
|
-
end
|
26
|
-
|
27
|
-
begin
|
28
|
-
require 'rcov/rcovtask'
|
29
|
-
Rcov::RcovTask.new do |test|
|
30
|
-
test.libs << 'test'
|
31
|
-
test.pattern = 'test/**/*_test.rb'
|
32
|
-
test.verbose = true
|
33
|
-
end
|
34
|
-
rescue LoadError
|
35
|
-
task :rcov do
|
36
|
-
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
task :test => :check_dependencies
|
41
|
-
|
42
|
-
task :default => :test
|
43
|
-
|
44
|
-
require 'rake/rdoctask'
|
45
|
-
Rake::RDocTask.new do |rdoc|
|
46
|
-
if File.exist?('VERSION')
|
47
|
-
version = File.read('VERSION')
|
48
|
-
else
|
49
|
-
version = ""
|
50
|
-
end
|
51
|
-
|
52
|
-
rdoc.rdoc_dir = 'rdoc'
|
53
|
-
rdoc.title = "foreign_key_extensions_gem #{version}"
|
54
|
-
rdoc.rdoc_files.include('README*')
|
55
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
56
|
-
end
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
data/lib/version.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path("../lib/version", __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = "objectreload-foreign_key_extensions"
|
6
|
+
s.version = ForeignKeyExtensions::VERSION
|
7
|
+
s.platform = Gem::Platform::RUBY
|
8
|
+
s.authors = ["Mateusz Drożdżyński"]
|
9
|
+
s.email = ["gems@objectreload.com"]
|
10
|
+
s.homepage = "http://github.com/objectreload/foreign_key_extensions"
|
11
|
+
s.summary = "Simple way to create foreign keys in migration files."
|
12
|
+
|
13
|
+
s.required_rubygems_version = ">= 1.3.6"
|
14
|
+
|
15
|
+
s.add_development_dependency "bundler", ">= 1.0.0"
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
19
|
+
s.require_path = 'lib'
|
20
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: objectreload-foreign_key_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 3
|
9
|
+
version: 0.1.3
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- "Mateusz Dro\xC5\xBCd\xC5\xBCy\xC5\x84ski"
|
@@ -9,25 +14,41 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-09-13 00:00:00 +02:00
|
13
18
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: bundler
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 1
|
30
|
+
- 0
|
31
|
+
- 0
|
32
|
+
version: 1.0.0
|
33
|
+
type: :development
|
34
|
+
version_requirements: *id001
|
16
35
|
description:
|
17
|
-
email:
|
36
|
+
email:
|
37
|
+
- gems@objectreload.com
|
18
38
|
executables: []
|
19
39
|
|
20
40
|
extensions: []
|
21
41
|
|
22
|
-
extra_rdoc_files:
|
23
|
-
|
42
|
+
extra_rdoc_files: []
|
43
|
+
|
24
44
|
files:
|
25
45
|
- .gitignore
|
46
|
+
- Gemfile
|
26
47
|
- README
|
27
48
|
- Rakefile
|
28
|
-
- VERSION
|
29
49
|
- install.rb
|
30
50
|
- lib/foreign_key_extensions.rb
|
51
|
+
- lib/version.rb
|
31
52
|
- objectreload-foreign_key_extensions.gemspec
|
32
53
|
- rails/init.rb
|
33
54
|
- test/foreign_key_extensions_test.rb
|
@@ -38,29 +59,34 @@ homepage: http://github.com/objectreload/foreign_key_extensions
|
|
38
59
|
licenses: []
|
39
60
|
|
40
61
|
post_install_message:
|
41
|
-
rdoc_options:
|
42
|
-
|
62
|
+
rdoc_options: []
|
63
|
+
|
43
64
|
require_paths:
|
44
65
|
- lib
|
45
66
|
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
46
68
|
requirements:
|
47
69
|
- - ">="
|
48
70
|
- !ruby/object:Gem::Version
|
71
|
+
segments:
|
72
|
+
- 0
|
49
73
|
version: "0"
|
50
|
-
version:
|
51
74
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
52
76
|
requirements:
|
53
77
|
- - ">="
|
54
78
|
- !ruby/object:Gem::Version
|
55
|
-
|
56
|
-
|
79
|
+
segments:
|
80
|
+
- 1
|
81
|
+
- 3
|
82
|
+
- 6
|
83
|
+
version: 1.3.6
|
57
84
|
requirements: []
|
58
85
|
|
59
86
|
rubyforge_project:
|
60
|
-
rubygems_version: 1.3.
|
87
|
+
rubygems_version: 1.3.7
|
61
88
|
signing_key:
|
62
89
|
specification_version: 3
|
63
90
|
summary: Simple way to create foreign keys in migration files.
|
64
|
-
test_files:
|
65
|
-
|
66
|
-
- test/test_helper.rb
|
91
|
+
test_files: []
|
92
|
+
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.1.2
|