outrigger 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/outrigger/version.rb +1 -1
- data/lib/tasks/outrigger.rake +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bad20e4222776bf8091c227245adc512e0a76bac
|
4
|
+
data.tar.gz: 5874e4ea2dd1e6bfe58c065796a71efbc8ab9456
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61875308e6376d7ad9f7c7839c93a86723facdab47d5a80d96ec0ed8d5cade76b2abe9b7d722154915196ec7aaf81a8842b28c6f994f494e78f687d363b0aaff
|
7
|
+
data.tar.gz: 641498cfc4391404b3cce1c33749a5ac57ec7467a116951af87c93c05139b6f5e15b6aaabca6e6e4bfa541a54fbd5c072d65f4fe0203945f2ccc5ef5b9d40e83
|
data/lib/outrigger/version.rb
CHANGED
data/lib/tasks/outrigger.rake
CHANGED
@@ -3,7 +3,11 @@ namespace :db do
|
|
3
3
|
desc 'Run migrations for a Tag'
|
4
4
|
task tagged: %i[environment load_config] do |_t, args|
|
5
5
|
puts("Migrating Tags: #{args.extras}")
|
6
|
-
ActiveRecord::
|
6
|
+
if ActiveRecord.gem_version >= Gem::Version.new('5.2.0')
|
7
|
+
ActiveRecord::Base.connection.migration_context.migrate(nil, &Outrigger.filter(args.extras))
|
8
|
+
else
|
9
|
+
ActiveRecord::Migrator.migrate(ActiveRecord::Migrator.migrations_paths, &Outrigger.filter(args.extras))
|
10
|
+
end
|
7
11
|
end
|
8
12
|
end
|
9
13
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: outrigger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drew Bowman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|