usesguid_migrations 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  .* # Ignore all dotfiles...
2
2
  !.gitignore # except for .gitignore
3
3
  *.svn
4
- pkg/*
4
+ pkg/*
5
+ .rake_tasks~
@@ -1,3 +1,8 @@
1
+ = 1.0.3 2010-05-11
2
+
3
+ * Support MinGW along with native Win32
4
+
5
+
1
6
  = 1.0.2 2010 01-26
2
7
 
3
8
  * Added SQLite support
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -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.2'
13
+ VERSION = '1.0.3'
14
14
  end
15
15
 
16
- processor, platform, *rest = RUBY_PLATFORM.split("-")
17
- is_windows = platform == 'mswin32'
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 is_windows
36
+ if windows?
36
37
  ActiveRecord::ConnectionAdapters::AbstractAdapter.send( :include, UsesguidMigrations::ActiveRecordExtensions::ConnectionAdapters::SqliteAdapter )
37
38
  end
@@ -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.2"
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-01-26}
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.5}
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
- version: 1.0.2
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-01-26 00:00:00 -06:00
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
- type: :development
18
- version_requirement:
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
- version:
30
+ type: :development
31
+ version_requirements: *id001
25
32
  - !ruby/object:Gem::Dependency
26
33
  name: activerecord
27
- type: :runtime
28
- version_requirement:
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
- version:
43
+ type: :runtime
44
+ version_requirements: *id002
35
45
  - !ruby/object:Gem::Dependency
36
46
  name: usesguid
37
- type: :runtime
38
- version_requirement:
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
- version:
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.5
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.