standalone_migrations 1.0.0 → 1.0.1
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/VERSION +1 -1
- data/lib/tasks/standalone_migrations.rb +3 -1
- data/standalone_migrations.gemspec +3 -4
- metadata +4 -16
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.1
|
|
@@ -7,7 +7,9 @@ if File.directory?('db/migrations')
|
|
|
7
7
|
puts "DEPRECATED move your migrations into db/migrate"
|
|
8
8
|
end
|
|
9
9
|
|
|
10
|
-
DB_CONFIG = YAML.
|
|
10
|
+
DB_CONFIG = YAML.load(
|
|
11
|
+
ERB.new(File.read('db/config.yml')).result
|
|
12
|
+
).with_indifferent_access
|
|
11
13
|
|
|
12
14
|
module Rails
|
|
13
15
|
def self.env
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{standalone_migrations}
|
|
8
|
-
s.version = "1.0.
|
|
8
|
+
s.version = "1.0.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Todd Huss", "Michael Grosser"]
|
|
12
|
-
s.date = %q{2011-07-
|
|
12
|
+
s.date = %q{2011-07-12}
|
|
13
13
|
s.email = %q{thuss@gabrito.com}
|
|
14
14
|
s.extra_rdoc_files = [
|
|
15
15
|
"README.markdown"
|
|
@@ -31,11 +31,10 @@ Gem::Specification.new do |s|
|
|
|
31
31
|
]
|
|
32
32
|
s.homepage = %q{http://github.com/thuss/standalone-migrations}
|
|
33
33
|
s.require_paths = ["lib"]
|
|
34
|
-
s.rubygems_version = %q{1.
|
|
34
|
+
s.rubygems_version = %q{1.6.2}
|
|
35
35
|
s.summary = %q{A thin wrapper to use Rails Migrations in non Rails projects}
|
|
36
36
|
|
|
37
37
|
if s.respond_to? :specification_version then
|
|
38
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
39
38
|
s.specification_version = 3
|
|
40
39
|
|
|
41
40
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: standalone_migrations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
prerelease:
|
|
5
|
-
|
|
6
|
-
- 1
|
|
7
|
-
- 0
|
|
8
|
-
- 0
|
|
9
|
-
version: 1.0.0
|
|
4
|
+
prerelease:
|
|
5
|
+
version: 1.0.1
|
|
10
6
|
platform: ruby
|
|
11
7
|
authors:
|
|
12
8
|
- Todd Huss
|
|
@@ -15,7 +11,7 @@ autorequire:
|
|
|
15
11
|
bindir: bin
|
|
16
12
|
cert_chain: []
|
|
17
13
|
|
|
18
|
-
date: 2011-07-
|
|
14
|
+
date: 2011-07-12 00:00:00 -07:00
|
|
19
15
|
default_executable:
|
|
20
16
|
dependencies:
|
|
21
17
|
- !ruby/object:Gem::Dependency
|
|
@@ -25,8 +21,6 @@ dependencies:
|
|
|
25
21
|
requirements:
|
|
26
22
|
- - ">="
|
|
27
23
|
- !ruby/object:Gem::Version
|
|
28
|
-
segments:
|
|
29
|
-
- 0
|
|
30
24
|
version: "0"
|
|
31
25
|
type: :runtime
|
|
32
26
|
prerelease: false
|
|
@@ -38,8 +32,6 @@ dependencies:
|
|
|
38
32
|
requirements:
|
|
39
33
|
- - ">="
|
|
40
34
|
- !ruby/object:Gem::Version
|
|
41
|
-
segments:
|
|
42
|
-
- 3
|
|
43
35
|
version: "3"
|
|
44
36
|
type: :runtime
|
|
45
37
|
prerelease: false
|
|
@@ -80,21 +72,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
80
72
|
requirements:
|
|
81
73
|
- - ">="
|
|
82
74
|
- !ruby/object:Gem::Version
|
|
83
|
-
segments:
|
|
84
|
-
- 0
|
|
85
75
|
version: "0"
|
|
86
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
77
|
none: false
|
|
88
78
|
requirements:
|
|
89
79
|
- - ">="
|
|
90
80
|
- !ruby/object:Gem::Version
|
|
91
|
-
segments:
|
|
92
|
-
- 0
|
|
93
81
|
version: "0"
|
|
94
82
|
requirements: []
|
|
95
83
|
|
|
96
84
|
rubyforge_project:
|
|
97
|
-
rubygems_version: 1.
|
|
85
|
+
rubygems_version: 1.6.2
|
|
98
86
|
signing_key:
|
|
99
87
|
specification_version: 3
|
|
100
88
|
summary: A thin wrapper to use Rails Migrations in non Rails projects
|