usesguid_migrations 1.0.2 → 1.0.3
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/.gitignore +2 -1
- data/History.txt +5 -0
- data/VERSION +1 -1
- data/lib/usesguid_migrations.rb +5 -4
- data/usesguid_migrations.gemspec +3 -3
- metadata +31 -17
data/.gitignore
CHANGED
data/History.txt
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.3
|
data/lib/usesguid_migrations.rb
CHANGED
|
@@ -10,11 +10,12 @@ require 'usesguid_migrations/active_record_extensions/connection_adapters/sqlite
|
|
|
10
10
|
require 'usesguid_migrations/active_record_extensions/connection_adapters/table_definition'
|
|
11
11
|
|
|
12
12
|
module UsesguidMigrations
|
|
13
|
-
VERSION = '1.0.
|
|
13
|
+
VERSION = '1.0.3'
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
def windows?
|
|
17
|
+
!(RUBY_PLATFORM =~ /(mingw32|mswin32)/i).nil?
|
|
18
|
+
end
|
|
18
19
|
|
|
19
20
|
ActiveRecord::Base.send( :include, UsesguidMigrations::ActiveRecordExtensions::Base ) if defined?( ActiveRecord::Base )
|
|
20
21
|
ActiveRecord::Schema.send( :include, UsesguidMigrations::ActiveRecordExtensions::Schema ) if defined?( ActiveRecord::Schema )
|
|
@@ -32,6 +33,6 @@ if defined?( ActiveRecord::ConnectionAdapters::SQLiteAdapter )
|
|
|
32
33
|
ActiveRecord::ConnectionAdapters::SQLiteAdapter.send( :include, UsesguidMigrations::ActiveRecordExtensions::ConnectionAdapters::SqliteAdapter )
|
|
33
34
|
end
|
|
34
35
|
|
|
35
|
-
if
|
|
36
|
+
if windows?
|
|
36
37
|
ActiveRecord::ConnectionAdapters::AbstractAdapter.send( :include, UsesguidMigrations::ActiveRecordExtensions::ConnectionAdapters::SqliteAdapter )
|
|
37
38
|
end
|
data/usesguid_migrations.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{usesguid_migrations}
|
|
8
|
-
s.version = "1.0.
|
|
8
|
+
s.version = "1.0.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Jason Harrelson"]
|
|
12
|
-
s.date = %q{2010-
|
|
12
|
+
s.date = %q{2010-05-14}
|
|
13
13
|
s.description = %q{Makes your migrations work with usesguid plugin without explicitly defining the primary key id or foreign keys in migrations.}
|
|
14
14
|
s.email = %q{jason@lookforwardenterprises.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -38,7 +38,7 @@ Gem::Specification.new do |s|
|
|
|
38
38
|
s.homepage = %q{http://github.com/midas/usesguid_migrations}
|
|
39
39
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
40
40
|
s.require_paths = ["lib"]
|
|
41
|
-
s.rubygems_version = %q{1.3.
|
|
41
|
+
s.rubygems_version = %q{1.3.6}
|
|
42
42
|
s.summary = %q{Makes your migrations work with usesguid plugin without explicitly defining the keys migrations.}
|
|
43
43
|
|
|
44
44
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: usesguid_migrations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
prerelease: false
|
|
5
|
+
segments:
|
|
6
|
+
- 1
|
|
7
|
+
- 0
|
|
8
|
+
- 3
|
|
9
|
+
version: 1.0.3
|
|
5
10
|
platform: ruby
|
|
6
11
|
authors:
|
|
7
12
|
- Jason Harrelson
|
|
@@ -9,39 +14,46 @@ autorequire:
|
|
|
9
14
|
bindir: bin
|
|
10
15
|
cert_chain: []
|
|
11
16
|
|
|
12
|
-
date: 2010-
|
|
17
|
+
date: 2010-05-14 00:00:00 -05:00
|
|
13
18
|
default_executable:
|
|
14
19
|
dependencies:
|
|
15
20
|
- !ruby/object:Gem::Dependency
|
|
16
21
|
name: rspec
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
prerelease: false
|
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
20
24
|
requirements:
|
|
21
25
|
- - ">="
|
|
22
26
|
- !ruby/object:Gem::Version
|
|
27
|
+
segments:
|
|
28
|
+
- 0
|
|
23
29
|
version: "0"
|
|
24
|
-
|
|
30
|
+
type: :development
|
|
31
|
+
version_requirements: *id001
|
|
25
32
|
- !ruby/object:Gem::Dependency
|
|
26
33
|
name: activerecord
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
34
|
+
prerelease: false
|
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
30
36
|
requirements:
|
|
31
37
|
- - ">="
|
|
32
38
|
- !ruby/object:Gem::Version
|
|
39
|
+
segments:
|
|
40
|
+
- 2
|
|
41
|
+
- 3
|
|
33
42
|
version: "2.3"
|
|
34
|
-
|
|
43
|
+
type: :runtime
|
|
44
|
+
version_requirements: *id002
|
|
35
45
|
- !ruby/object:Gem::Dependency
|
|
36
46
|
name: usesguid
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
47
|
+
prerelease: false
|
|
48
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
40
49
|
requirements:
|
|
41
50
|
- - ">="
|
|
42
51
|
- !ruby/object:Gem::Version
|
|
52
|
+
segments:
|
|
53
|
+
- 0
|
|
43
54
|
version: "0"
|
|
44
|
-
|
|
55
|
+
type: :runtime
|
|
56
|
+
version_requirements: *id003
|
|
45
57
|
description: Makes your migrations work with usesguid plugin without explicitly defining the primary key id or foreign keys in migrations.
|
|
46
58
|
email: jason@lookforwardenterprises.com
|
|
47
59
|
executables: []
|
|
@@ -82,18 +94,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
82
94
|
requirements:
|
|
83
95
|
- - ">="
|
|
84
96
|
- !ruby/object:Gem::Version
|
|
97
|
+
segments:
|
|
98
|
+
- 0
|
|
85
99
|
version: "0"
|
|
86
|
-
version:
|
|
87
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
101
|
requirements:
|
|
89
102
|
- - ">="
|
|
90
103
|
- !ruby/object:Gem::Version
|
|
104
|
+
segments:
|
|
105
|
+
- 0
|
|
91
106
|
version: "0"
|
|
92
|
-
version:
|
|
93
107
|
requirements: []
|
|
94
108
|
|
|
95
109
|
rubyforge_project:
|
|
96
|
-
rubygems_version: 1.3.
|
|
110
|
+
rubygems_version: 1.3.6
|
|
97
111
|
signing_key:
|
|
98
112
|
specification_version: 3
|
|
99
113
|
summary: Makes your migrations work with usesguid plugin without explicitly defining the keys migrations.
|