active_record_migrations 4.0.0.2 → 4.0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -0
- data/active_record_migrations.gemspec +5 -5
- data/lib/active_record_migrations.rb +1 -0
- data/lib/active_record_migrations/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b90c76948beb76d77e9cd0a1f683cd38f88bb6cf
|
4
|
+
data.tar.gz: 75776865b89247a1db6cf58f965ca1e6cb8fa994
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5932b46b8a6b37b8a087a7dbc7e5a70c5f77352a00300eb3aee66f297864c637a9b4f19fcaa8883ff8fa8effe7264f08474bdd10b21a150a16711de70dd9ac08
|
7
|
+
data.tar.gz: 316d39846a3068cac2971408f4ebbd253d6e2bb0610cc04b76b8e3309380c5ed2b8f6e1f122d9bf3a93b72887645cdf7ee625a4bdd14f3579c0513fda56835d6
|
data/README.md
CHANGED
@@ -69,6 +69,11 @@ You can specify the environment by setting the `db` environment variable:
|
|
69
69
|
|
70
70
|
rake db:migrate db=production
|
71
71
|
|
72
|
+
## Versioning
|
73
|
+
|
74
|
+
The version follows ActiveRecord versions plus a patch version from our own. For instance, if
|
75
|
+
AR version is 4.0.1, this gem will be versioned 4.0.1.x with x starting in 0.
|
76
|
+
|
72
77
|
## Contributing
|
73
78
|
|
74
79
|
1. Fork it
|
@@ -77,3 +82,7 @@ You can specify the environment by setting the `db` environment variable:
|
|
77
82
|
4. Push to the branch (`git push origin my-new-feature`)
|
78
83
|
5. Create new Pull Request
|
79
84
|
|
85
|
+
|
86
|
+
|
87
|
+
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rosenfeld/active_record_migrations/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
88
|
+
|
@@ -18,15 +18,15 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_development_dependency "bundler"
|
21
|
+
spec.add_development_dependency "bundler"
|
22
22
|
spec.add_dependency "rake"
|
23
|
-
# spec.add_dependency "railties", "~> 4.0.
|
24
|
-
# spec.add_dependency "activerecord", "~> 4.0.
|
23
|
+
# spec.add_dependency "railties", "~> 4.0.1"
|
24
|
+
# spec.add_dependency "activerecord", "~> 4.0.1"
|
25
25
|
# We rely on a kind of monkey patch for allowing us to override the migrations path.
|
26
26
|
# So it's better to fix on an specific version of AR and check if the override of
|
27
27
|
# ActiveRecord::Generators::MigrationGenerator#create_migration_file is correct
|
28
28
|
# before upgrading AR dependency. See ARM::Generators::MigrationGenerator impl.
|
29
|
-
spec.add_dependency "railties", "4.0.
|
30
|
-
spec.add_dependency "activerecord", "4.0.
|
29
|
+
spec.add_dependency "railties", "4.0.1"
|
30
|
+
spec.add_dependency "activerecord", "4.0.1"
|
31
31
|
end
|
32
32
|
|
@@ -27,6 +27,7 @@ module ActiveRecordMigrations
|
|
27
27
|
DatabaseTasks.current_config = configurations.database_configuration[configurations.environment]
|
28
28
|
DatabaseTasks.db_dir = configurations.db_dir
|
29
29
|
DatabaseTasks.migrations_paths = configurations.migrations_paths
|
30
|
+
DatabaseTasks.root = Rails.root
|
30
31
|
end
|
31
32
|
|
32
33
|
private
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record_migrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0
|
4
|
+
version: 4.0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Rosenfeld Rosas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 4.0.
|
47
|
+
version: 4.0.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 4.0.
|
54
|
+
version: 4.0.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: activerecord
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 4.0.
|
61
|
+
version: 4.0.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 4.0.
|
68
|
+
version: 4.0.1
|
69
69
|
description: ActiveRecord Stand-alone migrations
|
70
70
|
email:
|
71
71
|
- rr.rosas@gmail.com
|
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
106
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.1.
|
107
|
+
rubygems_version: 2.1.11
|
108
108
|
signing_key:
|
109
109
|
specification_version: 4
|
110
110
|
summary: Use AR migrations from outside of a Rails project
|